Adetunji Dahunsi
6f1206ef92
Add AuthorsRepository to data the layer with sync
...
Change-Id: I5b9ba0508058332dfa153d24662a95553aa7299e
3 years ago
Adetunji Dahunsi
04157c37da
Implement upsert and shell entity cnvention in data layer
...
Change-Id: I200f0bbb22d757484f7beae6d49ccd54ee548a8f
3 years ago
Don Turner
ab7b25ef6a
Add new fields to Topic and display SVG icon.
...
This CL makes the following changes to the Topic model:
Renamed description -> shortDescription
Added longDescription, url and imageUrl (this is the URL of the icon)
This makes the model of Topic in the app match the model in the back end.
The icon (an SVG file) for each topic is displayed in the Topic list UI.
Change-Id: Ibbb35c8be879ae4d6e45b69fa0eafa88f3537052
3 years ago
Adetunji Dahunsi
2b2bd496e0
Added launcher icons
...
Change-Id: I2c7fbfd36d91866956d7787e547affe1b90f4fbc
3 years ago
Alex Vanyo
6f345b86bf
Switch to running check instead of build for pre-push hooks
...
Change-Id: I8f57f824aa80f4fce46a0a8f97051bac6318b5a0
3 years ago
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