Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/entity
Levi Bard addce87eb6
Use tags from status when adding handlers to hashtag spans in status content (#2344)
* Migrate LinkHelper to kotlin

* Support tags field on statuses

* Use embedded tags list in status instead of text scraping to embed tag click handler.
Fixes #2283

* Make mentions and tags lists nonnullable

* Make LinkHelper.openLink a Context extension method

* Use builtin extension for uri conversion

* More cleanup in LinkHelper

* Add tests for LinkHelper.getDomain

* Unbreak tags in places that don't have a tag list (e.g. profiles)

* Fixup javadoc
2022-02-25 18:56:21 +01:00
..
AccessToken.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Account.kt Fix crash when updating profile and the source field exists, but some of _its_ fields don't (#2243) 2021-09-17 21:51:00 +02:00
Announcement.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
AppCredentials.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Attachment.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Card.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Conversation.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
DeletedStatus.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Emoji.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Filter.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
HashTag.kt Use tags from status when adding handlers to hashtag spans in status content (#2344) 2022-02-25 18:56:21 +01:00
IdentityProof.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Instance.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Marker.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
MastoList.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
NewStatus.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Notification.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Poll.kt Highlight your own votes when displaying poll results (#2242) 2021-09-17 22:12:17 +02:00
Relationship.kt use custom JsonAdapter to be compatible with instances that have a custom subscribing feature (#2298) 2022-01-21 07:34:26 +01:00
ScheduledStatus.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
SearchResult.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
Status.kt Use tags from status when adding handlers to hashtag spans in status content (#2344) 2022-02-25 18:56:21 +01:00
StatusContext.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
StatusParams.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00