Commit graph

2514 commits

Author SHA1 Message Date
MareStare
007a3e629a Add tests for hideIf 2025-03-14 23:01:36 +00:00
MareStare
c9f3677bd4 Move hideIf to utils and refactor a bit 2025-03-14 23:01:36 +00:00
MareStare
671e9deda2 Add user-facing autocomplete settings 2025-03-14 23:01:36 +00:00
MareStare
84b6ef74df Use Intl.NumberFormat with French style instead of a manual impl 2025-03-14 23:00:35 +00:00
MareStare
84ecf1ea4e Remove redundant comment from suggestions.ts 2025-03-14 23:00:35 +00:00
MareStare
7cf02793e1 Move some color definitions for autocomplete into dark/light.css 2025-03-14 23:00:35 +00:00
MareStare
cae4df68bc Remove the no-longer needed mouseMoveThenOver utility 2025-03-14 23:00:35 +00:00
MareStare
182bb0ef24 Indent comment 2025-03-14 23:00:35 +00:00
MareStare
b119660a54 Add new styles for the suggestions popup to CSS 2025-03-14 23:00:35 +00:00
MareStare
b9440e79cf Update tests for the suggestions popup 2025-03-14 23:00:35 +00:00
MareStare
4e43b59b99 Redesign the autocomplete suggestions popup 2025-03-14 23:00:35 +00:00
MareStare
6948aa5d1c Add AutocompleteClient wrapper over the HTTP API 2025-03-14 23:00:01 +00:00
MareStare
3c2a3e956a Use existing event delegation with submit subscription for history tracking 2025-03-14 22:59:33 +00:00
MareStare
c15e082b97 Add input history listener binding with UI 2025-03-14 22:59:33 +00:00
MareStare
e63899b91e Add AutocomplableInput model for UI binding 2025-03-14 22:58:32 +00:00
MareStare
aa2e5dd3af Simplify the listSuggestions with Array combinators 2025-03-14 22:57:31 +00:00
MareStare
d49b252eb1 Remove humor 2025-03-14 22:57:31 +00:00
MareStare
e884da9b62 Add InputHistory high level API for history suggestions 2025-03-14 22:57:31 +00:00
MareStare
1dac0ef3f2 Add an empty line after the import statement 2025-03-14 22:56:31 +00:00
MareStare
99e597d94d Add autocomplete history store 2025-03-14 22:56:31 +00:00
MareStare
a77b8dd81c Remove the extraneous require 2025-03-14 22:55:40 +00:00
MareStare
2ae5832ae7 Add search history settings to cookies handling on backend 2025-03-14 22:55:40 +00:00
tantabus-oneiros
1a90f8cdc4 Add CivitAI post scraper
Added a scraper for CivitAI posts. Only supports post URLs (not single images) due to API limitations. API also does not provide the "description" visible on the site itself. Meta information like model, prompt, seed, etc. not used as we do not (yet) has a way to store or show this neatly.
2025-03-14 21:26:25 +01:00
Liam
088b958718 Fix deprecation warning 2025-03-12 15:11:03 -04:00
Liam
eb525cc341 Req backend is now upstreamed 2025-03-12 12:15:01 -04:00
Liam
8a864bd176 Dependency update 2025-03-12 12:12:13 -04:00
liamwhite
b96679ef6b
Merge pull request #444 from MareStare/feat/send-events-about-store-update
[Part 7] Emit `'storage-update'` events on local storage update
2025-03-11 20:33:03 -04:00
liamwhite
6cb3783914
Merge pull request #440 from MareStare/feat/frontend-http-client-utility
[Part 5] Add HttpClient utility for frontend
2025-03-11 20:29:46 -04:00
MareStare
5525f46d1e Ignore non-100% coverage for store.ts until 453 PR is merged 2025-03-12 00:28:53 +00:00
MareStare
39b2a3a1c0 Ignore non-100% coverage for HttpClient until 453 PR is merged 2025-03-12 00:25:52 +00:00
MareStare
c6bc3b3798 Add tests for the HttpClient 2025-03-12 00:16:04 +00:00
MareStare
a3007a3a81 Add HttpClient utility for frontend 2025-03-12 00:16:04 +00:00
liamwhite
bd53311e4b
Merge pull request #443 from MareStare/feat/add-debounced-cache-utility
[Part 6] Add a DebouncedCache utility for frontend
2025-03-11 20:14:58 -04:00
liamwhite
35eee293c0
Merge pull request #439 from MareStare/feat/frontend-retry-utility
[Part 4] Add a retry utility for frontend
2025-03-11 20:14:30 -04:00
MareStare
7fa5563054 Emit 'storage-update' events on local storage update 2025-03-12 00:12:09 +00:00
MareStare
e07ec0ba1a Update import for the renamed mock-date-now 2025-03-12 00:09:42 +00:00
MareStare
8294d398ed Eliminate a redundant variable
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2025-03-12 00:09:42 +00:00
MareStare
647bd987ba Add tests for the retry utility 2025-03-12 00:09:42 +00:00
MareStare
b4ab1ed42c Add mockRandom utility for testing 2025-03-12 00:09:42 +00:00
MareStare
a02a9cd8c4 Add a retry utility for frontend 2025-03-12 00:09:42 +00:00
Luna D.
0eaa542afa
after 13 years in development... 2025-03-07 21:17:58 +01:00
liamwhite
8dde9390f4
Merge pull request #455 from philomena-dev/dependabot/cargo/native/philomena/ring-0.17.12
Bump ring from 0.16.20 to 0.17.12 in /native/philomena
2025-03-07 12:41:36 -05:00
dependabot[bot]
284a36d31e
Bump ring from 0.16.20 to 0.17.12 in /native/philomena
Bumps [ring](https://github.com/briansmith/ring) from 0.16.20 to 0.17.12.
- [Changelog](https://github.com/briansmith/ring/blob/main/RELEASES.md)
- [Commits](https://github.com/briansmith/ring/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-07 16:35:06 +00:00
liamwhite
6d5f45af4f
Merge pull request #436 from MareStare/feat/server-side-suggestions-api-v2
[Part 1] Add server-side suggestions API v2
2025-03-04 19:34:09 -05:00
liamwhite
391561cf3b
Merge pull request #441 from MareStare/feat/extend-eslint-config-after-search-history-feature
[Part 3.5] Allow `expect*` functions in vitest lints and ignore no-extra-parens in eslint
2025-03-04 19:33:24 -05:00
liamwhite
8b3f11282f
Merge pull request #438 from MareStare/feat/relax-csp-in-dev-env
[Part 3] Relax CSP in dev env to allow for private IPs
2025-03-04 19:33:01 -05:00
liamwhite
6f4709e1e4
Merge pull request #445 from MareStare/feat/add-ability-to-pass-children-to-make-el
[Part 8] Add an ability to specify child elements to `makeEl`
2025-03-03 23:10:11 -05:00
MareStare
dc8118df14 Add an ability to specify child elements to makeEl 2025-03-04 03:58:23 +00:00
MareStare
f15faf82d6 Remove extra whitespace 2025-03-04 03:43:43 +00:00
MareStare
97ca6d8846 Add tests for DebouncedCache 2025-03-04 03:41:33 +00:00