Description
Currently, the application uses React state to manage the selected language and other filters. This works well for a single user session, but it makes it difficult to share a specific state of the application with others. For example, if I filter the issues by a specific language and want to share this view with a colleague, there's no easy way to do that.
My suggestion is to reflect the application state in the URL using query parameters. This way, when a user selects a language or applies other filters, the URL will update to include these selections. Then, this URL can be shared with others who will see the exact same state when they open the link.
For instance, if a user has selected βJavaScriptβ as the language and is on page 2, the URL would look something like this: https://easy-fix.vercel.app/?language=javascript&page=2
. This makes it easy to share a specific view of the site, as all the selected values are included in the URL.
This can be achieved using React Router or without react router (by using window.history but this will not be clean as router approach).
This approach is often used in web applications to make them more user-friendly and shareable. I believe it would be a valuable here.
Screenshots
No response
β¨ Browser
Google Chrome
Checklist π