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

[Video] Upload errors and UI improvements #5092

Merged
merged 5 commits into from
Sep 3, 2024
Merged

Conversation

mozzius
Copy link
Member

@mozzius mozzius commented Sep 2, 2024

  • Surface errors in UI
  • Check mime types for disallowed types
  • Try and show server errors where available
  • Try and clean up reducer (replace SetStatus with transitions between states)
  • Clean up upload UI
  • Use done status rather than idle

Screenshot 2024-09-02 at 21 21 50
Screenshot 2024-09-02 at 21 21 30

Copy link

render bot commented Sep 2, 2024

Copy link

github-actions bot commented Sep 2, 2024

Old size New size Diff
7.09 MB 7.09 MB 0 B (0.00%)

Copy link
Contributor

@haileyok haileyok left a comment

Choose a reason for hiding this comment

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

need to test, but code looks good.

src/state/queries/video/util.ts Outdated Show resolved Hide resolved
src/state/queries/video/video-upload.web.ts Outdated Show resolved Hide resolved
src/view/com/composer/Composer.tsx Show resolved Hide resolved
@haileyok
Copy link
Contributor

haileyok commented Sep 3, 2024

Tested uploads, seems good though didn't try each format.

Left a note in slack about missing .mov support which isn't great...

@mozzius mozzius merged commit 0e1de19 into main Sep 3, 2024
@mozzius mozzius deleted the samuel/upload-errors branch September 3, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants