Commit Graph

65 Commits

Author SHA1 Message Date
nathan
59c4070733 Et2LinkList: Fire change event when link is removed
Avoid error if instance manager is missing
2023-03-06 13:19:49 -07:00
nathan
635780d7d4 Et2LinkTo: Fix linking to existing file in VFS did not do anything
Onchange was not being set
2023-02-27 13:25:47 -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
e4e0610a41 Et2LinkAppSelect: Use configured app link icon instead of always using navbar 2023-01-25 15:14:14 -07:00
nathan
2ab7079f13 Et2LinkString: Can now fetch its own link data, given application & entryId
Includes some fixes for only_app filter
2023-01-17 14:03:28 -07:00
nathan
374ba994a4 Customfield validation fixes
- customfield did not pass required setting on to widgets
- link entry did not support required
2023-01-13 11:28:02 -07:00
nathan
a832c12dbc Fix DnD to link file to entry 2022-12-14 11:56:27 -07:00
nathan
9acda4b390 Link fixes
- Fix file that was linked then removed before first save was still linked on save
- Use events for better decoupling between Et2LinkTo & Et2LinkList
2022-12-12 10:32:08 -07:00
nathan
d7f8f7d997 Fix editing link remark did not load current value 2022-12-07 15:51:50 -07:00
nathan
daa999d586 Et2LinkList: Fix context menu actions 2022-12-06 10:55:20 -07:00
nathan
2188791540 Et2LinkList: Fix context menu "Save As" gave error
Cannot read properties of undefined (reading 'dispatchEvent')
2022-12-05 17:05:10 -07:00
nathan
a79538ffbc Et2LinkList: Don't show context menu or delete for readonly lists 2022-11-25 11:19:13 -07:00
nathan
87aba966c2 Et2LinkString: Fix links not shown immediately after 'Apply', only after reload 2022-11-02 11:59:10 -06:00
Hadi Nategh
179e12ac68 Make sure value_id is there before using it (caused a side effect on calendar entry can not be saved anymore) 2022-11-02 12:27:49 +01:00
nathan
953166b161 Fix problems with links from mail
- unsaved links were not properly displayed
- unsaved links could not be removed
- calendar preserved original links, so even if you removed one it came back
2022-11-01 15:38:58 -06:00
nathan
f6883c33fd Add gap inside link widgets between each component 2022-10-25 11:38:48 -06:00
nathan
ab07b3dee3 Et2LinkEntry: Fix value of null caused error 2022-10-13 10:37:29 -06:00
nathan
53e868b47b Add default "Search" placeholder to link search 2022-10-13 09:18:49 -06:00
nathan
01a08447cb Fix selecting an app changed icon in first entry instead of displayed icon 2022-10-07 15:29:52 -06:00
nathan
30c3000e87 Et2Select fixes
- Search with no results blocked any futher searches from displaying results
- Only show "no suggestions" after searching
2022-09-16 10:20:47 -06:00
nathan
0fb1f32152 Et2LinkEntry: If the app is changed, clear previous search results and focus the search field 2022-09-07 08:42:04 -06:00
nathan
6b4a16357f Et2LinkAppSelect: Fix displayed icon did not change when value changed 2022-09-06 11:11:13 -06:00
ralf
da2db8ccc0 fix not working contacts in calls list
caused by first set empty value overwriting/removing the this.app, which is no longer available when the real value/id is set
2022-08-19 09:55:08 +02:00
nathan
0110cdf5f9 Fix error syncing due to missing context 2022-08-16 16:43:18 -06:00
Hadi Nategh
4fab7c1aaf Fix select apps drop down not being aligned with other fields in infolog and generally in all apps 2022-08-16 11:38:08 +02:00
ralf
2a7d05a545 fix not camelCase attribute name, sanitize app-names to 16 chars and use "infolog" for CRM-view
still not fully working, as NM controller somehow overwrites it again :(
2022-08-16 10:10:36 +02:00
nathan
6095b0e2ae Fix Et2LinkSearch did not always get correct option when it was loaded with a value
SearchMixin was incorrectly allowing it as a free entry, so it wasn't being properly loaded by Et2LinkSearch
2022-08-15 10:38:19 -06:00
nathan
fb94a47df1 Et2LinkSearch: Avoid error if title couldn't be found 2022-08-04 16:25:44 -06:00
nathan
78acaba766 Et2LinkList: Fix deleting links on unsaved entries deleted more than expected 2022-08-04 10:47:06 -06:00
nathan
ed92763176 Et2LinkAppSelect: Make proper SelectOptions out of app list 2022-08-03 15:30:22 -06:00
ralf
b9d96ea3e9 change all attribute-names of new et2-* widgets to camelCase
only exception is select_options, never used in templates
2022-07-21 17:57:50 +02:00
nathan
123ca38d65 Fix changing selected link entry still kept the original value 2022-07-20 15:05:05 -06:00
nathan
5deef4844d Add Et2LinkAdd widget 2022-07-18 16:34:58 -06:00
nathan
0d85b3ee48 Fix missing entry title in writable Et2LinkEntry when value is set from content
Timing issue, sometimes title gets back later than we'd like but in this case getting title earlier wasn't working.
2022-07-18 15:27:31 -06:00
nathan
8ffbe97884 Fix link entry with only_app & initial value did not find entry label 2022-07-18 11:42:26 -06:00
nathan
3d2e20ce0a Avoid error setting placeholder 2022-07-08 09:30:41 -06:00
nathan
e3b095dae7 Fix link app did not start with preferred app, implement placeholder 2022-07-07 09:54:18 -06:00
nathan
a691b6da04 Fix missing apps in Et2LinkAppSelect 2022-06-30 09:38:50 -06:00
ralf
e54fbaffb1 fix Et2LinkEntry/Et2LinkSearch still showed "??", after link_title returned the title 2022-06-22 22:37:18 +02:00
ralf
673e0b859c fix only_app attribute not taking into account when setting value, which is in that case just an id 2022-06-22 15:29:21 +02:00
nathan
5cd417ec72 Et2LinkEntry: Pass only_app & application_list properties onto internal Et2LinkAppSelect 2022-06-20 15:19:57 -06:00
nathan
fdd6f23560 Better readonly styling 2022-06-17 14:06:12 -06:00
nathan
1215626473 Select / Search CSS:
- Promote image styling from Et2LinkAppSelect to all Selects
- fix double scrollbar if there are a lot of options
- different cursor for editable tags
- align +# right to make it stand out a little more
2022-06-10 14:11:57 -06:00
ralf
0105124a7d fix et2-link shows ?? for no or empty value 2022-06-09 23:05:55 +02:00
nathan
c631bd8b7f Et2LinkTo: Seems to be working
Fixed some bugs:
- File buttons were added twice if connectedCallback was called twice
- Clearing selected entry focuses search & hides link button
2022-06-06 14:42:43 -06:00
nathan
b58045c19f Et2LinkTo: Start of link-to
still needs to work for new entries
2022-06-06 13:31:33 -06:00
nathan
5f7b9bd5f4 Work on LinkEntry
- Show / hide app select depending on has current value
- Hide current value when searching to get more space
2022-06-02 11:52:27 -06:00
nathan
d5055b9b95 Fix Et2LinkEntry did not always show initial value
If link title was not already in cache, it might get left at ??.  It was not using passed title, and sometimes was not getting title from server fast enough.
2022-06-02 10:19:34 -06:00
nathan
9f4ce778cc Work on LinkEntry
- fix initial value
2022-06-02 09:16:28 -06:00
nathan
850f6effeb Work on LinkEntry
- fix title missing on load when we didn't have it client side
2022-06-02 09:14:01 -06:00