QuantumEntangledAndy
b05d5e12fe
Use a resize observer to center the popup after an image is loaded when polyfilled
2024-10-10 10:41:40 +07:00
Cohee
441465f08b
[chore] Run eslint
2024-10-04 16:37:56 +03:00
QuantumEntangledAndy
bd48c2445a
Make dialog css edits dependant on polyfil
2024-10-04 16:57:59 +07:00
QuantumEntangledAndy
3e465d155c
Include polyfill css
2024-10-04 15:26:48 +07:00
Wolfsblvt
73c14711e1
Fix checkpoint create auto generate (and more)
...
- Fix empty checkpoint name on mes click to auto generate
- Change /checkpoint-create to not require name and auto generate
- Fix popup input type returning empty string instead of null on empty input field
2024-09-12 23:34:37 +02:00
Wolfsblvt
2385c5a59a
Change popup cancel result in command to empty str
2024-09-07 01:21:04 +02:00
Cohee
a4176ae00d
Allow hiding cancel on input popup
2024-09-02 00:12:20 +03:00
Cohee
a4ee73a3a7
Make onClose async too
2024-08-19 23:58:36 +03:00
Cohee
bc7660bba6
Require to save settings before reloading.
2024-08-19 23:49:15 +03:00
Wolfsblvt
cfb40cae0b
Only count popups as open which are "open"
2024-08-18 16:42:10 +02:00
Wolfsblvt
c139222aee
Merge branch 'staging' into pr/2415
2024-07-30 21:46:08 +02:00
Wolfsblvt
7bb94732dd
mark popup complete functions as async
2024-07-30 21:45:19 +02:00
Wolfsblvt
0dfd31430c
Add Popup.show.text
2024-07-28 22:39:11 +02:00
LenAnderson
2470f775e2
Merge branch 'staging' into parser-followup-2
2024-07-28 08:32:25 -04:00
Wolfsblvt
63512c208f
Fix popup not respecting <null> for text
2024-07-26 18:17:32 +02:00
LenAnderson
bfd05e4866
Merge branch 'staging' into parser-followup-2
2024-07-14 19:18:52 -04:00
Wolfsblvt
6f936bc997
I can't spell. Don't look at it.
2024-07-15 00:46:45 +02:00
Wolfsblvt
367da588cd
Move closingPrevented to a property
2024-07-14 22:37:22 +02:00
Wolfsblvt
7b7c1121bb
Fix popup onClosing handling not working correctly
...
- Reset value/result on canceled closing
- Fix close event still firing and closing the popup on multiple close/cancel calls, even though it *shouldn't* have happened
- Remove manual removal of popup event listeners. Not needed, if they are only subscribed to controls inside the dialog or the dialog itself. That's cleaned up automatically. Is confusing otherwise anyway.
2024-07-14 02:39:57 +02:00
LenAnderson
3327be5468
Merge branch 'staging' into parser-followup-2
2024-07-12 08:33:28 -04:00
Wolfsblvt
4c7e5fbd60
Allow popup buttons returning 'null' for cancelled
2024-07-12 00:29:16 +02:00
LenAnderson
32ec6aac1c
Merge branch 'staging' into parser-followup-2
2024-07-04 11:37:35 -04:00
Wolfsblvt
1f6a91ab5d
Make input popups respect "Enter to Send" setting
2024-07-01 15:32:24 +02:00
Wolfsblvt
5d74749fd0
Fix toasts misaligning on popup hiding
2024-06-30 23:23:39 +02:00
Cohee
de79cf74c6
Default to fast animation
2024-06-30 23:30:15 +03:00
Wolfsblvt
e7e8ff06d0
Optional popup animation speed (via popup styles)
2024-06-30 20:49:16 +02:00
Wolfsblvt
da968e127b
Refactor Popup.complete to async
2024-06-30 20:44:29 +02:00
LenAnderson
a08ab79181
Merge branch 'staging' into parser-followup-2
2024-06-28 16:19:27 -04:00
LenAnderson
058f45ec71
Merge branch 'staging' into parser-followup-2
2024-06-27 11:49:46 -04:00
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
LenAnderson
c988f6f762
restore completeAffirmative, completeNegative, completeCancelled
2024-06-25 08:30:13 -04: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