Adetunji Dahunsi
a2aa29ef9d
Sort news resources by descending publish date, add NewsResourceDao tests
...
Change-Id: Ib783ed1f4e0ce83c5add82e561f50f89de4faac9
3 years ago
Caren Chang
a89b435e37
Hide bookmark icon
...
Bug: 227192633
Change-Id: Ieff1fb96860c960dbc2bcb1d05d64e2e05db1779
3 years ago
Alex Vanyo
ca09fb9ccf
Fix UiAutomator dependency
...
Change-Id: Ic900228bae138bd4cebad06ca011cdc6304f2f4a
3 years ago
Alex Vanyo
7b6278998d
Build faster?
...
Updates spotless to latest, increases supported memory options and works around important defaults being overridden, and clean up snapshot dependency fetching.
Change-Id: I4f26a443a34081aa6cfb096649fbaaca94080a63
3 years ago
Alex Vanyo
d33c2546ee
Use androidx SavedStateHandle.saveable
...
Change-Id: Ifdae07c5b3731c4d67f348a01652cf3aec00b234
3 years ago
Caren Chang
2652088cf0
Add date to Card UI
...
Bug: 222090934
Change-Id: Ibd782b722aba4b38bc4113c4f036757c6075509c
3 years ago
Caren Chang
1486a3e503
Open NewsResource URL when Card is tapped
...
Bug: 226603463
Change-Id: Ia9d15e9fd85ae1076c7744bf96ad39fd0d5f2e66
3 years ago
Adetunji Dahunsi
ccb822286f
Integrate WorkManager (WIP)
...
Change-Id: Iedf81220336911ab3ed6ea4ca71b10f07e645bc9
3 years ago
Caren Chang
c417672c85
Card UI: Display header image
...
Bug: 216019530
Change-Id: I98acc9951e5644ba5627baa2dc97ca25265b3c2b
3 years ago
Caren Chang
7f69af24a8
Card UI: Show fallback image for author
...
Bug: 224669054
Change-Id: If8524e8540d45882d07715e1e11a3e7d7a7cd275
3 years ago
Caren Chang
997bf6a8b0
Add dependencies necessary to render Compose previews in coreui
...
Change-Id: I6282f909650404a681528f53ca2b66176567611b
3 years ago
Don Turner
396f6eb07d
Add headerImageUrl to NewsResource
...
Change-Id: I275045a35aff3537a5aca3f48b82e8d9508f4124
3 years ago
Don Turner
57f478b7c1
Remove episodes and saved destinations
...
Bug: 223215076
Change-Id: If71b9190c145f9fc298f33fe2145a87886419d68
3 years ago
Caren Chang
7892a9a3c8
Downgrade Android Gradle Plugin version to 7.1.2 for project to be compatible with latest stable Android Studio
...
Change-Id: I142a99fefcf6e3e1cd0f9831647d534d14a589dd
3 years ago
Nick Rout
9039e5b065
Merge "Implement Now in Android Material 3 components and icons Bug: 216019424" into main
3 years ago
Nick Rout
a53066769d
Implement Now in Android Material 3 components and icons
...
Bug: 216019424
Change-Id: I3f23b07dbaa5a834bb05f70e8b68f31ae66d6722
3 years ago
Nick Rout
059b119303
Merge "Implement Now in Android Material 3 theme Bug: 216019424" into main
3 years ago
Ben Weiss
5b54858642
Add baseline profile
...
Create proguard-rules.pro, disabling obfuscation.
The BaselineProfileGenerator needs to run on an AOSP emulator.
Classes in StartupBenchmark should run on a physical device to produce
reliable data.
The baseline-prof.txt file should be re-generated for each release.
Change-Id: Iaceb4e5c6d2f927dc545454a44dea43951dfaf6d
3 years ago
Caren Chang
773b2640b3
Merge "Display authors for Card UI" into main
3 years ago
Caren Chang
65785181ac
Display authors for Card UI
...
Bug: 216019530
Change-Id: Icc94cee83eb8f1375d9100037861217435b4d4ec
3 years ago
Ran Nachmany
668d6cc91c
Merge "Adding device class breakopints ( http://b/216019537 )" into main
3 years ago
Caren Chang
89f54c23d6
Add Internet permission
...
Change-Id: I3b7e042a6fac971597f554049895dbc1cc38fba7
3 years ago
Ran Nachmany
ea9fbad058
Adding device class breakopints ( http://b/216019537 )
...
Adding NavRail for MEDIUM / EXPANDED classes (http://b/216019759 )
Change-Id: I19a8888de558e1466d186a48f2ea293bb1b8ba4b
3 years ago
Nick Rout
2ef5876498
Implement Now in Android Material 3 theme
...
Bug: 216019424
Change-Id: I84dfa9bda4c4512d696bb2295e90bf013ab8933c
3 years ago
Alex Vanyo
1dc478c441
Add news resource cards to for you screen
...
Change-Id: Ia68950804e304ccd4a9f4ba498dd2cf383315fbd
3 years ago
Alex Vanyo
506c98cc90
Add test dispatchers
...
This adds a test implementation of dispatchers with an injected TestDispatcher.
The normal IO dispatcher is automatically swapped out via a TestInstallsIn in core-testing.
This update also updates DataStore to use an injected dispatcher, which allows removing the waitUntil in the navigation tests because we can eagerly read from disk with runTest.
Change-Id: I82abb8c8a57c2beed5ef37bf1e252acf379278cd
3 years ago
Adetunji Dahunsi
9c83cb7412
Add sync method to repository defs
...
Change-Id: Idfe402dde440e8dce47a03fbbc1d827744997e1b
3 years ago
TJ Dahunsi
b5ea108609
Merge "Add tests for serializing NewsResourceTypes from netwrok and to database" into main
3 years ago
Adetunji Dahunsi
315eca7c5e
Add tests for serializing NewsResourceTypes from netwrok and to database
...
Change-Id: Id43d49217cfb3147072dc559cd4dfc2305ddddb1
3 years ago
Alex Vanyo
b3c81fbedf
Merge "Fix test dependencies" into main
3 years ago
Ben Weiss
4a27dc4ea7
Clean up build files
...
Change-Id: I46fe347641db0243949ab939f591e56cbd5e31ff
3 years ago
Ben Weiss
7e27456588
Update to Hilt 2.41 to fix a build breaking bug
...
Change-Id: Id74805c445ccf4be302aed3dcf0f79ba32f40399
3 years ago
Alex Vanyo
fd545f7fad
Fix test dependencies
...
https://twitter.com/alex_vanyo/status/1494409399216992268
Change-Id: If8325a16c6ccd8e42af1e35abad8eebfc8371afe
3 years ago
TJ Dahunsi
2c9fcebab6
Merge "Integrating data layer DAOs" into main
3 years ago
Simona Stojanovic
47dea1a2f6
Add optimisations to improve build times
...
Change-Id: I06b7924c7c615dbf9f523c94db89536dd000d69a
3 years ago
Adetunji Dahunsi
9651c6a581
Integrating data layer DAOs
...
Change-Id: I6bebf14768841f0fc9a224d933c059cfc50f9943
3 years ago
Simona Stojanovic
1411b1576b
Modularise the app
...
Change-Id: I63791eaf27d08a837598d774df53c96bb01b5864
3 years ago
Jolanda Verhoef
1b06dc97ea
Fixing UI tests
...
Change-Id: Iaa0ce3ae92e0c736aef5809c1e471c9cbff695a9
3 years ago
Simona Stojanovic
53248e6dac
Merge "Add Following - Topics feature base" into main
3 years ago
Caren Chang
4f3776406c
Merge "NewsResourceCard: Display Title, Bookmark Icon and Description" into main
3 years ago
Simona Stojanovic
d355a70292
Add Following - Topics feature base
...
Acceptance criteria: https://b.corp.google.com/issues/213886281
Change-Id: I129fb3d076b831aa00c16533090cb03b2bdebdd7
3 years ago
Adetunji Dahunsi
e089012a8d
Replace module interfaces with objects
...
Change-Id: Ieab7533120e7b8d5a770963e37b9db405e229630
3 years ago
TJ Dahunsi
8b1852cf5e
Merge "Add DAOs for Room and provisions for their Hilt injections" into main
3 years ago
Caren Chang
8d8e72667b
NewsResourceCard: Display Title, Bookmark Icon and Description
...
Screenshot of change: https://screenshot.googleplex.com/957TAnWp96uX8Ea
Bug: 216019530
Change-Id: I58fd1b4fda06b0fb8cc5df2ba5baf7e8ddcd5a1d
3 years ago
Adetunji Dahunsi
cbcb24c08f
Add DAOs for Room and provisions for their Hilt injections
...
Change-Id: Ia14c225cc1632ded38abffc201b673a6a60f4451
3 years ago
Alex Vanyo
a36c0da93a
Replace accompanist/insets
...
Replaces the insets support from accompanist with the in-progress support from Compose itself.
This is a pretty simple change on the usage side, since we only used it in one place.
Change-Id: I05ce768d13fcdeb6471012dde774636526cf35f3
3 years ago
Adetunji Dahunsi
9f11f6ae8b
Update copyright accross all files
...
Change-Id: I3d30bf58ded466f936772958bebcd7b7817ad809
3 years ago
Adetunji Dahunsi
c75f7ed025
Add entity relationships and defined network deserialization strategy
...
Change-Id: I239cdc28237a87a0ed6599892e8ac7c61776a46d
3 years ago
Caren Chang
632bc62ed5
Rename ResourceCard -> NewsResourceCard
...
Bug: 217354204
Change-Id: Ib854b1fe91fc36777760f97e863d68c37ff25782
3 years ago
Caren Chang
68ba1ba477
Resource Card: Add bookmark icon
...
Change-Id: I61ae5ca4ba542415165265dfdf0aea4ee0a63f44
3 years ago