Commit Graph

2842 Commits

Author SHA1 Message Date
nathan
00ceb8a32d Get dark mode fix working for avatars in Et2Email & Et2SelectEmail 2023-12-19 12:26:03 +01:00
nathan
3acbd1401f Et2Email: Fix validation message for invalid search text did not always show on field blur 2023-12-19 13:11:20 +02:00
nathan
bb4f055e71 Et2Email: When tabbing away with partial email typed, only accept current suggestion if it still matches
Previously current option was not updated fast enough, and was blindly accepted.
2023-12-19 13:11:20 +02:00
nathan
968ff95139 Et2Email: Show validation error for partially typed (not yet accepted) email addresses 2023-12-19 13:11:20 +02:00
nathan
294b87e3a8 Et2Email: If user had a valid email typed before blurring the widget, accept it 2023-12-19 13:11:20 +02:00
nathan
d5f629a491 Et2Email: Fix missing distribution lists 2023-12-15 16:20:31 -07:00
nathan
3fcea5b925 Et2Select: Fix additional entry selected after closing option list
Sometimes after searching and selecting an entry from the results, when the list was closed an additional option was added
2023-12-14 11:42:25 -07:00
nathan
61a2c97198 Et2Email: More work on actions
- Add Escape closes suggestions
- Better respect preference to close suggestions after selecting
- Fix another lost focus
2023-12-14 11:41:59 -07:00
nathan
c306c267ba Et2Email changes & bugfixes
- Keep focus in search when suggestions arrive
- Fix focus went to body when tabbing from search with typed address
- Don't wrap at top / bottom of suggestion list
- Spacing / padding fixes
2023-12-14 11:41:52 -07:00
nathan
c9ab4cccf6 Finish Et2Email widget 2023-12-14 11:41:40 -07:00
nathan
e28d38898b Et2Email WIP - Drag & Drop & sort 2023-12-14 11:41:34 -07:00
nathan
a60844d45a Et2Email: WIP - Most interactions done 2023-12-14 11:41:26 -07:00
nathan
580466f9b8 Et2Email WIP 2023-12-14 11:41:18 -07:00
nathan
81d63b6c12 Fix vfsWidget sometimes gives "TypeError: Cannot read properties of null (reading 'get_value')"
It was trying to access template widgets before they had loaded.  Fixed to wait until load is done.
2023-12-13 11:16:56 -07:00
nathan
a23cfd37b0 Fix nextmatch entry filter header could not be cleared 2023-12-07 10:44:56 -07:00
nathan
26de0ab801 Et2ButtonTimestamper: Fix error where some users could not be found
In instances with > 100 users, it's possible the current user was not on the client side.  Now checking user() first, it should always be there.
2023-12-07 10:38:48 -07:00
nathan
137599f124 Et2SelectThumbnail: Get working with new Et2Select tagTemplate 2023-12-07 14:23:53 +01:00
hadi
6a67fa85cd Do not proceed sizing for avatar widget if it's not in an accepted format 2023-12-07 11:56:02 +01:00
hadi
e280f8cd2c Fix favorite button icon size for both in regular and mobile view 2023-12-07 11:55:31 +01:00
nathan
17676a2112 ImportExport: Fix export date filters lost their "All" option 2023-12-06 14:02:10 -07:00
nathan
6f4fdb4707 Fix infinite loop in missingOption in country/state due to not waiting for results
Add class method to search through select options
2023-12-06 09:17:40 -07:00
nathan
c400b548e8 Fix unable to save cleared link value 2023-12-06 09:15:29 -07:00
nathan
d24c0f05ce Fix unable to clear link value 2023-12-06 09:15:21 -07:00
nathan
8f5099a85d Select account: sort options 2023-12-04 13:41:45 -07:00
nathan
5b9ee2db39 Et2Select: Fix missing option detection when options have optgroups
Was unable to find option in Timezones, resulting in an infinite loop
2023-12-02 19:37:17 +02:00
ralf
751942728d Revert "Revert "SearchMixin: Fix initial values not always displayed when options are from server or file""
This reverts commit cc4813ea90.
2023-12-02 19:36:28 +02:00
ralf
cc4813ea90 Revert "SearchMixin: Fix initial values not always displayed when options are from server or file"
Causes a complete browser freeze when opening Preferences > Common preferences > Default preferences

