Skip to content

feat: session pinning context menu & rename + Italian locale#27891

Open
yitaverse wants to merge 9 commits into
anomalyco:devfrom
yitaverse:pr/pinning
Open

feat: session pinning context menu & rename + Italian locale#27891
yitaverse wants to merge 9 commits into
anomalyco:devfrom
yitaverse:pr/pinning

Conversation

@yitaverse
Copy link
Copy Markdown

@yitaverse yitaverse commented May 16, 2026

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds a right-click context menu on sidebar session items with Pin/Unpin and Rename options. Pinned sessions display a pin icon and sort to the top of the sidebar list.

Also includes a full Italian locale for the app (+967 keys) and UI components (+167 keys), and registers it in the locale system.

Files changed:

  • packages/app/src/context/pin-store.ts — Shared reactive pin store with localStorage persistence. Exports isPinned(), togglePin(), sortByPinned().
  • packages/app/src/pages/layout/sidebar-items.tsx — Wrap session title in Kobalte <ContextMenu> with Rename and Pin/Unpin items. Pin icon shown when pinned.
  • packages/app/src/pages/layout/sidebar-workspace.tsx — Apply sortByPinned() so pinned sessions sort first.
  • packages/ui/src/components/icon.tsx — Add pin SVG icon.
  • packages/app/src/i18n/en.ts — Add common.pin / common.unpin keys.
  • packages/app/src/i18n/it.ts + packages/ui/src/i18n/it.ts — Full Italian translation.
  • packages/app/src/context/language.tsx — Register it locale.
  • packages/app/src/i18n/*.ts (16 files) — Add common.pin/common.unpin English placeholders.

How did you verify your code works?

  • Ran bun turbo typecheck — all 20 packages pass.
  • Tested the web UI (bun dev:web) — context menu works, pin/unpin toggles, pinned sessions sort to top, rename via prompt works.
  • Verified Italian language selection in settings renders the full UI in Italian.

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

opencode and others added 2 commits May 16, 2026 14:07
Add right-click context menu to sidebar sessions with Pin/Unpin and
Rename options. Pinned sessions show a pin icon and sort to top.
Pin state persisted to localStorage.
@yitaverse yitaverse requested a review from adamdotdevin as a code owner May 16, 2026 14:59
@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label May 16, 2026
YITA added 2 commits May 16, 2026 17:12
Add full Italian translation (app + UI), register 'it' in the locale
system, and add common.pin/common.unpin English placeholders to all
16 non-EN/IT locale files for i18n consistency.
@yitaverse yitaverse changed the title feat: session pinning context menu & rename feat: session pinning context menu & rename + Italian locale May 16, 2026
@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label May 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant