Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

NFC: call into upload manager property reference #14

Merged

Conversation

andrewjl-mux
Copy link
Contributor

NFC (no functional changes), use uploadManager property when calling into upload manager

@andrewjl-mux andrewjl-mux requested a review from a team as a code owner May 11, 2023 20:07
@andrewjl-mux andrewjl-mux changed the title NFC: call into upload manager reference NFC: call into upload manager property reference May 11, 2023
@andrewjl-mux andrewjl-mux changed the base branch from main to releases/v0.3.0 May 11, 2023 20:53
@andrewjl-mux
Copy link
Contributor Author

Repointed to releases/0.3.0 branch

@andrewjl-mux andrewjl-mux merged commit 5d9b601 into releases/v0.3.0 May 11, 2023
@andrewjl-mux andrewjl-mux deleted the ajlb/call-into-upload-manager-reference branch May 18, 2023 02:09
daytime-em added a commit that referenced this pull request May 25, 2023
* NFC: call into upload manager reference (#14)

* api: Remove extraneous MIME type and retry time config fields, add opt-out for event tracking (#16)

* Remove videoMIMEType and retryBaseTime

* Add config option for opt-out

* Check opt-out

* Report app name as bundle id

* doc: Example App v1 (#15)

* Add FakeBackend skeleton

* Add the fake backend rest objects

* Do the upload backend

* Some widgets and colors

* Styles or views

* Some comments

* Add prototype to nav

* Ok

* Minor indentation fixes

* Minor formatting fix

* I have mastered your puny buttons

* Figuring it out

* Ok now we're getting somewhere hypothetically

* one last update

* Don't need an environment object

* Start with the pick flow

* I guess we don't need the width

* And a little tweaking

* Upload CTA can be smarter than this

* now for a view model

* Move over permission request

* Permission Request Success

* No crash probs

* up

* Now to extract a thumbnail

* Thumbnail extraction test

* Ready to add other states

* Error View

* Do Processing View

* now to hook it up

* This thumbnail sucks

* Ok now the thumbnail is in at least

* Try to post an upload

* Working authorization

* Add some more headers for the fake backend

* Add credentials but the data is off

* Fake backend now works

* Still works

* TODO done

* Time to start uploading

* Fix bug in forceRestart

* come back to that

* Progress updates look broken

* Fix the upload POST body

* Cool regression

* Debug

* Fix the thumbnail rendering

* Now what

* Add listener for Uploads Updated

* Auto acknowledge uploads

* not time for nav

* Rearrange the Upload CTA stuff

* Updating more stuff

* now we're navigating

* Figuring it out

* Time to start on the upload list

* Added more listy stuff

* list container

* Now it works

* Empty list

* Hashable

* Notify delegates but something doesn't seem to be working

* Now working it out

* Making it work

* Thumbnail in the list items maybe

* OK I got it

* Figured out thumbnails

* Work on it

* Work

* So far so good

* ugh

* Making progress

* Progress View

* Ok

* Now we're talking

* Ok now we have a status line

* Now we are good

* Appropriately scope the create-upload viewmodel

* Now we are getting to the end

* Save old uploads for a while

* ont an error

* Remove old example UI

* cleanup

* project

* Remove another old UI component

* Yknow this isn't really mvvm to begin with

* Label cleanup

* oh dang forgot the app icon

* oh wow that didn't build

* Add a Mux Asset catalog

* Add Mux assets to a catalog

* CTA vis

* The list needs to actually scroll

* Rename *Screen to *View

* Use task instead of onAppear

* Don't commit those

* Fix permission prompt

* AnyObject

* Brackets

* Update Sources/MuxUploadSDK/Public API/UploadManager.swift

Co-authored-by: AJ Lauer Barinov <102617203+andrewjl-mux@users.noreply.github.com>

* Generics

---------

Co-authored-by: Liam Lindner <liam@mux.com>
Co-authored-by: AJ Lauer Barinov <102617203+andrewjl-mux@users.noreply.github.com>

* Remove spaces from directory names (for ease of life when scripting) (#18)

* Document mux error case

* Add doc for muxUploadSDK

* Done

* more doc

* doc just keeps improving"

* MuxUpload even nicer docs

* Add more doc

* Conflict markers

* Update Sources/MuxUploadSDK/PublicAPI/MuxUpload.swift

Co-authored-by: Liam Lindner <liam@mux.com>

* Update Sources/MuxUploadSDK/PublicAPI/UploadManager.swift

Co-authored-by: Liam Lindner <liam@mux.com>

---------

Co-authored-by: AJ Lauer Barinov <102617203+andrewjl-mux@users.noreply.github.com>
Co-authored-by: Liam Lindner <liam@mux.com>
@github-actions github-actions bot mentioned this pull request Jun 5, 2023
daytime-em added a commit that referenced this pull request Jun 5, 2023
# API Changes

* `MuxUpload`'s initializer no longer requires a MIME type or Retry Time. These are calculated internally
* Added methods for querying the `UploadManager` for the list of currenty-active uploads, and listening for changes to the list

## Improvements

* NFC: call into upload manager reference (#14)
* api: Remove extraneous MIME type and retry time config fields, add opt-out for event tracking (#16)
* doc: Add a much-improved example app (#15)

## Fixes
* Fix: Uploads continue without reporting progress after being resumed (#24)
* Fix: handlers not retained unless callers retain the `MuxUpload` (#25)



Co-authored-by: AJ Lauer Barinov <102617203+andrewjl-mux@users.noreply.github.com>
Co-authored-by: Liam Lindner <liam@mux.com>
Co-authored-by: Emily Dixon <edixon@mux.com>
Co-authored-by: GitHub <noreply@github.com>
tomkordic pushed a commit that referenced this pull request Mar 1, 2024
# API Changes

* `MuxUpload`'s initializer no longer requires a MIME type or Retry Time. These are calculated internally
* Added methods for querying the `UploadManager` for the list of currenty-active uploads, and listening for changes to the list

## Improvements

* NFC: call into upload manager reference (#14)
* api: Remove extraneous MIME type and retry time config fields, add opt-out for event tracking (#16)
* doc: Add a much-improved example app (#15)

## Fixes
* Fix: Uploads continue without reporting progress after being resumed (#24)
* Fix: handlers not retained unless callers retain the `MuxUpload` (#25)



Co-authored-by: AJ Lauer Barinov <102617203+andrewjl-mux@users.noreply.github.com>
Co-authored-by: Liam Lindner <liam@mux.com>
Co-authored-by: Emily Dixon <edixon@mux.com>
Co-authored-by: GitHub <noreply@github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants