aglinxinyuan commented on code in PR #9463:
URL: https://github.com/apache/texera/pull/9463#discussion_r4592809574
##########
frontend/src/app/dashboard/component/user/user-dataset/user-dataset-creator/user-dataset-creator.component.html:
##########
@@ -22,7 +22,6 @@
[fields]="fields"
[model]="model"
[isCreating]="isCreating"
- [showToggles]="!isCreatingVersion"
Review Comment:
Removed in a98dea5e4a: the `showToggles` input, the `*ngIf` around the
switches, and the now-unused `NgIf` import. The model creator spec no longer
mentions the version branch. I also folded in the rename you suggested
(c51dcd531b): the component is now `UserDatasetCreatorComponent` in
`user-dataset/user-dataset-creator/`.
##########
frontend/src/app/dashboard/component/user/user-dataset/user-dataset-explorer/user-dataset-file-renderer/user-dataset-file-renderer.component.ts:
##########
@@ -82,7 +78,6 @@ export const MIME_TYPE_SIZE_LIMITS_MB = {
[MIME_TYPES.MSEXCEL]: 10 * 1024 * 1024, // 10 MB for Excel spreadsheets
[MIME_TYPES.MP4]: 50 * 1024 * 1024, // 50 MB for MP4 videos
[MIME_TYPES.MP3]: 10 * 1024 * 1024, // 10 MB for MP3 audio files
- [MIME_TYPES.OCTET_STREAM]: 5 * 1024 * 1024, // Default size for other binary
formats
Review Comment:
Done in a98dea5e4a: `isPreviewSupported` is just the `hasOwnProperty` check
now, and `DEFAULT_MAX_SIZE` and both fallbacks are gone.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]