Commit Graph

154 Commits

Author SHA1 Message Date
nathan
0738ccc0f3 Use id list instead of just the first ID when update returns no data
(update, total <=0)
2024-03-18 13:43:08 -06:00
ralf
05efd753fe only bind queue event-handler for the first queued item, not of every queued item
jQuery.one() only makes sure each event-handler is called only once, but it does NOT stop installing multiple ones
2024-03-18 16:14:44 +02:00
nathan
5209ff8e4b * Api: Fix list updates while app was hidden were not all shown when switching back to the app
If updates/add was done for multiple entries while a nextmatch was hidden, only the first update or new entry was shown
2024-03-15 15:25:27 -06:00
nathan
84a452492d Api: Fix favorites incorrectly saved with customfield column caused reload
Just "customfields" in the saved column list triggered an app reload because of the detected column mismatch.  Now ignoring customfield column if there are no customfields to show with it
2024-03-13 10:48:23 -06:00
nathan
7dad9b69a7 Fix print did not work with forced hidden columns 2023-11-22 16:24:10 -07:00
nathan
a4ee20b3ee Api: Fix unneeded reloads in nm when applying favourite 2023-10-04 15:13:25 -06:00
nathan
d5139d41fb Api: Show nm columns from favourites
Need to update preferences before submitting
2023-10-03 11:53:14 -06:00
nathan
e24b5578a3 Api: Show nm columns from favourites, automatically reloading if needed to get missing columns 2023-10-03 11:40:38 -06:00
nathan
54b38cab8c Fix favourites did not show customfield column if needed 2023-09-27 13:22:57 -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
b5758a2268 Fix addressbook list type filter gave error when changing 2023-09-05 08:35:58 -06:00
nathan
e4e270da2a Api: Fix legacy onchange in nextmatch got nextmatch instead of changed widget 2023-08-30 10:30:07 -06:00
ralf
a61445c0d0 fix TypeError if field.values is null causing some nextmatch features like search not to render 2023-07-25 16:39:56 +02:00
nathan
edcc260b7b WIP on caching static option file and searching it client-side
Get it working in nextmatch
2023-07-24 15:13:28 -06:00
nathan
f0be2fcdca WIP on caching static option file and searching it client-side
Still needs file caching & passing correct URL
2023-07-21 16:40:29 -06:00
nathan
e6f142c7a4 Api: Fix nm columnselection still showed disabled columns 2023-07-12 15:08:31 -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
3cfdca0ae9 * Api: Customfield selectboxes can read options from a PHP file in the VFS using @[path] ex: @/home/Default/selects.php 2023-06-29 13:36:28 -06:00
nathan
9a5ed1efa3 Api: Wait for et2-link-strings to finish updating before we continue with the print
Avoids printing before the link titles are loaded
2023-05-24 15:54:36 -06:00
hadi
8e8c664e95 Fix broken 3dots menu for nm in mobile theme 2023-05-02 18:53:42 +02:00
nathan
5781542cab Fix multi-select in headers did not trigger update when a tag was removed
Value got passed around by reference, so as soon as the value was changed, activeFilters had the updated value.  Now just leaving applyFilters() to do the check.
2023-04-14 15:22:58 -06:00
nathan
43873af7bc Add implicit preference to remember user's last sort order.
Sort stored in favorites override this when the favorite is used.
2023-04-14 10:28:16 -06:00
nathan
fd253b10f5 Only wait for nm header widgets, not all the rows that just get removed.
see 0b8c108279
2023-03-17 08:26:58 -06:00
nathan
0b8c108279 Fix weird nm column sizing in infolog.
Depending on favorite settings, changing favorite (or 'No filters') caused incorrect column sizing in nm list
2023-03-16 16:15:35 -06:00
ralf
2543a011cb fix wrong import path stalling Babel transpiling 2023-03-09 08:48:01 +01:00
nathan
84bdea4193 Fix nm print dialog missing print orientation 2023-02-14 16:27:44 -07:00
nathan
49d3d84f3a Completely hide disabled nm filters, as before 2023-01-24 10:25:01 -07:00
nathan
56fcfbf992 No 'All categories' empty label for mail 2023-01-24 09:26:46 -07:00
nathan
802a312839 Stop nextmatch from making a popup dirty if a filter changes 2023-01-19 14:40:56 -07:00
nathan
be82f32b68 When nm is on a tab, need to resize the nm when the tab is shown to get proper sizing 2022-11-24 14:20:45 -07:00
nathan
104680c477 Fix hidden nm with no initial rows were requesting data too early 2022-11-07 14:51:42 -07:00
nathan
be16565cc4 Filemanager can now update sub-grids 2022-11-07 11:51:30 -07:00
nathan
78333613fa Et2Select: Fix change event got fired too early
If fix_bad_value() made a change, that was triggering change event before Et2App.et2_ready() had been called
2022-11-07 09:57:00 -07:00
nathan
48eb9c1968 Fix duplicate option warning from customfield select filter 2022-10-18 16:06:28 -06:00
nathan
9ea00bb95f Give webComponents inside nextmatch a chance to finish before we calculate sizes 2022-10-14 14:50:57 -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
9644e4b1df Avoid double-parsing nm row if for some reason grid has too many rows.
Should fix missing initial data, but I'm still not sure exactly why row grid can have too many rows.
2022-09-26 10:55:32 -06:00
nathan
3380b867b8 Fix some overlap styling issues with sub-headers
In particular, call list buttons and most date filters were overlapping the row count
2022-09-07 09:54:09 -06:00
nathan
1b0c2a95a2 Fix nextmatch search 2022-08-29 08:44:09 -06:00
nathan
12ef8163b4 Fix double nextmatch refresh if you search, press [Enter], then take focus out of the search 2022-08-26 13:23:36 -06:00
Hadi Nategh
d3d0216a39 WIP Mobile template: Make all widgets large on mobile template 2022-08-22 13:59:17 +02:00
Hadi Nategh
54cd616b2c WIP Mobile view: get the nm search boxes the right size 2022-08-22 13:33:55 +02:00
nathan
4318d1c0a5 Put nextmatch column selection into a dialog 2022-08-18 14:47:58 -06:00
nathan
24d9d3ef53 Fix search letter cannot be disabled 2022-08-17 16:26:22 -06:00
nathan
dce4ac78fc - Fix some missing column labels in column selection
- Fix column sorting didn't work
2022-08-17 15:48:29 -06:00
nathan
8c7cfc3e69 nm - give the reason when it can't generate column name (no IDs) 2022-08-16 09:22:57 -06:00
ralf
d9c28d5a1e directly return from applyFilters() if the NM controller is not (yet) instantiated 2022-08-02 14:53:34 +02:00
ralf
125a8abf61 only call widget.resize() if it's a function:
- web-components do not implement it
- et2-textarea / SlTextarea uses resize as a property name
--> we can postpone the decision, if we need an explicit resize handler for our web-components, or using flex is sufficient, for now
2022-07-29 15:29:51 +02:00
ralf
79df51dbbb show "Search" as placeholder
fix sometimes not modified <textbox by adding it to ADD_ET2_LEGACY_PREFIX_REGEXP too
2022-07-24 09:31:58 +02:00
nathan
7c925e5264 Fix search sometimes got undefined as value, breaking initial render() 2022-07-22 13:54:31 -06:00