Skip to content

Legal API: provide "last changed timestamp" for UI polling #24195

Closed

Description

@severinbeauvais

This ticket requests a fast/light API endpoint that the UI will poll to see if any business data (eg, tasks, filings or business state) has changed. The endpoint only needs to return a timestamp. The UI will retain the previous timestamp for comparison and to determine if it needs to refresh itself.

See UI ticket: #23968.

Activity

  1. added
    Entities Team
    on Nov 1, 2024
  2. severinbeauvais commented on Nov 5, 2024

    @severinbeauvais
    CollaboratorAuthor
  3. vikas-gov commented on Nov 7, 2024

    @vikas-gov
    Collaborator

    @OlgaPotiagalova to review with Melissa (btr)

  4. added
    BTR
    on Nov 13, 2024
  5. severinbeauvais commented on Nov 13, 2024

    @severinbeauvais
    CollaboratorAuthor

    @mstanton1 This ticket describes one possible design for keeping the dashboard up to date. (See also UI ticket #23968.) However, if your team has a better design for this then you're welcome to implement that (and please keep Entities Team in the loop). Thanks.

  6. added
    enhancement
    on Nov 13, 2024
  7. mstanton1 commented on Nov 13, 2024

    @mstanton1
    Collaborator

    Given the entities dashboard currently functions without this, and we have a tight timeline for launch, this will need to be tackled post MVP. My team will review further but is concerned with polling as an approach so will look into web sockets or GRPC. We will dive into this further in an upcoming grooming session and circle back with a solution before build.

  8. severinbeauvais commented on Nov 13, 2024

    @severinbeauvais
    CollaboratorAuthor

    Yes, the entity dashboard currently functions, but we have several tickets identifying problems such as:

    The above should inform the priority of this fix. @OlgaPotiagalova @mstanton1

    PS - I support looking into alternatives to polling!

  9. severinbeauvais commented on Nov 14, 2024

    @severinbeauvais
    CollaboratorAuthor
  10. mstanton1 commented on Dec 12, 2024

    @mstanton1
    Collaborator

    @OlgaPotiagalova our team has completed review and will not have capacity to perform this by launch. Comments are in #23968.

  11. added and removed
    BTR
    on Dec 13, 2024
  12. severinbeauvais commented on Jan 2, 2025

    @severinbeauvais
    CollaboratorAuthor

    @vysakh-menon-aot Should this ticket be in Review or QA pipeline?

  13. severinbeauvais commented on Jan 2, 2025

    @severinbeauvais
    CollaboratorAuthor

    A new endpoint that reports the latest change on a business was not implemented. Instead, a simpler solution was implemented on an existing endpoint that handles probably 95% of the cases -- see comments in #24950 explaining this.

    Therefore, this ticket remains "not worked on".

  14. vysakh-menon-aot commented on Jan 2, 2025

    @vysakh-menon-aot
    Contributor

    UI will use the current business endpoint with argument ?slim=true which will provide the lastModified date. The lastModified date get updated every time a filing is processed by entity-filer

  15. severinbeauvais commented on Jan 7, 2025

    @severinbeauvais
    CollaboratorAuthor

    This was blocked on design at one point, but is not currently blocked, so I've removed the label.

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

Metadata

Metadata

Labels

Entities Teamenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions