-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Nc fix: linked records dropdown followup #8415
Conversation
WalkthroughWalkthroughThe recent updates across various components in the nc-gui package focus on enhancing customization and user interface elements. These changes include the addition of new properties for customizing button text, updates to functions and styling for improved UI consistency, and adjustments to layout classes for better visual cohesion. Additionally, there are refinements in logical operations within filter functions and enhancements to dropdown elements and link record functionalities. Changes
This table summarizes the key changes across different components and scripts, highlighting the focus on enhancing UI elements and refining backend functionalities for better user experience and system performance. 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 as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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: 2
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (12)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue (2 hunks)
- packages/nc-gui/components/smartsheet/grid/Table.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/HasMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/Links.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/ManyToMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/OneToOne.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (8 hunks)
- packages/nc-gui/components/virtual-cell/components/ListItem.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (7 hunks)
- packages/nc-gui/composables/useViewFilters.ts (1 hunks)
Files skipped from review due to trivial changes (4)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue
- packages/nc-gui/components/virtual-cell/ManyToMany.vue
- packages/nc-gui/components/virtual-cell/OneToOne.vue
- packages/nc-gui/composables/useViewFilters.ts
Additional comments not posted (14)
packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (2)
Line range hint
1-74
: The script setup and reactive state management for handling dropdown visibility and dynamic class manipulation are implemented correctly.
Line range hint
76-78
: The template section correctly implements the dropdown functionality with dynamic visibility and class binding, and uses slots effectively for content projection.packages/nc-gui/components/virtual-cell/HasMany.vue (2)
Line range hint
1-144
: The script setup and reactive state management for handling linked records are implemented correctly, with appropriate use of computed properties and watch functions.
146-146
: The template section correctly implements the rendering of linked records with dynamic property binding and uses slots effectively for content projection.packages/nc-gui/components/virtual-cell/Links.vue (2)
Line range hint
1-143
: The script setup and reactive state management for handling links between records are implemented correctly, with appropriate use of computed properties and watch functions.
145-145
: The template section correctly implements the rendering of links between records with dynamic property binding and uses slots effectively for content projection.packages/nc-gui/components/virtual-cell/components/ListItem.vue (2)
Line range hint
1-177
: The script setup and reactive state management for handling list items are implemented correctly, with appropriate use of computed properties and watch functions.
179-179
: The template section correctly implements the rendering of list items with dynamic property binding and uses slots effectively for content projection.packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (2)
Line range hint
1-308
: The script setup and reactive state management for handling unlinked items are implemented correctly, with appropriate use of computed properties and watch functions.
310-310
: The template section correctly implements the rendering of unlinked items with dynamic property binding and uses slots effectively for content projection.packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (2)
Line range hint
1-322
: The script setup and reactive state management for handling linked items are implemented correctly, with appropriate use of computed properties and watch functions.
324-324
: The template section correctly implements the rendering of linked items with dynamic property binding and uses slots effectively for content projection.packages/nc-gui/components/smartsheet/expanded-form/index.vue (2)
55-55
: The addition of thenewRecordSubmitBtnText
property is implemented correctly and follows Vue and TypeScript best practices.
912-912
: The usage ofnewRecordSubmitBtnText
in the button text is implemented correctly, providing a good fallback mechanism.
Uffizzi Preview |
800ba36
to
4f89c31
Compare
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: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (12)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue (2 hunks)
- packages/nc-gui/components/smartsheet/grid/Table.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/HasMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/Links.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/ManyToMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/OneToOne.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (8 hunks)
- packages/nc-gui/components/virtual-cell/components/ListItem.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (7 hunks)
- packages/nc-gui/composables/useViewFilters.ts (1 hunks)
Files skipped from review as they are similar to previous changes (12)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue
- packages/nc-gui/components/smartsheet/grid/Table.vue
- packages/nc-gui/components/virtual-cell/BelongsTo.vue
- packages/nc-gui/components/virtual-cell/HasMany.vue
- packages/nc-gui/components/virtual-cell/Links.vue
- packages/nc-gui/components/virtual-cell/ManyToMany.vue
- packages/nc-gui/components/virtual-cell/OneToOne.vue
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue
- packages/nc-gui/components/virtual-cell/components/ListItem.vue
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue
- packages/nc-gui/composables/useViewFilters.ts
4f89c31
to
fad30a2
Compare
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: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (12)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue (2 hunks)
- packages/nc-gui/components/smartsheet/grid/Table.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/HasMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/Links.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/ManyToMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/OneToOne.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (8 hunks)
- packages/nc-gui/components/virtual-cell/components/ListItem.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (7 hunks)
- packages/nc-gui/composables/useViewFilters.ts (1 hunks)
Files skipped from review as they are similar to previous changes (12)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue
- packages/nc-gui/components/smartsheet/grid/Table.vue
- packages/nc-gui/components/virtual-cell/BelongsTo.vue
- packages/nc-gui/components/virtual-cell/HasMany.vue
- packages/nc-gui/components/virtual-cell/Links.vue
- packages/nc-gui/components/virtual-cell/ManyToMany.vue
- packages/nc-gui/components/virtual-cell/OneToOne.vue
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue
- packages/nc-gui/components/virtual-cell/components/ListItem.vue
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue
- packages/nc-gui/composables/useViewFilters.ts
fad30a2
to
59204fc
Compare
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: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (12)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue (2 hunks)
- packages/nc-gui/components/smartsheet/grid/Table.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/HasMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/Links.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/ManyToMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/OneToOne.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (8 hunks)
- packages/nc-gui/components/virtual-cell/components/ListItem.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (7 hunks)
- packages/nc-gui/composables/useViewFilters.ts (1 hunks)
Files skipped from review as they are similar to previous changes (12)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue
- packages/nc-gui/components/smartsheet/grid/Table.vue
- packages/nc-gui/components/virtual-cell/BelongsTo.vue
- packages/nc-gui/components/virtual-cell/HasMany.vue
- packages/nc-gui/components/virtual-cell/Links.vue
- packages/nc-gui/components/virtual-cell/ManyToMany.vue
- packages/nc-gui/components/virtual-cell/OneToOne.vue
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue
- packages/nc-gui/components/virtual-cell/components/ListItem.vue
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue
- packages/nc-gui/composables/useViewFilters.ts
59204fc
to
0d85e48
Compare
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: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
packages/nc-gui/lang/en.json
is excluded by!**/*.json
Files selected for processing (12)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue (2 hunks)
- packages/nc-gui/components/smartsheet/grid/Table.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/HasMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/Links.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/ManyToMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/OneToOne.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (8 hunks)
- packages/nc-gui/components/virtual-cell/components/ListItem.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (7 hunks)
- packages/nc-gui/composables/useViewFilters.ts (1 hunks)
Files skipped from review as they are similar to previous changes (12)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue
- packages/nc-gui/components/smartsheet/grid/Table.vue
- packages/nc-gui/components/virtual-cell/BelongsTo.vue
- packages/nc-gui/components/virtual-cell/HasMany.vue
- packages/nc-gui/components/virtual-cell/Links.vue
- packages/nc-gui/components/virtual-cell/ManyToMany.vue
- packages/nc-gui/components/virtual-cell/OneToOne.vue
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue
- packages/nc-gui/components/virtual-cell/components/ListItem.vue
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue
- packages/nc-gui/composables/useViewFilters.ts
0d85e48
to
37623d4
Compare
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: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
packages/nc-gui/lang/en.json
is excluded by!**/*.json
Files selected for processing (12)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue (2 hunks)
- packages/nc-gui/components/smartsheet/grid/Table.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/HasMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/Links.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/ManyToMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/OneToOne.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (8 hunks)
- packages/nc-gui/components/virtual-cell/components/ListItem.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (7 hunks)
- packages/nc-gui/composables/useViewFilters.ts (1 hunks)
Files skipped from review as they are similar to previous changes (12)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue
- packages/nc-gui/components/smartsheet/grid/Table.vue
- packages/nc-gui/components/virtual-cell/BelongsTo.vue
- packages/nc-gui/components/virtual-cell/HasMany.vue
- packages/nc-gui/components/virtual-cell/Links.vue
- packages/nc-gui/components/virtual-cell/ManyToMany.vue
- packages/nc-gui/components/virtual-cell/OneToOne.vue
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue
- packages/nc-gui/components/virtual-cell/components/ListItem.vue
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue
- packages/nc-gui/composables/useViewFilters.ts
37623d4
to
2489b66
Compare
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: 0
Out of diff range and nitpick comments (3)
packages/nocodb/src/models/Column.ts (3)
Line range hint
106-108
: Ensure proper error handling for missing model ID.- if (!column.fk_model_id) NcError.badRequest('Missing model id'); + if (!column.fk_model_id) throw NcError.badRequest('Missing model id');This change ensures that the function throws an error which can be caught in higher-level error handling mechanisms, rather than potentially failing silently.
Line range hint
230-232
: Consider adding default case in switch statement for error handling.+ default: + throw new Error('Unsupported UI data type');Adding a default case will help catch any unsupported UI data types and prevent silent failures.
Line range hint
577-579
: Ensure transactional integrity during delete operations.Consider wrapping the delete operations in a database transaction to ensure that all related deletions are completed atomically. This prevents partial deletions in case of errors.
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
packages/nc-gui/lang/en.json
is excluded by!**/*.json
Files selected for processing (13)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue (2 hunks)
- packages/nc-gui/components/smartsheet/grid/Table.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/HasMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/Links.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/ManyToMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/OneToOne.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (8 hunks)
- packages/nc-gui/components/virtual-cell/components/ListItem.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (7 hunks)
- packages/nc-gui/composables/useViewFilters.ts (1 hunks)
- packages/nocodb/src/models/Column.ts (2 hunks)
Files skipped from review as they are similar to previous changes (12)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue
- packages/nc-gui/components/smartsheet/grid/Table.vue
- packages/nc-gui/components/virtual-cell/BelongsTo.vue
- packages/nc-gui/components/virtual-cell/HasMany.vue
- packages/nc-gui/components/virtual-cell/Links.vue
- packages/nc-gui/components/virtual-cell/ManyToMany.vue
- packages/nc-gui/components/virtual-cell/OneToOne.vue
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue
- packages/nc-gui/components/virtual-cell/components/ListItem.vue
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue
- packages/nc-gui/composables/useViewFilters.ts
Additional comments not posted (1)
packages/nocodb/src/models/Column.ts (1)
Line range hint
1003-1005
: Verify handling of QR and Barcode data types during updates.Ensure that the handling of QR and Barcode data types is consistent and correct, especially when the UI data type changes.
Verification successful
The verification process has confirmed that the handling of QR and Barcode data types is indeed implemented within the
update
method of theColumn.ts
file. The search results show multiple cases whereUITypes.QrCode
andUITypes.Barcode
are explicitly handled, which aligns with the requirements mentioned in the review comment.Handling of QR and Barcode Data Types Verified:
- The codebase includes specific case statements for both
UITypes.QrCode
andUITypes.Barcode
within theupdate
method inColumn.ts
, ensuring that these data types are managed appropriately during column updates.Scripts Executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify that QR and Barcode data types are handled correctly during column updates. # Test: Search for QR and Barcode handling in the update method. Expect: Proper checks and deletions. rg --type ts 'UITypes.QrCode|UITypes.Barcode' 'Column.ts'Length of output: 107
Script:
#!/bin/bash # Find the correct path for Column.ts fd Column.ts # Assuming the correct path is found, re-run the rg command to search for QR and Barcode handlingLength of output: 838
Script:
#!/bin/bash # Re-run the rg command to search for QR and Barcode handling in the correct Column.ts file rg --type ts 'UITypes.QrCode|UITypes.Barcode' packages/nocodb/src/models/Column.tsLength of output: 434
2489b66
to
8147c27
Compare
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: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
packages/nc-gui/lang/en.json
is excluded by!**/*.json
Files selected for processing (13)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue (2 hunks)
- packages/nc-gui/components/smartsheet/grid/Table.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/HasMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/Links.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/ManyToMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/OneToOne.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (8 hunks)
- packages/nc-gui/components/virtual-cell/components/ListItem.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (7 hunks)
- packages/nc-gui/composables/useViewFilters.ts (1 hunks)
- packages/nocodb/src/models/Column.ts (2 hunks)
Files skipped from review as they are similar to previous changes (13)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue
- packages/nc-gui/components/smartsheet/grid/Table.vue
- packages/nc-gui/components/virtual-cell/BelongsTo.vue
- packages/nc-gui/components/virtual-cell/HasMany.vue
- packages/nc-gui/components/virtual-cell/Links.vue
- packages/nc-gui/components/virtual-cell/ManyToMany.vue
- packages/nc-gui/components/virtual-cell/OneToOne.vue
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue
- packages/nc-gui/components/virtual-cell/components/ListItem.vue
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue
- packages/nc-gui/composables/useViewFilters.ts
- packages/nocodb/src/models/Column.ts
8147c27
to
a06cd93
Compare
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: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
packages/nc-gui/lang/en.json
is excluded by!**/*.json
Files selected for processing (14)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue (2 hunks)
- packages/nc-gui/components/smartsheet/grid/Table.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/HasMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/Links.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/ManyToMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/OneToOne.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/components/ItemChip.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (8 hunks)
- packages/nc-gui/components/virtual-cell/components/ListItem.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (7 hunks)
- packages/nc-gui/composables/useViewFilters.ts (1 hunks)
- packages/nocodb/src/models/Column.ts (2 hunks)
Files not reviewed due to errors (1)
- packages/nc-gui/components/virtual-cell/components/ItemChip.vue (no review received)
Files skipped from review as they are similar to previous changes (13)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue
- packages/nc-gui/components/smartsheet/grid/Table.vue
- packages/nc-gui/components/virtual-cell/BelongsTo.vue
- packages/nc-gui/components/virtual-cell/HasMany.vue
- packages/nc-gui/components/virtual-cell/Links.vue
- packages/nc-gui/components/virtual-cell/ManyToMany.vue
- packages/nc-gui/components/virtual-cell/OneToOne.vue
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue
- packages/nc-gui/components/virtual-cell/components/ListItem.vue
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue
- packages/nc-gui/composables/useViewFilters.ts
- packages/nocodb/src/models/Column.ts
a06cd93
to
6878e39
Compare
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: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
packages/nc-gui/lang/en.json
is excluded by!**/*.json
Files selected for processing (14)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue (2 hunks)
- packages/nc-gui/components/smartsheet/grid/Table.vue (5 hunks)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/HasMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/Links.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/ManyToMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/OneToOne.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/ItemChip.vue (3 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (8 hunks)
- packages/nc-gui/components/virtual-cell/components/ListItem.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (7 hunks)
- packages/nc-gui/composables/useViewFilters.ts (1 hunks)
- packages/nocodb/src/models/Column.ts (2 hunks)
Files skipped from review as they are similar to previous changes (14)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue
- packages/nc-gui/components/smartsheet/grid/Table.vue
- packages/nc-gui/components/virtual-cell/BelongsTo.vue
- packages/nc-gui/components/virtual-cell/HasMany.vue
- packages/nc-gui/components/virtual-cell/Links.vue
- packages/nc-gui/components/virtual-cell/ManyToMany.vue
- packages/nc-gui/components/virtual-cell/OneToOne.vue
- packages/nc-gui/components/virtual-cell/components/ItemChip.vue
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue
- packages/nc-gui/components/virtual-cell/components/ListItem.vue
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue
- packages/nc-gui/composables/useViewFilters.ts
- packages/nocodb/src/models/Column.ts
6878e39
to
b1fa104
Compare
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: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
packages/nc-gui/lang/en.json
is excluded by!**/*.json
Files selected for processing (13)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue (2 hunks)
- packages/nc-gui/components/smartsheet/grid/Table.vue (5 hunks)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/HasMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/Links.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/ManyToMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/OneToOne.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/ItemChip.vue (3 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (8 hunks)
- packages/nc-gui/components/virtual-cell/components/ListItem.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (7 hunks)
- packages/nocodb/src/models/Column.ts (2 hunks)
Files skipped from review as they are similar to previous changes (13)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue
- packages/nc-gui/components/smartsheet/grid/Table.vue
- packages/nc-gui/components/virtual-cell/BelongsTo.vue
- packages/nc-gui/components/virtual-cell/HasMany.vue
- packages/nc-gui/components/virtual-cell/Links.vue
- packages/nc-gui/components/virtual-cell/ManyToMany.vue
- packages/nc-gui/components/virtual-cell/OneToOne.vue
- packages/nc-gui/components/virtual-cell/components/ItemChip.vue
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue
- packages/nc-gui/components/virtual-cell/components/ListItem.vue
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue
- packages/nocodb/src/models/Column.ts
b1fa104
to
73550e7
Compare
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: 3
Out of diff range and nitpick comments (4)
packages/noco-docs/docs/070.fields/040.field-types/040.links-based/010.links.md (4)
Line range hint
24-24
: Ensure headings are surrounded by blank lines for proper Markdown formatting.+
Line range hint
35-35
: Ensure headings are surrounded by blank lines for proper Markdown formatting.+
Line range hint
85-85
: Ensure headings are surrounded by blank lines for proper Markdown formatting.+
Line range hint
29-29
: Consider rephrasing to avoid repetitive sentence structure.- 4. Select the relation type : Either `Has-Many` or `Many-to-Many`. + 4. Choose the relation type: Either `Has-Many` or `Many-to-Many`.
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (3)
packages/nc-gui/lang/en.json
is excluded by!**/*.json
packages/noco-docs/static/img/v2/fields/add-link-modal.png
is excluded by!**/*.png
,!**/*.png
packages/noco-docs/static/img/v2/fields/linked-record-modal.png
is excluded by!**/*.png
,!**/*.png
Files selected for processing (14)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue (2 hunks)
- packages/nc-gui/components/smartsheet/grid/Table.vue (5 hunks)
- packages/nc-gui/components/virtual-cell/BelongsTo.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/HasMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/Links.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/ManyToMany.vue (1 hunks)
- packages/nc-gui/components/virtual-cell/OneToOne.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/ItemChip.vue (3 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue (8 hunks)
- packages/nc-gui/components/virtual-cell/components/ListItem.vue (4 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (7 hunks)
- packages/noco-docs/docs/070.fields/040.field-types/040.links-based/010.links.md (2 hunks)
- packages/nocodb/src/models/Column.ts (2 hunks)
Files skipped from review as they are similar to previous changes (13)
- packages/nc-gui/components/smartsheet/expanded-form/index.vue
- packages/nc-gui/components/smartsheet/grid/Table.vue
- packages/nc-gui/components/virtual-cell/BelongsTo.vue
- packages/nc-gui/components/virtual-cell/HasMany.vue
- packages/nc-gui/components/virtual-cell/Links.vue
- packages/nc-gui/components/virtual-cell/ManyToMany.vue
- packages/nc-gui/components/virtual-cell/OneToOne.vue
- packages/nc-gui/components/virtual-cell/components/ItemChip.vue
- packages/nc-gui/components/virtual-cell/components/LinkRecordDropdown.vue
- packages/nc-gui/components/virtual-cell/components/LinkedItems.vue
- packages/nc-gui/components/virtual-cell/components/ListItem.vue
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue
- packages/nocodb/src/models/Column.ts
Additional Context Used
LanguageTool (7)
packages/noco-docs/docs/070.fields/040.field-types/040.links-based/010.links.md (7)
Near line 29: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...EitherHas-Many
orMany-to-Many
. 5. Select the table to which the relation is to b...
Near line 52: ‘New record’ might be wordy. Consider a shorter alternative.
Context: ...icon to unlink the record 6. Click on
+ New record` button to create and link a new record...
Near line 52: ‘new record’ might be wordy. Consider a shorter alternative.
Context: ...New recordbutton to create and link a new record to the current one 7. Click on
Link m...
Near line 53: Unpaired symbol: ‘]’ seems to be missing
Context: ...ore records` to link an existing record Read more 8. Paginat...
Near line 56: ‘new records’ might be wordy. Consider a shorter alternative.
Context: ...w-records) 8. Pagination bar ### Link new records Modal to add new links can be opened b...
Near line 70: ‘New record’ might be wordy. Consider a shorter alternative.
Context: ...+
icon to link the record 6. Click on+ New record
button to create and link a new record...
Near line 70: ‘new record’ might be wordy. Consider a shorter alternative.
Context: ...New record` button to create and link a new record to the current one 7. Pagination bar :...
4. To view additional information (expanded record), hover on the card & click on the `<>` icon | ||
5. Click on the `-` icon to unlink the record |
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.
Consider rephrasing to avoid repetition of the phrase "new record" which might be considered wordy.
- 6. Click on the `+ New record` button to create and link a new record to the current one
+ 6. Click on the `+ Add` button to create and link a new entry to the current one
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
4. To view additional information (expanded record), hover on the card & click on the `<>` icon | |
5. Click on the `-` icon to unlink the record | |
4. To view additional information (expanded record), hover on the card & click on the `<>` icon | |
5. Click on the `-` icon to unlink the record | |
6. Click on the `+ Add` button to create and link a new entry to the current one |
4. To view additional information (expanded record) before linking, hover on the card & click on the `<>` icon | ||
5. Click on the `+` icon to link the record |
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.
Consider rephrasing to avoid repetition of the phrase "new record" which might be considered wordy.
- 6. Click on the `+ New record` button to create and link a new record to the current one
+ 6. Click on the `+ Add` button to create and link a new entry to the current one
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
4. To view additional information (expanded record) before linking, hover on the card & click on the `<>` icon | |
5. Click on the `+` icon to link the record | |
4. To view additional information (expanded record) before linking, hover on the card & click on the `<>` icon | |
5. Click on the `+` icon to link the record | |
6. Click on the `+ Add` button to create and link a new entry to the current one |
4. Click on the `-` icon to unlink the record | ||
5. To view additional information (expanded record), hover on the card & click on the `<>` icon | ||
4. To view additional information (expanded record), hover on the card & click on the `<>` icon | ||
5. Click on the `-` icon to unlink the record | ||
6. Click on `+ New record` button to create and link a new record to the current one | ||
7. Click on `Link more records` to link an existing record [Read more](#link-new-records) |
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.
Fix the unpaired markdown link syntax.
- 7. Click on `Link more records` to link an existing record [Read more](#link-new-records)
+ 7. Click on `Link more records` to link an existing record [Read more](#link-new-records)
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
7. Click on `Link more records` to link an existing record [Read more](#link-new-records) | |
7. Click on `Link more records` to link an existing record [Read more](#link-new-records) |
Change Summary
Provide summary of changes with issue number if any.
Change type
Test/ Verification
Provide summary of changes.
Additional information / screenshots (optional)
Anything for maintainers to be made aware of