Commit graph

2514 commits

Author SHA1 Message Date
liamwhite
8af67ab63a
Merge pull request #468 from MareStare/fix/abort-server-side-suggestions-when-popup-is-hidden
Abort the server-side completions when the autocomplete popup needs to be hidden
2025-03-19 08:13:28 -04:00
liamwhite
fa70d20943
Merge pull request #467 from MareStare/fix/burger-button-eating-click
Get rid of `stopPropagation` on `click` events to make autocomplete popup disappear
2025-03-19 08:13:08 -04:00
liamwhite
51ba0deb47
Merge pull request #466 from MareStare/feat/hide-autocomplete-when-no-suggestions
Hide the autocomplete popup entirely if there are no items to show
2025-03-19 08:12:54 -04:00
MareStare
11c9534dbc Fix grammar 2025-03-19 01:59:09 +00:00
MareStare
57781a1aa0 Add integration tests for server-side completions cancellation with Escape 2025-03-19 01:57:00 +00:00
MareStare
96d32d863d Add an integration test for aborting the completions on Escape 2025-03-19 01:37:52 +00:00
MareStare
dd7ee44e36 Abort the server-side completions when the autocomplete popup needs to be hidden 2025-03-19 01:20:31 +00:00
MareStare
ae17da5331 Merge ifs 2025-03-19 00:43:44 +00:00
MareStare
5d908b5142 Get rid of stopPropagation on click events to make autocomplete popup disappear 2025-03-19 00:41:08 +00:00
MareStare
e2c491088e Add assert as an function that "asserts" to eslint config 2025-03-18 23:11:13 +00:00
MareStare
79c611a6f9 Add a test for empty behavior 2025-03-18 23:09:37 +00:00
MareStare
9bdb3a334f Hide the popup entirely if there are no items to show 2025-03-18 23:03:52 +00:00
liamwhite
a3ab0d2b41
Merge pull request #465 from MareStare/feat/better-autocomplete-font
Add `DejaVu Sans Mono` as a font that correctly renders an `→`
2025-03-18 18:44:24 -04:00
MareStare
b88131a439 Add DejaVu Sans Mono as a font that correctly renders an 2025-03-18 22:36:57 +00:00
liamwhite
b52499ec8c
Merge pull request #464 from MareStare/fix/autocomplete-colors-and-font
Hotfix the color styling and fonts for autocompletions
2025-03-18 09:01:36 -04:00
MareStare
4f7a61382f Fix merge conflict 2025-03-18 12:57:25 +00:00
MareStare
719e883789 Remove empty line. Thanks stylelint for your care 2025-03-18 12:56:14 +00:00
MareStare
6da923f886 Fix light-yellow 2025-03-18 12:56:14 +00:00
MareStare
25989cc626 Remove "narrow no-break space" ignores 2025-03-18 12:56:12 +00:00
MareStare
2fe0243b6d Update test snapshots 2025-03-18 12:55:34 +00:00
MareStare
e30475d034 Hotfix the color styling and fonts for autocompletions 2025-03-18 12:55:34 +00:00
liamwhite
fb963e80b2
Merge pull request #462 from MareStare/fix/autocomplete-incorrect-match-highlight
Fix invalid highlighting of the prefix match for namespaced tags in autocomplete
2025-03-18 08:53:31 -04:00
liamwhite
cd770735f7
Merge pull request #463 from philomena-dev/dependabot/cargo/native/philomena/zip-2.3.0
Bump zip from 2.2.1 to 2.3.0 in /native/philomena
2025-03-17 20:20:19 -04:00
dependabot[bot]
6a0bdbc7ca
Bump zip from 2.2.1 to 2.3.0 in /native/philomena
Bumps [zip](https://github.com/zip-rs/zip2) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/zip-rs/zip2/releases)
- [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zip-rs/zip2/compare/v2.2.1...v2.3.0)

---
updated-dependencies:
- dependency-name: zip
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-18 00:11:41 +00:00
MareStare
5081106ef8 Fix typos lint 2025-03-17 23:24:31 +00:00
MareStare
ba02e3f1c9 Skip empty parts 2025-03-17 23:24:05 +00:00
MareStare
a6ae4d9422 Fix invalid highlighting of the prefix match for namespaced tags in autocomplete 2025-03-17 23:15:20 +00:00
liamwhite
fe9c760880
Merge pull request #461 from MareStare/feat/add-more-docs-to-local-autocomplete
Add more docs to the local autocomplete binary layout
2025-03-17 18:15:23 -04:00
MareStare
db54e1be3a
Add more clarity for why the -1 decision was made
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2025-03-18 00:07:45 +02:00
MareStare
b2897187ab Replace 2nd person with 3rd 2025-03-17 20:03:47 +00:00
MareStare
fbdafd723c Fix another logic error 2025-03-17 19:48:03 +00:00
MareStare
ec482db852 Apply Liam's corrections to the docs 2025-03-17 19:44:29 +00:00
MareStare
6cd01b5164 Add more docs to the local autocomplete binary layout 2025-03-17 19:15:24 +00:00
liamwhite
25973857c5
Merge pull request #459 from MareStare/feat/remove-some-test-deps
Remove `chai`, `@types/chai-dom`, `jest-environment-jsdom`, `jsdom` from package.json
2025-03-16 19:11:41 -04:00
MareStare
4907e9dfec Remove chai, @types/chai-dom, jest-environment-jsdom, jsdom from package.json 2025-03-16 22:51:12 +00:00
liamwhite
e72adf3d34
Merge pull request #457 from tantabus-oneiros/master
Add CivitAI post scraper
2025-03-16 14:20:34 -04:00
liamwhite
28cd6ad987
Merge pull request #458 from MareStare/feat/autocomplete-history-full
Full autocomplete history feature
2025-03-16 14:20:21 -04:00
MareStare
b671d0dc3d Remove redundant relative color leftover from experiments 2025-03-15 03:57:08 +00:00
tantabus-oneiros
91b3baee34 Update civitai.ex
If mix is lying I will cry
2025-03-15 03:05:29 +01:00
MareStare
1e0def08db Fix and improve styling for different themes 2025-03-15 00:40:26 +00:00
MareStare
b51e2bc205 Remove temporary ignores for coverage 2025-03-14 23:32:05 +00:00
MareStare
caa2688c73 [Missing change] Adapt local autocompleter to the new API 2025-03-14 23:30:54 +00:00
MareStare
76f434b039 Revert back the event delegation suggestion because in this case we search the closest descendant, not the closest ancestor. 2025-03-14 23:19:41 +00:00
tantabus-oneiros
66020ce8ac Update civitai.ex
Clean empty lines
2025-03-15 00:15:13 +01:00
MareStare
4f50d0de3e Add integration tests for various parts of the autocompletion business logic, including history suggestions 2025-03-14 23:01:57 +00:00
MareStare
b8b3ed5982 Update the slime HTML templates with new data attributes 2025-03-14 23:01:57 +00:00
MareStare
696a2fd74a Update the tagsinput.ts with the new 'autocomplete' event shape 2025-03-14 23:01:57 +00:00
MareStare
6b9b9d212f Update the format of LexResult to a more readable one (array to object conversion) 2025-03-14 23:01:57 +00:00
MareStare
7aa5562a21 Add the main Autocomplete ui binding glue 2025-03-14 23:01:57 +00:00
MareStare
6b615558af Delete the old autocomplete impl 2025-03-14 23:01:57 +00:00