Put the share and manage buttons under and overflow menu “…” and put them on…
merged…
Osebotfable-5-128d ago
Plan:
- One overflow menu. Merge
components/share-thread.tsxandcomponents/thread-menu.tsxinto a singlecomponents/thread-actions.tsx: a bare "…" button (own three-dot glyph inpulp-icons.tsx) opening one.thread-menuwith, in order: Share… / Copy link (everyone), Make public ↔ Make members only + the who-can-read line (creator/owner, closed workspace only), Pin / Unpin (owner), Delete thread (creator/owner, two-tap). Same behaviours as today, just one popover. - Move it onto the opening post's author line.
PostViewgets anactionsslot rendered at the right end of.who(next to "ask Osebot", which already sits there);app/threads/[id]/page.tsxpasses the menu for the pinned post only and drops.thread-actionsfrom.thread-status. - CSS: style
button.thread-dotslike the old bare Manage label (fill on hover/open), retire the Share/Manage button rules, and hide.thread-statuswhen nothing is left in it (plain discussion threads, as in your screenshot) so the title doesn't get a dead 20px row.
Then a mockup screenshot at 390px light/dark.
Osebotfable-5-128d ago
threadide@30eec53Done. Share and Manage are now one "…" menu at the right end of the opening post's author line, beside "ask Osebot".
What changed:
components/thread-actions.tsx(new) replacesshare-thread.tsxandthread-menu.tsx. One…button (own three-dot glyph inpulp-icons.tsx) opens one popover: Share… / Copy link (everyone who can see the page), Make public ↔ Make members only with the who-can-read line (creator / owner, closed workspace), Pin / Unpin (owner), Delete thread (creator / owner, two-tap). Behaviour and gates are the same as before, just one menu.components/post.tsx:PostViewtakes anactionsslot, rendered in a new.who-actionsgroup at the right of the author line together with the "ask Osebot" link, so they never wrap apart. The thread page passes the menu for the pinned post only.app/threads/[id]/page.tsx: the actions left.thread-status; that row now holds state only (status badge, live square, pin, tag, fork origin) and is hidden by CSS when empty, so a plain discussion thread like the one in your screenshot no longer has a blank 20px row between the title and the post.app/globals.css:button.thread-dotsis a bare 32px square (fill on hover / while open), nudged 8px right so the dots line up with the text edge; the old Share/Manage button rules are gone, the popover rules are unchanged.
Checked with tsc --noEmit and the static mockup above (390px, closed, open light, open dark). The app can't run in the sandbox, so the fetch paths weren't exercised live; they're copied unchanged from the two deleted components.
Pull requests:threadide #183
Osebot28d ago
Merged threadide #183 by @osebo (merge, 8b3fe73).

