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

[P4-317] Store listing state #177

Merged
merged 2 commits into from
Aug 6, 2019
Merged

[P4-317] Store listing state #177

merged 2 commits into from
Aug 6, 2019

Conversation

teneightfive
Copy link
Contributor

Currently the link back to the dashboard will go back to a non-filtered view.

If a user changes the date and navigates to a move the current date will be lost and they will return to the default dashboard view for "today" on clicking the back to dashboard link.

This change will persist the current filter so that it can be used to go back to the correctly filtered version of the dashboard.

@teneightfive teneightfive added the wip Still being worked on label Aug 5, 2019
@teneightfive teneightfive self-assigned this Aug 5, 2019
@teneightfive teneightfive removed the wip Still being worked on label Aug 5, 2019
@teneightfive teneightfive changed the title [P4-317] Store listing state [P4-317] [P4-503] Store listing state Aug 5, 2019
@teneightfive teneightfive changed the title [P4-317] [P4-503] Store listing state [P4-317] Store listing state Aug 5, 2019
@teneightfive teneightfive force-pushed the store-listing-state branch 2 times, most recently from a588c61 to 89bb2de Compare August 5, 2019 17:40
app/move/views/view.njk Outdated Show resolved Hide resolved
This change stores the moves filter so that it can be used in other
parts of the app to correctly redirect the user.
This uses the stored moves search query to redirect the user back
to the correct version of the dashboard they were previously on.
@codeclimate
Copy link

codeclimate bot commented Aug 6, 2019

Code Climate has analyzed commit ab1181f and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 98.2% (0.0% change).

View more on Code Climate.

@teneightfive teneightfive merged commit 4154fda into master Aug 6, 2019
@teneightfive teneightfive deleted the store-listing-state branch August 6, 2019 15:28
@teneightfive teneightfive mentioned this pull request Aug 6, 2019
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants