Commit Graph

271 Commits

Author SHA1 Message Date
Alibek Omarov 7295ace378 ChatMessagesAdapter: fix non-clickable URLs 2020-10-05 23:16:46 +03:00
Alibek Omarov 629a336e7e CommonComposeViewModel: filter all unrelated autocomplete suggestions 2020-10-05 19:51:56 +03:00
Levi Bard 8e7f77429b Set onClick listener for poll result view. (#1946)
Fixes #1861
2020-10-05 13:44:02 +03:00
Konrad Pozniak f47265d920 improve relative poll timestamp string format (#1939) 2020-10-05 13:31:25 +03:00
Konrad Pozniak 2f137d8c92 fix various bugs when creating tab with multiple hashtags (#1925) 2020-10-05 13:22:16 +03:00
Alibek Omarov c487006e4c ChatsAdapter: fix recycling issues 2020-10-04 03:25:40 +03:00
Alibek Omarov a8c348906a StatusBaseViewHolder: semi-fix null shown up for Mastodong, don't allow user to click when parent post is unavailable 2020-10-03 17:44:26 +03:00
Karol Kosek 98b57f33f5
Implement clicking on 'Reply to' text
... and remove the Reply to button from the menu.
2020-10-03 08:21:19 +02:00
Karol Kosek 83eee5115c
Strikethrough the reply info if parent post isn't visible 2020-10-02 19:31:29 +02:00
Karol Kosek 65fcc05ed2
Add 'reply to' indicators in posts 2020-10-02 18:47:44 +02:00
Alibek Omarov 84ffe73d2b chats: add new notification type pleroma:chat_mention (wip) 2020-10-02 01:36:20 +03:00
Alibek Omarov d16e96bcf2 chats: disable pagination for chat listing, another finalization of chat bubble design 2020-09-13 23:49:45 +03:00
Alibek Omarov 8dc15880b0 chats: chat message adapter, partially implement activity 2020-08-24 20:20:02 +03:00
Alibek Omarov 26f365ebc8 chats: base chat UI 2020-08-24 01:30:41 +03:00
Alibek Omarov e169c89aea chats: finished chat listing 2020-08-17 19:41:38 +03:00
Ivan Kupalov 44ed189b3c Description improvements (#1846)
* Increase character limit for media descriptions to 1500

It was increased in Mastodon 3.0.0 which was released in October 2019.

* Improve image description view

Since media descriptions can be longer now, we need to adjust the UI.
It is a common problem that description takes up the whole screen, it's
hard for readers and also discourages people from adding descriptions.

This commit uses bottom sheet to hide most of the description. Since we
know how much screen space it will cover, we can use darker background
which makes reading text easier.

* Adjust description handle

* Fix unable to dismiss image caption
2020-08-04 00:17:02 +03:00
Mélanie Chauvel 9d2da9e79e Make account views clickable instead of avatar only (#1855)
Affects:
- New follower request and New follower notifications
- Accounts in Blocked users and Muted users pages
2020-07-25 23:25:31 +03:00
Levi Bard bac8f93a26 Fix preview cards for uncollapsible statuses (#1826) 2020-06-15 17:08:24 +03:00
Konrad Pozniak 83600ee92d enable multiple hashtags in one hashtag tab (#1790)
* enable multiple hashtags in one hashtag tab

* add comment explaining the code in TabAdapter

* delete unused drawables

* add padding to EditText in dialog
2020-05-22 20:14:53 +03:00
Levi Bard 59d36fcbc9 Fix showing/hiding of preview cards in timeline posts that are collapsed for length. (#1796)
Also properly places the preview card after the "collapse for length" button.
2020-05-22 20:09:24 +03:00
Alibek Omarov 548d0954fb CustomEmojis: make emojis smaller in several another places 2020-05-20 17:59:50 +03:00
Alibek Omarov c90f9650ab CustomEmojiHelper: rewrite to Kotlin 2020-05-20 17:51:36 +03:00
Alibek Omarov bbbf3bf55d Stickers: add PleromaFE stickers support, enabled in settings 2020-05-13 02:59:20 +03:00
Alibek Omarov f13c6bedcb CustomEmojis: make emojis small when it's appropriate for UX 2020-05-11 22:19:34 +03:00
Alibek Omarov 0264898e57 CustomEmojiHelper: rewrite to Kotlin 2020-05-11 21:01:57 +03:00
Alibek Omarov ad894756bc Patch to compile, downgrade Kotlin version, otherwise it fails with useless message, disable incremental kapt otherwise it fails 2020-05-03 04:28:26 +03:00
Konrad Pozniak 9b2a837fea replace HtmlUtils with HtmlCompat (#1741)
* replace HtmlUtils with HtmlCompat

* fix tests
2020-05-03 04:12:08 +03:00
Alibek Omarov f2b5b0d646 Cherry-picked 2cf1e366. 2020-05-03 04:05:38 +03:00
Konrad Pozniak 204167ea8f fix content warning in notifications when alwaysShowSpoiler is on (#1757) 2020-05-03 03:12:04 +03:00
Levi Bard 200e46aea6 Fix NPE in follow requests view (#1739)
Fixes #1738
2020-05-03 03:04:00 +03:00
Levi Bard e7bd37b075 Add notifications for follow requests (#1729)
* Add notifications for follow requests
Issue #1719

* Revert item_follow_request layout, create new layout for follow request notifications

* Migrate follow request interaction from notification to observable pattern

* Filter follow request notifications by default

* Add missing cases for system notification generation

* Format code
2020-05-03 03:01:16 +03:00
Alibek Omarov 7bd34b29e1 EmojiKeyboard: add recents 2020-05-03 02:49:31 +03:00
Ivan Kupalov a267d85080 Fix reblog confirm (#1723)
* Fix reblog confirmation default value

* Fix triggering reblog before confirming it

* Fix accidents caused by reblog confirmation
2020-04-10 16:41:06 +03:00
Alibek Omarov 825eab8cda emoji_reactions: show keyboard as dialog 2020-04-10 02:18:37 +03:00
Alibek Omarov 8580524300 emoji_keyboard: first keyboard, supports only unicode emojis 2020-04-10 02:11:38 +03:00
Alibek Omarov 18c19be90c adapter: replace simple viewholders by SingleViewHolder(extended from RecyclerView.ViewHolder but allowed to instantiate) 2020-04-10 01:58:06 +03:00
Alibek Omarov d273c9dec4 Merge branch 'develop' of https://github.com/FWGS/Husky into develop 2020-03-16 18:47:27 +03:00
Alibek Omarov 4d4d7d21ea Better handling of muted users and conversations, add option Hide muted users like in PleromaFE 2020-03-13 18:54:27 +03:00
Alibek Omarov d37e3ec569 Revert "Hide muted users' statuses in timelines on client side, because we're getting full timeline now(to support muted conversations)"
This reverts commit 2fc5f876bc.
2020-03-13 17:46:22 +03:00
Alibek Omarov 8908e93580 StatusBaseViewHolder: fix recycling bug, fix emoji reaction view empty space touch 2020-03-12 06:16:57 +03:00
Alibek Omarov c2ded20df8 emoji_reactions: implement adding and removing on existing reactions(LOW PERFORMANCE) 2020-03-06 22:33:25 +03:00
Alibek Omarov 4f1400842f emoji_reactions: general refactoring, implement emoji_reactions_by 2020-03-06 21:04:14 +03:00
Alibek Omarov 3cbbbe99c4 Merge upstream 2020-03-06 16:16:54 +03:00
Ivan Kupalov 67c20326f9
Add options to confirm reblog/unreblog actions, close #460 (#1650) 2020-03-03 21:27:26 +01:00
Levi Bard 3edc47aa4a
Add option to show link previews in timelines (#1681)
* Add option to show link previews in timelines.
Addresses #1075

* Indent cards in non-selected statuses when viewing threads

* Indent cards in timelines

* Fix clipping of right side of preview in timelines
2020-03-02 19:34:31 +01:00
Alibek Omarov b0e97392a5 Merge upstream 2020-02-28 10:30:09 +03:00
Alibek Omarov 2fc5f876bc Hide muted users' statuses in timelines on client side, because we're getting full timeline now(to support muted conversations) 2020-02-20 05:03:28 +03:00
Alibek Omarov 74d2bd6aaa status: increase hit area for fav/reblog buttons #71 2020-02-20 04:25:35 +03:00
Konrad Pozniak b8ef287b47
fix image from another status showing up instead of blurhash (#1699) 2020-02-19 22:07:01 +01:00
Alibek Omarov 63a751768a Merge upstream 2020-02-19 04:54:30 +03:00