Commit Graph

150 Commits

Author SHA1 Message Date
Ammar Githam 74434aa3b3 Fix re-init of fragments on tab change 2021-07-11 02:37:29 +09:00
Ammar Githam 64600ceb04 Convert UserSearchFragment to kotlin and fix UserSearchMode 2021-07-07 16:29:44 +09:00
Ammar Githam 751259d430 Re-add ProfileFragmentViewModel params and fix tests 2021-07-07 15:09:33 +09:00
Austin Huang f0a2feeaa8
Merge branch 'master' into pr/1542 2021-07-06 17:05:01 -04:00
Austin Huang fef2552bdf
actually support highlights and user stories
properly, meaning not trying to init another ProfileFragmentViewModel
2021-07-06 16:56:45 -04:00
Austin Huang 7e9e3b0fbf
re-implement viewing individual user stories 2021-07-06 15:30:37 -04:00
Austin Huang 379468d577
re-implement viewing highlights 2021-07-06 15:08:10 -04:00
Austin Huang cd1b1d5da2
some profile viewmodel refactoring 2021-07-06 12:35:19 -04:00
Austin Huang 7522b5f083
finish up stories viewer UI
close #537, close #1554
2021-07-06 11:26:24 -04:00
Austin Huang bb5244665b
story viewmodel (wip)
hiding the storylist doesn't work yet but everything else should be good
2021-07-05 20:11:58 -04:00
Ammar Githam 65f46e4ca7 Add username check to prevent unnecessary fetch in ProfileFragmentViewModel 2021-07-06 06:22:06 +09:00
Ammar Githam 05f8b1b8e3 Migrate Navigation to 2.4.0-alpha4
1. 2.4.0 introduces multistack navigation. Which removes the need for NavigationExtensions
2. Organised all nav graphs into a single graph to remove global action redundancy.
2021-07-03 21:36:34 +09:00
Austin Huang a6b2031950
more efficient way to search subdirs 2021-06-30 17:44:48 -04:00
Austin Huang 19d3434dbf
convert stuff to kotlin 2021-06-29 22:43:17 -04:00
Austin Huang 4d9494cbcf
convert StoryModel to StoryMedia
close #1151, close #1208
2021-06-29 16:56:12 -04:00
Ammar Githam e23f72f4d1 Remove unused param 2021-06-30 00:46:07 +09:00
Ammar Githam 16f0a34f55 Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-06-30 00:43:30 +09:00
Ammar Githam 27d919e6b2 Migrate ProfileFragment to kotlin and use viewmodel 2021-06-30 00:21:10 +09:00
Austin Huang 7ead5046d9
convert HighlightModel usages (as archives) to Story 2021-06-29 11:07:01 -04:00
Austin Huang f7ce2eeea2
convert HighlightModel usages (as highlights) to Story 2021-06-29 11:04:43 -04:00
Austin Huang 817a16873c
convert FeedStoryModel to Story and Broadcast response data classes
there seems to be a toolbar problem with live stories, will check tomorrow
2021-06-28 22:34:02 -04:00
Austin Huang 3f6ed5f78b
sending dm media shares with exact child
https://t.me/barinsta_app/21890
2021-06-28 15:29:37 -04:00
Austin Huang 10447cd633
expand broadcasting rich message by 1 argument
for stories and post children
2021-06-28 14:20:12 -04:00
Austin Huang 786c567cca
allow replying to replies 2021-06-28 12:02:34 -04:00
Austin Huang 5e016e3210
close #1447 2021-06-26 15:30:20 -04:00
Austin Huang 3032a388f0
share profile (unfinished) 2021-06-24 13:01:23 -04:00
Ammar Githam 50c120eb75 Add user story and highlights fetch logic 2021-06-24 23:19:21 +09:00
Ammar Githam 63df44624e Add update favorite logic in ProfileFragmentViewModel and corresponding test 2021-06-24 20:41:48 +09:00
Ammar Githam edb03ba3d8 Update ProfileFragmentViewModel and tests 2021-06-24 20:12:37 +09:00
Ammar Githam 976c9a86b6 Update ProfileFragmentViewModel 2021-06-23 22:07:38 +09:00
Ammar Githam 1ebf7a2e4b Update ProfileFragmentViewModel 2021-06-23 20:52:45 +09:00
Austin Huang c2ac61986f
close #1362 2021-06-19 12:10:56 -04:00
Austin Huang f657f61aa7
proper self-profile handling when offline; close #1328 2021-06-18 20:00:42 -04:00
Austin Huang d76018596d
share profile by dm: preparation 2021-06-15 13:27:58 -04:00
Austin Huang b287f96415
made pr buildable (not functional) 2021-06-13 17:21:34 -04:00
Austin Huang f961c422ca
Merge branch 'master' into pr/934 2021-06-13 12:02:51 -04:00
Ammar Githam 70ffac3025 Add some ProfileFragmentViewModel logic and tests 2021-06-13 20:52:03 +09:00
Ammar Githam 1d9eb43442 Make currentUser in AppStateViewModel a Resource 2021-06-13 20:01:09 +09:00
Ammar Githam de9a1e06a9 Add FavoriteRepository to ProfileFragmentViewModel constructor 2021-06-12 13:22:49 +09:00
Ammar Githam 77868838b9 Update how FavoriteDataSource and FavoriteRepository get initialised 2021-06-12 13:19:25 +09:00
Ammar Githam 8253328788 Add AccountRepository to ProfileFragmentViewModel constructor 2021-06-12 13:04:55 +09:00
Ammar Githam dad2260ea2 Add GraphQLRepository to ProfileFragmentViewModel constructor 2021-06-12 12:43:15 +09:00
Ammar Githam 205e21b07c Move GraphQLService object to GraphQLRepository constructor parameter. 2021-06-12 12:39:55 +09:00
Ammar Githam 69b685ae0d Interchange GraphQLService and GraphQLRepository names. 2021-06-12 12:34:50 +09:00
Ammar Githam 2a0295e325 Add MediaRepository to ProfileFragmentViewModel constructor 2021-06-12 10:07:31 +09:00
Ammar Githam 58e0863de5 Move MediaService object to MediaRepository constructor parameter. 2021-06-12 10:03:21 +09:00
Ammar Githam b2cbc18dbb Interchange MediaService and MediaRepository names. 2021-06-12 09:53:38 +09:00
Ammar Githam 02cb1f5db5 Add StoriesRepository to ProfileFragmentViewModel constructor 2021-06-12 08:54:00 +09:00
Ammar Githam 4f8de4e7df Fix compile error 2021-06-12 08:42:12 +09:00
Austin Huang 8bb0fba4cb
close #1397 2021-06-11 12:24:25 -04:00