Commit Graph

122 Commits

Author SHA1 Message Date
728b36e45e Update AGENTS.md with improved commit message handling guidelines
- Specify that COMMIT_EDITMSG should be created or updated.
- Encourage editing the existing file to maintain context across multiple steps.

Signed-off: junie@lucy.xalior.com
2026-02-17 13:14:56 +00:00
f445aabcb4 Improve download viewer with grouping and inline previews
Group downloads and scraps by type in Entry and Release details

Add FileViewer component for .txt, .nfo, image, and PDF previews

Update download API to support inline view with correct MIME types

Signed-off-by: Junie@lucy.xalior.com
2026-02-17 12:50:58 +00:00
32985c33b9 Proxy local ZXDB/WoS mirror downloads through application API
- Created `src/app/api/zxdb/download/route.ts` to serve local files.
- Updated `resolveLocalLink` in `src/server/repo/zxdb.ts` to return
  API-relative URLs with `source` and `path` parameters.
- Encodes the relative subpath to ensure correct URL construction.
- Includes security checks in the API route to prevent path traversal.
- Updated `docs/ZXDB.md` to reflect the proxy mechanism.

Signed-off: junie@lucy.xalior.com
2026-02-17 12:43:26 +00:00
2e47b598c1 Remove default path prefixes for local mirroring
- Removed hardcoded defaults for ZXDB_FILE_PREFIX and WOS_FILE_PREFIX in
  resolveLocalLink.
- Updated docs/ZXDB.md and example.env to remove mentions of defaults.
- Default behavior is now no prefix stripping if variables are omitted.

Signed-off-by: Junie@lucy.xalior.com
2026-02-17 12:35:46 +00:00
ab7872b610 Update example.env with local mirror configurations
Signed-off: Junie@lucy.xalior.com
2026-02-17 12:34:47 +00:00
4b3d1ccc7b Update documentation for local ZXDB/WoS mirrors
- Documented .env variables: ZXDB_LOCAL_FILEPATH, WOS_LOCAL_FILEPATH, ZXDB_FILE_PREFIX, WOS_FILE_PREFIX.
- Explained path resolution logic (strip prefix, prepend local path).
- Added setup notes to docs/ZXDB.md and AGENTS.md.

Signed-off-by: junie@lucy.xalior.com
2026-02-17 12:34:11 +00:00
77b5e76a08 Correct local file path resolution for ZXDB/WoS mirrors
- Remove optional path prefix and prepend the required local string.
- Avoid hardcoded 'SC' or 'WoS' subdirectories in path mapping.
- Maintain binary state: show local link only if env var is set and file exists.

Signed-off: junie@McFiver.local
2026-02-17 12:30:55 +00:00
cbee214a6b This actually runs now :-o 2026-02-17 12:19:14 +00:00
53eb9a1501 Implement magazine reviews, label details, and year filtering
- Aggregate magazine references from all releases on the Entry detail page.
- Display country names and external links (Wikipedia/Website) on the Label detail page.
- Add a year filter to the ZXDB Explorer to search entries by release year.

Signed-off: junie@lucy.xalior.com
2026-02-17 12:03:36 +00:00
9807005305 Update homepage hero
Replace the minimal homepage with a two-column hero for ZXDB and NextReg.

Signed-off-by: codex@lucy.xalior.com
2026-01-11 13:42:52 +00:00
24e08ce7b9 Better zxdb landing page 2026-01-11 13:40:31 +00:00
00a13e3289 Fix explorer hook deps
Resolve hook dependency warnings in entries and releases explorers.

Signed-off-by: codex@lucy.xalior.com
2026-01-11 13:30:10 +00:00
2d4b1b2d5b Refactor registers sidebar
Use shared explorer layout and sidebar for the registers browser.

Signed-off-by: codex@lucy.xalior.com
2026-01-11 13:23:49 +00:00
79d161afe1 Share explorer sidebar components
Introduce reusable explorer layout, sidebar, chips, and multi-select components.

Signed-off-by: codex@lucy.xalior.com
2026-01-11 13:21:19 +00:00
8a9c5395bd Change label on machines we use by default 2026-01-11 13:06:44 +00:00
1e8925e631 Add multi-select machine filters
Replace machine dropdowns with multi-select chips and pass machine lists in queries.

Signed-off-by: codex@lucy.xalior.com
2026-01-11 13:04:41 +00:00
2f93ed1774 Fix facets filter aliasing
Use the correct SQL alias in entry facet filters.

Signed-off-by: codex@lucy.xalior.com
2026-01-11 12:37:56 +00:00
dc6db608cd uncouple breadcrumbs from search input widget 2026-01-11 12:35:22 +00:00
762d13be55 Favor Next machine types in search
Prefer Spectrum Next and +3 results when no machine filter is selected.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 23:44:02 +00:00
48d02adbed Hunno this isn't all the case search fixes required...
Manual fixes for a lot of case places..

