Skip to content

Commit

Permalink
docs: cleanup references to apache-superset/superset-ui (#23796)
Browse files Browse the repository at this point in the history
  • Loading branch information
charpeni committed Apr 25, 2023
1 parent 7e4be7d commit 60c2e70
Show file tree
Hide file tree
Showing 37 changed files with 124 additions and 91 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ FEATURE_FLAGS = {
}
```

If you want to use the same flag in the client code, also add it to the FeatureFlag TypeScript enum in [@superset-ui/core](https://github.com/apache-superset/superset-ui/blob/master/packages/superset-ui-core/src/utils/featureFlags.ts). For example,
If you want to use the same flag in the client code, also add it to the FeatureFlag TypeScript enum in [@superset-ui/core](https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-core/src/utils/featureFlags.ts). For example,

```typescript
export enum FeatureFlag {
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/miscellaneous/country-map-tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The Country Maps visualization already ships with the maps for the following cou
## Adding a New Country

To add a new country to the list, you'd have to edit files in
[@superset-ui/legacy-plugin-chart-country-map](https://github.com/apache-superset/superset-ui/tree/master/plugins/legacy-plugin-chart-country-map).
[@superset-ui/legacy-plugin-chart-country-map](https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-country-map).

1. Generate a new GeoJSON file for your country following the guide in [this Jupyter notebook](https://github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-plugin-chart-country-map/scripts/Country%20Map%20GeoJSON%20Generator.ipynb).
2. Edit the countries list in [legacy-plugin-chart-country-map/src/countries.ts](https://github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries.ts).
Expand Down
3 changes: 2 additions & 1 deletion superset-embedded-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache/superset.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-embedded-sdk"
},
"homepage": "https://github.com/apache/superset#readme",
"bugs": {
Expand Down
3 changes: 2 additions & 1 deletion superset-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache/superset.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend"
},
"license": "Apache-2.0",
"author": {
Expand Down
3 changes: 2 additions & 1 deletion superset-frontend/packages/generator-superset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache/superset.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/packages/generator-superset"
},
"license": "Apache-2.0",
"author": "Superset",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"keywords": [
"superset"
],
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/packages/superset-ui-chart-controls#readme",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/packages/superset-ui-chart-controls"
},
"license": "Apache-2.0",
"author": "Superset",
Expand Down
7 changes: 4 additions & 3 deletions superset-frontend/packages/superset-ui-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"keywords": [
"superset"
],
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/packages/superset-ui-core#readme",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/packages/superset-ui-core"
},
"license": "Apache-2.0",
"author": "Superset",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ console.log(formatNumber('my_format', 1000));
```
It also define constants for common d3 formats. See the full list of formats in
[NumberFormats.js](https://github.com/apache-superset/superset-ui/blob/master/packages/superset-ui-number-format/src/NumberFormats.js).
[NumberFormats.js](https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-core/src/number-format/NumberFormats.ts).
```js
import { NumberFormats } from '@superset-ui-number-format';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ console.log(formatTime('my_format', new Date(2018)));
```
It also define constants for common d3 time formats. See
[TimeFormats.js](https://github.com/apache-superset/superset-ui/blob/master/packages/superset-ui-time-format/src/TimeFormats.js).
[TimeFormats.js](https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-core/src/time-format/TimeFormats.ts).
```js
import { TimeFormats } from '@superset-ui/core';
Expand Down
7 changes: 4 additions & 3 deletions superset-frontend/packages/superset-ui-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/packages/superset-ui-demo"
},
"keywords": [
"storybook",
Expand All @@ -26,9 +27,9 @@
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/packages/superset-ui-demo#readme",
"dependencies": {
"@data-ui/event-flow": "^0.0.84",
"@emotion/cache": "^11.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/apache/superset.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/packages/superset-ui-switchboard"
},
"keywords": [
"switchboard",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"keywords": [
"superset"
],
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-calendar#readme",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/plugins/legacy-plugin-chart-calendar"
},
"license": "Apache-2.0",
"author": "Superset",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/plugins/legacy-plugin-chart-chord"
},
"keywords": [
"superset"
],
"author": "Superset",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-chord#readme",
"publishConfig": {
"access": "public"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/plugins/legacy-plugin-chart-country-map"
},
"keywords": [
"superset"
],
"author": "Superset",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-country-map#readme",
"publishConfig": {
"access": "public"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/plugins/legacy-plugin-chart-event-flow"
},
"keywords": [
"superset"
],
"author": "Superset",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-event-flow#readme",
"publishConfig": {
"access": "public"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"keywords": [
"superset"
],
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-heatmap#readme",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/plugins/legacy-plugin-chart-heatmap"
},
"license": "Apache-2.0",
"author": "Superset",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/packages/legacy-plugin-chart-histogram"
},
"keywords": [
"superset"
],
"author": "Superset",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-histogram#readme",
"publishConfig": {
"access": "public"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"keywords": [
"superset"
],
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-horizon#readme",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/packages/legacy-plugin-chart-horizon"
},
"license": "Apache-2.0",
"author": "Superset",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache/superset.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/plugins/legacy-plugin-chart-map-box"
},
"license": "Apache-2.0",
"author": "Superset",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"keywords": [
"superset"
],
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-paired-t-test#readme",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/plugins/legacy-plugin-chart-paired-t-test"
},
"license": "Apache-2.0",
"author": "Superset",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates"
},
"keywords": [
"superset"
],
"author": "Superset",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates#readme",
"publishConfig": {
"access": "public"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"keywords": [
"superset"
],
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-partition#readme",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/packages/legacy-plugin-chart-partition"
},
"license": "Apache-2.0",
"author": "Superset",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/plugins/legacy-plugin-chart-pivot-table"
},
"keywords": [
"superset"
],
"author": "Superset",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-pivot-table#readme",
"publishConfig": {
"access": "public"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"keywords": [
"superset"
],
"homepage": "https://github.com/apache-superset/superset-ui#readme",
"homepage": "https://github.com/apache/superset/tree/master/superset-frontend/plugins/legacy-plugin-chart-rose#readme",
"bugs": {
"url": "https://github.com/apache-superset/superset-ui/issues"
"url": "https://github.com/apache/superset/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/apache-superset/superset-ui.git"
"url": "https://github.com/apache/superset.git",
"directory": "superset-frontend/plugins/legacy-plugin-chart-rose"
},
"license": "Apache-2.0",
"author": "Superset",
Expand Down
Loading

0 comments on commit 60c2e70

Please sign in to comment.