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
  • #1041
Closed
Open
Issue created Apr 13, 2020 by Administrator@rootContributor

Add info icon and tooltip next to statename in table IF a note needs to be shown

Created by: sudevschiz

Is your feature request related to a problem? Please describe. When a remark needs to be made regarding a state's number in the main table, it's currently added to the "About (FAQ)" page. Instead of that, it should be a ℹ️ icon, which on tap/hover pops up a tool-tip.

Describe the solution you'd like

  1. Fetch the statenotes field now available in the statewise object for each state at https://api.covid19india.org/data.json
image
  1. Show an info icon ℹ️ next to the statenames IF there is a valid non-empty string for statenotes
  2. Show the text as tooltip

Describe alternatives you've considered Currently we show the info message in FAQ for WB. This is not very useful, now that we have lot more caveats to display.

Additional context

  1. Data volunteers can update the Statewise sheet to update the notes.
  2. Maybe an empty string check might be useful, to avoid just a space in the statenotes to cause a ℹ️ to show up.
Assignee
Assign to
Time tracking