mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5696] [Issue]: Character library and search scan full card data #3152
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3152
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gunterlie on GitHub (Aug 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5696
Originally assigned to: @Gunterlie on GitHub.
Summary
The Character Library and its search can become slow with a large character collection. The current paginated path searches full serialized character-card JSON on the server, then parses and filters the returned cards again in the browser. Search also creates a new request for each input change.
Expected behavior
Character list loading should return compact list data. Search should use one prepared search representation and remain responsive while the user types.
Actual behavior
The server scans characters.data with LIKE. The client parses full cards, repeats search matching across card fields, calculates card metadata, and renders the results. Alphabetical and favorite sorting can require loading and parsing all matching rows before pagination.
Steps to reproduce
Environment
Logs, screenshots, or video
Not attached. The issue is visible in browser network timing and server request timing.
Additional context
The Home omnibar is faster because it loads character data once, prepares searchable rows, and searches in local memory. A shared server-side character catalog can provide the same search representation to both the omnibar and the Character Library without adding SQLite.
Template check