Commit Graph

190 Commits

Author SHA1 Message Date
nathan
a6002f24f0 Add Et2Dropdown, just a wrapper around SlDropdown 2024-12-05 08:22:39 -07:00
nathan
b287d54149 Revert "Change template to webcomponent", not ready for pushing
This reverts commit e107b48c3a.
2024-11-07 17:24:31 -07:00
nathan
e107b48c3a Change template to webcomponent 2024-11-07 16:44:46 -07:00
nathan
4fc96ee8b7 Add Et2ButtonToggle & Et2SwitchIcon widgets 2024-10-11 15:16:34 -06:00
nathan
64ce874f62 Avoid breaking error if validation error is for a widget that can't be found 2024-10-09 09:38:48 -06:00
nathan
df20d58abf Etemplate: Add a timeout to waiting for widgets to load so we can more easily know what happened & track it down. 2024-09-06 11:04:32 -06:00
milan
3e577c738f changed Et2SelectCategory to be the Et2TreeDropdownCategory and and removed theold one 2024-08-22 14:18:29 +02:00
nathan
599e38b9fc - Hide course & material selection
- Show material name
- Move requested actions into advanced settings dropdown below video
- Style changes
2024-08-15 14:25:20 -06:00
ralf
434ee70b44 new web-component et2-groupbox based on et2-details
also modernized et2-details code a bit using decorators
2024-08-14 15:25:02 +02:00
ralf
aadaa28f86 new et2-vfs-name widget which does NOT allow to put (back)slashes in filenames
@nathangray client-side validation somehow does NOT work
2024-07-31 11:27:23 +02: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
ralf
16d42c69c5 exclude Et2.*(Readonly|Mobile) components from documentation:
- renamed Et2DateSinceReadonly to Et2DateSince as there is no non-readonly class
- enhance getSlClass() in cem.js to also return regular Et2 class, if there is no readonly one
- replace ? in since tag with 23.1 and added @since 23.1.x to Tree widgets (somehow not parsed!)
- updated etemplate2.0.(dtd|rng)
2024-06-18 11:09:06 +02:00
nathan
95f1034abd Refactor Favorites UI
- Move common stuff into Favorite.ts
- New widget Et2FavoritesMenu that's just a menu
- Et2Favorite unchanged, still dependent on nextmatch
2024-06-12 16:14:09 -06:00
nathan
7448377e96 API: support slot attribute on <template> 2024-05-28 16:09:14 -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
79b3085ac1 remove no longer used dhtmlxtree files 2024-03-30 11:53:52 +02:00
milan
a22ef1a268 remove unused Et2MultiselectTree.ts 2024-03-28 19:49:19 +01:00
nathan
8e4160c6c9 Remove old vfs select 2024-03-27 08:38:20 -06:00
nathan
ff4988b41e Split dropdown category tree into its own file, get colors working in tags 2024-02-15 10:13:01 -07:00
nathan
94a32d2800 Et2TreeDropdown WIP
Initial commit.  Sort of works.
2024-02-13 10:32:36 -07:00
Milan
2e617c2f47 Et2Tree.ts and Et2MultiselectTree.ts
Sl-Tree
2024-02-08 21:54:42 +01:00
ralf
be7f95d0aa adding optional submit_value parameter to widget getValue() method to let widgets know value is needed for submit/getValues 2024-02-06 09:21:05 +02:00
ralf
512b0bd4e6 fixing the fix
there is probably a nicer solution to let the calling widget know that getValues() is running
triggering a custom event won't help, as getValues() is not async and can't be made to wait for the widget handling the event
2024-02-05 16:19:12 +02:00
nathan
379729daff WIP VFS Select: split off dialog and made button its own component for easier backward compatability 2024-01-29 09:58:29 -07:00
nathan
b19c913006 Et2VfsPath widget 2024-01-25 15:24:46 -07:00
nathan
faeee31155 WIP Et2VfsSelect: Now files showing up in list 2024-01-17 16:32:09 -07:00
nathan
0ca406ad78 WIP Et2VfsSelect
Just getting started
2024-01-16 08:26:18 -07:00
nathan
710287e34f Et2Email WIP 2023-12-11 08:18:38 -07:00
Milan
e3ca0bfacd Merge remote-tracking branch 'origin/master' 2023-09-27 12:59:53 +02:00
hadi
a00fdb9eb2 Clean up etemplate2 sessions before closing the top level window 2023-09-22 16:11:14 +02:00
Milan
0f1f45a0cc WIP sl-Tree 2023-09-14 17:36:28 +02: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
9a53dc3ffd Fix canceled close still destroyed session 2023-08-16 10:23:58 -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
ralf
3e27def4f9 WIP Mail REST API: change calendar to use new egw.openDialog():
- renamed app.dialogExec() to app.openDialog() or egw.openDialog()
- the later is the nicer place, but fails for lost window context with popups :(
2023-07-13 15:22:21 +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
c63784d7e8 WIP new app.ts method dialogExec(_menuaction) opening a popup into a dialog 2023-07-11 22:45:54 +02:00
nathan
0c050ad9f3 Api: Add a timeout for form submit
If a submit takes more than 30s, give a warning and hide the loader so the user can try to salvage their changes.
2023-07-10 09:07:22 -06:00
milan
5e3c67a5cf converted egw_action from javascript to typescript
classes are now uppercase and in their own files. lowercase classes are deprecated.
Interfaces are now actual interfaces that should be implemented instead of creating and returning an ai Object every time
2023-07-10 16:54:22 +02:00
nathan
e034557f60 Api: Fix number could not handle comma as decimal separator if different from browser's region. 2023-03-22 10:59:05 -06:00
nathan
86b883951a Add isReady flag to etemplate. onchange functions set as attributes in .xet files will not be called until the etemplate is finished loading. 2023-02-27 15:31:07 -07:00
nathan
e532ca176b Add Et2TabsMobile that has special rendering for tabs on mobile 2023-02-21 10:31:38 -07:00
nathan
098fe647dc Start on converting date range to webcomponent 2022-12-20 14:05:20 -07:00
nathan
1aa87138a2 Addressbook: Correct fix for CRM breaking contact list actions
etemplate2.clear() was not removing getting the correct app instance removed
2022-10-19 10:54:11 -06:00
nathan
8221d66ce2 Fix nm printing did not properly wait for column selection or rows before trying to print 2022-10-06 15:39:35 -06:00
nathan
3ce5aebe12 Collabora: Get insert placeholder dialog working again 2022-10-05 10:50:54 -06:00
nathan
4454f350b2 Fix some more validation bugs
- Fix error if widget did not have a feedback slot or a '#help-text' element
- Fix copy/paste error scrolling to wrong widget
2022-09-22 11:43:29 -06:00
nathan
0424836ba8 If widget fails validation during submit check, scroll it into view 2022-09-22 09:20:50 -06:00