lakesare / memcode

Spaced-repetition: with real formatting.
http://memcode.com
MIT License
335 stars 72 forks source link

Add separate link to each flashcard, and make them SEO-friendly #39

Open kgashok opened 4 years ago

kgashok commented 4 years ago

I found this on the TRELLO board. This would be great to have.

lakesare commented 4 years ago

👍Agreed, Memcode is quite googlable, but people will leave easily if they can't see the flashcard right away. Also it's nice to be able to send a link to someone.

kgashok commented 4 years ago

What is a good place to research about a solution for this?

lakesare commented 4 years ago

SEO is an open question (how to make google go directly to the desired flashcard?), this should be researched.

But about linking to the particular flashcard - we should add the 'Copy Link' button next to each flashcard (UI is a difficult question here, for me at least). This would be the link in the form of www.memcode.com/courses/168#3 (by .index rather than .id, so that url is easier on the eyes). Whenever www.memcode.com/courses/168#3 is loaded, on componentDidMount() page scrolls to that flashcard, and it's temporarily highlighted (see https://stackoverflow.com/a/60917100/3192470 as an example of such highlighting).