Bug Report: Trash: "Uber_for_dogs_pitchdeck.ppt" label overlaps the items next to it
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- react, tailwindcss, typescript
- Domain
- frontend
Research direction
Read the figcaption in src/components/OSIcons/AppIcon.tsx and the fixed-width item cell in src/pages/trash/index.tsx. Reproduce the overlap on the trash page, then choose a wrapping fix that keeps the label within its cell. Verify that “Uber_for_dogs_pitchdeck.ppt” wraps without overlapping neighboring items.
Written by the indexing model from the issue text.
Description
Report
URL: https://posthog.com/trash
In "Recently deleted", the "Uber_for_dogs_pitchdeck.ppt" label is wider than its grid cell. It overlaps "spicy.mov" and "Long Term Contract Template.docx".
To reproduce: open https://posthog.com/trash and look at the "Recently deleted" section.
Screenshot: to be attached.
Technical info
The name has no spaces, so the browser has no place to break the line. Underscores do not give a break point.
- The label in
AppLink(src/components/OSIcons/AppIcon.tsx, thefigcaptionnear line 426) has nooverflow-wraprule. - The item cell on the trash page has a fixed width (
w-28) insrc/pages/trash/index.tsx.
"Long Term Contract Template.docx" is approximately the same length, but it wraps correctly because it has spaces.
Expected outcome, or solution
The label wraps inside its cell, like the other labels do.
Possible solutions (for the team to decide):
- Add
break-wordsor[overflow-wrap:anywhere]to theAppLinklabel. This changes a shared component, so it affects all desktop and explorer icons. - Rename the item to use spaces, for example "Uber for dogs pitchdeck.ppt". This changes only the trash page.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 952
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 747
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PostHog/posthog.com
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
PostHog/posthog.com#22222 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
PostHog/posthog.com#22167 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
PostHog/posthog.com#22026 · 2 comments ·
Maintainers usually reply within 1 day
-
Website request - Let forum moderators merge duplicate postsPossibly taken @smallbrownbike claimed this 2 days ago. Openwebsite
PostHog/posthog.com#22347 · 5 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Website request - Sources marketing pagesPossibly taken @smallbrownbike claimed this 2 days ago. Openwebsite
PostHog/posthog.com#22336 · 1 comment · 3 assignees ·
Maintainers usually reply within 1 day
All issues in PostHog/posthog.com
Similar issues
-
enhancement needs peer review
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pnp/cli-microsoft365#7696 ·
Maintainers usually reply within 3 days
-
Add: AutomotoOpencheck:passed streams:add
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
inmanta/web-console#7899 ·
Maintainers usually reply within 1 day