Commit graph

85 commits

Author SHA1 Message Date
Shish
5fccbc5ad5 [autocomplete] disable spellcheck from also trying to autocomplete 2024-01-08 19:14:42 +00:00
Shish
ae327f5a2a [autocomplete] use the same font size as the surrounding text, see #999 2024-01-08 18:56:46 +00:00
Shish
4852bb0704 [autocomplete] be consistently aligned, see #999 2024-01-07 23:48:42 +00:00
Shish
e0f5ce21a2 [autocomplete] don't allow completions to overflow the box, or for the box to overflow the screen, see #999 2024-01-07 22:14:13 +00:00
Shish
ad4d9c74d4 [autocomplete] no text-wrapping in the middle of completions, see #999 2024-01-07 22:06:46 +00:00
Shish
668e99b140 [autocomplete] When tag categories are enabled, show foo:bar as a completion result for bar, fixes #630 2024-01-05 12:24:50 +00:00
Shish
585ba7f42d [autocomplete] remove dead css 2024-01-01 16:07:59 +00:00
Shish
65d858c1ca [autocomplete] when tags have the same number of uses, sort by name 2023-12-29 12:17:00 +00:00
Shish
d82df9d7d8 [autocomplete] optimistic client-side filtering 2023-12-29 12:04:05 +00:00
Shish
0e887175e0 [autocomplete] allow keyboard to override an idle mouse 2023-12-29 11:39:00 +00:00
Shish
ef5f1f8599 [autocomplete] min-width rather than wrapping 2023-12-29 11:37:44 +00:00
Shish
4c5af15a88 [autocomplete] default to returning 1000 results from the server instead of all of them 2023-12-29 11:10:58 +00:00
Shish
8007ed8532 [autocomplete] only render the top 100 results 2023-12-29 11:00:56 +00:00
Shish
05d137cd6d [autocomplete] set innerText rather than HTML to avoid need for HTML parsing 2023-12-29 10:47:51 +00:00
Shish
81f68f1e90 [autocomplete] remove the whole completions div instead of removing each child individually 2023-12-29 10:45:13 +00:00
Shish
6608e3c33e [autocomplete] avoid a rerender 2023-12-29 10:38:24 +00:00
Shish
15a07205fd [autocomplete] refactor getCurrentWord 2023-12-29 10:36:32 +00:00
Shish
8eb13f59e6 [autocomplete] allow right-arrow for completion 2023-12-29 10:36:32 +00:00
Shish
09051249a7 [autocomplete] force wrapping for completions 2023-12-29 10:36:32 +00:00
Shish
ec85a0bd76 [autocomplete] touch too 2023-12-26 04:18:40 +00:00
Shish
a92d1ac7c5 [autocomplete] argh 2023-12-26 04:11:35 +00:00
Shish
33adf9aeff [autocomplete] don't lose focus after selecting a completion 2023-12-26 03:40:30 +00:00
Shish
0eef0cc42b [autocomplete] specify exact position 2023-12-26 03:18:31 +00:00
Shish
5f69545b65 style tweak 2023-12-26 02:57:10 +00:00
Shish
b55b5a0a0f [autocomplete] new from-scratch autocomplete implementation 2023-12-26 02:52:19 +00:00
Shish
7f98412d8b cache_get_or_set function 2023-12-14 22:02:10 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
Shish
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
Shish
133616e508 Autocomplete tags for anything with class=autocomplete_tags
Not all search boxes are tag-search boxes

If somebody doesn't want autocompleted tags, then don't use
class=autocomplete_tags?
2023-05-25 14:04:13 +01:00
NottyNoz
a98560b061 tagit fix and ui 2023-03-27 16:45:59 +01:00
Shish
ae8d8033b9 safer cache keys 2023-02-14 01:19:28 +00:00
Shish
03cf09937b fixes 2023-02-12 12:27:37 +00:00
Shish
3b89acc458 workaround 2023-02-08 01:05:31 +00:00
Shish
708e102338 Have shimmie's global cache object implement PSR-16 2023-02-02 16:04:35 +00:00
Shish
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
Shish
606c1fdedc
Merge pull request #878 from friends-of-the-core/autocomplete-in-more-places
Autocomplete in more places
2022-07-08 22:10:54 +01:00
Jessica Stokes
d4c45112ee Autocomplete in bulk tag editor, too 2022-04-29 11:44:42 -07:00
Jessica Stokes
335b8a94c4 Allow autocomplete for tagging in addition to tag searching 2022-04-29 11:44:42 -07:00
Jessica Stokes
dfaf9b5a2f Add order:favorites to autocomplete 2022-04-29 11:14:12 -07:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
Shish
34f75cfb22 un-set autocomplete default to empty string rather than null 2021-11-06 16:12:28 +00:00
Shish
2d0c942084 fix a surprise string in autocomplete 2021-10-06 17:02:29 +00:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Shish
df797745e6 format 2020-11-15 13:21:15 +00:00
Shish
3a9fd38cb0 extract autocomplete code for later api-isation 2020-11-15 12:18:23 +00:00
Matthew Barbour
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
Matthew Barbour
63b2601e67 Mime type handling overhaul
Changed mime type map to deal with the reality that certain file types have multiple extensions and/or multiple mime types, as well as constants supporting all of the data. Created new functions using the updated mime type map to resolve mime types and extensions. Updated various items around the project that determine mime/extension to take advantage of the new functions.
2020-06-03 19:47:40 +01:00
Shish
1597eff082 lint fixing 2020-03-13 09:23:54 +00:00
Shish
e46b319295 set theme classes 2020-02-04 00:46:36 +00:00
Shish
40ab91f8ea remove redundant scoreql_to_sql 2020-02-01 22:44:50 +00:00