Konrad Pozniak
16ffcca748
add ktlint plugin to project and apply default code style ( #2209 )
...
* add ktlint plugin to project and apply default code style
* some manual adjustments, fix wildcard imports
* update CONTRIBUTING.md
* fix formatting
2021-06-28 21:13:24 +02:00
Konrad Pozniak
6d4f5ad027
migrate to paging 3 ( #2182 )
...
* migrate conversations and search to paging 3
* delete SearchRepository
* remove unneeded executor from search
* fix bugs in conversations
* update license headers
* fix conversations refreshing
* fix search refresh indicators
* show fullscreen loading while conversations are empty
* search bugfixes
* error handling
* error handling
* remove mastodon bug workaround
* update ConversationsFragment
* fix conversations more menu and deleting conversations
* delete unused class
* catch exceptions in ConversationsViewModel
* fix bug where items are not diffed correctly / cleanup code
* fix search progressbar display conditions
2021-06-17 18:54:56 +02:00
Ivan Kupalov
44a5b42cac
Timeline refactor ( #2175 )
...
* Move Timeline files into their own package
* Introduce TimelineViewModel, add coroutines
* Simplify StatusViewData
* Handle timeilne fetch errors
* Rework filters, fix ViewThreadFragment
* Fix NotificationsFragment
* Simplify Notifications and Thread, handle pin
* Redo loading in TimelineViewModel
* Improve error handling in TimelineViewModel
* Rewrite actions in TimelineViewModel
* Apply feedback after timeline factoring review
* Handle initial failure in timeline correctly
2021-06-11 20:15:40 +02:00
Konrad Pozniak
40b24cd242
migrate to RxJava3 ( #2146 )
...
* migrate to RxJava3
* remove unused import
2021-05-16 19:53:27 +02:00
Konrad Pozniak
fc4b47aee4
migrating to ViewBinding part 4: Adapters ( #2095 )
2021-03-07 19:24:01 +01:00
Alibek Omarov
9580870445
Animated emoji support ( #2064 )
...
* Animated emoji support
* Try to query preference only once
* Revert to using SpannableStringBuilder
2021-02-06 08:14:51 +01:00
Konrad Pozniak
6a60a2a6a6
fix url search returning the same post indefinitely ( #1695 )
2020-02-17 19:34:11 +01:00
Konrad Pozniak
fde23f25d2
fix mixup of search params in SearchDataSource.loadRange ( #1666 )
2020-02-07 20:23:36 +01:00
Konrad Pozniak
7cb76aad97
Fix search bugs ( #1624 )
...
* fix toggling media visibility
* cleanup search code to make it more readable
* remove redundant OnQueryTextListener
this is the default behavior
* fix bookmarking
* fix status interaction causing unnecessary network requests
2020-01-13 13:57:44 +01:00
Ivan Kupalov
7623962a0d
Use blurhash as image preview and as sensitive media cover, close #1571 ( #1581 )
...
* Use blurhash as image preview and as sensitive media cover, close #1571
* Fix focal point for blurhashes
* Fix video indicator overlapping sensitive media indicator
* Add a preference for blurhash
* Add blurhash to report UI.
* Introduce StatusDisplayOptions
2019-12-30 21:37:20 +01:00
Konrad Pozniak
7bccf23f69
fix null search when refreshing hashtags ( #1562 )
2019-11-17 20:58:54 +01:00
Konrad Pozniak
d2ca776b34
Migrate to ViewPager2 ( #1544 )
...
* migrate MainActivty to ViewPager2
* migrate AccountActivty to ViewPager2
* migrate ViewMediaActivty to ViewPager2
* migrate SearchActivity to ViewPager2
* checkin missing AccountPagerAdapter file
* remove unused class ImageViewPager
* replace SparseArray with MutableList
2019-11-06 20:17:53 +01:00
Konrad Pozniak
54a0d5406a
Remove search v1 ( #1484 )
...
* remove search v1, convert MastodonApi to Kotlin
* format MastodonApi nicely
* use default params in ConversationRepository
* improve code for LoginActivity
2019-09-22 08:18:44 +02:00
Ivan Kupalov
0b29b0330b
Fix search bugs, fix #1403 ( #1440 )
2019-08-04 20:32:44 +02:00
pandasoft0
3b1288e99c
Improve search results ( #1327 )
...
* Add entities and request for search APIv2
* Implement search adapter and fragment
* Fix issue with snackbar
* Implement search accounts fragment
* Implement generic search fragment
* Remove unneeded import
* Implement "status" actions, fix issues
* Remove SFragment dependency
* Update app/src/main/java/com/keylesspalace/tusky/components/search/fragments/SearchStatusesFragment.kt
Co-Authored-By: Konrad Pozniak <connyduck@users.noreply.github.com>
* Clean-up post review suggestions
* Make TabLayout background colour match search bar
* Corrected method call syntax
* Added SwipeRefreshLayout to SearchFragment
* Fixed refresh to update all three tabs
2019-07-19 20:10:20 +02:00