Repository navigation
feat(app): open social links in app and validate post limits - #31
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Mention and hashtag links now open reusable columns in the originating tab instead of sending readers to a browser. Known mentions use instance-local account IDs; other marked mentions resolve through the logged-in instance. Hashtag timelines support refresh and pagination, and ordinary links retain their browser behavior.
The composer reads the instance’s posting limit, displays used/allowed characters, and prevents over-limit submissions. Counting handles grapheme clusters, reserved URL lengths, and remote mentions. Failed limit requests offer Retry, server validation explanations remain visible, and successful publication closes the composer after draft cleanup. Failed submissions keep the editor and draft intact.
Validation:
git diff --check,gofmt -l ., andgo vet ./...go tool mygo i18n checkandgo tool mygo generate(11 languages)go test -race ./...CERAMIC_SCREENSHOTS=1 go test -run TestNative ./..., with light/dark and compact screenshots inspected./scripts/build.sh(macOS arm64 app and DMG)Regression coverage includes successful dismissal, failed-draft preservation, instance-limit retry/session isolation, Unicode and URL counting boundaries, hostile advertised URL lengths, originating-column navigation, profile resolution, pagination, and late results after column closure. The existing typesetting dependency is now direct for Unicode grapheme segmentation; no dependency version changes.
Closes #24
Closes #29