-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
chore: remove deprecated feature flag for custom loading state in TableWidget #38826
chore: remove deprecated feature flag for custom loading state in TableWidget #38826
Conversation
…TableWidget - Removed the `release_table_custom_loading_state_enabled` feature flag from `FeatureFlag.ts` and its references in `TableWidgetV2` components. - Updated property configurations to eliminate reliance on the deprecated flag, streamlining the widget's loading state handling.
WalkthroughThis pull request involves removing the Changes
Possibly related PRs
Suggested Labels
Suggested Reviewers
Poem
✨ Finishing Touches
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
Documentation and Community
|
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
🧹 Nitpick comments (1)
app/client/src/widgets/TableWidgetV2/widget/propertyConfig/contentConfig.ts (1)
Line range hint
123-130
: Consider consolidating section expansion properties.The comment indicates that
expandedByDefault
is a temporary solution alongside the existingisDefaultOpen
property. This creates technical debt and potential confusion.Consider one of these approaches:
- Use the existing
isDefaultOpen
property with a flag-based default value- Document a timeline for consolidating these properties
- // Added this prop to indicate that data section needs to be expanded by default - // Rest all sections needs to be collapsed - // We already have a isDefaultOpen prop configured to keep a section expanded or not - // but introducing new prop so that we can control is based on flag - // Once we decide to keep this feature, we can go back to using isDefaultOpen and removeexpandedByDefault expandedByDefault: true, + // TODO(tech-debt): Consolidate with isDefaultOpen property by Q2 2025 + expandedByDefault: true,
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
app/client/src/ce/entities/FeatureFlag.ts
(0 hunks)app/client/src/widgets/TableWidgetV2/constants.ts
(0 hunks)app/client/src/widgets/TableWidgetV2/widget/propertyConfig/contentConfig.ts
(1 hunks)
💤 Files with no reviewable changes (2)
- app/client/src/widgets/TableWidgetV2/constants.ts
- app/client/src/ce/entities/FeatureFlag.ts
⏰ Context from checks skipped due to timeout of 90000ms (7)
- GitHub Check: perform-test / client-build / client-build
- GitHub Check: perform-test / rts-build / build
- GitHub Check: client-unit-tests / client-unit-tests
- GitHub Check: client-lint / client-lint
- GitHub Check: client-prettier / prettier-check
- GitHub Check: client-build / client-build
- GitHub Check: client-check-cyclic-deps / check-cyclic-dependencies
🔇 Additional comments (1)
app/client/src/widgets/TableWidgetV2/widget/propertyConfig/contentConfig.ts (1)
Line range hint
449-474
: LGTM: Clean implementation of custom loading state.The removal of the feature flag has simplified the configuration while maintaining the feature's functionality. The dependency between
customIsLoading
andcustomIsLoadingValue
is properly maintained.
Description
release_table_custom_loading_state_enabled
feature flag fromFeatureFlag.ts
and its references inTableWidgetV2
components.Fixes #
Issue Number
or
Fixes
Issue URL
Warning
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.
Automation
/ok-to-test tags="@tag.Table"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/12943660031
Commit: ebf8e03
Cypress dashboard.
Tags:
@tag.Table
Spec:
Fri, 24 Jan 2025 05:46:41 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit
Feature Flag Removal
release_table_custom_loading_state_enabled
feature flagConfiguration Updates
customIsLoading
property always visibleexpandedByDefault: true
to "Data" section in table widget configuration