-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Nc fix/column delete bug #8178
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/column delete bug #8178
Conversation
WalkthroughWalkthroughThe updates focus on enhancing data handling and UI elements across various components and models within the project. Key improvements include the introduction of a new function for URL validation, adjustments in data reloading mechanisms, and a series of refinements in handling view columns across different models. These changes aim to increase the robustness of URL inputs, optimize data reloading, and streamline the management of view columns by refining data insertion and cache management strategies. Changes
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 Status
Configuration used: CodeRabbit UI
Files selected for processing (9)
- packages/nc-gui/components/cell/Url.vue (2 hunks)
- packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue (1 hunks)
- packages/nocodb/src/models/CalendarViewColumn.ts (1 hunks)
- packages/nocodb/src/models/Column.ts (1 hunks)
- packages/nocodb/src/models/FormViewColumn.ts (1 hunks)
- packages/nocodb/src/models/GalleryViewColumn.ts (1 hunks)
- packages/nocodb/src/models/GridViewColumn.ts (1 hunks)
- packages/nocodb/src/models/KanbanViewColumn.ts (1 hunks)
- packages/nocodb/src/models/MapViewColumn.ts (1 hunks)
Files skipped from review due to trivial changes (1)
- packages/nocodb/src/models/GridViewColumn.ts
Additional comments not posted (6)
packages/nocodb/src/models/KanbanViewColumn.ts (1)
66-66
: Ensure the adjustments in handlingfk_column_id
and caching logic do not negatively impact other functionalities that may rely on them.packages/nocodb/src/models/GalleryViewColumn.ts (1)
69-69
: Ensure the adjustments in handlingfk_column_id
and caching logic do not negatively impact other functionalities that may rely on them.packages/nocodb/src/models/CalendarViewColumn.ts (1)
82-82
: Ensure the adjustments in handlingfk_column_id
and caching logic do not negatively impact other functionalities that may rely on them.packages/nc-gui/components/cell/Url.vue (1)
50-50
: The introduction oftrimVal
function enhances URL validation by ensuring leading and trailing spaces do not affect the process. Good improvement!packages/nocodb/src/models/FormViewColumn.ts (1)
95-95
: Ensure the adjustments in handlingfk_column_id
and caching logic do not negatively impact other functionalities that may rely on them.packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue (1)
84-84
: Adding anoffset: 0
parameter to thereloadDataHook.trigger
function call is a good practice for resetting the data view to the beginning when filters are applied, enhancing user experience.
Uffizzi Preview |
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 Status
Configuration used: CodeRabbit UI
Files selected for processing (4)
- packages/nc-gui/components/cell/Url.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (3 hunks)
- packages/nc-gui/composables/useLTARStore.ts (2 hunks)
- packages/nocodb/src/models/Column.ts (1 hunks)
Files skipped from review as they are similar to previous changes (2)
- packages/nc-gui/components/cell/Url.vue
- packages/nocodb/src/models/Column.ts
Additional comments not posted (4)
packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (2)
54-54
: The addition of a comma afterresetChildrenExcludedOffsetCount
in the import block is a good practice for maintainability.
265-265
: Removing the semicolon after settingchildrenExcludedListPagination.page
to 1 in theonFilterChange
function aligns with common JavaScript style guides.packages/nc-gui/composables/useLTARStore.ts (2)
194-195
: Adjusting the calculation of theoffset
variable in theloadChildrenExcludedList
function improves robustness by ensuring the offset cannot be negative.
554-555
: Refining the formatting of theresetChildrenExcludedOffsetCount
function enhances readability and consistency in the codebase.
Signed-off-by: Pranav C <pranavxc@gmail.com>
0f7c2e6
to
fd275a1
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 Status
Configuration used: CodeRabbit UI
Files selected for processing (4)
- packages/nc-gui/components/cell/Url.vue (2 hunks)
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue (3 hunks)
- packages/nc-gui/composables/useLTARStore.ts (2 hunks)
- packages/nocodb/src/models/Column.ts (1 hunks)
Files skipped from review as they are similar to previous changes (4)
- packages/nc-gui/components/cell/Url.vue
- packages/nc-gui/components/virtual-cell/components/UnLinkedItems.vue
- packages/nc-gui/composables/useLTARStore.ts
- packages/nocodb/src/models/Column.ts
Signed-off-by: Pranav C <pranavxc@gmail.com>
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
Review Status
Configuration used: CodeRabbit UI
Files selected for processing (2)
- packages/nocodb/src/models/Column.ts (1 hunks)
- packages/nocodb/src/services/views.service.ts (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- packages/nocodb/src/models/Column.ts
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
Summary by CodeRabbit
New Features
Improvements
Refactor