-
-
Notifications
You must be signed in to change notification settings - Fork 13.5k
๐ style: Fix win electron style #8439
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
Conversation
Reviewer's GuideThis PR restructures the Windows title bar component by replacing detailed styles and interactive markup with a static placeholder, enhances Electron Browser window creation by introducing a titleBarOverlay, streamlining background material configuration, and adding robust visual effects methods, and refactors tooltip integration by consolidating Tooltip props directly into ActionIcon components. Class diagram for updated Electron Browser visual effects methodsclassDiagram
class Browser {
+applyVisualEffects()
+reapplyVisualEffects()
}
Browser : -_browserWindow
Browser : +retrieveOrInitialize()
Browser : +getWindowsVersion()
Browser : +identifier
Browser : +logger
Browser : +applyVisualEffects() // now checks isDestroyed and uses try/catch
Browser : +reapplyVisualEffects() // new method, calls applyVisualEffects if Windows 11
Class diagram for WinControl component simplificationclassDiagram
class WinControl {
+render()
}
%% Previously: used useStyles, interactive window controls
%% Now: returns static <div style={{ width: 132 }} />
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
|
๐ @canisminor1990 Thank you for raising your pull request and contributing to our Community |
TestGru AssignmentSummary
Tip You can |
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.
Hey @canisminor1990 - I've reviewed your changes - here's some feedback:
- Remove large blocks of commented-out code in WinControl and Browser or extract them behind a feature flag to keep the implementation clear and maintainable.
- Annotate or add a TODO explaining why WinControl now only renders a fixed-width so future readers understand the placeholder intent.
- Consider syncing the hardcoded titleBarOverlay.height (30) with your existing TITLE_BAR_HEIGHT constant to avoid mismatched layouts on Windows.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Remove large blocks of commented-out code in WinControl and Browser or extract them behind a feature flag to keep the implementation clear and maintainable.
- Annotate or add a TODO explaining why WinControl now only renders a fixed-width <div> so future readers understand the placeholder intent.
- Consider syncing the hardcoded titleBarOverlay.height (30) with your existing TITLE_BAR_HEIGHT constant to avoid mismatched layouts on Windows.
## Individual Comments
### Comment 1
<location> `src/features/ElectronTitlebar/WinControl/index.tsx:56` </location>
<code_context>
- </div>
- </div>
- );
+ return <div style={{ width: 132 }} />;
+
+ // const { styles } = useStyles();
</code_context>
<issue_to_address>
Returning a static width div may impact layout and accessibility.
If this is a temporary placeholder, add a clear TODO or use a more descriptive placeholder to prevent confusion for users and maintainers.
</issue_to_address>
<suggested_fix>
<<<<<<< SEARCH
return <div style={{ width: 132 }} />;
// const { styles } = useStyles();
=======
// TODO: Replace this placeholder with the actual window control implementation.
// This is a temporary placeholder to maintain layout.
return (
<div
style={{ width: 132, height: 24, display: 'flex', alignItems: 'center', justifyContent: 'center', background: 'transparent' }}
role="presentation"
aria-hidden="true"
tabIndex={-1}
data-testid="wincontrol-placeholder"
>
{/* Window controls will be implemented here */}
<span style={{ fontSize: 12, color: '#888' }}>Window Controls Placeholder</span>
</div>
);
// const { styles } = useStyles();
>>>>>>> REPLACE
</suggested_fix>
### Comment 2
<location> `src/features/ElectronTitlebar/WinControl/index.tsx:1` </location>
<code_context>
+// const useStyles = createStyles(({ css, cx, token }) => {
</code_context>
<issue_to_address>
Commenting out the entire styling logic may lead to inconsistent UI.
If this change is temporary, confirm that the component and application still function correctly without these styles.
</issue_to_address>
### Comment 3
<location> `apps/desktop/src/main/core/Browser.ts:249` </location>
<code_context>
- }
- : {}),
autoHideMenuBar: true,
- backgroundColor: '#00000000',
+
frame: false,
</code_context>
<issue_to_address>
Removing the transparent background color may affect window appearance.
Please verify that removing backgroundColor does not result in an unintended opaque window or loss of transparency.
</issue_to_address>
### Comment 4
<location> `apps/desktop/src/main/core/Browser.ts:439` </location>
<code_context>
- this._browserWindow?.setBackgroundMaterial(isDarkMode ? 'mica' : 'acrylic');
- this._browserWindow?.setVibrancy('under-window');
+
+ try {
+ // Apply background material
+ this._browserWindow.setBackgroundMaterial('mica');
+ logger.debug(
+ `[${this.identifier}] Visual effects applied successfully (dark mode: ${isDarkMode})`,
+ );
+ } catch (error) {
+ logger.error(`[${this.identifier}] Failed to apply visual effects:`, error);
+ }
</code_context>
<issue_to_address>
Catching errors when applying visual effects increases stability.
Consider if errors should be communicated to the user or if a retry mechanism is appropriate, rather than only logging them.
Suggested implementation:
```typescript
const applyEffects = (retry = false) => {
try {
// Apply background material
this._browserWindow.setBackgroundMaterial('mica');
logger.debug(
`[${this.identifier}] Visual effects applied successfully (dark mode: ${isDarkMode})`,
);
} catch (error) {
logger.error(`[${this.identifier}] Failed to apply visual effects${retry ? ' (retry)' : ''}:`, error);
if (!retry) {
// Retry once after a short delay
setTimeout(() => applyEffects(true), 500);
} else {
// Notify user after retry fails
if (typeof showErrorNotification === 'function') {
showErrorNotification('Failed to apply visual effects to the window. Some UI features may not display as intended.');
}
}
}
};
applyEffects();
```
- This code assumes a `showErrorNotification` function is available in scope to notify the user. If your app uses a different notification system, replace `showErrorNotification` with the appropriate function.
- If you want to customize the retry logic (e.g., more retries, different delay), adjust the `applyEffects` function accordingly.
</issue_to_address>
Help me be more useful! Please click ๐ or ๐ on each comment and I'll use the feedback to improve your reviews.
return <div style={{ width: 132 }} />; | ||
|
||
// const { styles } = useStyles(); |
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.
suggestion: Returning a static width div may impact layout and accessibility.
If this is a temporary placeholder, add a clear TODO or use a more descriptive placeholder to prevent confusion for users and maintainers.
return <div style={{ width: 132 }} />; | |
// const { styles } = useStyles(); | |
// TODO: Replace this placeholder with the actual window control implementation. | |
// This is a temporary placeholder to maintain layout. | |
return ( | |
<div | |
style={{ width: 132, height: 24, display: 'flex', alignItems: 'center', justifyContent: 'center', background: 'transparent' }} | |
role="presentation" | |
aria-hidden="true" | |
tabIndex={-1} | |
data-testid="wincontrol-placeholder" | |
> | |
{/* Window controls will be implemented here */} | |
<span style={{ fontSize: 12, color: '#888' }}>Window Controls Placeholder</span> | |
</div> | |
); | |
// const { styles } = useStyles(); |
// const useStyles = createStyles(({ css, cx, token }) => { | ||
// const icon = css` | ||
// display: flex; | ||
// align-items: center; | ||
// justify-content: center; | ||
// | ||
// width: ${TITLE_BAR_HEIGHT * 1.2}px; | ||
// min-height: ${TITLE_BAR_HEIGHT}px; | ||
// | ||
// color: ${token.colorTextSecondary}; |
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.
issue (bug_risk): Commenting out the entire styling logic may lead to inconsistent UI.
If this change is temporary, confirm that the component and application still function correctly without these styles.
autoHideMenuBar: true, | ||
backgroundColor: '#00000000', |
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.
issue (bug_risk): Removing the transparent background color may affect window appearance.
Please verify that removing backgroundColor does not result in an unintended opaque window or loss of transparency.
try { | ||
// Apply background material | ||
this._browserWindow.setBackgroundMaterial('mica'); | ||
logger.debug( | ||
`[${this.identifier}] Visual effects applied successfully (dark mode: ${isDarkMode})`, | ||
); | ||
} catch (error) { |
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.
suggestion: Catching errors when applying visual effects increases stability.
Consider if errors should be communicated to the user or if a retry mechanism is appropriate, rather than only logging them.
Suggested implementation:
const applyEffects = (retry = false) => {
try {
// Apply background material
this._browserWindow.setBackgroundMaterial('mica');
logger.debug(
`[${this.identifier}] Visual effects applied successfully (dark mode: ${isDarkMode})`,
);
} catch (error) {
logger.error(`[${this.identifier}] Failed to apply visual effects${retry ? ' (retry)' : ''}:`, error);
if (!retry) {
// Retry once after a short delay
setTimeout(() => applyEffects(true), 500);
} else {
// Notify user after retry fails
if (typeof showErrorNotification === 'function') {
showErrorNotification('Failed to apply visual effects to the window. Some UI features may not display as intended.');
}
}
}
};
applyEffects();
- This code assumes a
showErrorNotification
function is available in scope to notify the user. If your app uses a different notification system, replaceshowErrorNotification
with the appropriate function. - If you want to customize the retry logic (e.g., more retries, different delay), adjust the
applyEffects
function accordingly.
Codecov ReportAll modified and coverable lines are covered by tests โ
Additional details and impacted files@@ Coverage Diff @@
## main #8439 +/- ##
==========================================
+ Coverage 85.32% 85.45% +0.12%
==========================================
Files 910 912 +2
Lines 68658 69106 +448
Branches 4672 4586 -86
==========================================
+ Hits 58583 59055 +472
+ Misses 10075 10051 -24
Flags with carried forward coverage won't be shown. Click here to find out more. โ View full report in Codecov by Sentry. ๐ New features to boost your workflow:
|
8c3f72f
to
7fda6b6
Compare
7fda6b6
to
34f3fbe
Compare
34f3fbe
to
e02bb5b
Compare
e02bb5b
to
e76dd59
Compare
79dde06
to
b4f8d8b
Compare
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.
Bug: ThemeManager Constructor Called Incorrectly
The ThemeManager
constructor is called incorrectly in Browser.ts
. It expects a single object parameter { app: App; identifier: string; window: BrowserWindow }
, but is called with two separate positional arguments (browserWindow, this.identifier)
. This causes the app
parameter to be missing and the window
property to be undefined within ThemeManager
, leading to runtime errors when ThemeManager
attempts to access this.app.storeManager
or this.window
.
apps/desktop/src/main/core/browser/Browser.ts#L239-L240
lobe-chat/apps/desktop/src/main/core/browser/Browser.ts
Lines 239 to 240 in bab3df0
// Initialize theme manager for this window to handle theme changes | |
this.themeManager = new ThemeManager(browserWindow, this.identifier); |
apps/desktop/src/main/core/browser/ThemeManager.ts#L25-L31
lobe-chat/apps/desktop/src/main/core/browser/ThemeManager.ts
Lines 25 to 31 in bab3df0
constructor(params: { app: App; identifier: string; window: BrowserWindow }) { | |
this.app = params.app; | |
this.window = params.window; | |
this.identifier = params.identifier; | |
this.setupThemeListener(); | |
} |
Was this report helpful? Give feedback by reacting with ๐ or ๐
๐ Desktop App Build Completed!Version: Build Artifacts
Warning Note: This is a temporary build for testing purposes only. |
โค๏ธ Great PR @canisminor1990 โค๏ธ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
### [Version 1.103.2](v1.103.1...v1.103.2) <sup>Released on **2025-07-24**</sup> #### ๐ Bug Fixes - **misc**: Fix chat stream in desktop and update shortcut. #### ๐ Styles - **misc**: Add cached token count to usage of GoogleAI and VertexAI, fix desktop titlebar style in window, fix sub topic width in md responsive. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix chat stream in desktop and update shortcut, closes [#8520](#8520) ([0192140](0192140)) #### Styles * **misc**: Add cached token count to usage of GoogleAI and VertexAI, closes [#8545](#8545) ([66dbb24](66dbb24)) * **misc**: Fix desktop titlebar style in window, closes [#8439](#8439) ([fd7662c](fd7662c)) * **misc**: Fix sub topic width in md responsive, closes [#8443](#8443) ([9bae13b](9bae13b)) </details> <div align="right"> [](#readme-top) </div>
๐ This PR is included in version 1.103.2 ๐ The release is available on: Your semantic-release bot ๐ฆ๐ |
### [Version 1.103.2](v1.103.1...v1.103.2) <sup>Released on **2025-07-24**</sup> #### ๐ Bug Fixes - **misc**: Fix chat stream in desktop and update shortcut. #### ๐ Styles - **misc**: Add cached token count to usage of GoogleAI and VertexAI, fix desktop titlebar style in window, fix sub topic width in md responsive. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix chat stream in desktop and update shortcut, closes [lobehub#8520](https://github.com/jaworldwideorg/OneJA-Bot/issues/8520) ([0192140](0192140)) #### Styles * **misc**: Add cached token count to usage of GoogleAI and VertexAI, closes [lobehub#8545](https://github.com/jaworldwideorg/OneJA-Bot/issues/8545) ([66dbb24](66dbb24)) * **misc**: Fix desktop titlebar style in window, closes [lobehub#8439](https://github.com/jaworldwideorg/OneJA-Bot/issues/8439) ([fd7662c](fd7662c)) * **misc**: Fix sub topic width in md responsive, closes [lobehub#8443](https://github.com/jaworldwideorg/OneJA-Bot/issues/8443) ([9bae13b](9bae13b)) </details> <div align="right"> [](#readme-top) </div>
* ๐ style: Fix win electron style ๐ docs: Update readme ๐ style: Update useWatchThemeUpdate ๐ style: Update Tray icon ๐ง chore: Update windows ๐ง chore: Update filetree ๐ง chore: Update core ๐ style: Fix desktop draw style ๐ style: Update style ๐ style: Fix backgroundColor ๐ style: Update titlebar style * ๐ style: Fix windows icon * ๐ง chore: Clean * update theme * ๐ style: Update broswer * ๐ style: HandleAppThemeChange * clean * fix memory leak --------- Co-authored-by: arvinxx <arvinx@foxmail.com>
### [Version 1.103.2](lobehub/lobe-chat@v1.103.1...v1.103.2) <sup>Released on **2025-07-24**</sup> #### ๐ Bug Fixes - **misc**: Fix chat stream in desktop and update shortcut. #### ๐ Styles - **misc**: Add cached token count to usage of GoogleAI and VertexAI, fix desktop titlebar style in window, fix sub topic width in md responsive. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix chat stream in desktop and update shortcut, closes [lobehub#8520](lobehub#8520) ([0192140](lobehub@0192140)) #### Styles * **misc**: Add cached token count to usage of GoogleAI and VertexAI, closes [lobehub#8545](lobehub#8545) ([66dbb24](lobehub@66dbb24)) * **misc**: Fix desktop titlebar style in window, closes [lobehub#8439](lobehub#8439) ([fd7662c](lobehub@fd7662c)) * **misc**: Fix sub topic width in md responsive, closes [lobehub#8443](lobehub#8443) ([9bae13b](lobehub@9bae13b)) </details> <div align="right"> [](#readme-top) </div>
* ๐ style: Support new Doubao thinking models (lobehub#8174) * ๐ style: update i18n (lobehub#8400) * ๐ chore(release): v1.97.13 [skip ci] ### [Version 1.97.13](lobehub/lobe-chat@v1.97.12...v1.97.13) <sup>Released on **2025-07-12**</sup> #### ๐ Styles - **misc**: Support new Doubao thinking models, update i18n. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Support new Doubao thinking models, closes [lobehub#8174](lobehub#8174) ([637d75c](lobehub@637d75c)) * **misc**: Update i18n, closes [lobehub#8400](lobehub#8400) ([790eeb8](lobehub@790eeb8)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: Revert "๐ style: Open new topic by tap Just Chat again" (lobehub#8402) This reverts commit 7e2f4ce. * ๐ style: Add Kimi K2 model (lobehub#8401) * ๐จ chore: fix lint (lobehub#8407) * ๐ chore(release): v1.97.14 [skip ci] ### [Version 1.97.14](lobehub/lobe-chat@v1.97.13...v1.97.14) <sup>Released on **2025-07-12**</sup> #### ๐ Bug Fixes - **misc**: Revert "๐ style: Open new topic by tap Just Chat again". #### ๐ Styles - **misc**: Add Kimi K2 model. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Revert "๐ style: Open new topic by tap Just Chat again", closes [lobehub#8402](lobehub#8402) ([55462b9](lobehub@55462b9)) #### Styles * **misc**: Add Kimi K2 model, closes [lobehub#8401](lobehub#8401) ([4cb1a18](lobehub@4cb1a18)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: add vision support to Grok 4 (lobehub#8386) * โจ feat: add vision support to Grok 4 * โจ feat: disable Grok 2 Vision 1212 model * ๐ chore(release): v1.97.15 [skip ci] ### [Version 1.97.15](lobehub/lobe-chat@v1.97.14...v1.97.15) <sup>Released on **2025-07-12**</sup> #### ๐ Bug Fixes - **misc**: Add vision support to Grok 4. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Add vision support to Grok 4, closes [lobehub#8386](lobehub#8386) ([8512f5a](lobehub@8512f5a)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ style: update i18n (lobehub#8410) Co-authored-by: canisminor1990 <17870709+canisminor1990@users.noreply.github.com> * ๐ chore(release): v1.97.16 [skip ci] ### [Version 1.97.16](lobehub/lobe-chat@v1.97.15...v1.97.16) <sup>Released on **2025-07-13**</sup> #### ๐ Styles - **misc**: Update i18n. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Update i18n, closes [lobehub#8410](lobehub#8410) ([2515875](lobehub@2515875)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ style: Support Hunyuan A13B thinking model (lobehub#8278) * Update novita.ts * feat: ๆทปๅ ๆฐ็ๆททๅ ๆจกๅๅนถๆดๆฐๅค็่ด่ฝฝ้ป่พ * fix * free Gemini 2.5 Pro * ๆทปๅ ERNIE 4.5 300B A47B ๆจกๅๅฐ siliconcloudChatModels * novita * ๆทปๅ GLM-4.1V-Thinking ็ณปๅๆจกๅๅฐ zhipuChatModels๏ผๅนถๆดๆฐ็ฐๆๆจกๅ็ไธไธๆ็ชๅฃๅๆๅคง่พๅบ่ฎพ็ฝฎ * ๆดๆฐ zhipuChatModels๏ผๆทปๅ ่ง่ง่ฝๅๅนถๅฏ็จๆฐๆจกๅ๏ผไฟฎๆน ZhiPu ็ๆฃๆฅๆจกๅ ID * ็งป้คๅคไธช siliconcloud ๅบๅผๆจกๅ * fix * ็งป้ค groq Qwen QwQ 32B ๆจกๅ้ ็ฝฎ * ๆดๆฐ siliconcloud ๆจกๅ * ๆดๆฐ novita/qwen ๆจกๅ * update siliconcloud model * add Pangu Pro MoE 72B A16B * Update novita.ts * Update novita.ts * update novita --------- Co-authored-by: Arvin Xu <arvinx@foxmail.com> * ๐ chore(release): v1.97.17 [skip ci] ### [Version 1.97.17](lobehub/lobe-chat@v1.97.16...v1.97.17) <sup>Released on **2025-07-13**</sup> #### ๐ Styles - **misc**: Support Hunyuan A13B thinking model. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Support Hunyuan A13B thinking model, closes [lobehub#8278](lobehub#8278) ([09ca978](lobehub@09ca978)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * โจ feat: add network proxy for desktop (lobehub#7848) * add network proxy * update network proxy * refactor network proxy * support network proxy * fix types * fix lint * fix lint * ๐จ chore: fix settings in desktop (lobehub#8414) * Update dependency lucide-react to ^0.525.0 (lobehub#8413) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency @anthropic-ai/sdk to ^0.56.0 (lobehub#8412) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * ๐ chore(release): v1.98.0 [skip ci] ## [Version 1.98.0](lobehub/lobe-chat@v1.97.17...v1.98.0) <sup>Released on **2025-07-13**</sup> #### โจ Features - **misc**: Add network proxy for desktop. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Add network proxy for desktop, closes [lobehub#7848](lobehub#7848) ([46d2509](lobehub@46d2509)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ style: fix discover translation (lobehub#8423) * ๐ chore(release): v1.98.1 [skip ci] ### [Version 1.98.1](lobehub/lobe-chat@v1.98.0...v1.98.1) <sup>Released on **2025-07-14**</sup> #### ๐ Styles - **misc**: Fix discover translation. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Fix discover translation, closes [lobehub#8423](lobehub#8423) ([15ae35c](lobehub@15ae35c)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ style: update i18n (lobehub#8422) Co-authored-by: canisminor1990 <17870709+canisminor1990@users.noreply.github.com> * ๐ chore(release): v1.98.2 [skip ci] ### [Version 1.98.2](lobehub/lobe-chat@v1.98.1...v1.98.2) <sup>Released on **2025-07-14**</sup> #### ๐ Styles - **misc**: Update i18n. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Update i18n, closes [lobehub#8422](lobehub#8422) ([5b89ec8](lobehub@5b89ec8)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * โจ feat: support AI Image (lobehub#8312) Co-authored-by: canisminor1990 <i@canisminor.cc> * โจ feat(plugin): support Streamable HTTP MCP Server Auth (lobehub#8425) * โจ feat: support http streamable auth and headers * โจ feat: support http streamable auth and headers * improve * improve token * add i18n * update i18n * ๐ chore(release): v1.99.0 [skip ci] ## [Version 1.99.0](lobehub/lobe-chat@v1.98.2...v1.99.0) <sup>Released on **2025-07-14**</sup> #### โจ Features - **plugin**: Support Streamable HTTP MCP Server Auth. - **misc**: support AI Image. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **plugin**: Support Streamable HTTP MCP Server Auth, closes [lobehub#8425](lobehub#8425) ([853a09a](lobehub@853a09a)) * **misc**: support AI Image, closes [lobehub#8312](lobehub#8312) ([095de57](lobehub@095de57)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: some ai image bugs (lobehub#8432) * โก๏ธ perf: improve memory usage in desktop (lobehub#8431) * improve usage of memory * try to improve * ๐ chore(release): v1.99.1 [skip ci] ### [Version 1.99.1](lobehub/lobe-chat@v1.99.0...v1.99.1) <sup>Released on **2025-07-15**</sup> <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: some ai image generation feedback issues (lobehub#8440) * ๐ chore(release): v1.99.2 [skip ci] ### [Version 1.99.2](lobehub/lobe-chat@v1.99.1...v1.99.2) <sup>Released on **2025-07-15**</sup> #### ๐ Bug Fixes - **misc**: Some ai image generation feedback issues. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Some ai image generation feedback issues, closes [lobehub#8440](lobehub#8440) ([bc41329](lobehub@bc41329)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * โ๏ธ docs: replace all 'Language Model' with 'Al Service Provider' in provider docs (lobehub#8444) * ๐ fix: chat model list should not show image model (lobehub#8448) * ๐ chore(release): v1.99.3 [skip ci] ### [Version 1.99.3](lobehub/lobe-chat@v1.99.2...v1.99.3) <sup>Released on **2025-07-16**</sup> #### ๐ Bug Fixes - **misc**: Chat model list should not show image model. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Chat model list should not show image model, closes [lobehub#8448](lobehub#8448) ([2bb1506](lobehub@2bb1506)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: fix apikey issue on server log (lobehub#8457) * ๐ chore(release): v1.99.4 [skip ci] ### [Version 1.99.4](lobehub/lobe-chat@v1.99.3...v1.99.4) <sup>Released on **2025-07-16**</sup> #### ๐ Bug Fixes - **misc**: Fix apikey issue on server log. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix apikey issue on server log, closes [lobehub#8457](lobehub#8457) ([43be2d1](lobehub@43be2d1)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: fix page error when url is not defined in web search plugin (lobehub#8441) Co-authored-by: Arvin Xu <arvinx@foxmail.com> * ๐ chore(release): v1.99.5 [skip ci] ### [Version 1.99.5](lobehub/lobe-chat@v1.99.4...v1.99.5) <sup>Released on **2025-07-16**</sup> #### ๐ Bug Fixes - **misc**: Fix page error when url is not defined in web search plugin. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix page error when url is not defined in web search plugin, closes [lobehub#8441](lobehub#8441) ([a55b65b](lobehub@a55b65b)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: desktop local db can't upload image (lobehub#8459) * ๐ chore(release): v1.99.6 [skip ci] ### [Version 1.99.6](lobehub/lobe-chat@v1.99.5...v1.99.6) <sup>Released on **2025-07-16**</sup> #### ๐ Bug Fixes - **misc**: Desktop local db can't upload image. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Desktop local db can't upload image, closes [lobehub#8459](lobehub#8459) ([25bfc80](lobehub@25bfc80)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * โจ feat: refactor desktop oauth and use JWTs token to support remote chat (lobehub#8446) * refactor the oauth * refactor the oauth * refactor the oauth * improve oauth status * fix desktop auth * fix tests * improve clean handoff * try to fix handoff public issue * fix route protection * refactor anim * refactor * update to access token to jwt * update to access token to jwt * improve config * refactor for JWKs token * fix auto refresh issue * โจ feat: support webapi proxy * wip: ๅฎๆๆฐๆตๅผๆฅๅฃ * wip: ่ท้ๆตๅผๆกๆถ * fix webhooks * fix network proxy * try to fix workflow * fix proxy in remote sync * fix tests * fix tests * fix oauth bypass route * fix webapi proxy * ๐จ chore: improve code (lobehub#8469) * ๐ chore(release): v1.100.0 [skip ci] ## [Version 1.100.0](lobehub/lobe-chat@v1.99.6...v1.100.0) <sup>Released on **2025-07-17**</sup> #### โจ Features - **misc**: Refactor desktop oauth and use JWTs token to support remote chat. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Refactor desktop oauth and use JWTs token to support remote chat, closes [lobehub#8446](lobehub#8446) ([054ca5f](lobehub@054ca5f)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: use server env config image models (lobehub#8478) * docs: update fal provider invalid image links * docs: add FAL model provider environment variables documentation * ๐ fix: update model type assignment in parseModels.ts to use dynamic lookup * ๐ docs: add FAQ for resolving AI image generation timeout issues on Vercel * โจ feat: implement getModelPropertyWithFallback utility for dynamic model property retrieval * ๐ docs: expand testing guide with best practices for mock data strategies, error handling, and module pollution prevention * ๐ fix: update model type in LobeOpenAICompatibleFactory tests to 'chat' * ๐ chore(release): v1.100.1 [skip ci] ### [Version 1.100.1](lobehub/lobe-chat@v1.100.0...v1.100.1) <sup>Released on **2025-07-17**</sup> #### ๐ Bug Fixes - **misc**: Use server env config image models. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Use server env config image models, closes [lobehub#8478](lobehub#8478) ([768ee2b](lobehub@768ee2b)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: fix webapi proxy with clerk (lobehub#8479) * fix webapi proxy with clerk * Update jwt.ts * ๐ chore(release): v1.100.2 [skip ci] ### [Version 1.100.2](lobehub/lobe-chat@v1.100.1...v1.100.2) <sup>Released on **2025-07-18**</sup> #### ๐ Bug Fixes - **misc**: Fix webapi proxy with clerk. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix webapi proxy with clerk, closes [lobehub#8479](lobehub#8479) ([7dd65f0](lobehub@7dd65f0)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: some ai image bugs (lobehub#8490) * โจ feat: add zhipu cogview4 (lobehub#8486) * ๐ chore(release): v1.101.0 [skip ci] ## [Version 1.101.0](lobehub/lobe-chat@v1.100.2...v1.101.0) <sup>Released on **2025-07-19**</sup> #### โจ Features - **misc**: Add zhipu cogview4. #### ๐ Bug Fixes - **misc**: Some ai image bugs. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Add zhipu cogview4, closes [lobehub#8486](lobehub#8486) ([0b1557d](lobehub@0b1557d)) #### What's fixed * **misc**: Some ai image bugs, closes [lobehub#8490](lobehub#8490) ([5d852be](lobehub@5d852be)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: Try fix authorization code exchange & pin next-auto to `beta.29` (lobehub#8496) * ๐ pin: next-auth@beta.29 * ๐ fix: infinite redirection * ๐ chore(release): v1.101.1 [skip ci] ### [Version 1.101.1](lobehub/lobe-chat@v1.101.0...v1.101.1) <sup>Released on **2025-07-19**</sup> #### ๐ Bug Fixes - **misc**: Try fix authorization code exchange & pin next-auto to `beta.29`. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Try fix authorization code exchange & pin next-auto to `beta.29`, closes [lobehub#8496](lobehub#8496) ([27c4881](lobehub@27c4881)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ท build: add default `APP_URL` for docker image to avoid building error (lobehub#8507) * ๐ style: fix lobehub provider `/chat` in desktop (lobehub#8508) * ๐จ chore: fix model runtime test issue (lobehub#8511) * ๐ chore(release): v1.101.2 [skip ci] ### [Version 1.101.2](lobehub/lobe-chat@v1.101.1...v1.101.2) <sup>Released on **2025-07-21**</sup> #### ๐ Styles - **misc**: Fix lobehub provider `/chat` in desktop. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Fix lobehub provider `/chat` in desktop, closes [lobehub#8508](lobehub#8508) ([c801f9c](lobehub@c801f9c)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * โจ feat: add image generation capabilities using Google AI Imagen API (lobehub#8503) * ๐ chore(release): v1.102.0 [skip ci] ## [Version 1.102.0](lobehub/lobe-chat@v1.101.2...v1.102.0) <sup>Released on **2025-07-21**</sup> #### โจ Features - **misc**: Add image generation capabilities using Google AI Imagen API. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Add image generation capabilities using Google AI Imagen API, closes [lobehub#8503](lobehub#8503) ([cef8208](lobehub@cef8208)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐จ chore(typo): fix `redirectUrl` typo (lobehub#8513) * ๐ style: modal list header sticky style (lobehub#8514) * ๐ fix(groq): Enable streaming for tool calls and add Kimi K2 model (lobehub#8510) * ๐ chore(release): v1.102.1 [skip ci] ### [Version 1.102.1](lobehub/lobe-chat@v1.102.0...v1.102.1) <sup>Released on **2025-07-21**</sup> #### ๐ Bug Fixes - **groq**: Enable streaming for tool calls and add Kimi K2 model. #### ๐ Styles - **misc**: Modal list header sticky style. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **groq**: Enable streaming for tool calls and add Kimi K2 model, closes [lobehub#8510](lobehub#8510) ([60739bc](lobehub@60739bc)) #### Styles * **misc**: Modal list header sticky style, closes [lobehub#8514](lobehub#8514) ([75273d5](lobehub@75273d5)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ style: add notification for desktop (lobehub#8523) * add notification for desktop * update i18n * fix tests * ๐ chore(release): v1.102.2 [skip ci] ### [Version 1.102.2](lobehub/lobe-chat@v1.102.1...v1.102.2) <sup>Released on **2025-07-22**</sup> #### ๐ Styles - **misc**: Add notification for desktop. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Add notification for desktop, closes [lobehub#8523](lobehub#8523) ([4917d17](lobehub@4917d17)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ท build: add default app url for docker image to avoid building error (lobehub#8526) * ๐ fix: remove debug logging from ModelRuntime and async caller (lobehub#8525) * ๐ chore(release): v1.102.3 [skip ci] ### [Version 1.102.3](lobehub/lobe-chat@v1.102.2...v1.102.3) <sup>Released on **2025-07-22**</sup> #### ๐ Bug Fixes - **misc**: Remove debug logging from ModelRuntime and async caller. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Remove debug logging from ModelRuntime and async caller, closes [lobehub#8525](lobehub#8525) ([dd1a635](lobehub@dd1a635)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * โป๏ธ refactor: add badge and improve document (lobehub#8528) * update readme * ๐ docs: Update readme * ๐ style: Update PlanIcon * improve tooltip placement * improve tray --------- Co-authored-by: canisminor1990 <i@canisminor.cc> * ๐ style: Update tray icon (lobehub#8530) Co-authored-by: canisminor1990 <i@canisminor.cc> * ๐ chore(release): v1.102.4 [skip ci] ### [Version 1.102.4](lobehub/lobe-chat@v1.102.3...v1.102.4) <sup>Released on **2025-07-22**</sup> #### โป Code Refactoring - **misc**: Add badge and improve document. #### ๐ Styles - **misc**: Update tray icon. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Add badge and improve document, closes [lobehub#8528](lobehub#8528) ([9fb4b0d](lobehub@9fb4b0d)) #### Styles * **misc**: Update tray icon, closes [lobehub#8530](lobehub#8530) ([2696de4](lobehub@2696de4)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * โจ feat: add Qwen image generation capabilities (lobehub#8534) * ๐ chore(release): v1.103.0 [skip ci] ## [Version 1.103.0](lobehub/lobe-chat@v1.102.4...v1.103.0) <sup>Released on **2025-07-22**</sup> #### โจ Features - **misc**: Add Qwen image generation capabilities. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Add Qwen image generation capabilities, closes [lobehub#8534](lobehub#8534) ([7e8e5ef](lobehub@7e8e5ef)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ docs: fix desktop & mcp mdx (lobehub#8541) * ๐ style: update i18n (lobehub#8537) Co-authored-by: canisminor1990 <17870709+canisminor1990@users.noreply.github.com> * ๐ chore(release): v1.103.1 [skip ci] ### [Version 1.103.1](lobehub/lobe-chat@v1.103.0...v1.103.1) <sup>Released on **2025-07-23**</sup> #### ๐ Styles - **misc**: Update i18n. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Update i18n, closes [lobehub#8537](lobehub#8537) ([b16f19b](lobehub@b16f19b)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐จ chore: some ai image optimization (lobehub#8543) * ๐จ chore: fix an issue where some tests were failing if Branding items were updated (lobehub#8549) * Update test data for plugin action to use avatar icon path (rather than hard coded) * Update tests to use BRANDING_NAME constant instead of hardcoded 'LobeChat' and update avatar icon path in chat message tests * Update tests to replace hardcoded avatar paths with constants for inbox and user avatars * Update plugin action tests to use DEFAULT_INBOX_AVATAR constant instead of hardcoded path * ๐ style: Add cached token count to usage of GoogleAI and VertexAI (lobehub#8545) * ๐ style: fix desktop titlebar style in window (lobehub#8439) * ๐ style: Fix win electron style ๐ docs: Update readme ๐ style: Update useWatchThemeUpdate ๐ style: Update Tray icon ๐ง chore: Update windows ๐ง chore: Update filetree ๐ง chore: Update core ๐ style: Fix desktop draw style ๐ style: Update style ๐ style: Fix backgroundColor ๐ style: Update titlebar style * ๐ style: Fix windows icon * ๐ง chore: Clean * update theme * ๐ style: Update broswer * ๐ style: HandleAppThemeChange * clean * fix memory leak --------- Co-authored-by: arvinxx <arvinx@foxmail.com> * ๐ style: fix sub topic width in md responsive (lobehub#8443) * ๐ fix: fix chat stream in desktop and update shortcut (lobehub#8520) * disable nginx chunk buffering * make setting keep alive * update shortcut * update shortcut * fix lint * ๐ chore(release): v1.103.2 [skip ci] ### [Version 1.103.2](lobehub/lobe-chat@v1.103.1...v1.103.2) <sup>Released on **2025-07-24**</sup> #### ๐ Bug Fixes - **misc**: Fix chat stream in desktop and update shortcut. #### ๐ Styles - **misc**: Add cached token count to usage of GoogleAI and VertexAI, fix desktop titlebar style in window, fix sub topic width in md responsive. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix chat stream in desktop and update shortcut, closes [lobehub#8520](lobehub#8520) ([0192140](lobehub@0192140)) #### Styles * **misc**: Add cached token count to usage of GoogleAI and VertexAI, closes [lobehub#8545](lobehub#8545) ([66dbb24](lobehub@66dbb24)) * **misc**: Fix desktop titlebar style in window, closes [lobehub#8439](lobehub#8439) ([fd7662c](lobehub@fd7662c)) * **misc**: Fix sub topic width in md responsive, closes [lobehub#8443](lobehub#8443) ([9bae13b](lobehub@9bae13b)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * โจ feat: support custom hotkey on desktop (lobehub#8559) * support custom hotkey * update tests * clean * fix tests * ๐ chore(release): v1.104.0 [skip ci] ## [Version 1.104.0](lobehub/lobe-chat@v1.103.2...v1.104.0) <sup>Released on **2025-07-24**</sup> #### โจ Features - **misc**: Support custom hotkey on desktop. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Support custom hotkey on desktop, closes [lobehub#8559](lobehub#8559) ([b50f121](lobehub@b50f121)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: update convertUsage to handle XAI provider and adjust OpenAIStream to pass provider (lobehub#8557) * โจ chore: improve image display quality (lobehub#8571) * ๐ chore(release): v1.104.1 [skip ci] ### [Version 1.104.1](lobehub/lobe-chat@v1.104.0...v1.104.1) <sup>Released on **2025-07-25**</sup> #### ๐ Bug Fixes - **misc**: Update convertUsage to handle XAI provider and adjust OpenAIStream to pass provider. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Update convertUsage to handle XAI provider and adjust OpenAIStream to pass provider, closes [lobehub#8557](lobehub#8557) ([d1e4a54](lobehub@d1e4a54)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ fix: fix update hotkey invalid when input mod in desktop (lobehub#8572) * fix hotkey with mod * fix invalid hotkeys * add tests * ๐ chore(release): v1.104.2 [skip ci] ### [Version 1.104.2](lobehub/lobe-chat@v1.104.1...v1.104.2) <sup>Released on **2025-07-26**</sup> #### ๐ Bug Fixes - **misc**: Fix update hotkey invalid when input mod in desktop. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix update hotkey invalid when input mod in desktop, closes [lobehub#8572](lobehub#8572) ([07f3e6a](lobehub@07f3e6a)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐จ chore: add react scan debugger and bump deps (lobehub#8576) * add REACT_SCAN debug * upgrade lobehub/ui * clean * head * update * ๐ style: Add Gemini 2.5 Flash-Lite GA model (lobehub#8539) * ๐ chore(release): v1.104.3 [skip ci] ### [Version 1.104.3](lobehub/lobe-chat@v1.104.2...v1.104.3) <sup>Released on **2025-07-26**</sup> #### ๐ Styles - **misc**: Add Gemini 2.5 Flash-Lite GA model. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Add Gemini 2.5 Flash-Lite GA model, closes [lobehub#8539](lobehub#8539) ([404ac21](lobehub@404ac21)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme * ๐ style: update i18n (lobehub#8579) Co-authored-by: canisminor1990 <17870709+canisminor1990@users.noreply.github.com> * ๐ style: fix setting window layout size (lobehub#8483) * ๐ chore(release): v1.104.4 [skip ci] ### [Version 1.104.4](lobehub/lobe-chat@v1.104.3...v1.104.4) <sup>Released on **2025-07-28**</sup> #### ๐ Styles - **misc**: Fix setting window layout size, update i18n. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Fix setting window layout size, closes [lobehub#8483](lobehub#8483) ([4902341](lobehub@4902341)) * **misc**: Update i18n, closes [lobehub#8579](lobehub#8579) ([2eccbc7](lobehub@2eccbc7)) </details> <div align="right"> [](#readme-top) </div> * ๐ docs(bot): Auto sync agents & plugin to readme --------- Co-authored-by: sxjeru <sxjeru@gmail.com> Co-authored-by: LobeHub Bot <i@lobehub.com> Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net> Co-authored-by: Arvin Xu <arvinx@foxmail.com> Co-authored-by: bbbugg <80089841+bbbugg@users.noreply.github.com> Co-authored-by: canisminor1990 <17870709+canisminor1990@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renรฉ Wang <52880665+RiverTwilight@users.noreply.github.com> Co-authored-by: YuTengjing <ytj2713151713@gmail.com> Co-authored-by: canisminor1990 <i@canisminor.cc> Co-authored-by: vual <25891219+vual@users.noreply.github.com> Co-authored-by: Rylan Cai <67412196+cy948@users.noreply.github.com> Co-authored-by: Innei <tukon479@gmail.com> Co-authored-by: afon <wengxufeng@gmail.com> Co-authored-by: LovelyGuYiMeng <76251800+LovelyGuYiMeng@users.noreply.github.com> Co-authored-by: huangkairan <56213366+huangkairan@users.noreply.github.com> Co-authored-by: Jamie Stivala <jamiestivala@gmail.com> Co-authored-by: Shinji-Li <1349021570@qq.com>
* ๐ style: Fix win electron style ๐ docs: Update readme ๐ style: Update useWatchThemeUpdate ๐ style: Update Tray icon ๐ง chore: Update windows ๐ง chore: Update filetree ๐ง chore: Update core ๐ style: Fix desktop draw style ๐ style: Update style ๐ style: Fix backgroundColor ๐ style: Update titlebar style * ๐ style: Fix windows icon * ๐ง chore: Clean * update theme * ๐ style: Update broswer * ๐ style: HandleAppThemeChange * clean * fix memory leak --------- Co-authored-by: arvinxx <arvinx@foxmail.com>
### [Version 1.103.2](lobehub/lobe-chat@v1.103.1...v1.103.2) <sup>Released on **2025-07-24**</sup> #### ๐ Bug Fixes - **misc**: Fix chat stream in desktop and update shortcut. #### ๐ Styles - **misc**: Add cached token count to usage of GoogleAI and VertexAI, fix desktop titlebar style in window, fix sub topic width in md responsive. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix chat stream in desktop and update shortcut, closes [lobehub#8520](lobehub#8520) ([48c7487](lobehub@48c7487)) #### Styles * **misc**: Add cached token count to usage of GoogleAI and VertexAI, closes [lobehub#8545](lobehub#8545) ([be8df5a](lobehub@be8df5a)) * **misc**: Fix desktop titlebar style in window, closes [lobehub#8439](lobehub#8439) ([53c9e37](lobehub@53c9e37)) * **misc**: Fix sub topic width in md responsive, closes [lobehub#8443](lobehub#8443) ([da47317](lobehub@da47317)) </details> <div align="right"> [](#readme-top) </div>
* ๐ style: Fix win electron style ๐ docs: Update readme ๐ style: Update useWatchThemeUpdate ๐ style: Update Tray icon ๐ง chore: Update windows ๐ง chore: Update filetree ๐ง chore: Update core ๐ style: Fix desktop draw style ๐ style: Update style ๐ style: Fix backgroundColor ๐ style: Update titlebar style * ๐ style: Fix windows icon * ๐ง chore: Clean * update theme * ๐ style: Update broswer * ๐ style: HandleAppThemeChange * clean * fix memory leak --------- Co-authored-by: arvinxx <arvinx@foxmail.com>
### [Version 1.103.2](lobehub/lobe-chat@v1.103.1...v1.103.2) <sup>Released on **2025-07-24**</sup> #### ๐ Bug Fixes - **misc**: Fix chat stream in desktop and update shortcut. #### ๐ Styles - **misc**: Add cached token count to usage of GoogleAI and VertexAI, fix desktop titlebar style in window, fix sub topic width in md responsive. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix chat stream in desktop and update shortcut, closes [lobehub#8520](lobehub#8520) ([0192140](lobehub@0192140)) #### Styles * **misc**: Add cached token count to usage of GoogleAI and VertexAI, closes [lobehub#8545](lobehub#8545) ([66dbb24](lobehub@66dbb24)) * **misc**: Fix desktop titlebar style in window, closes [lobehub#8439](lobehub#8439) ([fd7662c](lobehub@fd7662c)) * **misc**: Fix sub topic width in md responsive, closes [lobehub#8443](lobehub#8443) ([9bae13b](lobehub@9bae13b)) </details> <div align="right"> [](#readme-top) </div>
๐ป ๅๆด็ฑปๅ | Change Type
๐ ๅๆด่ฏดๆ | Description of Change
electron-window-state
ไผๅ็ชๅฃ้ป่พTODO
๐ ่กฅๅ ไฟกๆฏ | Additional Information