This reverts commit 562a391579.
2023-12-01 16:58:25 +02:00
nathan
562a391579 SearchMixin: Fix initial values not always displayed when options are from server or file
Fix for when remote result doesn't get there before SlSelect renders, and the SlSelect removed the value because the option wasn't there
2023-11-30 14:02:18 -07:00
nathan
7e768c907b Fix link search did not always show label for initial value 2023-11-30 11:58:51 -07:00
nathan
e66c9512f1 Fix calendar participant select did not show selected tags while the dropdown was open
Tags were only shown once dropdown was closed
2023-11-30 10:55:35 -07:00
nathan
f58c10a7e9 Et2Select: Fix weird UI issue after clearing single value
Search was shown as well as empty label
2023-11-29 11:03:52 -07:00
nathan
a9f1b693ad Et2SelectAccount: Fix initial values not always displayed when options are from server or file 2023-11-29 10:46:45 -07:00
nathan
4a067f8515 Et2Select: Fix initial values not always displayed when options are from server or file 2023-11-29 09:36:50 -07:00
nathan
9e7de91ab6 Cleanup unused code 2023-11-28 21:44:29 +02:00
nathan
acd52cf749 Try waiting for timeout before sending focus to search input
Maybe fixes search field doesn't get focus when clicking on select
2023-11-28 21:43:51 +02:00
ralf
48c3417857 fix not hidden expand-icon for readonly multiple 2023-11-28 20:31:50 +02:00
nathan
0cc1b052d8 Et2SelectEmail: Fix drag&drop used wrong size for drop targets, now with the ability to open the dropdown too
see c4d85dd319
2023-11-27 15:12:58 -07:00
nathan
7796ee3fef Et2SelectEmail: Fix drag&drop used wrong size for drop targetrs 2023-11-27 13:43:45 -07:00
nathan
ca944b9f15 Fix sidemenu calendar owner cannot select a search result
broken by  7642894
2023-11-27 10:10:08 -07:00
nathan
061ac858b7 Et2Tag: Fix edit button was missing 2023-11-25 11:21:45 +02:00
nathan
a58900656f Fix drag & drop between email selects 2023-11-25 11:21:45 +02:00
nathan
b9a36140cb Et2EmailTag: Fix plus button still triggered Et2SelectEmail's onclick 2023-11-24 15:12:12 -07:00
nathan
97574f0118 Et2Select: Fix single line overflow to count correctly for any egw content size preference 2023-11-24 15:12:02 -07:00
nathan
487939dbfd Et2Select: Fix all tags popup causes siblings to move / resize 2023-11-24 15:11:49 -07:00
nathan
f1715d6a7c Et2SelectEmail: Update for recent Et2Select changes, move draggable into its own method 2023-11-24 15:11:34 -07:00
nathan
117331bafd Et2Select: Fix show all tags on hover popup needed z-index set 2023-11-24 15:10:21 -07:00
nathan
bf75902518 Et2Select: Fix/re-add hidden tag flag when multiple,readonly & rows=1 2023-11-24 15:10:12 -07:00
nathan
8f4c9cbb0a Et2Select: Not showing new freeEntry in select options immediately after adding it 2023-11-24 15:09:58 -07:00
nathan
7195ea09b2 Et2Select: Pressing tab on empty search moves focus to next element 2023-11-24 15:09:49 -07:00
nathan
c6485ebd4f Et2Select: Fix unwanted tag scrollbars for some multiple selects 2023-11-24 15:09:39 -07:00
nathan
4159e2493c Et2Select: Fix email (& other values with spaces) did not show initial value 2023-11-24 15:09:24 -07:00
nathan
5cac07e124 Et2Select: Fix overflow / row limit 2023-11-24 15:08:51 -07:00
nathan
87e60510ea Et2Select: Better fix for 80ad5dddb2 which caused problems with selecting options in Et2SelectEmail 2023-11-24 15:08:15 -07:00
ralf
7bd98a8bf2 using single link.svg from api and use it by default for all link* buttons 2023-11-24 07:27:50 +02:00
nathan
fb217d308c Fix print did not work with forced hidden columns 2023-11-22 16:31:02 -07:00
nathan
0c65771114 Et2Select: Fix unwanted tag scrollbars for some multiple selects 2023-11-22 16:12:39 -07:00
nathan
76250398b0 Et2Select: Fix email (& other values with spaces) did not show initial value 2023-11-22 16:10:57 -07:00
nathan
c7764ebebe Et2Select: Better fix for 80ad5dddb2 which caused problems with selecting options in Et2SelectEmail 2023-11-22 16:10:45 -07:00
nathan
688de6d52c Et2Select: Fix selects with options from file were not showing their initial set value 2023-11-22 16:10:38 -07:00
nathan
7a80e8be5c Fix nm column resize grabs mousedown, blocking filter selection 2023-11-20 14:56:55 -07:00
nathan
1861f63231 Et2Listbox: Fix options were not shown
Fixes merge placeholders not shown in Collabora
2023-11-17 11:20:52 -07:00
nathan
064b0088b9 Et2Select fixes
- Fix sometimes not shown emptyLabel
 - Fix LinkSearch result count
