nartc / super-expressive-playground

SuperExpressive Playground
https://sepg.netlify.app
22 stars 5 forks source link

[Improve UX] Automatically select all the output regex and provide the copy shortcut #6

Open danghung1202 opened 4 years ago

danghung1202 commented 4 years ago

Hi @nartc and @trungk18 , thanks for great tool. It helps me a lot however there are some UI/UX which can be improved:

  1. Automatically select all the output regex textbox (for example when user click into this textbox, the text will be automatically select all)

  2. When text be selected all, the copy shortcut will be show for user click

  3. The output regex text should be multi line instead one line so user can see all the express

  4. Should keep the text which user input on editor when refresh browser (F5) (may be store into local storage). It is better if you can keep the application state (input, output text and test string) after F5 or reopen the tab)

Thanks /hung.dang

nartc commented 3 years ago

I'd love to accept a PR for this. Would you like to create one?

danghung1202 commented 3 years ago

Thanks @nartc for suggesting. however I am focusing to release the first version of my CMS. It is created by Angular too. Hope I have a chance soon to introduce my project to Angular Vietnam page