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

[WIP] chore(explore): remove dedicated time section #12147

Closed
wants to merge 4 commits into from

Conversation

villebro
Copy link
Member

@villebro villebro commented Dec 19, 2020

SUMMARY

This makes it possible to remove the dedicated time section. Requires the release of superset-ui to introduce these breaking changes: apache-superset/superset-ui#869 . The visual changes will be introduced in forthcoming PRs.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Non timeseries chart:
image
Timeseries chart:
image

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

@codecov-io
Copy link

codecov-io commented Dec 19, 2020

Codecov Report

Merging #12147 (cfc0693) into master (b5dd0f3) will decrease coverage by 3.86%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #12147      +/-   ##
==========================================
- Coverage   67.15%   63.29%   -3.87%     
==========================================
  Files         994      484     -510     
  Lines       49033    29744   -19289     
  Branches     4977        0    -4977     
==========================================
- Hits        32929    18825   -14104     
+ Misses      15982    10919    -5063     
+ Partials      122        0     -122     
Flag Coverage Δ
cypress ?
javascript ?
python 63.29% <ø> (-0.93%) ⬇️

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

Impacted Files Coverage Δ
superset/common/query_object.py 91.52% <ø> (ø)
superset/db_engines/hive.py 0.00% <0.00%> (-85.72%) ⬇️
superset/databases/commands/create.py 32.65% <0.00%> (-59.19%) ⬇️
superset/sql_validators/postgres.py 50.00% <0.00%> (-50.00%) ⬇️
superset/db_engine_specs/hive.py 54.61% <0.00%> (-29.62%) ⬇️
superset/views/database/mixins.py 59.64% <0.00%> (-22.81%) ⬇️
superset/db_engine_specs/presto.py 70.56% <0.00%> (-12.78%) ⬇️
superset/db_engine_specs/mysql.py 79.59% <0.00%> (-12.25%) ⬇️
superset/databases/commands/update.py 85.71% <0.00%> (-8.17%) ⬇️
superset/databases/dao.py 94.11% <0.00%> (-5.89%) ⬇️
... and 531 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 b5dd0f3...cfc0693. Read the comment docs.

@villebro villebro requested a review from ktmud December 19, 2020 13:53
datasourceType === 'table' ? sqlaTimeSeries : druidTimeSeries;
const { datasourceAndVizType } = sections;
// list of datasource-specific controls that should be removed
const invalidControls =
Copy link
Contributor

@simcha90 simcha90 Dec 20, 2020

Choose a reason for hiding this comment

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

I saw in attached PR apache-superset/superset-ui#869 also time_range, shouldn't be it here, or is it single valid time control?

Copy link
Member Author

Choose a reason for hiding this comment

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

time_range is the exception to the rule, as it should always be available (this will be noved to the forthcoming Filters section).

ktmud added a commit to ktmud/superset that referenced this pull request Dec 23, 2020
ktmud added a commit that referenced this pull request Dec 23, 2020
…configs (#12091)

* Clean up queryFields

* Clean up unused vars

* Bump chart plugins

* Bringing changes in #12147
villebro pushed a commit to preset-io/superset that referenced this pull request Jan 7, 2021
…configs (apache#12091)

* Clean up queryFields

* Clean up unused vars

* Bump chart plugins

* Bringing changes in apache#12147
villebro pushed a commit to preset-io/superset that referenced this pull request Jan 7, 2021
…configs (apache#12091)

* Clean up queryFields

* Clean up unused vars

* Bump chart plugins

* Bringing changes in apache#12147
@villebro villebro closed this Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants