-
Notifications
You must be signed in to change notification settings - Fork 39
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
[PM-10915] Ownership does not default to the organization you are in when creating a new item #1333
[PM-10915] Ownership does not default to the organization you are in when creating a new item #1333
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1333 +/- ##
=======================================
Coverage 89.60% 89.61%
=======================================
Files 750 750
Lines 47035 47043 +8
=======================================
+ Hits 42148 42156 +8
Misses 4887 4887 ☔ View full report in Codecov by Sentry. |
Great job, no security vulnerabilities found in this Pull Request |
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.
🤔 Instead of using selectedOrganizationId
I'd use ownerOrganizationId
or even simpler organizationId
.
The reason behind that is that other objects shouldn't need to know that something was selected or which was the operation from which you got the org id value. I think it's more important to state what that value represents for the flow so if in the future this flow is called from another place where the Org id comes from another place e.g. some external request or from the server then we'd need to refactor the name; however by using a simpler name stating what the value represents lowers the chances of needing a refactor for this.
Thoughts?
@fedemkr Thank you for your feedback! |
🎟️ Tracking
PM-10915
📔 Objective
When adding an item after selecting an organization in vault filter, show that organization as owner in the add item view.
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes