memcode icon indicating copy to clipboard operation
memcode copied to clipboard

Allow linking to search results

Open daniel-eder opened this issue 2 years ago • 3 comments

I have not yet looked into how the search currently works, but it would be great to be able to add a search query to the URL and thus link users to search results. This could be used to e.g. give (potential) new memcode users a quick overview of the available topics with one click.

I think this feature needs two parts:

  • [ ] URL query parameters such as e.g. https://www.memcode.com/courses?query=java+for+beginners
  • [ ] A way to easily generate the query url - maybe the URL could update when enter is pressed in the search field, or even live using window.history.replaceState (not sure if react router can replace state without a reload)

daniel-eder avatar Mar 02 '22 08:03 daniel-eder

I agree, we got to have it, the way we already have /courses?categoryId=3&page=2.

lakesare avatar Mar 02 '22 08:03 lakesare

I think the new profile page achieves some of that functionality, e.g. now you can refer people to all of your English courses (memcode.com/users/1?categoryId=15). Still a todo though!

lakesare avatar Jun 19 '22 21:06 lakesare

Price assignment (re: memcode#requesting-a-feature)

Urls for search + search by author name: $30

lakesare avatar May 20 '23 06:05 lakesare