memcode icon indicating copy to clipboard operation
memcode copied to clipboard

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

Open kgashok opened this issue 4 years ago • 3 comments

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

kgashok avatar Mar 27 '20 08:03 kgashok

👍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.

lakesare avatar Mar 27 '20 08:03 lakesare

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

kgashok avatar Mar 29 '20 15:03 kgashok

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).

lakesare avatar Mar 29 '20 16:03 lakesare