Skip to content

feat(app-shell): open chat by default#14943

Open
kangfenmao wants to merge 2 commits into
v2from
kangfenmao/open-chat-by-default
Open

feat(app-shell): open chat by default#14943
kangfenmao wants to merge 2 commits into
v2from
kangfenmao/open-chat-by-default

Conversation

@kangfenmao
Copy link
Copy Markdown
Collaborator

What this PR does

Before this PR: Cherry Studio opened the main window with the Launchpad/Home tab selected and showed a dedicated Home icon plus separator in the tab bar.

After this PR: Cherry Studio opens directly to the chat tab, removes the dedicated Home tab-bar icon and separator, keeps sidebar navigation reusing the active main tab, and moves Launchpad access to the + tab action via /app/launchpad.

Fixes # N/A

Why we need it and why it was done in this way

The following tradeoffs were made: the old / and /home routes are removed instead of kept as compatibility aliases, matching the requested v2 navigation behavior.

The following alternatives were considered: keeping /home as a redirect or making + create another chat tab, but those did not match the desired startup and Launchpad behavior.

Links to places where the discussion took place: N/A

Breaking changes

No external API breaking changes. The user-visible startup route changes from Home/Launchpad to Chat, and Launchpad now lives at /app/launchpad.

Special notes for your reviewer

pnpm build:check passes. Existing legacy CSS variable warnings are still emitted by lint and are unrelated to this PR.

Checklist

This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

Release note

Cherry Studio now opens directly to Chat instead of Launchpad/Home. Launchpad remains available from the `+` tab button. No action required.

Signed-off-by: kangfenmao <kangfenmao@qq.com>
@kangfenmao kangfenmao requested a review from a team May 8, 2026 14:01
@kangfenmao kangfenmao added the v2 label May 8, 2026
@0xfullex
Copy link
Copy Markdown
Member

0xfullex commented May 8, 2026

Note

This comment was translated by Claude.

  1. If the user has a pinned tab and was on that pinned tab when closing, the app should restore to that tab upon restart
  2. If not the above case, after restart it can go to the last topic or topic list
    (Additionally, showing the homepage is the optimal choice, it's just that the current homepage hasn't implemented the functionality it should have)

Specifically, it's best to discuss and confirm with the product team.


Original Content
  1. 如果用户有pin的tab,并且关闭时停留在了pin的tab,则重新启动时应还原回到该tab
  2. 如果非上述情况,重启后可以放到最后所在的topic,或topic列表
    (另外,放首页是最优选择,只是现在的首页还未实现其应该实现的功能而已)

具体的,最好是和产品一起讨论确认。

@kangfenmao
Copy link
Copy Markdown
Collaborator Author

kangfenmao commented May 9, 2026

Note

This comment was translated by Claude.

  1. If the user has a pinned tab and was on that pinned tab when closing, the app should restore to that tab upon restart
  2. If not the above case, after restart it can go to the last topic or topic list
    (Additionally, showing the homepage is the optimal choice, it's just that the current homepage hasn't implemented the functionality it should have)

Specifically, it's best to discuss and confirm with the product team.

This PR is only used to remove the default Tab. The PR has a single responsibility, and tab state persistence will be done in follow-up work.


Original Content

这个 PR 仅用来移除默认的 Tab,PR 单一职责,tabs 的状态保持会放在后续来做

@EurFelux
Copy link
Copy Markdown
Collaborator

EurFelux commented May 12, 2026

Note

This comment was translated by Claude.

Conflicts need to be resolved.


Original Content

需要解决冲突

…-default

Signed-off-by: kangfenmao <kangfenmao@qq.com>

# Conflicts:
#	src/renderer/src/components/layout/AppShellTabBar.tsx
#	src/renderer/src/routeTree.gen.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants