[PR #23] feat: add theme support and default model persistence #36

Open
opened 2026-02-16 09:17:52 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/openwork/pull/23
Author: @MohtashamMurshid
Created: 1/17/2026
Status: 🔄 Open

Base: mainHead: main


📝 Commits (4)

  • 87e4c6f feat: add theme support (light/dark/system)
  • 5c9389a feat: implement default model persistence and loading
  • 6b77179 feat: add Gemini 3 Flash Preview model
  • a05b464 Merge upstream/main, resolve conflict in models.ts

📊 Changes

8 files changed (+275 additions, -16 deletions)

View changed files

📝 src/renderer/src/App.tsx (+20 -2)
📝 src/renderer/src/components/chat/ModelSwitcher.tsx (+2 -0)
📝 src/renderer/src/components/settings/SettingsDialog.tsx (+42 -1)
📝 src/renderer/src/components/sidebar/ThreadSidebar.tsx (+58 -3)
📝 src/renderer/src/components/tabs/CodeViewer.tsx (+11 -4)
📝 src/renderer/src/index.css (+52 -3)
📝 src/renderer/src/lib/store.ts (+66 -0)
📝 src/renderer/src/lib/thread-context.tsx (+24 -3)

📄 Description

Summary

  • Add theme support (light/dark/system) with persistent storage
  • Implement default model persistence and loading so the selected model is remembered across sessions
  • UI improvements for theme switching in settings dialog and sidebar

Test plan

  • Verify theme switching works correctly (light/dark/system modes)
  • Verify selected model persists across app restarts
  • Test settings dialog theme options
  • Test sidebar appearance in different themes

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/openwork/pull/23 **Author:** [@MohtashamMurshid](https://github.com/MohtashamMurshid) **Created:** 1/17/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (4) - [`87e4c6f`](https://github.com/langchain-ai/openwork/commit/87e4c6f00c88a9235bfba56b4b06290d9d1a3d4b) feat: add theme support (light/dark/system) - [`5c9389a`](https://github.com/langchain-ai/openwork/commit/5c9389a8b8076cb947b6d7baf89e1c59ef8907ce) feat: implement default model persistence and loading - [`6b77179`](https://github.com/langchain-ai/openwork/commit/6b77179f8b27397ce708f4e6f493dd6e9e3c03e0) feat: add Gemini 3 Flash Preview model - [`a05b464`](https://github.com/langchain-ai/openwork/commit/a05b4645c04be212aee350398ce60719f732e7ca) Merge upstream/main, resolve conflict in models.ts ### 📊 Changes **8 files changed** (+275 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `src/renderer/src/App.tsx` (+20 -2) 📝 `src/renderer/src/components/chat/ModelSwitcher.tsx` (+2 -0) 📝 `src/renderer/src/components/settings/SettingsDialog.tsx` (+42 -1) 📝 `src/renderer/src/components/sidebar/ThreadSidebar.tsx` (+58 -3) 📝 `src/renderer/src/components/tabs/CodeViewer.tsx` (+11 -4) 📝 `src/renderer/src/index.css` (+52 -3) 📝 `src/renderer/src/lib/store.ts` (+66 -0) 📝 `src/renderer/src/lib/thread-context.tsx` (+24 -3) </details> ### 📄 Description ## Summary - Add theme support (light/dark/system) with persistent storage - Implement default model persistence and loading so the selected model is remembered across sessions - UI improvements for theme switching in settings dialog and sidebar ## Test plan - [ ] Verify theme switching works correctly (light/dark/system modes) - [ ] Verify selected model persists across app restarts - [ ] Test settings dialog theme options - [ ] Test sidebar appearance in different themes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 09:17:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/openwork#36