Toolhub/Roadmap/new interface 2026
Toolhub Evolved is a working prototype that reimagines the Toolhub discovery experience over the live, read-only Toolhub API. It is a demonstrator, not a production integration: everything that needs the existing public data is wired to the API, and everything that would need a Toolhub back-end evolution OR is clearly labeled and simulated locally.
- Live demo: https://toolhub-evolved.toolforge.org
- Source: https://github.com/schiste/toolhub-evolved
- Data: live, read-only, from the public Toolhub API (no write access, nothing cached server-side)
Guiding principle: split code
[edit]The prototype splits every capability into two groups, to make it easier to comment and review:
- Lane A : shipping frontend: built on data the public API already exposes.
- Lane B : prospective features: things that would need a Toolhub back-end full access with Auth management (writes, auth, server-side jobs, new indexes). I went the fixtures routes to avoid, at that stage, to have to manage "real" data and CORS issues. These are hidden behind a default-off "Show me prospective features" toggle, run on a local
localStorageoverlay, and are flagged as simulated. A persistent mockup banner and a Rules of Engagement page reinforce that nothing is written back to Toolhub.
New features
[edit]On top of the new design, I added new features, some related to existing Phabricator tasks.
Richer data surface
[edit]Live: home (Most listed & the fit control) & a tool page (completeness & freshness)
- Listing completeness: a checklist over the toolinfo fields a maintainer can fill, surfaced as a meter on cards and a full checklist on the tool page (the maintainer's "improve your listing" loop).
- Endorsement: the honest popularity proxy: how many published curated lists include the tool. The home page's "Most listed" section ranks by it. (Phab: T186388)
- I would love feedback on how to surface great tools without hindering peoples energy and willingness to build in the open.
- Freshness: derived from the real
modified_date. - Fit to your context: a lightweight, local "I work on [wiki] / as [role]" preference; matching tools are haloed and float to the top of listings.
- Live: home (Most listed & the fit control) · a tool page (completeness & freshness)
Tool similarity, related tools and the Tool Map
[edit]Live: Tool Map · a tool page (related tools + ego-graph) A discovery layer computed from existing metadata. No schema change. This is a early version, I have a lot of improvements to add, but I love graph based navigations for those topics. (Phab: T379401)
- Related tools on every tool page: nearest neighbors by IDF-weighted similarity over tasks, keywords, wikis, audiences and tool type, each chip explaining why two tools are related.
- Tool Map (
/graph): a force-directed map of the catalog. Nodes are tools positioned by similarity, edges connect nearest neighbors, and colors are clusters detected from the graph and labeled by their dominant keyword. Tools matching your fit-context are haloed. Hover highlights a neighborhood; clicking opens the quick-view. - Per-tool "Neighborhood" ego-graph on tool pages — the visual companion to the textual "Related tools".
Author pages
[edit]Live: example author page
- Author names on tool pages are now links to the author's Wikimedia profile, and to an in-app "tools by author" page (
/by/<name>) listing everything a person is credited on. Answers the very common "I remember a tool by what's-their-name…" need. (Phab: T322002, T302110)
Light / Dark theme switcher
[edit]Live: home (toggle at the far right of the header)
- A segmented Light/Dark toggle in the header. System is the default while nothing is stored (it follows the OS preference live); an explicit choice is persisted in
localStorage. An inline script applies the theme before first paint, so there is no flash. (Phab: T415855)- future evolution could be to store that at user profile level, but LocalStorage can do the trick for a long time.
System / Light / Dark theme switcher
[edit]- A segmented System / Light / Dark toggle in the header (monitor / sun / moon). System is the default and follows the OSnpreference live; a Light or Dark choice is persisted in
localStorage. An inline script applies the resolved theme before first paint, so there is no flash. (Phab: T415855)
Richer descriptions and discovery
[edit]- CommonMark in tool descriptions: a safe markdown subset (escape-first, link URLs validated, no executable links) rendered on the tool page and quick-view. (Phab: T276295)
- Live: a tool page
- "Most complete" search sort: rank results by listing completeness. (Phab: T333070). I did that also to push maintainers to properly document their tools.
- Live: /search?sort=complete
- Deprecated / Experimental filters: a client-side Status filter in search. (Phab: T277324, T277325). Future evolution would be to have a richer lifecycle tool management, but this would need more backend work.
- Duplicate suggestions on tool creation: the create form surfaces likely-existing tools as you type, to discourage duplicates. (Phab: T324717). Once graph will be stronger/more mature, we could use that to help identify duplicates or tools that could merged.
- Live: /tools/create (turn on prospective features)
- Recent-changes filter: a URL-persisted filter on the Recent Changes feed. (Phab: T325333)
- Live: /recent
Improvements
[edit]Design system
[edit]On all my projects I try to enforce strict Design System usage to make it easier to maintain, evolve and catch drift.
- Atomic-Design architecture: the SPA is reorganized into layered ES modules (
core / atoms / molecules / organisms / views) with a strict no-upward-imports rule, and the CSS split into tokenized layer files. - Living style guide (
/styleguide): a complete, audited catalog of every UI element (10 sections, 80+ examples): tokens, buttons, icons, atoms, molecules, organisms, chrome, layout/states, content components, activity/parity. (/styleguide) - Squared, flat visual language: all rounded corners removed (radius tokens = 0), corner-bracket tool cards, flatter hierarchy.
- Native Wikimedia/Codex system fonts: no web font is downloaded (faster, privacy-respecting, on-brand); no Google Fonts.
- Unified buttons & controls: ~14 ad-hoc button styles collapsed into one token-driven foundation (
button()/iconButton()atoms; primary / outline / subtle / danger variants). - One vertical sizing scale: buttons and inputs/selects share a single control-height scale, so controls in a row finally line up.
- Fully tokenized: colors, type, spacing, radii and control/avatar sizes all come from tokens; no hard-coded hex or stray pixel values.
- Expanded frontend / API documentation: the in-app API docs page was fleshed out for code-generation and API users. (Phab:T297188, T274679,T306235)
Catalog & search
[edit]I didn't spend much time on Search so far and focus on implementing the related Phab tasks:
- Search result page-size controls and a "showing X–Y of N" count. (Phab: T306538, T325712)
- Responsive navigation and a mobile nav. (Phab: T306242)
- Live homepage "intent" filtering: browse by who a tool is made for or what it's for.
- More tool metadata surfaced: Wikidata ID (linked to wikidata.org), coding languages (Phab: T299155), subtitle, sponsor, replaced-by as a link (Phab: T330471), and the additional documentation links (user/developer docs, bug tracker, feedback, translate, source, API).
- Author search via the real API: author pages now use Toolhub's
authorsearch facet. (Phab: T322002)
Accessibility
[edit]I'll be doing more A11y and I would love insights on that ground. I tried to avoid color only signals etc, but I'm sure I've been missing obvious things.
- Card grids use proper list semantics; the crawler/audit tables have captions and scoped headers.
- Accessible form guidance and inline field help. (Phab: T320697)
prefers-reduced-motionrespected across the interface, including the Tool Map (it renders a settled static layout instead of animating). (Phab: T322625)- Mobile click animations suppressed while scrolling. (Phab: T322626)
- Consistent focus-visible outlines and keyboard support for the quick-view.
Under the hood
[edit]- Read-only API proxy — a small Flask service serves the static SPA and reverse-proxies read-only
GET /api/*totoolhub.wikimedia.org(a CORS work-around); deployed as a Toolforge Python web service. - Live-only, no snapshot — the bundled data snapshot was dropped; all read views are wired to the live API with a small SWR in-memory cache.
- DRY core — shared primitives (
memoizeAsync,paginate, fit-ranking and endorsement helpers, string/normalize utilities) replace repeated boilerplate across modules. - SOLID principles
- LLM generated code — the code has been generated through agentic development with hard constraints and forcing strict rules and principles.
Tracked work (Phabricator-mirrored issues)
[edit]The GitHub issues mirror Phabricator tasks, split by lane-a / frontend-only and lane-b / backend-needed. Every lane-a item has been implemented and annotated with an implementation-status note and commit links. Lane-b items that could be prototyped frontend-first (author links, endorsement, screenshots-as-mockup, duplicate hints, status filters, …) were prototyped and clearly marked "needs backend for production".
A good part of thing that remains open is back-end work and is deliberately deferred for a later phase:
- Writes & identity: claim/own tools, edit-and-persist, delete, collaborative lists, save-failure recovery, undo.
- Moderation: patrolling UI, autopatrol rights, oversight display, notifications/watch.
- Repository-derived data: last commit, active contributors, version-control info.
- Server-side search: real facets/counts for deprecated/experimental/technology_used, ranking.
- Data model & ops: toolinfo JSON Schema, validation, duplicate handling, multilingual fields, datasources, gadget/user-script ingestion, TWN translations, automated tools screenshots, etc.