Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C covid19india-react
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • covid19india
  • covid19india-react
  • Issues
  • #1557
Closed
Open
Issue created Apr 26, 2020 by Jeremy@jeremyphilemonContributor

Use TimeSeriesExplorer component in state pages.

Is your feature request related to a problem? Please describe. Currently, home.js adds timeseries by adding the component <TimeSeriesExplorer> which contains the header and controls to operate the timeseries graphs. However, this is not the case in state pages, we're adding <TimeSeries> directly and rewriting the contents of <TimeSeriesExplorer> again over here.

Describe the solution you'd like Use <TimeSeriesExplorer> in state pages as well and handling the input by passing relevant props. You can use css to disable the select dropdown from rendering (similar strategy to how map explorer is re-used in state pages).

Describe alternatives you've considered Open to more suggestions on abstractions if someone can do it elegantly, ideally would want to reduce code duplication.

Assignee
Assign to
Time tracking