Commit Graph

182 Commits

Author SHA1 Message Date
Aibo117 6c0944d6f2 fix: add form validation error feedback in agent edit dialog
- Add onFormError callback to show toast when validation fails
- This helps debug why the save button appears to do nothing
2026-05-26 14:08:14 +08:00
Aibo117 3c39e3b7e1 fix: use handleSubmit directly instead of form requestSubmit
Bypass potential React portal form resolution issues by calling
react-hook-form handleSubmit(onFormSubmit)() directly in the
button onClick handler.
2026-05-26 14:07:06 +08:00
Aibo117 58a10c3217 fix: agent profile save button not working
- Replace form attribute with ref-based form submission to avoid
  potential portal-related form resolution issues in base-ui Dialog
- Add null guard for fetchUsersAll return value to prevent crash
  when API returns null data
2026-05-26 14:04:39 +08:00
Aibo117 43bc9b903d fix: null safety in conversation monitor page
Prevent "Cannot read properties of null (reading forEach)" when
fetchTagsAll / fetchAgentProfilesAll / fetchAgentTeamsAll return null
from the API. Add null guard in buildTagOptions and array checks for
assignee/team data before calling .map.
2026-05-26 13:53:29 +08:00
Aibo117 0f40930a41 refactor: rebrand from cs-agent to BossChat
- Rename Go module: cs-agent → bosschat
- Rename all import paths across 200+ Go files
- Rename SDK: cs-ai-agent-sdk → bosschat-sdk
- Rename message protocol: cs-agent:* → bosschat:*
- Rename JS globals: CSAgentConfig → BossChatConfig
- Rename CSS classes: cs-agent-* → bosschat-*
- Update Makefile APP_NAME and ARCHIVE_NAME
- Update logo assets
- Fix display name: BoosChat → BossChat
2026-05-26 13:17:07 +08:00
Aibo117 0eb804d9d7 refactor: unified brand naming to BoosChat
Rebrand all user-facing product name references from legacy
Chinese name to unified "BoosChat" across frontend components,
metadata, test fixtures, and documentation.
2026-05-25 14:25:04 +08:00
mlogclub 691a7058fa fix: add dropdown menu for chat window actions and enhance status display 2026-05-10 10:30:59 +08:00
mlogclub 2b9cf7e1df fix: enhance chat window header with action buttons and icons 2026-05-10 10:09:52 +08:00
mlogclub 253cca0de7 fix: update login form placeholders to Chinese 2026-05-10 09:50:42 +08:00
mlogclub a077e50c6f refactor: improve layout responsiveness and styling for chat components 2026-05-09 23:00:55 +08:00
mlogclub d238bf17bb refactor: remove unnecessary border from chat shell section 2026-05-09 22:52:04 +08:00
mlogclub d30e211996 refactor: enhance conversation handling and websocket integration with new team ID support 2026-05-09 22:05:34 +08:00
mlogclub 44558a873c refactor: update links in summary cards to include dashboard path 2026-05-09 21:34:54 +08:00
mlogclub c111e3ed98 refactor: update TicketDetailDialog and ProjectDialog for improved layout and styling 2026-05-06 22:56:55 +08:00
mlogclub 102e9c8e4f refactor: clean up imports and improve ConversationList structure 2026-05-06 21:08:09 +08:00
mlogclub 3734e8ec03 refactor: simplify SidebarInset structure and adjust overflow behavior 2026-05-06 21:03:15 +08:00
mlogclub 8ff68acc54 feat: implement standalone closed page navigation and add related tests 2026-05-06 19:36:32 +08:00
mlogclub 15710d294f feat: add runtime configuration for Kefu Chat SDK
- Introduced `readKefuChatRuntimeConfig` and `setKefuChatRuntimeConfig` functions to manage runtime configuration for the Kefu Chat SDK.
- Updated `useKefuChatStore` to utilize the new runtime configuration functions instead of the previous widget config methods.
- Modified the SDK build process to compile TypeScript instead of JavaScript, enhancing type safety and maintainability.
- Updated the minified SDK file to reflect the changes in configuration handling and TypeScript compilation.
2026-05-06 19:28:49 +08:00
mlogclub bd9fad68a7 refactor: update Kefu widget configuration to use dynamic user token retrieval
- Changed `userToken` property to `getUserToken` function in KefuWidgetHostConfig for dynamic token fetching.
- Introduced KefuWidgetRuntimeConfig to manage runtime-specific configurations.
- Updated readKefuWidgetConfig and setKefuWidgetConfig functions to accommodate new configuration structure.
- Enhanced cs-ai-agent-sdk.js to handle user token resolution and frame configuration.
- Added tests for dynamic user token retrieval in cs-ai-agent-sdk.test.mjs.
- Removed deprecated cs-agent-widget.js file as part of the refactor.
2026-05-06 18:19:49 +08:00
mlogclub 787850833f fix: update chat shell message and comment out header section 2026-05-06 17:40:11 +08:00
mlogclub d7e101c234 feat: add progress tracking dialog with content editor for ticket updates 2026-05-06 17:40:11 +08:00
mlogclub c482a3d7f6 feat: update dialog size options and adjust loading indicator height 2026-05-06 17:40:11 +08:00
mlogclub bfcab46ae4 feat: add ticket information section in detail dialog 2026-05-06 17:40:11 +08:00
mlogclub 907d3b4085 fix: remove unnecessary classes from ticket page layout 2026-05-06 17:40:11 +08:00
mlogclub 5ca596a212 feat: enhance ticket page with quick view buttons and search functionality 2026-05-06 17:40:11 +08:00
mlogclub 57cf11afd6 ticket editor 2026-05-06 17:40:11 +08:00
mlogclub 1e7c77e379 fix: stabilize ticket rich text progress 2026-05-06 17:40:11 +08:00
mlogclub 1fc26aa30d feat: support rich ticket progress 2026-05-06 17:40:11 +08:00
mlogclub 44319446b7 feat: support rich ticket descriptions 2026-05-06 17:40:11 +08:00
mlogclub 494bf919b2 feat: add safe rich html viewer 2026-05-06 17:40:11 +08:00
mlogclub dba175b0fa feat(ticket): add customer linking functionality to tickets 2026-05-06 17:40:11 +08:00
mlogclub ac0f25f10c refactor(ticket): rename TicketNoService to TicketNoSequenceService and update references 2026-05-06 17:40:11 +08:00
mlogclub d75f9f05a7 fix(ticket): update font size for various text elements in TicketDetailDialog 2026-05-06 17:40:10 +08:00
mlogclub 2f33783f7e fix(ticket): change description wrapper from div to span in TicketDetailDialog 2026-05-06 17:40:10 +08:00
mlogclub d181ff4947 fix(ticket): remove batch assign and restructure detail dialog 2026-05-06 17:40:10 +08:00
mlogclub c1f4f74244 fix(kefu): avoid chat control hydration mismatch 2026-05-06 17:37:57 +08:00
mlogclub 02686fe1e8 feat(kefu): adapt chat controls by launch mode 2026-05-06 09:37:28 +08:00
mlogclub 6d75ea9988 fix(ticket): close final integration gaps 2026-05-02 21:00:00 +08:00
mlogclub 3eea8f29b7 fix(ticket): ignore stale assign completions 2026-05-02 20:36:34 +08:00
mlogclub 1c65bec11b fix(ticket): invalidate reopened detail actions 2026-05-02 20:32:42 +08:00
mlogclub 567d9cb8e7 fix(ticket): reset detail dialog action state 2026-05-02 20:29:25 +08:00
mlogclub 033c9e2647 fix(ticket): ignore stale mutation completions 2026-05-02 20:26:35 +08:00
mlogclub 872f28fd3f fix(ticket): complete stale request guards 2026-05-02 20:23:32 +08:00
mlogclub 8102f89308 fix(ticket): guard stale responses and stale hours 2026-05-02 20:20:30 +08:00
mlogclub 8a8b92a307 refactor(ticket): delete unused status dialog 2026-05-02 20:15:25 +08:00
mlogclub f53a581f5e fix(ticket): restore create and tag editing flows 2026-05-02 20:12:01 +08:00
mlogclub 43c245e37e feat(ticket): rebuild lightweight ticket workspace 2026-05-02 20:01:31 +08:00
mlogclub 5ccee6f714 fix(ticket): align lightweight frontend API 2026-05-02 19:53:18 +08:00
mlogclub a691c8d716 fix(ticket): regenerate lightweight ticket enums 2026-05-02 19:45:01 +08:00
mlogclub 08fa232fe3 refactor(ticket): simplify frontend ticket API and components 2026-05-02 19:40:42 +08:00