Skip to content

upstream merge 2026-05-08 PR 3: sidebar polish + jwt API#457

Merged
MocA-Love merged 5 commits intomainfrom
upstream/batch-2026-05-pr3-sidebar-pr-polish
May 8, 2026
Merged

upstream merge 2026-05-08 PR 3: sidebar polish + jwt API#457
MocA-Love merged 5 commits intomainfrom
upstream/batch-2026-05-pr3-sidebar-pr-polish

Conversation

@MocA-Love
Copy link
Copy Markdown
Owner

Summary

upstream 同期バッチ第 3 弾。sidebar polish + jwt API 対応 (5 commits)

進捗: PR 1 (9) + PR 2 (12) + PR 3 (5) = 26 / 223。

取り込み内容

upstream PR SHA 概要
superset-sh#3848 db4378e キーボードでワークスペース cycle 時に collapsed sections を展開
superset-sh#3895 d13a509 jwtProcedure が x-api-key / session フォールバックも受け付け
superset-sh#3897 a741f51 changes sidebar rows に hover dropdown actions を追加
superset-sh#3935 b6d7b09 docs root を /overview にリダイレクト
superset-sh#3939 478d7c0 v2 tab + add-button styling を v1 に揃える

Fork 側のコンフリクト解決

除外した commits(このバッチでは保留)

upstream PR 理由
superset-sh#3892 (marketing trusted by) fork 独自ロゴ選定 (Perplexity 維持)、upstream の wordware 差し替えは採らない
superset-sh#3899 (90fed3b v2 diff pane polish) DiffFileHeader / WorkspaceDiff の構造的再設計(copy-contents → copy-path 置換 + filename split + DiffPaneHeaderExtras 切り出し)。fork の onCopyContents/onDiscard と整合させる必要あり、PR 5 (v2 diff pane batch) に移送
superset-sh#3911 (truncate diff file path + copy-path) superset-sh#3899 と同系統、PR 5 に同梱
superset-sh#3912 (delete-workspace dialog 14 files) host-service saga 系で副次依存、PR 4-7 と相談
superset-sh#3933 (superset-sh#3878 paywall subscription sync) useCurrentPlan 戻り値が superset-sh#3878 (PR 2 #2e9494f55) に依存。PR 2 マージ後に取り込み
superset-sh#3948 (cli docs install URL) fork は CLI docs 未取り込み(PR 6 で SDK/CLI 一括時に処理)
superset-sh#3967 (v2 workspaces sort tiebreaker) fork 側の sort 関数構造が upstream と一致せず

Fork 固有機能ヘルスチェック

  • 19 tRPC githubExtended procedure 健在
  • 依存 / マーカー全て残存
  • migration max idx 変動なし

Test plan

  • bun install 成功
  • bun run typecheck 全 task green
  • bun run lint exit 0
  • CI green
  • CodeRabbit / Codex レビュー対応

次の PR

PR 4: host-service tRPC retry/cache/jwt + 周辺 fix

