-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
fix(other): column name in created content on profile page #17029
Conversation
Codecov Report
@@ Coverage Diff @@
## master #17029 +/- ##
==========================================
- Coverage 76.93% 76.70% -0.23%
==========================================
Files 1030 1031 +1
Lines 55088 55157 +69
Branches 7480 7501 +21
==========================================
- Hits 42383 42310 -73
- Misses 12454 12595 +141
- Partials 251 252 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Hello @jinghua-qa. It's great that you are contributing! There is a problem with this change though. As you can see from your screenshot the date is gone. This is because you need to change the mutator
function as well, which takes care of populating the date.
Specifically:
favorited: moment.utc(dash.dttm).fromNow(), |
To be changed with created
_favorited: dash.dttm, |
To be changed with _created
The same goes for the other mutator
function in this 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.
LGTM
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.
LGTM! Awesome job!
* fix: fix name in created content on profile page * add more fix on mutater (cherry picked from commit f2d41dc)
superset/superset/views/core.py Lines 1567 to 1589 in 26545a2
superset/superset/views/core.py Lines 1646 to 1671 in 26545a2
The column name should be the modification time, not the creation time, is that right? @zhaoyongjie @jinghua-qa |
@tenglong3158 you might be interested in https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-a-permanent-link-to-a-code-snippet to simplify code references. |
Thank you @ad-m ! I'll revise the comment now. |
SUMMARY
fix column name in created content on profile p
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
After:
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION