-
Notifications
You must be signed in to change notification settings - Fork 31
hide edit button in summery 2 #3905
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
base: main
Are you sure you want to change the base?
hide edit button in summery 2 #3905
The head ref may contain hidden characters: "16422-endre-knapp-vises-i-summary2-p\u00E5-en-ikke-redigerbar-repeterende-gruppe"
Conversation
📝 WalkthroughWalkthroughPer-row control was added for the repeating-group Summary2 Edit button: the component computes row-specific edit state and can hide the Edit button per-row via Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
olemartinorg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 🙌
|
@JamalAlabdullah Maybe you should backport this? Since this is a bugfix, we can backport it and release it in a patch-release. Just switch to the backport label and it will be done mostly automatically. |
…e-redigerbar-repeterende-gruppe
|
@JamalAlabdullah noen tester feiler, kan du se på de? |
|
Tror disse testene løser seg selv hvis du merger fra main en gang, @JamalAlabdullah - det er en del som har blitt fikset der nå. |
lassopicasso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jeg har testet den, ser bra ut. Edit knappen vises ikke i tabellen hvis man setter editButton: false. Men skal denne knappen også skjules hvis repeterende gruppe vises som gruppe i oppsummeringen? Den gjør den ikke nå.
La forresten merke til at skillelinjene ikke tar full bredde når edit-knapp ikke er tilstede. Er dette ønskelig?
…summary2-på-en-ikke-redigerbar-repeterende-gruppe
|
lassopicasso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if we need this also? i just followed the description in the issue , I fixed the dividing lines width.
Perhaps it is not necessary, do you have any thoughts about it @olemartinorg ? I approve this.
|
Hmm, I tested this now, and there are a lot of edit buttons showing up in On the flip side, even if you turn In the older Summary component we have the TL;DR: When thinking about it more, this is probably more complex than it seemed at first glance. The current fix might even break some configurations. @JamalAlabdullah I can take a look at this one for you, if you want! |





Description
closes: #16422
Changes:
Test:
Add this to RepeatingGroup in json file.
Related Issue(s)
Verification/QA
kind/*andbackport*label to this PR for proper release notes groupingSummary by CodeRabbit
New Features
Tests
✏️ Tip: You can customize this high-level summary in your review settings.