Commit graph

8 commits

Author SHA1 Message Date
Andras Bacsai
89c4f83bc5 refactor(global-search): improve event handling and cleanup in global search component
- Replaced inline event listener functions with named handlers for better readability and maintainability.
- Added cleanup logic to remove event listeners on component destruction, preventing potential memory leaks.
- Updated the styling of search result items for improved visual feedback and consistency.
2025-10-01 20:03:51 +02:00
Andras Bacsai
bed7ad833e ui(core): update projects property type and enhance UI styling
- Changed the projects property in the Dashboard component from an array to a Collection for improved data handling.
- Added new color variables in CSS for better theming options.
- Updated button styles across various components for consistency and improved user experience.
- Refined dropdown and notification components for better visual alignment and usability.
2025-10-01 08:23:35 +02:00
Andras Bacsai
a897e81566 feat(global-search): integrate projects and environments into global search functionality
- Added retrieval and mapping of projects and environments to the global search results.
- Enhanced search result structure to include resource counts and descriptions for projects and environments.
- Updated the UI to reflect the new search capabilities, improving user experience when searching for resources.
2025-09-30 13:37:03 +02:00
Andras Bacsai
364080a447 refactor(global-search): change event listener to window level for global search modal 2025-09-29 13:02:29 +02:00
Andras Bacsai
6e8b4c17f8
Merge pull request #6728 from coollabsio/claude/issue-6715-20250928-1702
fix: prevent quick search modal duplication from keyboard shortcuts
2025-09-29 12:34:34 +02:00
claude[bot]
81466d956e fix: prevent quick search modal duplication from keyboard shortcuts
- Moved global search component from navbar to main app layout
- Fixed issue where navbar was included twice (mobile & desktop)
- Created single instance that handles all keyboard shortcuts
- Added search button in navbar that triggers global search modal
- Resolves issue where two modals opened when using Ctrl+K, Cmd+K, Ctrl+/, Cmd+/

Fixes #6715

Co-authored-by: Andras Bacsai <andrasbacsai@users.noreply.github.com>
2025-09-28 17:05:56 +00:00
claude[bot]
ecd87d1ec2 fix: resolve scroll lock issue after closing quick search modal with escape key
- Replace x-trap.inert.noscroll with manual scroll management using x-trap.inert + x-init watcher
- Add explicit scroll restoration in closeModal() method
- Fixes issue where escape key after keyboard shortcut opening prevented page scrolling

Fixes #6716

Co-authored-by: Andras Bacsai <andrasbacsai@users.noreply.github.com>
2025-09-28 16:13:02 +00:00
Andras Bacsai
d8d316b5f8 feat(search): implement global search functionality with caching and modal interface 2025-09-19 10:17:55 +02:00