[WIP] First pass at a mastodon-web-like trailing hashtag bar #4761
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.
Rationale: Since the mastodon web UI has started stripping "trailing" hashtags from post content and shoving it into an ellipsized section at the bottom of posts, the general hashtag : content ratio is rising.
This is an attempt at adopting a similar functionality for Tusky.
I was extra conscious about not adding too much overhead to the span highlighting, so this is maybe a little overengineered in that area 🤷
Right now, I've made the tag view a horizontally scrollable text view with normal hashtag links (
which does not work super well in combination with the swiping between tabs functionality tbh- I also triedmarquee
but it was super distracting/annoying) - I'm very open to other suggestions (dynamic / collapsible button bar? other?) and/or help in this area.Before:
After: