From 8768e7523973ba9e14177aa6269f7a39bcf5afd7 Mon Sep 17 00:00:00 2001 From: jae Date: Sat, 4 Apr 2026 04:27:54 +0000 Subject: [PATCH] feat: move changelog to /hq/logs with UK date format, add recent entries --- api/data/changelog.json | 62 ++++++++++++++++++++++++++++++++++++----- hq/changelog.html | 53 +++-------------------------------- hq/logs.html | 23 ++++----------- js/changelog.js | 10 ++++--- 4 files changed, 70 insertions(+), 78 deletions(-) diff --git a/api/data/changelog.json b/api/data/changelog.json index 5a07721..9f21e7a 100644 --- a/api/data/changelog.json +++ b/api/data/changelog.json @@ -1,6 +1,54 @@ { "site": "jaeswift.xyz", "entries": [ + { + "version": "1.12.0", + "date": "2026-04-04", + "title": "Nav Dropdown Descriptions", + "category": "feature", + "changes": [ + "Added descriptive subtitles beneath every nav dropdown item", + "Updated navigation API with description field support" + ] + }, + { + "version": "1.11.0", + "date": "2026-04-04", + "title": "RECON \u2014 Site Restructure & Accordion Navigation", + "category": "feature", + "changes": [ + "Moved RECON to /depot/recon for consistency with other depot pages", + "Subcategories now collapsible accordion sections with toggle arrows", + "Fixed navigation click bug that caused page reset", + "Fixed white flash on page load", + "Added cache-busting version tags to assets" + ] + }, + { + "version": "1.10.0", + "date": "2026-04-04", + "title": "RECON \u2014 Curated Lists Rebuild", + "category": "feature", + "changes": [ + "Flattened 4-level navigation to 2-level (sector > list > entries)", + "Grouped entries by source list instead of duplicate subcategory cards", + "Stripped 'Awesome' prefix from all 660 list names", + "Reused CONTRABAND CSS for consistent styling across depot pages" + ] + }, + { + "version": "1.9.0", + "date": "2026-04-04", + "title": "RECON \u2014 Curated Lists Database", + "category": "feature", + "changes": [ + "Parsed 660 curated lists into 28 themed sectors", + "135,179 total entries across all sectors", + "Built Flask API endpoints for index, sector detail, and search", + "Weekly auto-sync cron job (Sundays 4am) to pull latest data", + "Full-text search across all 135k entries" + ] + }, { "version": "1.8.0", "date": "2026-04-03", @@ -8,7 +56,7 @@ "category": "feature", "changes": [ "Subcategories now display as 2-column card grid with expandable detail panels", - "Added weekly auto-sync — resource database updates every Sunday at 03:00", + "Added weekly auto-sync \u2014 resource database updates every Sunday at 03:00", "Click any subcategory card to expand/collapse its entries below", "Active card highlighting with amber glow", "Responsive grid: 2-col desktop, 1-col mobile" @@ -20,8 +68,8 @@ "title": "Sitewide Visual Overhaul", "category": "fix", "changes": [ - "Bumped 64 font sizes sitewide — no more microscopic text", - "Brightened all text colours: primary #c0c0c0→#d8d8d8, secondary #707070→#999999, muted #3a3a3a→#666666", + "Bumped 64 font sizes sitewide \u2014 no more microscopic text", + "Brightened all text colours: primary #c0c0c0\u2192#d8d8d8, secondary #707070\u2192#999999, muted #3a3a3a\u2192#666666", "CONTRABAND page: 4-column category grid with responsive breakpoints", "Purged all third-party attribution references from entire codebase" ] @@ -29,13 +77,13 @@ { "version": "1.6.0", "date": "2026-04-03", - "title": "CONTRABAND — Classified Resource Index", + "title": "CONTRABAND \u2014 Classified Resource Index", "category": "feature", "changes": [ "Launched CONTRABAND page at /depot/contraband with 15,800+ indexed assets", "24 categories with military codenames (CRT-001 through CRT-024)", "Full-text search across all entries via API", - "Starred/top-pick filter system with ⭐ indicators", + "Starred/top-pick filter system with \u2b50 indicators", "Collapsible subcategories with item counts", "Flask API endpoints: /api/contraband, /api/contraband/, /api/contraband/search" ] @@ -57,8 +105,8 @@ "title": "Globe & Chat AI Admin Panels", "category": "feature", "changes": [ - "Admin panel: Globe management section — server location, rotation speed, arc cities, colours", - "Admin panel: Chat AI configuration — model selection, system prompt, greeting toggle", + "Admin panel: Globe management section \u2014 server location, rotation speed, arc cities, colours", + "Admin panel: Chat AI configuration \u2014 model selection, system prompt, greeting toggle", "New API endpoints: /api/globe, /api/chat-config with auth-protected GET/POST", "Interactive colour picker and slider controls for globe parameters", "Arc cities table with add/remove functionality" diff --git a/hq/changelog.html b/hq/changelog.html index 98c9ccd..758a9ff 100644 --- a/hq/changelog.html +++ b/hq/changelog.html @@ -2,55 +2,10 @@ - - JAESWIFT // CHANGELOG - - - - - + + Redirecting to Maintenance Log... - -
-
- - - - - -
-
HQ // HEADQUARTERS
-

CHANGELOG

-

> Complete mission update log. Every deployment, fix, and feature recorded.

-
- -
-
-
LOADING UPDATE LOG...
-
-
- - - - + +

Redirecting to Maintenance Log...

diff --git a/hq/logs.html b/hq/logs.html index b096d92..1d58960 100644 --- a/hq/logs.html +++ b/hq/logs.html @@ -8,6 +8,7 @@ +
@@ -43,27 +44,13 @@
-
-
-
UNDER CONSTRUCTION
-
This section is being prepared. Content deployment imminent.
-
CLASSIFICATION: PENDING // STATUS: STANDBY
+
+
LOADING MAINTENANCE LOG...
-
- -
- + - \ No newline at end of file + diff --git a/js/changelog.js b/js/changelog.js index 4ee0e67..83b82b3 100644 --- a/js/changelog.js +++ b/js/changelog.js @@ -15,8 +15,10 @@ function formatDate(dateStr) { const d = new Date(dateStr + 'T00:00:00'); - const months = ['JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC']; - return `${d.getDate().toString().padStart(2, '0')} ${months[d.getMonth()]} ${d.getFullYear()}`; + const day = d.getDate().toString().padStart(2, '0'); + const month = (d.getMonth() + 1).toString().padStart(2, '0'); + const year = d.getFullYear(); + return `${day}/${month}/${year}`; } function render(data) { @@ -28,8 +30,8 @@ // Header html += `
`; - html += `
MISSION UPDATE LOG
`; - html += `
// SYSTEM CHANGELOG — ALL DEPLOYMENTS
`; + html += `
MAINTENANCE LOG
`; + html += `
// ALL MODIFICATIONS — LOGGED & VERIFIED
`; html += `
`; html += `CURRENT BUILD: v${esc(latestVersion)}`; html += `UPDATES: ${entries.length}`;