Added loading/savior behaviour + buttons #24
Reference in New Issue
Block a user
Delete Branch "feat/save-load-nodes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This branche contains loading and saving behaviour and their buttons in the UI.
The program is saved locally.
For review please check:
note: the last check is because Firefox and Safari do not support the File System Access API, so the fallback file-input method is used.
ref: N25B-189
assigned to @8464960
requested review from @0950726
added 1 commit
381fdaca- fix: re-render TextField when input changes from parentCompare with previous version
I made a small commit to fix the TextField component. It didn't update when the input changed from a parent. While your functionality works (it changes the underlying data), it didn't show the updated data.
Thought I'd fixed this before, but that might've been in a demo branch that was not merged.
Avoid these direct DOM manipulations in React. This could be a component instead.
npx Eslint has not been done yet
left review comments
added 3 commits
dev3bcc865d- build: merge devCompare with previous version
If this is completed I accept the merge, saving and loading works splendidly
changed this line in version 4 of the diff
added 1 commit
413fb05c- chore: applied feedback from merge requestCompare with previous version
resolved all threads
added 11 commits
deve9ea0fb3- Merge remote-tracking branch 'origin/dev' into feat/save-load-nodesCompare with previous version
Your changes use React as it's meant to be used, nice!
We can simplify it a bit, getting rid of the complicated
resolverRefby using a clickablelabelaround theinputelement instead of the separatebutton.I've implemented that in branch
feat/save-load-nodes-direct, could you check it out and merge it into this branch if you agree?left review comments
added 1 commit
1bfcfc04- feat: use input element directlyCompare with previous version
approved this merge request
added 5 commits
dev501f56e0- chore: solve merge conflicts with devCompare with previous version
marked the checklist item In the UI "Editor", create any program with some random nodes, save them and load them after. Check if it functions as expected. as completed
marked the checklist item Check if it is in line with the UI refactor as completed
marked the checklist item Preferably check on multiple browswer (firefox or safari) + any other browser (e.g. Chrome) as completed
marked the checklist item Preferably check on multiple browswer (firefox or safari) + any other browser (e.g. Chrome) as incomplete
marked the checklist item Preferably check on multiple browswer (firefox or safari) + any other browser (e.g. Chrome) as completed
approved this merge request
mentioned in commit
647ea1979a