Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • ddd ddd
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar

🚧 Under Construction! Runners available in /repos; issues & wikis disabled. Questions? Ask in #wikimedia-gitlab, or under GitLab on Phabricator. Request project space here.

  • repos
  • releng
  • dddddd
  • Merge requests
  • !9

Merged
Created Dec 02, 2021 by 20after4@twentyafterfour☮Maintainer

Implement dashboards as web components

  • Overview 3
  • Commits 15
  • Changes 154

/-/ddd/dashboard/* is now a collection of web components in typescript.

www/static/DashboardApp.ts is the entry point and the main controller of the dashboard UI. The other major parts are:

  • the chart widget is in vega-tonic.ts
  • the search form / filter interface is in filter-input.ts

Other significant changes:

  • Move charts to separate yaml files and queries to separate sql files -- Instead of everything in one big yaml file --- move the definition of each chart into www/templates/views/charts/*.yaml --- "canned queries" are now in www/sql/*.sql --- Dashboards and tabs are still defined in www/metadata.yaml

Plus some other smaller fixes:

  • Make phid links work with base_url in datasette
  • fixup ci & deployment issues in .gitlab-ci.yaml
  • Fix the metrics mapper cli tool to properly handle cursors. Now it can automatically resume importing at the point where the previous run left off.
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: jsify