Commit Graph

38 Commits

Author SHA1 Message Date
fb94a47df1 Et2LinkSearch: Avoid error if title couldn't be found 2022-08-04 16:25:44 -06:00
78acaba766 Et2LinkList: Fix deleting links on unsaved entries deleted more than expected 2022-08-04 10:47:06 -06:00
ed92763176 Et2LinkAppSelect: Make proper SelectOptions out of app list 2022-08-03 15:30:22 -06:00
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
123ca38d65 Fix changing selected link entry still kept the original value 2022-07-20 15:05:05 -06:00
5deef4844d Add Et2LinkAdd widget 2022-07-18 16:34:58 -06:00
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
8ffbe97884 Fix link entry with only_app & initial value did not find entry label 2022-07-18 11:42:26 -06:00
3d2e20ce0a Avoid error setting placeholder 2022-07-08 09:30:41 -06:00
e3b095dae7 Fix link app did not start with preferred app, implement placeholder 2022-07-07 09:54:18 -06:00
a691b6da04 Fix missing apps in Et2LinkAppSelect 2022-06-30 09:38:50 -06:00
e54fbaffb1 fix Et2LinkEntry/Et2LinkSearch still showed "??", after link_title returned the title 2022-06-22 22:37:18 +02:00
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
5cd417ec72 Et2LinkEntry: Pass only_app & application_list properties onto internal Et2LinkAppSelect 2022-06-20 15:19:57 -06:00
fdd6f23560 Better readonly styling 2022-06-17 14:06:12 -06:00
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
0105124a7d fix et2-link shows ?? for no or empty value 2022-06-09 23:05:55 +02:00
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
b58045c19f Et2LinkTo: Start of link-to
still needs to work for new entries
2022-06-06 13:31:33 -06:00
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
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
9f4ce778cc Work on LinkEntry
- fix initial value
2022-06-02 09:16:28 -06:00
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
9579fc0caf fix app-selection in et2-link-entry does not set it's value from the user prefs / keep the last selected value 2022-06-02 17:06:55 +02:00
dbcf9e75eb Set only_app to override value 2022-06-01 09:42:50 -06:00
2b68b6cbbe Work on LinkEntry
- fix missing app select
- add clear button
- use request() instead of json() to query server
- add optional class property to SelectOption
- move cleaning select options to its own function so we can use it anywhere
- Use separate render to keep local / remote options separate.  Local options stay in select_options.
2022-06-01 09:25:11 -06:00
0aa813a0ff got LinkEntry mostly working 2022-06-01 16:05:34 +02:00
9b0e1b9206 Work on LinkEntry 2022-05-31 13:41:39 -06:00
7f1cd117a7 Fix select change event not firing, initial value not showing 2022-05-27 15:39:51 -06:00
45327d559a Hoist to escape container 2022-05-27 14:22:15 -06:00
c212734618 Switch Et2Select to be based on Shoelace select instead of LionSelect 2022-05-27 14:12:31 -06:00
aa20af559a LinkApp selection 2022-05-27 14:11:35 -06:00
9942ec9f08 Link fixes
- Fix links added to not yet saved entries were not displayed in link lists
- Adjust LinkList column sizes
2022-05-12 10:54:29 -06:00
b9d145a40b Link fixes
- Fix actual Expose didn't work on links themselves
- Adjust delete button / context menu caption to match file/link
2022-05-12 10:08:59 -06:00
d23b7c1a51 Link fixes
- Enable link webcomponents in etemplate.php
- Fix widget ID got overwritten
- Put title into light DOM for easier styling
- Styling
2022-05-11 15:10:09 -06:00
875a3996aa WIP on Et2LinkList, should be working now 2022-05-11 14:00:23 -06:00
b88267160e WIP on Et2LinkList 2022-05-11 10:35:47 -06:00
07ced8046d WIP on Et2Link & Et2LinkString 2022-05-11 10:35:47 -06:00