* group add
* make button not wide
* make single and batch add to folder use the same style popup
* prevent stuck UI, allow scrolling, prevent ::after conflicts
* extremely large commit, beware
* clear everything after performing bulk actions
* Unify bulk selection design language
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* backend, frontend, bugfixes
* Mobile button and sizing
* lint
* clear folder thumbnailFile on delete, rename thumbnailFile on rename
* use filteredImages when changing sort option
* Address all the review comments
* Fix friendly title generation to handle empty strings
* Move add folder button to the header
* instead of search filtering the backgrounds in a folder and showing the folder if the results > 0, search the folder names.
* Trade button places
* Adjust button text
* feat: restrict folder creation to the Global tab
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* init
* cleanup
* logic changes and some styling
* set z index to a reasonable value
* remove pointless animation
* cleanup
* restore animation
* checkmark icon on selected background
* drop shadow
* tweak size slightly
* Apply suggestion from @Cohee1207
condense
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* more of the above
* make lock indicator use a class like the selection indicator
* make backgroundHighlight run on page load
* cleanup
* html restructure and display: contents. only issue left is slightly wonky desktop buttons order
* yellow lock icon for consistancy
* Update layout
* Restore fitting logic
* Styles clean-up
* Remove duplicate class
* Restore button titles
* Fix return types of slash commands
* Update locked background on select if lock status is on
* Force header to 100% width
* Clean-up styles
* Fix locked highlight on custom backgrounds
* Revert global lock button
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* init
* mostly working messy version
* css layout, mobile is fixed
* revert changes
* more of the above
* cleanup
* revert breaking fixes, cleanup dead code
* dead code
* delete fallback
* spacing
* css tweaks and removed getChatBackgroundsList
* mobile sizing
* revert unrelated changes
* use name instead of context
* debounce from constants.js
* replace if/else
* pass images directly
* more of the above
* buttons
* buttons functionality
* add default column counts
* remove .mobile-only-menu-toggle when clicked (layering fix)
* lint
* universal column default of 3
* sacrifice firefox for chrome
* Restore media query
This reverts commit 295a5a81908e58c0bfa5e01fd90fcd62c05471b4.
* Add disabled attribute styles for menu_button
* use opacity 0, pointer events none instead of display:none
* Format styles
* Fix type errors
* Add blur event handler to close mobile menu when focus is lost
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Improvement: Enhanced UI Consistency
- Added a class to `<div class="inline-drawer-toggle inline-drawer-header">` in **AI Response Configuration** and **API Connections** menus to match the styling of similar elements in **User Settings**
- Improved spacing and sizing for buttons such as `.bg_example .jg-menu` in the **Backgrounds** menu. The previous widths and gaps were too small, often causing accidental taps (especially on mobile devices)
* fix
* Adjust padding and background color in style.css
* Update inline drawer classes for configuration sections
* Remove border styles from expandable sections
* fix
* fix
* fix(sad)
* Adjust desktop bg_list width
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* refactor: remove unused background styles
* feat: add support for nested @media, @supports, and @container rules in dynamic focus styles
* fix: add keyboard focus support for background menu buttons back
* fix: move "custom" background copy functionality to unified button UI and make it work again
* refactor: simplify CSSContainerRule instance check using window global
* fix: update hover and focus selector placeholder replacements to handle multiple occurrences in selector
* Fix focused outline offset of background samples
* Fix locked background outline color
* Add a11y roles to background menu items
* Add mobile-only button selector
* fix: update button and list item selectors
* Improve keyboard navigation in narrow layout
* Hide rename button for custom=true backgrounds
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>