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

Additional datafile filters #3108

Closed
7 of 10 tasks
ADPennington opened this issue Jul 25, 2024 · 1 comment · Fixed by #3204
Closed
7 of 10 tasks

Additional datafile filters #3108

ADPennington opened this issue Jul 25, 2024 · 1 comment · Fixed by #3204
Assignees
Labels
DAC Django Admin Console dev P4 Needed / Important, Not Critical Yet Refined Ticket has been refined at the backlog refinement

Comments

@ADPennington
Copy link
Collaborator

ADPennington commented Jul 25, 2024

Description:
To further specify which files need to be re-parsed, sys admins need more granular control.

Acceptance Criteria:
Create a list of functional outcomes that must be achieved to complete this issue

  • Datafiles DAC page has granular options for narrowing/expanding datafile search per Notes
  • Testing Checklist has been run and all tests pass
  • README is updated, if necessary

Tasks:

  • Enable stacking/OR-ing of multiple filters of same type (e.g., I want all datafiles from Florida or Georgia in my query) Implemented via multi-select Integrate multi-select filtering with Django 508 query string mechanism #3183
  • New Datafile filter for type (state, tribe, territory)
  • New Datafile filter for region -- likely same cross-link of datafile and STT objects as above
  • New Datafile filter for "latest" -- must be combined with other filter(s). We don't want to re-parse v1,v2,...,v35 of a file so the latest filter would be after the other filters return a queryset of datafiles, only cherry-pick the highest version of each.
  • New Datafile filter for program type (we currently have section (SSP Active))
  • New Datafile filter for section (piggybacks on above task)
  • Run Testing Checklist and confirm all tests pass

Notes:

  • Current filtering is "AND" logic which will provide a non-intuitive interface. The first task for stacking/OR-ing conditions is paramount to success.

  • _Requested filters:

    • file id (e.g. 2053, lst)
    • STT (e.g. Alabama, lst)
    • STT type (e.g. tribe, lst)
    • region ( i.e. a set of STTs in a particular region)
    • program type (e.g. TANF)
    • most recent file version (e.g. latest)
    • processing status (e.g. pending)
    • section (e.g. Active Case Data)

Supporting Documentation:

Open Questions:

  • how best to handle the scenario where parameters passed are in conflict (e.g. STT type = tribal and region = 1 (has no tribes)?
@ADPennington ADPennington mentioned this issue Jul 25, 2024
32 tasks
@robgendron robgendron added P4 Needed / Important, Not Critical Yet WIP labels Jul 30, 2024
@andrew-jameson andrew-jameson changed the title [Re-parse command] Additional command options Additional datafile re-parsing filter options Aug 5, 2024
@andrew-jameson andrew-jameson changed the title Additional datafile re-parsing filter options Additional datafile filter options Aug 9, 2024
@andrew-jameson andrew-jameson removed their assignment Aug 9, 2024
@andrew-jameson andrew-jameson added DAC Django Admin Console and removed WIP labels Aug 9, 2024
@andrew-jameson andrew-jameson changed the title Additional datafile filter options Additional datafile filters Aug 9, 2024
@andrew-jameson
Copy link
Collaborator

'Latest' being implemented in #3139

@andrew-jameson andrew-jameson added the Refined Ticket has been refined at the backlog refinement label Sep 24, 2024
@elipe17 elipe17 self-assigned this Sep 27, 2024
@elipe17 elipe17 mentioned this issue Sep 27, 2024
33 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DAC Django Admin Console dev P4 Needed / Important, Not Critical Yet Refined Ticket has been refined at the backlog refinement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants