Skip to content

feat(ui): Implement real-time bookmark count synchronization - #629

Merged
haiphucnguyen merged 1 commit into
askimo-ai:mainfrom
huynguyen20011:feature/support-realtime-update-bookmark-info
Aug 11, 2026
Merged

haiphucnguyen merged 1 commit into
askimo-ai:mainfrom
huynguyen20011:feature/support-realtime-update-bookmark-info

Conversation

@huynguyen20011

Copy link
Copy Markdown
Contributor
  • Enables immediate updating of sidebar bookmark badges when bookmarks are toggled within a chat session.
  • Uses BookmarkToggledEvent to communicate state changes between the chat and session view models.

Ref: #613

@haiphucnguyen I use the eventbus solution existing in the askimo codebase instead of instruction in the ticket. Please let me know if it is okay.

- Enables immediate updating of sidebar bookmark badges when bookmarks are toggled within a chat session.
- Uses `BookmarkToggledEvent` to communicate state changes between the chat and session view models.
- Improves user experience by avoiding mandatory full UI reloads for minor bookmark status changes.

@haiphucnguyen haiphucnguyen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @huynguyen20011 , it is better than my suggestion! Thank you for doing it right

@haiphucnguyen
haiphucnguyen merged commit 09e86f5 into askimo-ai:main Aug 11, 2026
10 checks passed
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.

2 participants