Skip to content

feat: enhance scanner UI with tooltips, glossary, selection rationale#27

Merged
rprabhat merged 1 commit into
masterfrom
scanner-india-stocks-tool
Jun 8, 2026
Merged

feat: enhance scanner UI with tooltips, glossary, selection rationale#27
rprabhat merged 1 commit into
masterfrom
scanner-india-stocks-tool

Conversation

@rprabhat

@rprabhat rprabhat commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds reusable UI components for better scan result comprehension and user education.

Changes

  • InfoTooltip — reusable info icon with hover/click tooltip, Escape/mousedown dismiss, accessible aria-label
  • SelectionRationale — parses lineage into 5 visual progress bars (ADR, RS Momentum, EMA Alignment, Tightness, Volume Surge)
  • GlossaryPanel — modal dialog with 10 glossary entries (Escape/click-outside close)
  • Filtered stocks tracking — scanner store tracks stocks filtered out during scan loop with rejection reasons
  • ResultsTable — tooltip icons on Score/ADR%/RS% column headers, Glossary button, collapsible filtered summary
  • DetailPanel — tooltip icons on all 4 metric cards (ADR%, RS Momentum, Stop Loss, R:R Ratio) with SelectionRationale section

Tests

  • 30/30 passing across 4 test files
  • InfoTooltip: click show/hide, hover show/leave hide, Escape dismiss, aria-label
  • SelectionRationale: header, 5 categories, progress bars, empty lineage, unknown keys
  • GlossaryPanel: closed state, renders entries, close button, Escape, role=dialog

Closes #26

…#26)

- Add InfoTooltip reusable component with hover/click/Escape dismiss
- Add SelectionRationale with 5 visual progress bars from lineage
- Add GlossaryPanel modal with 10 glossary entries
- Track filtered stocks with rejection reasons in scanner store
- Add InfoTooltip icons on Score/ADR%/RS% column headers
- Add InfoTooltip on ADR%, RS Momentum, Stop Loss, R:R Ratio
- Add filtered stocks collapsible summary in ResultsTable
- Add Glossary button in ResultsTable header
- 30/30 tests passing (4 test files) with @testing-library/jest-dom
@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
qullamaggie Error Error Jun 8, 2026 7:50am

@rprabhat rprabhat merged commit 04e42b1 into master Jun 8, 2026
5 of 8 checks passed
@rprabhat rprabhat deleted the scanner-india-stocks-tool branch June 8, 2026 07:50
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.

[Question] Is there a frontend or demo?

1 participant