Commit Graph

145 Commits

Author SHA1 Message Date
nathan
0ca406ad78 WIP Et2VfsSelect
Just getting started
2024-01-16 08:26:18 -07:00
nathan
cfc7efde15 - Send total results with link search results
- Change how "# More" is shown to wait for all searches first
2024-01-08 11:59:24 -07:00
nathan
76533722d1 SearchMixin: Change how loading spinner is done, "No results" now only shows after all searches are done. 2024-01-08 11:33:53 -07:00
nathan
da93788c1d 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 10:00:36 -07:00
nathan
5ef349f057 Fix infinite loop in missingOption in country/state due to not waiting for results
Add class method to search through select options
2023-12-05 11:51:24 -07:00
nathan
a2c0234401 Et2Select: Fix missing option detection when options have optgroups
Was unable to find option in Timezones, resulting in an infinite loop
2023-12-01 09:33:25 -07:00
nathan
4dfbbc99da Select account: sort options 2023-11-30 14:57:31 -07:00
nathan
efe5b51d26 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:00:16 -07:00
nathan
021fc9f136 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:49:49 -07:00
nathan
85593dbcdb Et2Select: Fix weird UI issue after clearing single value
Search was shown as well as empty label
2023-11-29 11:00:51 -07:00
nathan
a6104f6727 Et2Select: Fix initial values not always displayed when options are from server or file 2023-11-29 09:30:30 -07:00
nathan
0788718d7c Cleanup unused code 2023-11-28 10:32:15 -07:00
nathan
68216c89ca 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 10:16:43 -07:00
nathan
973ce140d4 Try waiting for updateComplete before sending focus to search input
Maybe fixes search field doesn't get focus when clicking on select
2023-11-27 14:54:55 -07:00
nathan
51937b032e Et2Select: Not showing new freeEntry in select options immediately after adding it 2023-11-22 16:03:01 -07:00
nathan
76428946a1 Et2Select: Pressing tab on empty search moves focus to next element 2023-11-22 11:53:23 -07:00
nathan
9f46ee5e62 Et2Select fixes
- Fix sometimes not shown emptyLabel
 - Fix LinkSearch result count
2023-11-16 15:05:38 -07: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
5d705c3b79 Calendar: Group calendar owner / participant search results by resource type 2023-11-01 13:26:23 -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
nathan
235ff7a2cf Et2SelectAccount improvements
- Fix always including all accounts
- Limit included accounts to 100 to avoid breaking
- Let repeat() cache
- Improved "more results" count
- Reduce repeats & iteration needed
2023-10-06 11:37:46 -06:00
nathan
3088d168f4 More select tests
- finds options from DOM / template
- finds static options
- combinations with other option sources
2023-10-04 10:45:41 -06:00
nathan
efe0eff776 Calendar: Fix sidebox owner could not select options 2023-10-02 16:06:25 -06:00
nathan
72112023e8 Et2Select: Fix link search lost selected item, showing ?? instead 2023-10-02 13:11:48 -06:00
nathan
4f575894a2 Et2Select: Fix selecting a second search result could remove first one 2023-09-29 13:43:12 -06:00
nathan
124b6b1f96 Fix link-to would close & clear immediately after selecting a result 2023-09-28 11:00:30 -06:00
nathan
bbf676597f Et2Select: Fix selected search results sometimes disappeared 2023-09-27 11:15:13 -06:00
nathan
70be19cdfb Et2Select: Fix change event did not fire when free entry was added 2023-09-25 10:16:32 -06:00
nathan
0f66624047 Get some more automatic tests working again, remove JS files 2023-09-21 08:18:09 -06:00
nathan
e2d3c5f1e8 Get some automatic tests working again 2023-09-20 14:24:01 -06:00
nathan
a4b0a2a1f0 Get country flags showing again 2023-09-19 15:20:36 -06:00
nathan
368c9fae63 Fix link to did not link 2023-09-19 08:46:41 -06:00
nathan
f75567a863 Select improvements
- Add _styleTemplate for easier extension
- re-organize file
- Fix weird tag style
- some cleanup
2023-09-18 16:09:43 -06:00
nathan
19552059b3 Fix no results sometimes showed even if there were results 2023-09-15 08:09:55 -06:00
nathan
472ee73dda Improve styling & behaviour of Et2SelectEmail 2023-09-14 14:30:20 -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
0b036f49b8 Et2Select: Fix some static option selects did not show their values when readonly 2023-08-28 13:50:09 -06:00
nathan
b2e1cef233 SearchMixin: If the value is changed while the search / options are open, recalculate positioning
Fixes bug where it looks like the value hasn't changed, until the dropdown closes.
2023-08-03 14:05:10 -06:00
nathan
6b183db6e0 SearchMixin: Limit number of JSON search results 2023-07-31 10:11:04 -06:00
nathan
8335281787 Fix email tags marked as invalid 2023-07-27 13:19:43 -06:00
nathan
46795ec108 SearchMixin: Fix select option not having class causes JS error
Fixes addressbook edit popup does not resize
2023-07-27 10:04:58 -06:00
ralf
0f692fbb74 fix lavatar shows same letters for every contact not having a photo
caused by wrongly falling back to the contact with contact_id equal to account_id of current user
also fix TypeError if remote search does not return an array
2023-07-27 12:45:40 +02:00
nathan
575c8fa976 SearchMixin: Move missing value check after update so select_options gets a chance to populate first
This should speed up the initialization a little, avoiding some unneeded checks
2023-07-26 08:32:00 -06:00
nathan
2a5d0062dd Api: SearchMixin improvements to work with Et2LinkSearch more efficiently
Moving handling of missing options to overridable method so Et2LinkSearch can use its more efficient method
2023-07-25 09:38:11 -06:00
nathan
f04b25089a WIP on caching static option file and searching it client-side
Avoid type error in CalendarOwner
2023-07-24 08:51:27 -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
91b94a5126 Et2Select: Use same z-index for search box as dropdown 2023-05-10 13:43:46 -06:00
nathan
2fc44da034 Api: Fix clicking Select dropdown button while open did not close dropdown 2023-05-01 08:55:25 -06:00
nathan
8e9071acc8 Calendar: More sidebox owner fixes
- another instance of remote class causing problems
- remove duplicates to avoid warning message
2023-04-28 11:27:26 -06:00
nathan
86dac02826 Calendar: Fix second selected owner in sidemenu went missing 2023-04-27 14:02:41 -06:00