Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Update shared Data Table UI component #179

Closed
acharliekelly opened this issue Oct 7, 2021 · 1 comment
Closed

[FEATURE] Update shared Data Table UI component #179

acharliekelly opened this issue Oct 7, 2021 · 1 comment
Assignees
Labels
Draft Requirement isn't finalized. Need more discussion. frontend refactor

Comments

@acharliekelly
Copy link
Collaborator

acharliekelly commented Oct 7, 2021

There are at least 5 different UI components that display data in tables:

  • Main Dashboard Search Results table - FIGMA
    search-results-header
  • Officer Record: Incidents table FIGMA
    officer-record-incidents-table
  • Profile: Saved Results - FIGMA
    saved-results-data-table
  • Profile: Saved Searches - FIGMA
    saved-searches-table
  • Admin: Users table - FIGMA
    admin-user-table

The shared-components/data-table component should ideally be reuseable to work in each situation.

Requirements:

  • should inherit colors from parent, since backgrounds are different
  • accept parameters for react-table component (see docs)
  • accept data from API or mock
  • pagination
  • record count
  • Header:
    • sortable
    • filterable
    • some column headings require info-tooltip buttons to explain data
  • Body:
    • Button to show full record; different tables use different button icons
@acharliekelly acharliekelly added this to the Results table function milestone Oct 7, 2021
@acharliekelly acharliekelly added this to To do in National Police Data Collaborative MVP via automation Oct 7, 2021
@acharliekelly acharliekelly self-assigned this Oct 11, 2021
@acharliekelly acharliekelly added the Draft Requirement isn't finalized. Need more discussion. label Oct 13, 2021
@acharliekelly acharliekelly removed this from the UI Results End Components milestone Oct 13, 2021
@acharliekelly
Copy link
Collaborator Author

Not important right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Draft Requirement isn't finalized. Need more discussion. frontend refactor
Projects
None yet
Development

No branches or pull requests

4 participants