nathan
064b0088b9
Et2Select fixes
...
- Fix sometimes not shown emptyLabel
- Fix LinkSearch result count
2023-11-16 15:09:48 -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
nathan
5a824ef25b
Et2Select: Fix doubled tags, long tags missing ellipsis
2023-04-18 10:36:34 -06:00
nathan
8de9ffc240
Et2Select: Fix keyboard navigation in search results & sidebox category closes
2023-03-23 17:21:32 -06:00
nathan
f7d44c63cb
Enable disabled select options
2023-02-22 09:51:57 -07:00
nathan
03a237fd7e
Et2Select: Turn off browser autocomplete in search
2023-02-13 14:57:55 -07:00
nathan
c4f3ec9840
Et2Select: Fix free entries can get doubled if more free entries added
2023-02-10 14:13:13 -07:00
nathan
193dbfc339
Et2Select: Fix some search weirdness
...
- Search didn't start until 1 character more than expected
- Search didn't happen on enter because the et2-searchbox inside stopped the key event from bubbling
2023-02-07 16:24:06 -07:00
nathan
1d8d4f9c72
Fix some readonly issues where widgets were not looking readonly
...
- Editable tags were still editable if the select was readonly
- LinkTo could still select an app (readonly not passed on)
- Hide the dropdown for multi-select when readonly
2023-02-03 14:09:07 -07:00
nathan
ab56ad1171
Et2Select: Handle paste of CSV into selects with allowFreeEntries
...
Special handling for Et2SelectEmail to handle email addresses that may have a name or comma
2023-01-31 09:48:27 -07:00
nathan
e575c40ff3
Some missed cases where client-side lavatar was not used
2023-01-30 15:26:09 -07:00
nathan
9bf0149645
Fix selectbox positioning issue
...
Tracker owner would open down instead of up with fontsize = 14. Updating to shoelace 2.0.0-beta.81 fixes it. Going farther introduces some other issues that I don't want to get into right now
2023-01-24 13:58:38 -07:00
nathan
7518278948
Add edit button to freeEntry selectbox tags
2023-01-23 17:34:37 -07:00
nathan
6177ca0536
SearchMixin: Filter selected remote correctly for single selects too
2022-12-09 13:14:57 -07:00
nathan
4b4d6fe184
Stop scrolling new tag into view, it causes calendar sidemenu to get stuck
2022-12-08 14:47:02 -07:00
nathan
ce64ddf9e0
Fix doubled tags if widget gets select_options after a remote option is selected
2022-12-08 14:28:05 -07:00
nathan
be5125509e
SearchMixin: Fix selecting multiple remote values only showed the last
2022-12-08 10:24:49 -07:00
nathan
fb40aedf89
SearchMixin: Use parent set select_otions, no need to duplicate
2022-12-06 11:59:51 -07:00