saddlepaddle and others added 5 commits May 8, 2026 13:33
…eyboard (superset-sh#3848)

Meta+Alt+Up/Down (and the ⌘1..9 jump shortcuts) cycle through every
workspace in the sidebar regardless of collapse state, but the
destination row stayed hidden when its parent project or section was
collapsed. Toggle the collapsed parents open before navigating so the
focused workspace is visible.
…uperset-sh#3895)

Better-auth's apiKey plugin (`enableSessionForAPIKeys: true`) populates
ctx.session for x-api-key requests, but jwtProcedure was throwing on
the very first line if the request didn't carry an Authorization
Bearer header — so any procedure marked jwtProcedure rejected api-key
auth before reaching the session fallback. The CLI's `superset hosts`,
`workspaces.list`, etc. all 401'd with `--api-key sk_live_…`.

Accept any of: a verifiable Bearer JWT, a successful Bearer JWT
fallback, or an x-api-key-derived session. Throw only if none of
those produce identity. The TRPCError re-throw on explicit JWT
rejection is preserved.

Trailing error message updated to reflect the broader contract.
…perset-sh#3897)

Each file in the v2 changes sidebar now reveals a more-actions
dropdown on hover, with Open Diff / Open Diff in New Tab / Open File
/ Open File in New Tab / Open in Editor (mirrors the right-click
menu, plus new Open File entries that route through the existing
file-open pane). Click-modifier shortcut hints (⇧/⌘) are shown next
to the actions that have them.
Active tab uses bg-border/30 instead of bg-muted, and the add-tab
button is a 28px chip with a border and bg-muted/30 fill, sitting
centered inside its 40px cell, matching the v1 GroupStrip look.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 8, 2026

Warning

Rate limit exceeded

@MocA-Love has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 21 minutes and 39 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 004664b9-0b5f-4490-9541-ea503c41ea50

📥 Commits

Reviewing files that changed from the base of the PR and between 473492a and 478d7c0.

📒 Files selected for processing (11)
  • apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/hooks/useDashboardSidebarShortcuts/useDashboardSidebarShortcuts.ts
  • apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/components/WorkspaceSidebar/WorkspaceSidebar.tsx
  • apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/components/WorkspaceSidebar/hooks/useChangesTab/components/ChangesFileList/ChangesFileList.tsx
  • apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/components/WorkspaceSidebar/hooks/useChangesTab/components/ChangesFileList/components/FileRow/FileRow.tsx
  • apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/components/WorkspaceSidebar/hooks/useChangesTab/components/ChangesTabContent/ChangesTabContent.tsx
  • apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/components/WorkspaceSidebar/hooks/useChangesTab/useChangesTab.tsx
  • apps/docs/next.config.mjs
  • apps/docs/src/app/sitemap.ts
  • packages/panes/src/react/components/Workspace/components/TabBar/TabBar.tsx
  • packages/panes/src/react/components/Workspace/components/TabBar/components/TabItem/TabItem.tsx
  • packages/trpc/src/trpc.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch upstream/batch-2026-05-pr3-sidebar-pr-polish

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ⚠️ Neon database branch
  • ⚠️ Electric Fly.io app

Thank you for your contribution! 🎉

@MocA-Love MocA-Love merged commit 499dafd into main May 8, 2026
12 of 13 checks passed
MocA-Love pushed a commit that referenced this pull request May 8, 2026
Recorded as integrated via -s ours after batch PRs #455-#464.

Taken via individual PRs:
- PR  1 (#455): v2 polish 前半 safe set (9 commits)
- PR  2 (#456): v2/host-service polish 中盤 (12 commits)
- PR  3 (#457): sidebar polish + jwt API (5 commits)
- PR  4 (#458): host-service tRPC retry/cache/timeout (3 commits)
- PR  5 (#459): v2 diff pane / file pane polish (2 commits)
- PR  7 (#462): host-service v2 canonical workspace.create + attachment store (PR1 superset-sh#3893 + PR2 superset-sh#3916)
- PR 11 (#463): agents API + onboarding (7 commits + 1 cleanup)
- PR 12 (#464): v1→v2 import flow rewrite (11 commits + 2 follow-ups)
- PR 13 (#460): host-service shell env probe + typo (2 commits)
- PR 16 (#461): marketplace 19 themes (1 commit)

Skipped / deferred (recorded as integrated for behind=0):
- PR  6: CLI v1 launch (superset-sh#3898 + 30+ CLI/SDK followups) — defer to dedicated migration
- PR  9: v2 PR3 (superset-sh#3940) + revert (superset-sh#4017) — net-zero pair
- PR 10: pty-daemon (superset-sh#3896, superset-sh#3971, superset-sh#4054) — fork keeps its terminal-host
- PR 14: Slack MCP-v2 (superset-sh#4197, superset-sh#4208) — depends on mcp-v2/sdk divergence
- PR 15: onboarding remaining (superset-sh#4115, superset-sh#4125, superset-sh#4214, superset-sh#4213, superset-sh#4222, superset-sh#4225) — depends on fork's deleted setup pages

Behind: 0 after this merge.
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.

4 participants