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

Feature: Save Queries in Explorer for later reference #1551

Open
cseas opened this issue Apr 14, 2022 · 2 comments
Open

Feature: Save Queries in Explorer for later reference #1551

cseas opened this issue Apr 14, 2022 · 2 comments

Comments

@cseas
Copy link
Contributor

cseas commented Apr 14, 2022

Use Case

I want to be able to save the different queries I frequently search for in the Explorer view. Right now we need to type manually every single time.

Proposal

A button in the Explorer view for saving the current query. User should be able to give the query a label and later be able to browse through the saved queries to quickly switch between different results.

Screenshot 2022-04-14 at 11 03 38 AM

Questions to address (if any)

Developers should be able to decide where they want to save the user's queries: localStorage, session storage or database.

@jaywalker21
Copy link
Contributor

jaywalker21 commented Apr 18, 2022

The idea is to have one more nav item called Saved Queries. On clicking the same, the list of all the saved queries will be shown to the user.
As the user selects one, the user will be navigated to explorer with the filters within the query applied.

For the first development iteration, we would start with saving/reading from localStorage. In future iteration, would move it to an independent database to save user related preferences.

We are also planning to develop this in a feature flag kinda way, so we can dynamically test and try it out without having any repercussions on the application.

@aaron-steinfeld @anandtiwary @itssharmasandeep @arjunlalb Thoughts on this?

@cseas
Copy link
Contributor Author

cseas commented Jul 11, 2022

This feature is implemented in the razorpay fork through these Pull Requests:

We've received positive feedback from the users. The feature has been in prod since June 14, 2022 and seems stable. Do we want to merge it upstream?

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

No branches or pull requests

2 participants