Skip to content

feat(dashboard): implement accessible map with marker clustering#37

Merged
skishchampi merged 3 commits into
mainfrom
feat/dashboard-v2
May 10, 2026
Merged

feat(dashboard): implement accessible map with marker clustering#37
skishchampi merged 3 commits into
mainfrom
feat/dashboard-v2

Conversation

@skishchampi
Copy link
Copy Markdown
Contributor

Implements a full visual and accessibility overhaul of the forensic dashboard:

  • Replaces circle markers with accessible SVG 'Data Pills' showing job counts.
  • Implements Airbnb-style marker clustering for zoom-based aggregation.
  • Applies representative color palette (Saffron/Blue).
  • Fixes all outstanding accessibility issues (focus, ARIA, headings).
  • Hardens the Vitest suite with a centralized mock environment.

Implements a full visual and accessibility overhaul of the forensic dashboard:
- Replaces circle markers with accessible SVG 'Data Pills' showing job counts.
- Implements Airbnb-style marker clustering for zoom-based aggregation.
- Applies representative color palette (Saffron/Ambedkar Blue).
- Fixes all outstanding accessibility issues (focus, ARIA, headings).
- Hardens the Vitest suite with a centralized mock environment.
Comment thread tests/map.test.js Fixed
Comment thread tests/setup.js Fixed
skishchampi and others added 2 commits May 10, 2026 16:33
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
@skishchampi skishchampi merged commit 5022167 into main May 10, 2026
8 checks passed
@skishchampi skishchampi deleted the feat/dashboard-v2 branch May 10, 2026 20:34
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8ebadfbc80

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/lib/map.js
Comment on lines +92 to +95
markers.forEach(m => {
totalJobs += (m._currentTotalCount || 0);
instsInCluster.add(m._instId);
});
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Exclude zero-match markers from cluster institution totals

The cluster badge currently counts every child marker as an institution (instsInCluster.add(m._instId)) even when that marker has 0 ads under the active filters, so at low zoom levels users can see clusters reporting many institutions while the map summary shows few or none matching. This creates inconsistent, misleading filter feedback whenever most institutions are inactive; only markers with a positive _currentTotalCount should contribute to the displayed institution total (or inactive markers should be removed from clustering).

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant