Yuito-app-android/app/src/main/java/com/keylesspalace/tusky
Konrad Pozniak 643e012b11
Timeline paging (#2238)
* first setup

* network timeline paging / improvements

* rename classes / move to correct package

* remove unused class TimelineAdapter

* some code cleanup

* remove TimelineRepository, put mapper functions in TimelineTypeMappers.kt

* add db migration

* cleanup unused code

* bugfix

* make default timeline settings work again

* fix pinning statuses from timeline

* fix network timeline

* respect account settings in NetworkTimelineRemoteMediator

* respect account settings in NetworkTimelineRemoteMediator

* update license headers

* show error view when an error occurs

* cleanup some todos

* fix db migration

* fix changing mediaPreviewEnabled setting

* fix "load more" button appearing on top of timeline

* fix filtering and other bugs

* cleanup cache after 14 days

* fix TimelineDAOTest

* fix code formatting

* add NetworkTimeline unit tests

* add CachedTimeline unit tests

* fix code formatting

* move TimelineDaoTest to unit tests

* implement removeAllByInstance for CachedTimelineViewModel

* fix code formatting

* fix bug in TimelineDao.deleteAllFromInstance

* improve loading more statuses in NetworkTimelineViewModel

* improve loading more statuses in NetworkTimelineViewModel

* fix bug where empty state was shown too soon

* reload top of cached timeline on app start

* improve CachedTimelineRemoteMediator and Tests

* improve cached timeline tests

* fix some more todos

* implement TimelineFragment.removeItem

* fix ListStatusAccessibilityDelegate

* fix crash in NetworkTimelineViewModel.loadMore

* fix default state of collapsible statuses

* fix default state of collapsible statuses -tests

* fix showing/hiding media in the timeline

* get rid of some not-null assertion operators in TimelineTypeMappers

* fix tests

* error handling in CachedTimelineViewModel.loadMore

* keep local status state when refreshing cached statuses

* keep local status state when refreshing network timeline statuses

* show placeholder loading state in cached timeline

* better comments, some code cleanup

* add TimelineViewModelTest, improve code, fix bug

* fix ktlint

* fix voting in boosted polls

* code improvement
2022-01-11 19:00:29 +01:00
..
adapter Add confirmation for favourite and bookmark actions (#2245) 2021-10-04 07:48:44 +02:00
appstore Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
components Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
db Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
di Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
entity Highlight your own votes when displaying poll results (#2242) 2021-09-17 22:12:17 +02:00
fragment Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
interfaces add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
json add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
network Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
pager Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
receiver add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
service add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
settings Add confirmation for favourite and bookmark actions (#2245) 2021-10-04 07:48:44 +02:00
util Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
view add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
viewdata Highlight your own votes when displaying poll results (#2242) 2021-09-17 22:12:17 +02:00
viewmodel add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
AboutActivity.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
AccountActivity.kt fix compose button on profile page being half hidden (#2267) 2021-11-16 21:38:59 +01:00
AccountListActivity.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
AccountsInListFragment.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
BaseActivity.java update AndroidX, use ActivityResultContracts (#2170) 2021-05-22 17:50:08 +02:00
BottomSheetActivity.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
EditProfileActivity.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
FiltersActivity.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
LicenseActivity.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
ListsActivity.kt Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
LoginActivity.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
MainActivity.kt fix loading Gif avatars into the main appbar (#2268) 2021-12-05 19:12:52 +01:00
ModalTimelineActivity.kt Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
SplashActivity.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
StatusListActivity.kt Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
TabData.kt Timeline paging (#2238) 2022-01-11 19:00:29 +01:00
TabPreferenceActivity.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
TuskyApplication.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
ViewMediaActivity.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
ViewTagActivity.java Timeline refactor (#2175) 2021-06-11 20:15:40 +02:00
ViewThreadActivity.java move onOptionsItemSelected to BaseActivity (#2059) 2021-01-31 20:27:02 +01:00