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

replace URL query string on changes to search field #1578

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

srabraham
Copy link
Member

This makes bookmarking a lot more intuitive, since the URL will always reflect the current state of the search field. This approach works on the client-side to replace that URL, using pushState.

After this, I plan to create query params for the other filters on the Incidents and Field Reports pages, then add those values to this updated URL as well.

#1570

This makes bookmarking a lot more intuitive, since the URL
will always reflect the current state of the search field.
This approach works on the client-side to replace that URL,
using pushState.

After this, I plan to create query params for the other filters
on the Incidents and Field Reports pages, then add those values
to this updated URL as well.

#1570
@srabraham srabraham enabled auto-merge (squash) February 5, 2025 13:23
@srabraham srabraham merged commit 9ff1c91 into master Feb 5, 2025
11 checks passed
@srabraham srabraham deleted the srabraham-2025-01-31-search-re branch February 5, 2025 13:30
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.98%. Comparing base (4ea7a48) to head (76a1d05).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1578      +/-   ##
==========================================
+ Coverage   69.96%   69.98%   +0.02%     
==========================================
  Files         186      186              
  Lines        9235     9235              
  Branches     1492     1492              
==========================================
+ Hits         6461     6463       +2     
+ Misses       2661     2660       -1     
+ Partials      113      112       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant