-
Notifications
You must be signed in to change notification settings - Fork 109
fix(PreviewOptions): set active radio button on open #7750
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
Conversation
Codecov Reportโ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7750 +/- ##
==========================================
+ Coverage 59.27% 59.98% +0.70%
==========================================
Files 504 312 -192
Lines 39233 38372 -861
Branches 1137 945 -192
==========================================
- Hits 23257 23019 -238
+ Misses 15868 15245 -623
Partials 108 108 โ View full report in Codecov by Sentry. ๐ New features to boost your workflow:
|
|
@janbaum Thanks a lot for your PR! The linter is unhappy. I think the message is self explanatory: Could you try and fix this? After fixing you can confirm with Feel free to amend the existing commit ( update: Just noticed that the error is maybe not so self-explanatory. So I will elaborate a bit.
But here The Recommendation is to use |
|
Thanks for the comments @max-nextcloud! We actually struggled with this problem while trying to find a proper fix. But you're right, as documented here, component props in Vue.js must not be mutated inside the component. So since we still have to use Me and @janbaum actually already did this first while working on the problem yesterday, but I didn't like it because it left us with a duplicated data structure. But apparently that's the way to go then, no? @janbaum could you imagine to update the PR accordingly? |
|
@mejo- I think the crucial part of your fix is:
I think you could still achieve both without using I also considered the |
|
@mejo- @max-nextcloud Thank you both for the hints, I'll try :) |
Fixes: nextcloud#7544 Signed-off-by: JanBaum <[email protected]>
89f247c to
f4cfc69
Compare
|
Nice! Confirmed it works. Thanks a lot! โค๏ธ |
|
/backport to stable32 |
|
/backport to stable31 |
|
The backport to # Switch to the target branch and update it
git checkout stable31
git pull origin stable31
# Create the new backport branch
git checkout -b backport/7750/stable31
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick f4cfc694
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/7750/stable31Error: Failed to check for changes with origin/stable31: No changes found in backport branch Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
Tbh I am not sure if its correct what I did :D |
Thanks a lot for giving it a try! mejo already got back to you. If you need further advice feel free to mention me in the new PR. |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |

Fixes: #7544
๐ผ๏ธ Screenshots
๐ Checklist
npm run lint/npm run stylelint/composer run cs:check)