-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
fix(nc-gui): hide uncategorized
stack if grouping field is required field
#9934
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
📝 Walkthrough📝 WalkthroughWalkthroughThe pull request introduces enhancements to the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
🔇 Additional comments (3)packages/nc-gui/components/smartsheet/Kanban.vue (3)
The addition of
The computed property is well-named and correctly implements the required field check. The double negation ensures a boolean return value.
The stack visibility logic correctly combines both conditions:
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
test ccomment |
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.
Actionable comments posted: 1
🧹 Outside diff range and nitpick comments (1)
packages/nc-gui/components/smartsheet/Kanban.vue (1)
112-114
: Typo in variable name 'isRequiedGroupingFieldColumn'The variable name
isRequiedGroupingFieldColumn
contains a typo. It should beisRequiredGroupingFieldColumn
to reflect the correct spelling of "required" and maintain code readability.Apply this diff to correct the typo:
-const isRequiedGroupingFieldColumn = computed(() => { +const isRequiredGroupingFieldColumn = computed(() => {Ensure that all references to this variable are updated accordingly.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
packages/nc-gui/components/smartsheet/Kanban.vue
(3 hunks)packages/nc-gui/composables/useKanbanViewStore.ts
(4 hunks)
🔇 Additional comments (3)
packages/nc-gui/composables/useKanbanViewStore.ts (3)
18-19
: Introduction of 'uncategorizedStackId' constant
Defining uncategorizedStackId
as a constant improves code maintainability by centralizing its value.
260-262
: Correctly filtering out 'uncategorizedStackId'
The filtering logic correctly excludes uncategorizedStackId
when updating stack metadata, ensuring proper handling of uncategorized stacks.
726-726
: Exporting 'uncategorizedStackId'
Exporting uncategorizedStackId
allows it to be utilized in other modules, promoting code reuse and maintainability.
Uffizzi Preview |
ef3de8c
to
4856677
Compare
Change Summary
Change type
Test/ Verification
Provide summary of changes.
Additional information / screenshots (optional)
Anything for maintainers to be made aware of