Skip to content
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(datasets): sort and humanized modified by #10380

Merged
merged 6 commits into from
Jul 22, 2020

Conversation

dpgaspar
Copy link
Member

@dpgaspar dpgaspar commented Jul 21, 2020

SUMMARY

Fixes: modified by time zone issue (same solution has for charts and dashboards).
Fixes: Sort by modified by
Introduces sort on schemas

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Screenshot 2020-07-21 at 18 27 53

TEST PLAN

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

size: 'xl',
}: any) => <span className="no-wrap">{changedOn}</span>,
Header: t('Modified'),
accessor: 'changed_on_delta_humanized',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add back the size: 'xl' property which should ensure even spacing between columns

@dpgaspar dpgaspar requested a review from nytai July 21, 2020 20:21
Copy link
Member

@nytai nytai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, lmk if you need help getting CI to pass

@codecov-commenter
Copy link

Codecov Report

Merging #10380 into master will decrease coverage by 0.95%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10380      +/-   ##
==========================================
- Coverage   70.66%   69.71%   -0.96%     
==========================================
  Files         601      196     -405     
  Lines       32267    19019   -13248     
  Branches     3275        0    -3275     
==========================================
- Hits        22803    13259    -9544     
+ Misses       9358     5760    -3598     
+ Partials      106        0     -106     
Flag Coverage Δ
#cypress ?
#javascript ?
#python 69.71% <100.00%> (-0.22%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
superset/datasets/api.py 92.14% <100.00%> (+0.11%) ⬆️
superset/utils/pandas_postprocessing.py 76.96% <0.00%> (-12.98%) ⬇️
superset/db_engine_specs/sqlite.py 64.51% <0.00%> (-9.68%) ⬇️
superset/errors.py 93.54% <0.00%> (-6.46%) ⬇️
superset/exceptions.py 95.12% <0.00%> (-4.88%) ⬇️
superset/views/sql_lab.py 58.62% <0.00%> (-3.96%) ⬇️
superset/db_engine_specs/postgres.py 97.36% <0.00%> (-2.64%) ⬇️
superset/result_set.py 96.63% <0.00%> (-1.69%) ⬇️
superset/models/sql_lab.py 91.12% <0.00%> (-1.62%) ⬇️
superset/connectors/sqla/models.py 88.75% <0.00%> (-1.13%) ⬇️
... and 415 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09de805...f92dd3c. Read the comment docs.

@dpgaspar dpgaspar merged commit 9611086 into apache:master Jul 22, 2020
@dpgaspar dpgaspar deleted the fix/changed-on-datasets branch July 22, 2020 10:34
@dpgaspar dpgaspar added the v0.37 label Jul 26, 2020
@villebro villebro removed the v0.37 label Jul 27, 2020
auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 2020
* fix(datasets): sort and humanized modified by

* size xl on changed_on_delta_humanized

* Fix, tests

* Fix, tests

* Fix, frontend tests

* remove debug flag
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.38.0 labels Mar 12, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/M 🚢 0.38.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants