Commit Graph

34 Commits

Author SHA1 Message Date
Wolfsblvt
b8ae54fb2c Add i18n to popup controls 2024-06-27 03:01:07 +02:00
Wolfsblvt
d5016ad672 Update tag import popup to new input 2024-06-27 02:52:34 +02:00
Wolfsblvt
d084f579c5 Refactor Popup with private and readonly modifiers 2024-06-27 02:39:59 +02:00
Wolfsblvt
124cbfdfa4 Update Popup to support custom input checkboxes 2024-06-27 02:28:25 +02:00
Wolfsblvt
1c6c9efba1 Refactor convert to group chat to new popup 2024-06-27 01:01:43 +02:00
Wolfsblvt
d64d16bdf2 Fix popup onClose executing after resolver 2024-06-27 00:27:55 +02:00
Wolfsblvt
cd9013cf73 Update some WI confirm/input popups to new popup 2024-06-26 05:29:08 +02:00
Cohee
6b716980be Update extension manager to use new popup 2024-06-25 11:54:59 +03:00
Cohee
650755198d Update persona image upload to new cropper 2024-06-25 02:18:10 +03:00
Cohee
e0000bade6 Port image cropper to new popup 2024-06-25 02:05:35 +03:00
Cohee
e0a404e099 Fix popup input going off on click 2024-06-23 23:09:22 +03:00
Wolfsblvt
7642b66a0e Improve enlarge inline image
- Make enlarge inline image popup zoomable
- Add optional popup class for transparent popups
2024-06-23 12:26:52 +02:00
Wolfsblvt
42766a715d Popup type "DISPLAY" & image enlarge changes
- New popup type "DISPLAY", for showing content with an X in the corner, without buttons
- Rework popup result controls to automatically support click (or other) events to close complete the popup
- Fix inline image icons/actions being keyboard interactable
- Switch inline image enlarge popup to new DISPLAY type
2024-06-23 02:32:06 +02:00
Wolfsblvt
7c2b475e46 Improve popup class with close event handlers 2024-06-22 04:54:13 +02:00
Wolfsblvt
a5baa3605f Fix closing popup sometimes being stuck via Escape 2024-06-20 21:43:13 +02:00
Wolfsblvt
860a2f6929 Fix naming 2024-06-11 02:25:01 +02:00
Wolfsblvt
bb09f5a292 Prep to fix AutoComplete display in popups 2024-06-11 02:22:46 +02:00
Wolfsblvt
d14af1592e Refactor naming/structure of popup CSS classes
- Refactor naming/structure of popup CSS classes
- Prepare Popup utility of opening/showing dialogs
2024-06-09 22:02:51 +02:00
Wolfsblvt
5cc4242c6f Make ST-style buttons keyboard selectable
- Make ST-style buttons keyboard selectable
- Allow custom classes/selectors to be set as buttons too, with the same functionality (CSS selector-based)
- Observer to automatically add functionality to any button added to the DOM
- Allow buttons to not be selectable via 'disabled' or 'not_focusable'
2024-06-03 02:52:54 +02:00
Wolfsblvt
89d1bc8341 Drag&Drop handler utility and animation 2024-06-02 05:54:41 +02:00
Wolfsblvt
6ca71c3e2c Popup styling changes for smaller content & small fixes 2024-06-02 00:09:25 +02:00
Wolfsblvt
c939c544e2 Rename popup css classes 2024-05-31 21:59:26 +02:00
Wolfsblvt
1c6671df31 popup fix scrollbar style, align toastr 2024-05-30 21:03:52 +02:00
Wolfsblvt
6c3118549f Make generic popups be modal dialogs
- Switch generic popups to actual <dialog> elements
- Move toastr settings from html to JS
- Add style variable for animation duration (to re-use in CSS)
- Remember focus of popup on stacking pop-up close to switch back to the element you started out in
- Fix keybinds of popups to only act on actual result-triggering controls
- Fix toastr appearing behind popups by dynamically moving the container inside the currently open dialog
- Improve autofocus on popup open
- Make cleaner and prettier popup animations, and tie them to the animation speed
-
2024-05-30 05:11:23 +02:00
Wolfsblvt
4f2543f7ae Fix popup custom buttons 2024-05-25 01:02:13 +02:00
Wolfsblvt
d9582062d2 Expand popup functionality
- Add "custom buttons" functionality, each with their own popup result
- Handle 'Enter' by defining a default action
- Using default action to style the default button to make the default action visible
- Allow override of ok/cancel button on any popup type to display those
- Allow multiple popups to overlay each other
- Small styling changes for bottom spacing on non-input popups
2024-05-25 00:44:09 +02:00
Cohee
549b2d52a4 Remove unnecessary DOM query 2024-05-20 21:58:45 +03:00
Yokayo
6023eac4bb Onboarding lang switch; more localizable strings; enhance ru-ru translation 2024-05-13 19:20:28 +07:00
LenAnderson
0ab5ddf763 use elementFromPoint instead of popup stack 2024-04-18 14:03:16 -04:00
LenAnderson
9fee731cac only close last popup with escape 2024-04-18 09:23:52 -04:00
Cohee
de8339f77b Fix ESLint 2024-04-13 15:24:49 +03:00
LenAnderson
278ec029f5 add missing cancelButton setting to callGenericPopup 2024-04-12 20:50:14 -04:00
LenAnderson
91558ad9ea add enter to submit on input type 2024-04-12 20:49:55 -04:00
LenAnderson
0e2a82ce00 add generic popups with their own elements 2024-04-08 18:42:33 -04:00