-
Notifications
You must be signed in to change notification settings - Fork 625
Release 0.3.8 #948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 0.3.8 #948
Conversation
* chore: update deps * chore: run tailwind v4 command * feat: tailwind v4 build passed * feat: style and color works * fix: layer the vue-renderer markdown css * chore: add new shadcn * feat: add shadcn * refactor(shadcn): replace button with new shadcn * refactor(shadcn): remove old btn components * refactor(shadcn): replace Badge * refactor(shadcn): make new shadcn works ,change to postcss * refactor(shadcn): fix ts type check * fix(style): fix style reference * chore(dev): remove playground router from production build * feat(toast): replace toast with sonner * feat(Switch): migration to new switch model value * fix(tailwind): add back vite plugin to process class * fix: switch button * fix: dark theme in v4 * fix: tw4 style * fix(style): scoped markdown style * chore: format code * fix(thinking): thinking block expend * chore(deps): move renderer only deps to dev-deps * feat(i18n): add missing i18n * feat: modify common settings and display settings select width
* feat(uikit): add new think content block * chore: lint fix * chore: remove @apply in css * feat(style): better style for settings
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests
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. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting
| const addTab = async (tab: { name: string; icon: string; viewType: string }) => { | ||
| // if (tabs.value.find((t) => t.viewType === tab.viewType)) { | ||
| // return | ||
| // } | ||
| if (tab.viewType !== 'playground') { | ||
| const existing = tabs.value.find((t) => t.url === `local://${tab.viewType}`) | ||
| if (existing) { | ||
| setCurrentTabId(existing.id) | ||
| return existing | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[P1] Prevent opening more than one chat tab
addTab now returns an existing tab for every viewType except playground. The “New Tab” button still calls addTab({ viewType: 'chat' }), so after this change clicking the button simply focuses the first chat tab instead of creating a new one. Previously the duplicate check was commented out to allow multiple chat sessions. This regression removes the ability to open multiple chat tabs in the same window. Consider limiting the deduplication to views that must be singletons rather than all non-playground views.
Useful? React with 👍 / 👎.
Release 0.3.8 更新日志 / Release 0.3.8 Changelog
主要变更 / Key Changes:
英文版 / English Version: