Skip to content

Conversation

@zerob13
Copy link
Collaborator

@zerob13 zerob13 commented Sep 29, 2025

Release 0.3.8 更新日志 / Release 0.3.8 Changelog

主要变更 / Key Changes:

  • 升级 TailwindCSS 到 v4,并移除了旧插件与配置,全面适配新版 Tailwind 语法和插件体系
  • 移除了 Linux 版本的内置 node 和 uv 环境
  • 依赖包全面升级,适配最新生态,包括 electron、@tailwindcss/typography、@tailwindcss/vite 等
  • 统一组件引用样式,将自定义组件集成为 @shadcn 路径别名
  • 优化 Tab 管理和拖拽新建逻辑,增强多窗口环境下的表现
  • 移除部分冗余样式(如 body 背景,采用原生 CSS)
  • uikit 新增 Think 内容块功能
  • 修复了 Table 样式不正确的问题(fix: table style #943),并对 markdown 相关依赖进行了升级
  • 新增批量更新 shadcn 组件的脚本 update-shadcn.js
  • 运行与构建脚本新增 VITE_ENABLE_PLAYGROUND 环境变量支持 playground 入口
  • 优化多项 UI 细节,提高一致性与兼容性
  • 修复知识库管理相关 bug,提升文件处理的健壮性
  • 其它细节优化与体验提升

英文版 / English Version:

  • Upgraded TailwindCSS to v4 with full migration to new syntax and plugins. Old plugin/config removed.
  • Remove build-in node and uv in Linux version
  • All dependencies updated to latest compatible versions, including electron, @tailwindcss/typography, and @tailwindcss/vite.
  • Unified custom component imports via new @shadcn alias usage.
  • Improved tab management and drag-to-create logic, with better experience in multi-window scenarios.
  • Removed redundant styles (e.g., body background now uses native CSS).
  • Added new Think content block feature in uikit.
  • Fixed incorrect Table style (fix: table style #943) and upgraded markdown-related dependencies.
  • Added update-shadcn.js, a CLI script for batch updating shadcn components.
  • Build and dev scripts now support the VITE_ENABLE_PLAYGROUND env for playground tab.
  • Polished various UI details, enhancing consistency and cross-platform compatibility.
  • Bugfixes for knowledge base file management to improve robustness.
  • Miscellaneous refinements and UX improvements.

zerob13 and others added 5 commits September 27, 2025 00:01
* 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
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 29, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dev

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.

@zerob13 zerob13 merged commit e48bf16 into main Sep 29, 2025
2 checks passed
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a 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

Comment on lines 13 to +19
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
}

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 👍 / 👎.

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.

3 participants