Conversation
RichDom2185
left a comment
There was a problem hiding this comment.
Please rerun yarn format and also fix all the remaining issues.
src/routes/routerConfig.tsx
Outdated
| { | ||
| path: 'playground/share/:uuid?', | ||
| lazy: Playground | ||
| }, |
There was a problem hiding this comment.
I thought the new share link generation will be for Source Academy @ NUS only? Why is it instead only in the public deployment route (and not for SA @ NUS)? @chownces can you confirm? I may not have the latest information from the meetings.
There was a problem hiding this comment.
Agree. Let's shift this to a 'with-backend' only router.
…demy/frontend into shared-links-frontend
RichDom2185
left a comment
There was a problem hiding this comment.
Please run your lint checks locally and format the files before pushing.
I've reverted all the changes to the lockfile and TypeScript language config, as well as fixed the format errors but there are still warnings and unfixable errors. Please fix all of them, thanks!
RichDom2185
left a comment
There was a problem hiding this comment.
Hi, thanks for working on this. However, after doing a quick run-through, as it stands, this can't be merged due to numerous bugs and just code quality issues overall.
Could you improve them? Thanks a lot!
RichDom2185
left a comment
There was a problem hiding this comment.
Thanks a lot for working on refactoring the code! Can I check is this PR ready? If it's not, please mark it as draft again, thanks!
|
This PR has a failing test suite now: |
src/routes/routerConfig.tsx
Outdated
| { | ||
| path: 'playground/share/:uuid?', | ||
| lazy: Playground | ||
| }, |
There was a problem hiding this comment.
Agree. Let's shift this to a 'with-backend' only router.
|
See #2937 |
* Refactor ControlBarShareButton to functional react * Update hotkeys implementation * Re-add playground configuration encoder * Migrate external URL shortener request out of sagas * Implement retrieval of playground configuration from backend UUID and reinstate configuration by hash parameters * Update test suite * Mock BrowserFS in nodejs test environment * Fix mock file error * Update hotkeys binding * Update usage of uuid decoder * Update tests
…nto shared-links-frontend
…nto shared-links-frontend
…nto shared-links-frontend
…nto shared-links-frontend
|
Closing this PR as suggested by @Rachelcoll . |



Description
Type of change
How to test
Checklist
Update on 4.12
Things still need to improve:
Personal thoughts to oop: