Commit Graph

29 Commits

Author SHA1 Message Date
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
ralf
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
nathan
dbcf9e75eb Set only_app to override value 2022-06-01 09:42:50 -06:00
nathan
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
ralf
0aa813a0ff got LinkEntry mostly working 2022-06-01 16:05:34 +02:00
nathan
9b0e1b9206 Work on LinkEntry 2022-05-31 13:41:39 -06:00
nathan
7f1cd117a7 Fix select change event not firing, initial value not showing 2022-05-27 15:39:51 -06:00
nathan
45327d559a Hoist to escape container 2022-05-27 14:22:15 -06:00
nathan
c212734618 Switch Et2Select to be based on Shoelace select instead of LionSelect 2022-05-27 14:12:31 -06:00
nathan
aa20af559a LinkApp selection 2022-05-27 14:11:35 -06:00
nathan
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
nathan
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
nathan
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
nathan
875a3996aa WIP on Et2LinkList, should be working now 2022-05-11 14:00:23 -06:00
nathan
b88267160e WIP on Et2LinkList 2022-05-11 10:35:47 -06:00
nathan
07ced8046d WIP on Et2Link & Et2LinkString 2022-05-11 10:35:47 -06:00