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

[UST-265] [Frontend] Keep query results on history record page #547

Open
chentihe opened this issue Oct 15, 2024 · 0 comments
Open

[UST-265] [Frontend] Keep query results on history record page #547

chentihe opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working open to all the issues that is open to all contributors

Comments

@chentihe
Copy link
Collaborator

chentihe commented Oct 15, 2024

Describe the bug

When a user views a record on the query history page and then returns to the query history page, the original query results disappear, requiring the user to reset the query conditions. The query history page should retain the user's previous query results.

Expected behavior

  • Store the filters value into the search params of the url

  • The filters in /profile/history are:

    • type: Value could be ‘post’, ‘comment’, ‘vote’
    • start_date: Timestamp of the start date
    • end_date: Timestamp of the end date
  • The filter in profile/reputation are:

    • start_date: Timestamp of the start date
    • end_date: Timestamp of the end date
  • The example url would be

    • /profile/history/?type=post&start_end=0&end_date=100
  • Story Point: 3

  • Reporter: @Xiawpohr

@github-actions github-actions bot added the bug Something isn't working label Oct 15, 2024
@cc03668 cc03668 added the open to all the issues that is open to all contributors label Oct 24, 2024
@cc03668 cc03668 changed the title [UST-265] Keep query results on history record page [UST-265] [Frontend] Keep query results on history record page Oct 24, 2024
@Xiawpohr Xiawpohr self-assigned this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working open to all the issues that is open to all contributors
Projects
None yet
Development

No branches or pull requests

3 participants