Full deployment history for this project.
feat(ui): Add missing aria-labels to icon-only buttons for accessibility Added `aria-label` attributes to multiple icon-only buttons across the application to improve screen reader accessibility. Affected components: - `components/polymath-mentor.tsx`: Floating action button, close button, and send button - `components/sections/polymaths-showcase.tsx`: Carousel control buttons (previous and next) - `components/knowledge-graph.tsx`: Node details close button Also created `.jules/palette.md` to document the learning that icon-only buttons need `aria-label` attributes for proper accessibility. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
fix: dynamic CORS origin validation for network endpoints This commit addresses the invalid wildcard CORS configuration (*.platphormnews.com) by implementing a dynamic origin validation utility. The CORS specification does not support wildcard subdomains; the origin must be validated and echoed back along with a 'Vary: Origin' header. Affected endpoints: - /api/v1/network - /.well-known/platphorm.json - /feed.json Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
๐งช add comprehensive tests for polymaths data functions Implemented a full suite of unit tests for all functions in `lib/data/polymaths.ts`, specifically addressing the missing test for `getAllDisciplines`. The new tests verify: - `getAllDisciplines`: Returns a unique, alphabetically sorted array of all disciplines in the data. - `getPolymathBySlug`: Correctly retrieves polymaths and handles invalid slugs. - `getPolymathsByEra`: Filters polymaths by their historical era. - `getPolymathsByDiscipline`: Filters polymaths by discipline with case-insensitive and partial matching. - `getAllEras`: Returns the standard list of historical eras. - `getRandomQuote`: Selects a random quote with its correct author. - `getPolymathsForDisplay`: Properly transforms raw data for frontend display. Tests were verified using a standalone logic script due to network restrictions during `pnpm install`, and follow existing Vitest patterns in the repository. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
chore: remove unused import MessageCircle from polymath-mentor.tsx Removed the unused import `MessageCircle` from `components/polymath-mentor.tsx` to improve code health and maintainability. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
fix(cors): replace invalid wildcard subdomain with dynamic origin validation The CORS specification explicitly forbids wildcard subdomains (e.g., `*.platphormnews.com`) in the `Access-Control-Allow-Origin` header. This commit introduces a new `getCorsOrigin` utility to dynamically validate the incoming `Origin` request header against the allowed domains (root domain and subdomains) and echoes the valid origin back. It also ensures the `Vary: Origin` header is set to prevent downstream caching issues. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
๐ก๏ธ Sentinel: [HIGH] Add HTTP security headers to next.config.mjs Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
feat: add aria-labels to icon-only buttons for better accessibility - Added aria-labels to the close and send buttons in PolymathMentor chat widget. - Added aria-labels to the next and previous carousel navigation buttons in PolymathsShowcase. - Added aria-label to the close node details button in KnowledgeGraph. - These micro-UX improvements ensure better screen reader support for icon-only interactions. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #17 from mbarbine/jules-4623082804712678101-5ad095cd feat: expand FAQ, add breadcrumbs, enhance API health check, update sitemap & tests
perf(AnimatedCounter): replace state-based animation with framer-motion values Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
feat(api): expand documentation, sitemap, and add network endpoints to discovery - Added FAQ entries about the open-source nature, Platphorm Network, and API. - Added breadcrumbs to the `API Documentation` page for easier navigation. - Added `/api/health` static route to `sitemap.ts`. - Included documentation definitions for `network` and `methodology` endpoints. - Updated the LLM index endpoints with the network and methodology routes. - Enhanced `/api/health` test by adding assertions to check valid ISO strings. - Followed single-quote JSX escaping guidelines to prevent Turbopack compilation errors. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
๐งน update FAQ, breadcrumbs, health/api check, docs, sitemap, llms-index, expand sections, create tests Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #13 from mbarbine/jules-7301763576292134106-2d577eb3 feat: expand FAQ, add tests, and update sitemap
Merge branch 'main' into jules-7301763576292134106-2d577eb3
feat: update/create FAQ, tests, and sitemap Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #9 from mbarbine/fix-arena-map-6551199373338049146 fix: Update FAQ discussion link to correct repository
Merge pull request #10 from mbarbine/jules-10031589766583373924-f89e8336 ๐งน Code health: enhance documentation, discovery files, and test coverage
Merge pull request #12 from mbarbine/jules/completion-9911720110813009702 โก Chore: Task already completed in previous PR
Merge pull request #11 from mbarbine/jules-8731877301174084249-3c511fd8 feat: Add FAQ page, Breadcrumbs, and Health Check tests
Merge pull request #7 from mbarbine/bolt-performance-knowledge-graph-lookup-4611041848114369788 โก Bolt: Optimize knowledge graph node lookups with Map
Merge pull request #3 from mbarbine/copilot/enhance-site-functionality Enhance site: fix build error, add accessibility features, 404 page, and loading state