frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Shared links frontend

Open Rachelcoll opened this issue 1 year ago • 5 comments

Description

  1. change of shared links routes (/plaground/share/:uuid)'
  2. change shared links generation procedure (check ControllBarShareButton.tsx and Encoder.tsx)
  3. change procedure of accepting and identify shared links (check Playground.tsx and Decoder.tsx)

Type of change

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] This change requires a documentation update
  • [ ] Code quality improvements

How to test

Checklist

  • [x] I have tested this code (all functionality works on my local computer fine, not sure why it cannot pass pre-push hooks check)
  • [ ] I have updated the documentation

Update on 4.12 Things still need to improve:

  1. Cannot find Wrapper function for fetch request
  2. How to fetch frontend url since there's no Constant frontend url
  3. Still fail to pass 4 Playground test

Personal thoughts to oop:

  1. Personally I suggest remove OOP design of Encoder since currently we only need new way to generate url, no need to generate queryString

Rachelcoll avatar Mar 30 '24 04:03 Rachelcoll