2023-11-16 15:09:48 -07:00
nathan
2207377bd4 Revert "Et2Select: Even better handling of false invalid value", it was too strict leaving blanks instead of emptyLabel
This reverts commit 7db80d066f.
2023-11-16 13:51:46 -07:00
nathan
25a823c05d Et2Select: Even better handling of false invalid value 2023-11-16 13:36:54 -07:00
nathan
b4e2524023 Fix validation messages after Shoelace update
- some messages (textbox) were out of position
- Selectboxes did not show validation message
- Selectbox considered false a valid value for required, even if that wasn't an option
2023-11-16 13:36:45 -07:00
nathan
74a8872ead Fix missing value in some static option selects
Shoelace select initially rejects the value due to missing option, and needs to be re-set once our options have arrived
2023-11-16 10:17:51 -07:00
ralf
94a2a0473b fix audio files wont play (modal attribute renamed to isModal) 2023-11-16 13:37:27 +02:00
nathan
30238e52cd Et2SelectEmail: Fix incorrect total result, wrongly shown "No results" 2023-11-15 15:28:22 -07:00
nathan
47a466a39d Api: Fix client side validation failure when widget value was null
Happens for readonlys, disabled, selects with no valid options
2023-11-15 12:00:52 -07:00
nathan
2967f8d508 Et2Select: Let select option list get as big as it needs 2023-11-15 09:43:27 -07:00
nathan
6dfd854ba4 Home: Fix portlet broken by Shoelace update to 1.8
They made HasSlotController internal only
2023-11-15 09:15:17 -07:00
ralf
0be063ba89 fix error, if this.editor is not (or no longer) set 2023-11-15 17:28:17 +02:00
hadi
83909cd1fa Fix js error of Cannot read properties of null (reading '0') 2023-11-13 13:27:00 +01:00
hadi
187cd3c112 Fix set video src and duration not working 2023-11-13 12:53:18 +01:00
ralf
9c4d28ca63 merge master into 23.1 2023-11-13 10:05:15 +02:00
nathan
45f9801df8 Code documentation 2023-11-09 11:12:16 -07:00
nathan
da92471920 Add default keyboard shortcuts for save & cancel buttons 2023-11-08 14:37:30 -07:00
nathan
6a5697eab8 More Drag helper style adjustments
- height adjustments for mail so we can see address & subject
- Change how avatar is sized so we can override it via CSS
2023-11-08 09:54:00 -07:00
nathan
cfd628e87f Slightly better rendering for description contents
Uses the litElement lifecycle better, updated() is called after render()
2023-11-03 16:15:53 -06:00
hadi
d89646df27 Fix Editable Avatar's edit/delete icons are no longer displayed 2023-11-03 11:32:14 +01:00
nathan
454ab3fb98 Fix spacing & sizing
- Move option group titles to the left more
- Fix calendarowner dropdown would not size properly in sidebox
2023-11-02 17:29:50 -06:00
nathan
c2623dcb55 Fix some issues when search results have option groups
- Options sometimes disappeared when selected
- Count was off if one of the results was already selected
2023-11-02 16:58:38 -06:00
nathan
ba04abd1b4 Et2Dialog: Fix height attribute was not setting dialog height 2023-11-02 13:04:32 -06:00
ralf
d3a9f6bc46 disable user-password popup for plaintext passwords (no need) and set disabled, if password field is readonly from server-side 2023-11-02 17:22:18 +02:00
ralf
a9aefd6a32 disable user-password popup for plaintext passwords (no need) and set disabled, if password field is readonly from server-side 2023-11-02 17:16:34 +02:00
nathan
a7396cab69 Fix Uncaught (in promise) TypeError: et2_selectbox.find_select_options is not a function from et2_widget_ajaxSelect 2023-11-02 08:15:30 -06:00
nathan
5d705c3b79 Calendar: Group calendar owner / participant search results by resource type 2023-11-01 13:26:23 -06:00
nathan
d1e7040011 Fix email tag always shows "not-allowed" cursor for read-only 2023-10-31 09:02:03 -06:00
nathan
b3899e86dd Et2Select: Stop sidemenu scrolling when scrolling through options 2023-10-30 09:10:21 -06:00
hadi
9b2d208e8e Implements load method for multi-video widget 2023-10-30 13:27:38 +01:00
nathan
d15c63198c Docs: Get the ETemplate2 webComponent widets working on doc site
Sort of.  This breaks shoelace images due to them not being imported / copied, and not using the CDN
2023-10-27 11:50:51 -06:00
nathan
31b322b870 Et2SelectEmail: Fix pasting in merge placeholders didn't do anything 2023-10-26 10:19:59 -06:00
nathan
4ab788acc1 Et2SelectEmail: Fix pasting in merge placeholders didn't do anything 2023-10-26 10:09:44 -06:00
nathan
4a48fc74c7 Et2Select: Fix placeholder could not be shown 2023-10-25 10:11:44 -06:00
hadi
8fa2f565b6 Set duration time for webm files based on provided duration url param 2023-10-23 09:49:01 +02:00
nathan
f7e1dedac9 Pass options on if sent from server 2023-10-19 16:11:12 -06:00
nathan
85cef367e2 Move Et2SelectAccount initial options to its own method, fix options were sometimes missing 2023-10-19 15:03:16 -06:00
nathan
a6d3a87c75 Doc: Get class doc into docs 2023-10-16 13:34:29 -06:00
nathan
136c302c15 Fix cf customised setting check if there's no ID 2023-10-13 10:01:24 -06:00
nathan
5601b99c97 Et2Select: Add tabindex to options to avoid focus stealing in sidemenu, other event handling cleanup 2023-10-12 11:25:23 -06:00