-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
feat: update property name automatically when custom column name is changed #18048
feat: update property name automatically when custom column name is changed #18048
Conversation
…hanged - adds the feature - adds cypress tests
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
/ok-to-test sha=7a502ff |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3376898337. |
/ok-to-test sha=7a502ff |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3383739278. |
app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Data.ts
Outdated
Show resolved
Hide resolved
This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected. |
app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Data.ts
Show resolved
Hide resolved
app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/index.ts
Outdated
Show resolved
Hide resolved
app/client/src/widgets/TableWidgetV2/widget/propertyUtils.test.ts
Outdated
Show resolved
Hide resolved
app/client/src/widgets/TableWidgetV2/widget/propertyUtils.test.ts
Outdated
Show resolved
Hide resolved
app/client/src/widgets/TableWidgetV2/widget/propertyUtils.test.ts
Outdated
Show resolved
Hide resolved
app/client/src/widgets/TableWidgetV2/widget/propertyUtils.test.ts
Outdated
Show resolved
Hide resolved
- rename function to updateCustomColumnAliasOnLabelChange - more suitable titles to jest tests - modify updateCustomColumnAliasOnLabelChange logic to be more concise
/ok-to-test sha=2c1772d |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3540678374. |
…7142-propertyname-customcolumn-change-with-label
Deployment failed with the following error:
|
/ok-to-test sha=d3d1968 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3545625936. |
/ok-to-test sha=d3d1968 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3573264011. |
…liasOnLabelChange
- Modify updateCustomColumnAliasOnLabelChange method to return undefined instead of empty array - Adjust test cases accordingly
/ok-to-test sha=9175e20 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3581507016. |
@dilippitchika About updating other widget bindings when we change the name of a custom column; we should create a separate issue to work on that. |
Test Plan for this PR: https://github.com/appsmithorg/TestSmith/issues/2095 |
/ok-to-test sha=9175e20 |
Observation: @souma-ghosh
|
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3599569365. |
|
For 1, I didn't understand how this is an existing issue @souma-ghosh. What are the steps to reproduce? For 2, It's expected behavior to show the key which matches at the end. So not an issue. |
The issue mentioned in point 1 happens for any column
|
@chandannkumar Both the above mentioned issues are already happening in prod. We can move ahead |
/ok-to-test sha=9175e20 |
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/3636461385. |
Tested this PR and working as expected |
Description
This feature is only for custom columns. Users needed to change property name of custom columns every-time they changed the column name.
Column name can be updated from 2 places
This PR uses
updateHook
to change columnalias
of a custom column whenever the columnlabel
(column name) is changed.Fixes #17142
Type of change
How Has This Been Tested?
Test Plan
Issues raised during DP testing
Checklist:
Dev activity
QA activity: