Skip to content

Commit

Permalink
chore(superset 2.0): remove front-end deprecated code (#19241)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace Guo authored Mar 18, 2022
1 parent b888341 commit d41f9b2
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 424 deletions.
1 change: 0 additions & 1 deletion RESOURCES/FEATURE_FLAGS.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ These features are **finished** but currently being tested. They are usable, but
- DYNAMIC_PLUGINS: [(docs)](https://superset.apache.org/docs/installation/running-on-kubernetes)
- DASHBOARD_NATIVE_FILTERS
- GLOBAL_ASYNC_QUERIES [(docs)](https://github.com/apache/superset/blob/master/CONTRIBUTING.md#async-chart-queries)
- OMNIBAR
- VERSIONED_EXPORT
- ENABLE_JAVASCRIPT_CONTROLS

Expand Down
16 changes: 0 additions & 16 deletions superset-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion superset-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@
"moment-timezone": "^0.5.33",
"mousetrap": "^1.6.1",
"mustache": "^2.2.1",
"omnibar": "^2.1.1",
"polished": "^3.7.2",
"prop-types": "^15.7.2",
"query-string": "^6.13.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function getTimeFormatter(

/**
* Syntactic sugar for backward compatibility
* TODO: Deprecate this in the next breaking change.
* TODO: will be deprecated in a future version
* @param granularity
*/
export function getTimeFormatterForGranularity(granularity?: TimeGranularity) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
export enum FeatureFlag {
ALLOW_DASHBOARD_DOMAIN_SHARDING = 'ALLOW_DASHBOARD_DOMAIN_SHARDING',
ALERT_REPORTS = 'ALERT_REPORTS',
OMNIBAR = 'OMNIBAR',
CLIENT_CACHE = 'CLIENT_CACHE',
DYNAMIC_PLUGINS = 'DYNAMIC_PLUGINS',
SCHEDULED_QUERIES = 'SCHEDULED_QUERIES',
Expand Down
150 changes: 0 additions & 150 deletions superset-frontend/src/components/OmniContainer/OmniContainer.test.tsx

This file was deleted.

38 changes: 0 additions & 38 deletions superset-frontend/src/components/OmniContainer/Omnibar.test.tsx

This file was deleted.

45 changes: 0 additions & 45 deletions superset-frontend/src/components/OmniContainer/Omnibar.tsx

This file was deleted.

54 changes: 0 additions & 54 deletions superset-frontend/src/components/OmniContainer/getDashboards.ts

This file was deleted.

Loading

0 comments on commit d41f9b2

Please sign in to comment.