Commit Graph

85 Commits

Author SHA1 Message Date
ralf
0a1ee38b40 fix close button top-right corner is outside of rounded dialog corner in fancy theme 2024-09-04 18:05:12 +02:00
nathan
93fb837c37 Et2Dialog: Fix some dialog events / internals 2024-08-13 08:38:27 -06:00
nathan
7559ae4f21 Switch some CSS colors from specific values to variables 2024-07-15 08:24:47 -06:00
nathan
0cb09698a1 Long task dialog improvements
- Add 'Skip all' button to skip any further failed tasks
- Add button to copy the log
2024-07-10 11:08:56 -06:00
nathan
6d7b097072 Add addressbook's "Save as infolog" to new merge dialog 2024-07-08 12:59:45 -06:00
nathan
b2476816f1 Merge dialog
- Add a hint that selecting from multiple directories isn't supported
- Add "Email" to mime selection
- Translations from Birgit
- Missing translations
2024-05-27 08:06:41 -06:00
nathan
ff94af1f7d * Api: Add some options to merge: merge individually, merge & link, merge & email, download 2024-05-17 15:57:09 -06:00
nathan
ba744d3292 Remove Lion 2024-05-07 14:46:44 -06:00
ralf
92041df5bd fix TypeError in _instanceof Et2Widget: _senders?.egw() returns also undefined, if _senders has no egw property 2024-04-17 11:41:47 +02:00
nathan
4d31227b43 Et2Dialog: Fix "Uncaught DOMException: Failed to set the 'adoptedStyleSheets' property on 'ShadowRoot': Sharing constructed stylesheets in multiple documents is not allowed" in long_task
No idea what was happening there or why
2024-04-16 08:49:49 -06:00
nathan
3d27a7abb4 Remove references to deprecated widgets et2_widget & et2_button 2024-04-16 08:18:36 -06:00
nathan
94b1e3f80d Fix Et2Dialog getComplete() promise did not work more than once when destroyOnClose = false 2024-01-24 16:42:22 -07:00
nathan
ba04abd1b4 Et2Dialog: Fix height attribute was not setting dialog height 2023-11-02 13:04:32 -06:00
nathan
a6d3a87c75 Doc: Get class doc into docs 2023-10-16 13:34:29 -06:00
Nathan Gray
e323cd1d79
Feature/shoelace 2.4 upgrade (#135)
Update shoelace to 2.9.0
2023-09-13 11:55:33 -06:00
nathan
1393fb6921 Et2Dialog: Fix dialog open event was fired if a selectbox opened
Fixes flickering field in Collabora insert address dialog
2023-08-03 14:39:47 -06:00
nathan
b92d45c44a Api: make longTask (merge to email) more robust
Should continue in the face of network error
2023-08-02 14:08:59 -06:00
nathan
583072ce9d Fix insert multiple entries into email document failed at "Please wait ... loading" 2023-08-01 09:11:09 -06:00
nathan
9d61a2ef17 Changes for opening etemplate in a dialog
- openDialog() now returns Promise<Et2Dialog>
- fixed etemplate reload
2023-07-13 16:18:11 -06:00
ralf
efaa3ae386 WIP Mail REST API: fix reported problems with calendar quick add 2023-07-13 18:44:00 +02:00
nathan
8dee34407e Et2Dialog: Fix buttons could not be adopted if dialog contains only arbitrary slotted content 2023-07-13 08:27:56 -06:00
ralf
865d2b3d8d WIP Mail REST API: fix closing dialog closes popup to because dialog was already removed when response was received 2023-07-13 15:36:55 +02:00
nathan
50e3a1b204 Get calendar quick-add working with Ralf's changes to open an etemplate in a dialog (c63784d7e8), fix buttons from those etemplates weren't adopted 2023-07-11 17:07:51 -06:00
ralf
96bb3a6884 WIP new app.ts method dialogExec(_menuaction) opening a popup into a dialog
ToDo: overwrite Framework actions in etemplate2.handle_load() to eg. close dialog, but not window, or refresh window instead of opener
2023-07-11 13:38:09 +02:00
nathan
f4699543c3 Et2Dialog fixes
- Fix noCloseButton attribute was not implemented
- Fix hideOnExcape=false still allowed closing on escape
- Fix using Et2Dialog.BUTTONS_OK showed no buttons
2023-06-30 11:02:04 -06:00
nathan
3bd2ee5aad Fix confirm dialog sometimes mis-placed initiating button in value 2023-05-12 10:06:55 -06:00
nathan
713c0ce21b Et2Dialog: Move enter handler to keyUp so input event handlers can fire first 2023-04-06 16:13:42 -06:00
hadi
09560a325a Fix some dialog's buttons are not getting fit into the dialog initiated size 2023-03-29 17:21:41 +02:00
nathan
4311eebdc9 Et2Dialog: Fix missing button alignment 2023-02-22 14:51:21 -07:00
ralf
5fe8f2642a fix problem with Safari 16.2 of NOT displaying dialog contents eg. of timer dialog 2023-01-19 15:23:16 -06:00
nathan
54498a005c Et2Dialog: Second try waiting on template load
Now creating the template promise immediately on setting template name and using a resolver function to resolve after template is loaded
2022-12-14 10:39:15 -07:00
nathan
27573f6d83 Et2Dialog: Try waiting until after update is complete to avoid an error loading the template in Safari 2022-12-12 14:43:47 -07:00
nathan
12151139ff Et2Dialog: Better non-modal handling, now with less internal conflicts with SlDialog 2022-12-07 13:45:38 -07:00
nathan
32248e67ee Et2Dialog: Better non-modal styling 2022-12-07 11:30:14 -07:00
nathan
4b6357dd90 Et2Dialog nonmodal WIP
Non-modal dialogs don't cover header with app tabs.
TODO: The dialog needs to be added to the app content div instead of the body
2022-12-07 09:13:46 -07:00
nathan
57993741cb Et2Dialog: Don't close dialog for buttons that are not in the footer 2022-12-06 09:44:56 -07:00
nathan
3a1c415ce4 Styling for buttons on dialog 2022-12-02 11:23:09 -07:00
nathan
72626b0dc2 Et2Dialog: Fix width property 2022-12-02 09:37:22 -07:00
nathan
dc5e0b528e Dialog work
Style changes
2022-12-01 13:02:40 -07:00
nathan
e2fc779207 Dialog work
Get tracker "Multiple changes" working
2022-12-01 11:38:02 -07:00
nathan
634e00f948 Dialog work
Get calendar quick add working again
2022-12-01 11:20:58 -07:00
nathan
83ab58329e Dialog work
- Add destroy() to remove dialog

Fixes admin ACL dialog
2022-12-01 10:24:17 -07:00
nathan
390fbf3608 Dialog work
- Switch from LionDialog to SlDialog as base
- First input should get focus
- First button gets set as primary (if no default set), Enter key will act as a click on it
- Escape key closes dialog
2022-11-30 15:59:25 -07:00
nathan
127ccdedbb Et2Dialog: Fix incorrect button adoption search 2022-11-02 08:36:44 -06:00
ralf
0ec8636a7b do NOT submit dialog, if it has no etemplate_exec_id, it only gives and error on server-side 2022-11-02 13:51:17 +01:00
nathan
2659a8ab63 Filemanager: Add copy to clipboard button to share link dialog 2022-10-28 10:05:03 -06:00
Hadi Nategh
cedaf4027c Fix navigational buttons no longer work in VfsSelect dialog 2022-10-07 14:48:20 +02:00
ralf
196024a454 stopping buttons in dialog from submitting it to server-side 2022-10-06 13:55:24 +02:00
ralf
ed05a8b6ee always need to stop button click events as otherwise the result would be submitted to server-side eT2 handler 2022-10-05 09:53:45 +02:00
nathan
4318d1c0a5 Put nextmatch column selection into a dialog 2022-08-18 14:47:58 -06:00