Skip to content

feat: split App Store rankings into Finance and Total subsections - #3

Merged
chapati23 merged 3 commits into
mainfrom
feature/appstore-subsections
Feb 22, 2026
Merged

feat: split App Store rankings into Finance and Total subsections#3
chapati23 merged 3 commits into
mainfrom
feature/appstore-subsections

Conversation

@gisk0

@gisk0 gisk0 commented Feb 22, 2026

Copy link
Copy Markdown
Collaborator

What

Splits the single 'App Store Rankings' section into two cleaner subsections:

📱 App Store · Finance

  • Only shows apps actually ranked in the Finance category
  • Removes #Finance label from each line (implied by section header)
  • Sorted by Finance rank

📱 App Store · Total (conditional)

  • Only shown if at least one tracked app cracks the overall top 100
  • Removes overall label from each line (implied by section header)
  • Tracks daily/weekly/monthly trends for overall rank

Why

  • Cleaner layout — more info fits on one line without the category suffix
  • Total section only clutters the briefing when relevant (crypto apps rarely chart overall)

Changes

  • types.ts: DataSource.fetch can now return BriefingSection | BriefingSection[]
  • orchestrator.ts: flattens multi-section results transparently
  • appstore-rankings.ts: split build logic, new formatFinancePositionText / formatOverallPositionText
  • 394/394 tests passing

- Finance subsection: ranked apps only, no '#Finance' label (implied by section header)
- Total subsection: overall top-100 apps only, hidden if none are ranked
- Add overall trend tracking (daily/weekly/monthly) for Total section items
- Update types to allow DataSource.fetch to return BriefingSection[]
- Orchestrator flattens multi-section results transparently
- All 394 tests passing
Add sentimentPrefix flag to BriefingItem; App Store Finance and Total
items now render as '• 🔴 Coinbase: #33 (...)' matching ETF style.
@chapati23
chapati23 merged commit a20f07b into main Feb 22, 2026
2 checks passed
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.

2 participants