Skip to content

Commit

Permalink
feat: new Excel upload form and API (apache#28105)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar authored Apr 19, 2024
1 parent 37f900a commit e465876
Show file tree
Hide file tree
Showing 31 changed files with 1,714 additions and 889 deletions.
3 changes: 1 addition & 2 deletions RESOURCES/STANDARD_ROLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,10 @@ under the License.
| can invalidate on CacheRestApi |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|O|
| can function names on Database |:heavy_check_mark:|O|O|O|
| can csv upload on Database |:heavy_check_mark:|O|O|O|
| can excel upload on Database |:heavy_check_mark:|O|O|O|
| can query form data on Api |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|O|
| can query on Api |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|O|
| can time range on Api |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|O|
| can this form get on ExcelToDatabaseView |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|O|
| can this form post on ExcelToDatabaseView |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|O|
| can external metadata on Datasource |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|O|
| can save on Datasource |:heavy_check_mark:|:heavy_check_mark:|O|O|
| can get on Datasource |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|O|
Expand Down
156 changes: 156 additions & 0 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: 1 addition & 0 deletions superset-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@
"use-event-callback": "^0.1.0",
"use-immer": "^0.9.0",
"use-query-params": "^1.1.9",
"xlsx": "^0.18.5",
"yargs": "^17.7.2"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const ColumnsPreview: React.FC<ColumnsPreviewProps> = ({
<StyledDivContainer>
<Typography.Text type="secondary">Columns:</Typography.Text>
{columns.length === 0 ? (
<p className="help-block">{t('Upload CSV file to preview columns')}</p>
<p className="help-block">{t('Upload file to preview columns')}</p>
) : (
<TagsList tags={tags} maxTags={maxColumnsToShow} />
)}
Expand Down
Loading

0 comments on commit e465876

Please sign in to comment.