-Dx
2026-01-10 23:34:02 +00:00
9bb0a18695 Update setup docs and scripts
Refresh setup docs, add ZXDB local setup script, and note deploy rules.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 22:52:27 +00:00
89d48edbd9 Add deploy helper script
Add a deploy script and npm commands, and include
Navbar updates as requested.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 22:39:03 +00:00
0b0dced512 Revamp entry detail layout
Restructure entry detail into a two-column layout with
summary/people cards and section cards on the right.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 22:32:55 +00:00
e94492eab6 Unify ZXDB list layouts
Apply sidebar filter layout to label/genre/language/machine
lists and restructure release detail into a two-column view.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 22:05:28 +00:00
6f7ffa899d Refresh releases and magazines UI
Apply sidebar filter layout and header summary to releases
and magazines list pages.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 21:56:46 +00:00
84dee2710c Add genre column to entries
Include genre data in entry search results and show it
in the entries table layout.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 21:53:31 +00:00
5130a72641 Add entry facets and links
Surface alias/origin facets, SSR facets on entries page,
fix facet query ambiguity, and document clickable links.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 19:21:46 +00:00
964b48abf1 Add entry ports and scores
Surface ports, remakes, scores, and notes on entry detail.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 18:26:34 +00:00
d9f55c3eb6 Add entry relations and tags
Show relations and tag membership sections on entry detail.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 18:23:58 +00:00
06ddeba9bb Polish origins and guidelines
Add issue/magazine links and ordering to entry origins,
and document preferred validation guidance.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 18:18:20 +00:00
fb206734db Add ZXDB origins and label types
Show entry origins data and display label type names
in label detail view.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 18:12:30 +00:00
e2f6aac856 Expand ZXDB entry data and search
Add entry release/license sections, label permissions/licenses,
expanded search scope (titles+aliases+origins), and home search.
Also include ZXDB submodule and update gitignore.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 18:04:04 +00:00
3e13da5552 Improve ZXDB releases list
Link release titles to release detail, add magref count
badges, and show other releases on release detail.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 17:46:57 +00:00
0594b34c62 Add ZXDB breadcrumbs and release places
Add ZXDB breadcrumbs on list/detail pages and group release
magazine references by issue for clearer Places view.

Signed-off-by: codex@lucy.xalior.com
2026-01-10 17:35:36 +00:00
5d140a45a7 Enhance ZXDB releases and caching
Signed-off-by: codex@lucy.xalior.com
2026-01-10 17:05:37 +00:00
208a06c351 Adding more releases, and sorting SASS 2026-01-10 16:55:12 +00:00
686e057bb4 Add missing ZXDB ORM tables
Signed-off-by: codex@lucy.xalior.com
2026-01-10 16:44:02 +00:00
f629cd0ca8 Merge branch 'deploy' into dev 2026-01-10 16:30:58 +00:00
8083b1e5de Update example env 2026-01-10 16:30:54 +00:00
cabd0567f7 Add hostname details to env, for opengraph 2026-01-04 13:37:14 +00:00
31522acd04 missing files 2026-01-01 15:54:59 +00:00
4467ef98fd Add OG images for register pages
- generate per-register metadata and OG thumbnails
- honor register text line breaks and de-duplicate summary lines

Signed-off-by: Codex@lucy.xalior.com
2026-01-01 15:42:53 +00:00
6237ff86d0 A yolo test of codex 2026-01-01 15:42:22 +00:00
616d775303 Docs: refresh README and AGENTS with latest ZXDB features
Update documentation to reflect the expanded ZXDB Explorer coverage, including releases, magazines, and issues. Document new API endpoints and the graceful schema fallback mechanism in the repository.

Changes:
- README.md: Add /zxdb/releases, /zxdb/magazines, and /zxdb/issues/[id] routes; document /api/zxdb/releases/search and lookup endpoints; add note on information_schema table checks.
- AGENTS.md: Update project overview and structure to include releases, magazines, and issues; note schema capability checks in the repository description.

Signed-off-by: Junie@lucy.xalior.com
2025-12-18 19:43:16 +00:00
a1a04a89cf Adding the first stubs of the magazine browser 2025-12-18 13:10:58 +00:00
279abac91a Link entry_id across UI; surface aliases/webrefs on Entry\n\n- Add EntryLink component for /zxdb/entries/[id]\n- Use EntryLink in Entries, Releases, and Label detail tables\n- Extend Entry detail with Aliases and Web links sections\n- Add Drizzle schema for aliases, webrefs, websites; fetch in repo\n\nSigned-off-by: Junie@lucy\n 2025-12-17 22:32:13 +00:00
2bade1825c Add entry_id relationship links to Entries
- Introduce reusable EntryLink component
- Use EntryLink in Releases and Label detail tables
- Link both ID and title to /zxdb/entries/[id] for consistency

Signed-off-by: Junie@MacOS
2025-12-17 22:30:48 +00:00
07478b280c Fix build errors 2025-12-17 20:22:00 +00:00
89001f53da No explicit any 2025-12-17 20:10:00 +00:00
18cf0cc140 Merge branch 'feat/zxdb' into deploy 2025-12-17 19:55:59 +00:00