perf(nodes): paginate node lists and fetch details directly (#54)

* perf(nodes): paginate node lists and fetch details directly

* fix(nodes): preserve Unicode search and page transition state

* fix(nodes): validate search using the UTF-8 byte limit
This commit is contained in:
ArthurKoba
2026-11-07 16:29:52 +03:00
committed by GitHub
parent 72d67c80f2
commit 3c7b347d7b
28 changed files with 1873 additions and 45 deletions
@@ -0,0 +1,7 @@
-- +goose Up
CREATE INDEX IF NOT EXISTS idx_of_nodes_type_id ON of_nodes (node_type, id);
CREATE INDEX IF NOT EXISTS idx_of_nodes_last_seen_id ON of_nodes (last_seen_at, id);
-- +goose Down
DROP INDEX IF EXISTS idx_of_nodes_last_seen_id;
DROP INDEX IF EXISTS idx_of_nodes_type_id;
@@ -0,0 +1,7 @@
-- +goose Up
CREATE INDEX IF NOT EXISTS idx_of_nodes_type_id ON of_nodes (node_type, id);
CREATE INDEX IF NOT EXISTS idx_of_nodes_last_seen_id ON of_nodes (last_seen_at, id);
-- +goose Down
DROP INDEX IF EXISTS idx_of_nodes_last_seen_id;
DROP INDEX IF EXISTS idx_of_nodes_type_id;