Commit Graph

3820 Commits

Author SHA1 Message Date
nathan
22f695b2e2 Make sure context menu items exec() with proper context 2025-01-06 14:48:41 -07:00
nathan
290dc59a09 Speed up nextmatch context menus by creating them once & reuse them 2025-01-06 13:30:17 -07:00
ralf
4a44739e8f WIP invoices: allow to query and use not just the first app supporting a certain mime-type
thought mail code still only checks for certain apps
2024-12-20 19:20:45 +01:00
nathan
367b939081 Finish WIP Et2Select test for close dropdown on blur 2024-12-20 09:39:29 -07:00
nathan
d9dd71d367 Get tests passing again by removing 'loadFromXML()' call
- it's loaded by the html`...`, and trying to load it from itself is just wrong
2024-12-20 09:13:49 -07:00
nathan
54352c2120 Remove debug 2024-12-20 09:06:04 -07:00
nathan
46c4d20623 Et2VfsPath: Fix Enter would not accept typed value in Firefox 2024-12-20 09:04:16 -07:00
nathan
fd52a2fee5 Fix merge document dialog used user preference over action path, even if it was missing 2024-12-20 08:37:19 -07:00
ralf
946b0a5e43 show app-icon and translated name for /(apps|templates)/$app 2024-12-20 11:05:48 +01:00
nathan
a6dfa98280 Et2Dialog: Fix buttons on predefined dialogs don't show up 2024-12-19 15:48:17 -07:00
nathan
10314e59bc Et2Search / SearchMixin: Clear button focuses search, ready for new value 2024-12-19 13:30:00 -07:00
nathan
02abf08be5 Et2Search / SearchMixin: Hide clear button when dropdown is visible 2024-12-19 13:14:23 -07:00
nathan
c0ac4cafae Et2Select / SearchMixin: fix some more allowFreeEntry issues
- existing values were not being properly matched
- " freeEntry " option.class (with spaces) was causing nasty error in LitElement
2024-12-19 12:44:26 -07:00
milan
d3ac3d7432 make bi icons same size as other icons 2024-12-19 18:31:00 +01:00
nathan
aea088736b Blur the activeElement to avoid an aria error "decendent must not have focus" 2024-12-19 08:45:58 -07:00
ralf
da6faa5b1d fix errors / exceptions in merge-print or other downloads do NOT show the error but trigger a redirect giving potentially a different unrelated error
A better fix would be to use a different cd-code e.g. cd=postSubmit and fix the server-side framework to return the framework / sidebox AND the page-content incl. the error, which it currently does not :(
With cd=popup we don't get the framework / sidebox (if running in the main window), but we get the error and a F5 / reload fixes the framework
2024-12-19 11:19:48 +01:00
nathan
2bec393ad2 Reset file upload progress list when clearing the value 2024-12-18 15:21:42 -07:00
nathan
0c387604f8 Change diff widget to webcomponent, update diff library 2024-12-13 16:23:56 -07:00
nathan
44c5998c50 Docs: Add link to Disabled vs Readonly Vs Hidden in Et2Widget documentaion of set_disabled() 2024-12-13 09:22:47 -07:00
nathan
30665eb1c5 Make tab & enter behave the same when editing 2024-12-12 12:54:43 -07:00
nathan
6169647c24 Fix some places in Link widgets where readonly & disabled were not applied 2024-12-12 11:36:28 -07:00
nathan
c89f0578d4 Et2LinkString / Et2LinkList: Use maxmatchs preference as default limit
You can still override this with limit attribute
2024-12-12 11:29:59 -07:00
nathan
a1b6222c4b Addressbook: Fix creating CSV import definition field mapping step failed
Incorrect select options broke the "target field" column
2024-12-12 10:56:19 -07:00
nathan
26d2ea4616 Fix legacy et2_createWidget() did not properly load webComponents when they had "et2-<tag>" 2024-12-11 14:57:53 -07:00
nathan
2075bbe64c Et2Date._inputNode can sometimes be just an input tag 2024-12-11 14:32:17 -07:00
nathan
a2b8ba300c Et2Date: Implement disabled attribute 2024-12-11 14:21:41 -07:00
nathan
299094333a Et2Select: Better handling of focus with allowFreeEntries=true multiple=false editModeEnabled=false 2024-12-11 13:24:09 -07:00
nathan
aaefb6ce68 Fix some app code using Et2Dialog.template, which previously returned the eTemplate2 object
It Et2Dialog.template is an attribute, and has to return the template name.
Use Et2Dialog.eTemplate to access the loaded etemplate2 object.
2024-12-11 08:33:32 -07:00
nathan
db37c3b116 Improve some issues with Et2Select with multiple=false & allowFreeEntries=true
- Adding a free entry did not always update UI fully with new value
- it was impossible to edit a free entry, just replace it
2024-12-10 13:45:21 -07:00
nathan
2356c6e0dd Change deprecated et2_dialog for Et2Dialog webcomponent 2024-12-09 14:56:34 -07:00
Alexandros Sigalas
c077ab96ff Et2DropdownButton: Added tooltips to menu items 2024-12-08 09:24:25 +01:00
nathan
afd0d0b43d Fix some Et2InputWidgets would not get a label 2024-12-05 14:27:04 -07:00
nathan
230635c5d6 Et2Details: Add accordionGroup attribute to group multiple details together, allowing only one in the group to be open at a time 2024-12-05 10:45:16 -07:00
nathan
fb1732de84 Et2Details: Fix overlaySummaryOnOpen was not implemented when hoist=false 2024-12-05 10:15:18 -07:00
nathan
a6002f24f0 Add Et2Dropdown, just a wrapper around SlDropdown 2024-12-05 08:22:39 -07:00
milan
5e4ccd4af6 vfs styling changes --added wrapping of long filenames --improved mail attachment list to use available space 2024-12-05 13:17:47 +01:00
nathan
b7a12136ec Api: Et2Dialog automatic tests & some documentation 2024-12-04 13:53:19 -07:00
nathan
1980251ac9 Et2Number: If user starts typing a number starting with a ".", it's < 1 regardless of user's number preferences 2024-12-04 10:54:55 -07:00
milan
813401c432 our bi-images fix for firefox esr 2024-12-04 14:29:12 +01:00
milan
aa83da3232 remove jserror on undefined variable 2024-12-04 12:04:53 +01:00
nathan
53a5428c82 Et2Number: Better handling of what to do when entered decimal character does not match preference 2024-12-03 11:04:28 -07:00
nathan
1ea0e7a56c Et2Number formatting fixes
- fix issues with multiple . as thousands separator changed the number on blur.
  eg: 123.456.789 was changed to 123.456,78
- add exception for N.A. numbers entered when "," is decimal separator
  eg: 1.5 assume user meant 1,5 not 1500 or 15.
  Precision is taken into account so if precision=3, assume 1.234 is 1,234 not 1.234,000.
2024-12-03 10:14:13 -07:00
ralf
4aac535684 et2_grid.set_value() needs to remove the colgroup from the DOM too 2024-12-03 17:24:27 +01:00
nathan
da7eb6c47a Et2Number: Special handling for width to override its min-width & max-width 2024-12-02 16:28:08 -07:00
nathan
41c2fa92e6 Et2Select: Handle focus issue where double-tab was needed before you could drop down the options with space or down arrow 2024-12-02 15:30:03 -07:00
nathan
4a28b1bcd7 Update shoelace 2.16.0 -> 2.18.0 2024-12-02 14:52:04 -07:00
nathan
222c9b1ded Fix some layout issues on infolog ProjectManager tab
- Relative dates number was detached from unit selectbox
- Price input was squished
2024-11-29 10:07:04 -07:00
milan
4baa4becfe change condition of lazy loading to be true if selectOption.children is undefined 2024-11-28 12:49:48 +01:00
milan
ba84d20eb4 make "expand/collapse folder" easier to click especially on mobile 2024-11-28 11:50:02 +01:00
nathan
ede3cf6787 Fix horizontal overflow in popups caused by large fonts or wide templates
- Fixed main layout table so it doesn't force the template wider
- Changed overflow calculation so even if it does, the popup will grow
2024-11-27 15:53:37 -07:00