Skip to content

BRD - add filters and paging to affiliations request #26049

Closed

Description

@severinbeauvais
  • add existing filters (business name partial match, number partial patch, type, status) to affiliations request
  • add pagination to table component
  • add pagination to affiliations request (NB: there are a couple of ways to specify paging; check existing APIs for examples) (maybe 100 items at a time by default, with options for 50, 500, 1000?)
  • re-fetch affiliations when user changes filters or pagination options
  • use a FF to disable re-fetches until the BE changes are implemented; this will prevent bad UX to users until the fetches return quickly
  • consider using a FF to disable paging until the API supports it (may not be needed)

Example URL parameters for filtering and paging:
https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/admin/reviews?startDate=&endDate=&nrNumber=&identifier=&contactEmail=&status=AWAITING_REVIEW&status=CHANGE_REQUESTED&status=RESUBMITTED&sortBy=submissionDate&sortDesc=false&page=2&limit=5

Design: https://www.figma.com/design/6MBqd7QAijpl6OXLvLXmos/Errors?node-id=89-71

Activity

  1. added
    Entities Team
    on Feb 19, 2025
  2. changed the title [-]BRD - add filters and paging[/-] [+]BRD - add filters and paging to affiliations request[/+] on Feb 19, 2025
  3. severinbeauvais commented on Feb 25, 2025

    @severinbeauvais
    CollaboratorAuthor

    @JazzarKarim Who do you recommend work should on this ticket?

  4. JazzarKarim commented on Feb 25, 2025

    @JazzarKarim
    Collaborator

    @JazzarKarim Who do you recommend work should on this ticket?

    I could grab it myself otherwise not sure who would I recommend. If not me, somebody from our team who has done some work in the FE should be OK as well.

  5. self-assigned this
    on Feb 25, 2025
  6. severinbeauvais commented on Feb 25, 2025

    @severinbeauvais
    CollaboratorAuthor

    Just a quick note: the current filters "local" functionality will have to be disabled as the API will now do it. Maybe this should FFed as well to retain current functionality until the API supports it.

  7. added
    UX
    on Feb 28, 2025
  8. severinbeauvais commented on Mar 10, 2025

    @severinbeauvais
    CollaboratorAuthor

    NOTE: although this ticket is dependent on #26087 to function, this ticket can be implemented first as long as:

    • the existing functionality is not broken (eg, filtering)
    • the not-yet-functional table paging controls do not confuse the user

    One approach is to implement this ticket but not merge it yet. Another approach might be to have both old and new functionality, with a toggle (like a FF).

  9. JazzarKarim commented on Mar 17, 2025

    @JazzarKarim
    Collaborator

    I updated the estimate. This is a bit tricky especially since BE work hasn't been done yet. It's kind of going in the dark but still doable. I also need to make sure not to break any existing functionalities.

  10. JazzarKarim commented on Mar 24, 2025

    @JazzarKarim
    Collaborator

    QA Notes

    Riyaz, the feature flags are off across all environments because the backend work is not done. If you can, for this ticket, please just verify that existing/old functionality is not broken. Thanks! @riyazuddinsyed

  11. assigned and unassigned on Mar 31, 2025
  12. removed
    UX
    on Apr 1, 2025
  13. riyazuddinsyed commented on Apr 17, 2025

    @riyazuddinsyed
    Contributor

    The ticket is blocked on the BE work cant be tested

  14. JazzarKarim commented on Apr 17, 2025

    @JazzarKarim
    Collaborator

    @riyazuddinsyed I suggest we move this to done or it will linger in the sprint backlog for a while. If you want, we can flip the feature flags for a bit and see that the right calls are being made to the BE. @severinbeauvais Sev, what do you think?

  15. severinbeauvais commented on Apr 17, 2025

    @severinbeauvais
    CollaboratorAuthor

    I'm OK with your suggestion, Karim. Riyaz, let me know when you want both FFs flipped, in Test, so you can see the updated API calls.

  16. JazzarKarim commented on Apr 17, 2025

    @JazzarKarim
    Collaborator

    Moved the ticket back to QA and FFs are temporarily on for Riyaz to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities TeamUX Assuranceblocked

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions