Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/create-remote-Board-on-update-LoadBoards #1703

Merged

Conversation

tomivm
Copy link
Collaborator

@tomivm tomivm commented May 28, 2024

Close #1690
Posting every default board that uses a newly created API board id as loadBoard. To avoid losing boards between devices and logouts.
This ensures navigations between folders are using the loadBoard IDs and avoids navigating comparing the folder label and the Board Names. See https://github.com/tomivm/cboard/blob/d9943f82c3da4bb7e45f9c821588bebfe0b1569e/src/components/Board/Board.container.js#L888
This refactors pieces of two of our main functions. Please do a strong test.
Check how boards are updated and created.
Take care that the data on the Redux store and the data on the DB should be equal. Also, check if all the loadBoards IDs that should point to a remote board are correctly updated on our DB and in the local storage.

@tomivm tomivm self-assigned this May 28, 2024
@tomivm tomivm added the bug label May 28, 2024
src/components/Board/Board.actions.js Show resolved Hide resolved
src/components/Board/Board.actions.js Outdated Show resolved Hide resolved
src/components/Board/Board.constants.js Outdated Show resolved Hide resolved
src/components/Board/Board.container.js Outdated Show resolved Hide resolved
@tomivm tomivm merged commit 92aac1a into cboard-org:master Jul 3, 2024
5 checks passed
@tomivm tomivm deleted the fix/create-remote-Board-on-update-LoadBoards branch July 4, 2024 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Root board updated just on local state
2 participants