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

feat(training): persistence of code modifications #2579

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

matthieu-crouzet
Copy link
Contributor

@matthieu-crouzet matthieu-crouzet commented Dec 11, 2024

Proposed change

Add persistence in localStorage of code modifications in a training step.
When the user refresh or come back on the training on which code modifications were made, we prompt a dialog to ask if he wants to keep the changes or discard them.
image

With this feature we think also to add a Reset or Discard changes button, it will be done in another PR, unless someone think it's a must inside this PR.

@matthieu-crouzet matthieu-crouzet requested a review from a team as a code owner December 11, 2024 07:08
Copy link

nx-cloud bot commented Dec 11, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 94c77f0. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@matthieu-crouzet matthieu-crouzet force-pushed the feat/training-persistence branch 2 times, most recently from 1ca33b0 to bd33426 Compare December 11, 2024 07:34
@fpaul-1A fpaul-1A force-pushed the feat/otter-training-file-navigation branch from 1d63fad to 39fdfea Compare December 11, 2024 14:32
Base automatically changed from feat/otter-training-file-navigation to feat/otter-training December 13, 2024 08:53
@matthieu-crouzet matthieu-crouzet force-pushed the feat/training-persistence branch 3 times, most recently from 57f8c9f to ef2b604 Compare December 13, 2024 09:17
@matthieu-crouzet matthieu-crouzet force-pushed the feat/training-persistence branch from ef2b604 to 2c4e518 Compare December 13, 2024 09:46
@matthieu-crouzet matthieu-crouzet force-pushed the feat/training-persistence branch from 2c4e518 to e2dbba7 Compare December 13, 2024 14:33
cpaulve-1A
cpaulve-1A previously approved these changes Dec 13, 2024
@matthieu-crouzet matthieu-crouzet force-pushed the feat/training-persistence branch 2 times, most recently from 770241f to 3adcbec Compare December 13, 2024 21:01
@matthieu-crouzet matthieu-crouzet dismissed stale reviews from cpaulve-1A and kpanot December 13, 2024 21:02

made changes

@matthieu-crouzet matthieu-crouzet force-pushed the feat/training-persistence branch from 3adcbec to 426abdd Compare December 16, 2024 11:03
@matthieu-crouzet matthieu-crouzet force-pushed the feat/training-persistence branch from 426abdd to 94c77f0 Compare December 16, 2024 13:28
@matthieu-crouzet matthieu-crouzet merged commit 7f58289 into feat/otter-training Dec 16, 2024
2 checks passed
@matthieu-crouzet matthieu-crouzet deleted the feat/training-persistence branch December 16, 2024 17:29
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.

5 participants