Skip to content

Manual article adding, homepage intro + accessibility and code refactoring - #66

Merged
ragesoss merged 6 commits into
WikiEducationFoundation:masterfrom
Aminehassou:master
Jul 21, 2026
Merged

ragesoss merged 6 commits into
WikiEducationFoundation:masterfrom
Aminehassou:master

Conversation

@Aminehassou

Copy link
Copy Markdown
Collaborator

Changes

New features

  • Implemented the ability to add articles to a topic directly from the chart
    • Owners get an "Add article" entry point in the filtered-articles sidebar that opens a modal with autocomplete search (supports searching by title or by inserting a wikipedia URL)
    • Pairs with the existing remove-article flow so the article set can be managed entirely from the chart
  • Added an intro section to the homepage
    • New HomeIntro on the topic index with a short explanation of what Visualizing Impact does and a 3-step "Create a set of articles" how-to

UI improvements

  • Recolored the quality-assessment palette (FA/FL, GA, B, C, Start, List) for better contrast
  • Raised the dimmed bubble opacity and removed the base color darkening
  • Added an expand/collapse chevron to the stat blocks to make it clearer that they're clickable
  • Clarified the overview helper text ("click any article for more details")

Refactoring

  • Extracted an ArticleAnalyticsService out of GenerateArticleAnalyticsJob, so both the job and the new on-demand add-article path share the same logic
  • Cleaned up duplicated logic in the chart utils
    • Deleted the dead TopicUtils.fieldsForStat, which fully duplicated ChartUtils.fieldsForStat
    • Collapsed minForCumulativeChart/maxForCumulativeChart into a single extremeForCumulativeChart helper
  • Broke up wiki-bubble-chart.component.tsx by extracting certain components into their own files
    • ChartToolbar (export/save/copy-link/legend/glossary bar), ChartTabBar (tabs + advanced toggle), and ChartAggregateStats (the stat cells)
    • Moved the patchChartScales Vega helper out to a new bubble-chart-vega util

Videos/Screenshots

Adding an article through the topic:

impact-viz-demo-10.mp4.mp4

New homepage description:

Screenshot from 2026-07-22 00-12-35

@ragesoss
ragesoss merged commit e9648f6 into WikiEducationFoundation:master Jul 21, 2026
3 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