GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — fix(mobile): A document whose upload failed can be retried in the composer by mwolson · Pull Request #140 · mwolson/t3code Conversation
Owner
ProblemA document whose upload fails in the mobile composer cannot be retried. A failed photo or video has a thumbnail with a Retry button, but a document (a PDF, a text file, a large paste folded into a file) is only a chip in the draft text, and a chip has no Retry. Send stays disabled with "Retry or remove the failed attachment", and the only way forward is to delete the chip and attach the file again. The web composer offers Retry on a failed file. To reproduce: attach a PDF on a phone while the upload cannot succeed, such as on a dropped connection. Expected: the document can be retried, as a photo can. ChangeWhile a document's upload is failed, the document shows in the attachment row above the draft as a file tile, with the same Retry and remove buttons a failed photo has. Retry uploads it again, and once the upload succeeds the tile goes away and the chip stays in the draft. Removing it from the tile also removes its chip. The tile's file name sits a little higher so the Retry button does not cover it. Documents that upload normally look the same as before. ScopeA small fix for an obvious bug, so there is no issue: the composer tells the user to retry and gives documents no way to do it. It came up in review of upstream PR 38395 mobile-send-block-reason, which makes that message visible; the two changes are independent and merge in either order. VerificationChecked in the iOS Simulator (iPhone 18 Pro, iOS 27.0) with the dev client against an isolated dev server whose attachments directory I made read-only, so uploads fail. Before the change, a failed PDF leaves only its chip and a gray Send. After it, the PDF also shows as a tile with Retry. With the directory writable again, tapping Retry uploads the PDF, the tile disappears and Send turns blue. With another failed PDF, tapping the tile's remove button removes the tile and its chip, and Send enables. In the collapsed composer the failed document shows as the small thumbnail with the retry icon, as a failed photo does.
One case added to the existing UpstreamMerged upstream as PR 38443 mobile-document-upload-retry in
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…poser Upstream a93e61a (pingdotgg/t3code PR 38443 mobile-document-upload-retry), carried until the stack moves onto an upstream main that has it. Co-authored-by: Julius Marminge <[email protected]>
Owner
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |