Commit Graph

150 Commits

Author SHA1 Message Date
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
ralf
ac0867ab77 implement et2-searchbox and using it in NM
reorganized preprocessor a bit to fix some not replaced size attributes
also pass on constructor args in all Et2Url widgets

There is still a JS error in new searchbox, causing admin searchbox to not render :(
2022-07-22 20:43:09 +02:00
nathan
714ef5d4c9 Better nm column selection 2022-07-11 13:20:04 -06:00
ralf
d85b2b4cf2 fix type et2-nextmatch-header-account(filter) 2022-07-08 10:38:06 +02:00
nathan
ed16ce52a2 Change nextmatch headers to use web components 2022-07-07 13:18:42 -06:00