Ben Weiss
182482b64c
Update JankStats to 1.0.0-alpha03
...
Accomodating API changes along the way.
3 years ago
Alex Vanyo
9e41a0ac82
Add splashscreen integration
...
Change-Id: I1fbc5b7e663497ae52759afb7bcd6169c5987ce6
3 years ago
Alex Vanyo
d9c0b762ef
Remove non-Compose material
...
Change-Id: I62a639b6c12e7d523c3dc5ad0766f180120d9e92
3 years ago
Jolanda Verhoef
715fc547b6
[NiA] Implement LazyVerticalGrid for Feed
...
Change-Id: I0fd51bdd4c64a3d9ceaba05244d384bb9b463315
3 years ago
Jolanda Verhoef
6ef0355fc1
Merge remote-tracking branch 'github/main' into jul22automerger
...
Change-Id: Ic54190a9d825ae9649d34a4e2bd9c83855511b71
3 years ago
Manuel Vivo
abe1507709
Add more KDocs and nav args encoding
3 years ago
Manuel Vivo
13a5b8c5f9
Make the state holder stable
3 years ago
Manuel Vivo
af7e2517f2
Add state holder for NiaApp composable
3 years ago
Don Turner
729dd4c3a2
Merge remote-tracking branch 'github/main'
...
* github/main: (21 commits)
Add stacktrace for test command
Add TODO comment with bug
Update Compose compiler to 1.2.0, Kotlin to 1.7.0
Consistent tags & named parameter usage
Address review comments
Remove redundant dependency
Fix spotless
Move JankStats metric gathering further down
Add ForYou TopicSelection scrolling state
Add ForYou feed scrolling state
Add JankMetricDisposableEffect
Add AuthorsCarousel scrolling state
Add JankMetricEffect
Remove InterestItem state
Use DisposableEffect + rememberMetricsStateHolder for Interests tab selection
Use rememberMetricsStateHolder for navigation
Add rememberMetricsStateHolder composable
Introduce view extension to track jank
Inject JankStats with Hilt
Add jankStats and rudamentary jank logging
...
Change-Id: I1ff0fb3ccb7d6082c17c6e69f5d9ea9cabe1d733
3 years ago
Jolanda Verhoef
b769f07f22
[NiA] Add Saved functionality
...
Change-Id: I38320a16999d063a023bbe9d329a275af4e78b1e
3 years ago
Ben Weiss
c1603ccebc
Merge branch 'main' into bw/initialMetrics
3 years ago
Ben Weiss
567c993073
Address review comments
...
* Introduce gradle plugin for firebase perf
* Create TrackScrollJank composable to mask tracking code
3 years ago
Ben Weiss
f62ee8ae25
Merge branch 'main' into bw/initialMetrics
3 years ago
Tomáš Mlynarič
13a5ff8c4c
Update baseline profile
...
Contains CUJs:
- scrolling for you feed
- scrolling interests topics
- scrolling interests people
Change-Id: Iad124aafae9858b2922dcfa49302fe1f8aacae48
3 years ago
Tomáš Mlynarič
47a9034088
Add testTag to access composables from UiAutomator
...
Change-Id: I5125cae0778151b11868b72f74f74f979774625c
3 years ago
Jolanda Verhoef
dbb75969a8
Merge pull request #68 from RivanParmar/main
...
Fix Navigation Bar in landscape mode.
3 years ago
Nick Rout
1f984bef26
Improve design system usage and add lint checks
...
Change-Id: I05f9400a9410e31bdf1534e458d560fe793b809f
3 years ago
Rivan
ecb41fbb96
Fix SpotlessApply.
3 years ago
Ben Weiss
efc60bf2cc
Merge branch 'main' into bw/initialMetrics
3 years ago
Rivan Parmar
fbbc08cc73
Merge branch 'android:main' into main
3 years ago
Ben Weiss
e6b301a89b
Move JankStats metric gathering further down
...
This isn't the thing a developer should be focusing on when first
opening the file. So moving it further down in the composable.
3 years ago
Ben Weiss
f627eea6a7
Update baseline profile and generation logic ( #61 )
3 years ago
Ben Weiss
f9610786bc
Merge branch 'bw/initialMetrics' of github.com:android/nowinandroid into bw/initialMetrics
3 years ago
Rivan
6e3192a72a
Fix Navigation Bar in landscape mode.
3 years ago
Rivan
cd84100864
Fix Navigation Bar in landscape mode.
3 years ago
Alex Vanyo
0d85dcefd2
Merge pull request #56 from sud007/fix/nia-naming-convention
...
Fix Bug #41 | Nia Naming conventions
3 years ago
Tomáš Mlynarič
9dd50480f4
Add JankMetricDisposableEffect
...
Change-Id: Idcab0faa2e9b4cc9986064f45217cab101843697
3 years ago
Tomáš Mlynarič
4db051b4a8
Use rememberMetricsStateHolder for navigation
...
Change-Id: I3b038a9bbc6eed9b21343aa0fd75c044049386a4
3 years ago
kbuilder
4282bf37f3
Merge branch 'github/main'
3 years ago
Sudhanshu
c07dba5e63
Fix Bug #41
...
Fix bug #41 Made Naming Convention symmetrical. as 'Nia' instead of 'NiA' as that sounds more subtle and easy to follow in camel-case notation based Naming
3 years ago
Simon Marquis
ba65429d1c
Remove ClearRippleTheme CompositionLocal from NavigationBar
...
Fixes #36
3 years ago
Ben Weiss
e5378b8edd
Introduce view extension to track jank
3 years ago
Ben Weiss
c6646b357f
Inject JankStats with Hilt
3 years ago
Ben Weiss
3bdb7a4c9f
Add jankStats and rudamentary jank logging
3 years ago
Ben Weiss
1676032cd1
Add tracing library and start using it
...
Currently tracing sync and main navigation.
3 years ago
kbuilder
f5e1efc191
Merge branch 'github/main'
3 years ago
Jolanda Verhoef
90e8dfe80d
Merge pull request #44 from serbelga/fix_themed_app_icon_round
...
Fix themed app icon launcher roundIcon
3 years ago
Sergio Belda
4be907d0a0
Add cutout version of ic_launcher_foreground for drawable-v24 in app module in order to distinguish it from the nia-app-catalog version
3 years ago
Sergio Belda
6f48d52ad7
Add monochrome attribute to ic_launcher_round.xml in :app and :app-nia-catalog
3 years ago
Simona Stojanovic
7511941f56
Fix nested navigation graphs
...
Change-Id: I2c3ad0a0f6c132230b821d3621389913cf37247c
3 years ago
Ben Weiss
e9b47ee1fb
Update benchmarking & baseline profiles
...
Uses newest versions from I/O release
Also updates baseline profile to match latest changes
Change-Id: I83c709338ea37d2187d1e8437f5b5d8e98a42f22
3 years ago
Simona Stojanovic
5ca7b6c607
Refactor navigation
...
Change-Id: I3501446e73976f3872592038501fcef8c8324f74
3 years ago
Ben Weiss
6cfc521cad
Update baseline profile
...
Change-Id: I6b69df704e14ba9568494d773690a1121226273e
3 years ago
Adetunji Dahunsi
383b6d29d8
Add AuthorScreen and corresponding components
...
Change-Id: Iee5e8bd0932d1b68770aaa1e23fa660451109601
3 years ago
Simona Stojanovic
bea5ee7194
Rename following to interests
...
Change-Id: Iabcb8b495717e0cb3a993ecc0e09e3338fe5140f
3 years ago
Jolanda Verhoef
ad57a93b64
Add gradient background to For You Screen
...
Change-Id: I6a85ee82a78b1897020f1737503611bd100764a1
3 years ago
Alex Vanyo
7c52414724
Add multi-column support for cards on the for you feed
...
Fixes: 228074722
Change-Id: Id077b4dd93452b5f9399f94161c9b66594436975
3 years ago
Alex Vanyo
403afba03f
Configure spotless for kts and xml files
...
Fixes: 230874524
Change-Id: I147b9f16d5424b3459435e3c5422867b40c480b7
3 years ago
Alex Vanyo
47107e86be
Fix large screen insets handling
...
Bug: 228374243
Change-Id: I2a7af72e60450be3280872b46bd84eb1079b533d
3 years ago
Adetunji Dahunsi
68d146a7c7
Converted model ids from ints to strings
...
Change-Id: Iad07926e04113bcd2c6d9e06e5e2a4e802a79b80
3 years ago
Alex Vanyo
eb96ce2169
Update to Kotlin 1.6.20 and using material3-window-size-class
...
Change-Id: I30bc9f729ab91f007de530af3a12b281430ac1cb
3 years ago
Alex Vanyo
8b1311c5f5
Remove material non-3 components
...
Bug: 228974929
Change-Id: Ie74189bd6ce1a4a2ece36962e0ad1627ac9c71dd
3 years ago
Manuel Vivo
ca8fd5a4f3
Add People to interests screen
...
Screenshot: https://screenshot.googleplex.com/3XqkTwJQwgfoPsT
Change-Id: Iac7dc06c84523b4db8d05f538b74a08741d2c347
3 years ago
Jose Alcérreca
a50b0f5d6a
Adds topic screen
...
Bug: 213876743
Tests: Local + UI tests + Navigation test
Change-Id: I6c521695d6b777084a6255c6d62623a4def83063
3 years ago
Ran Nachmany
71cef7951b
Improving For You onboaring [ http://b/223204846 ]
...
Test: updated tests that were failing in firebase testlab due to the UI change.
Change-Id: If892a7a81eecc69bf71f41d75c11af363903f962
3 years ago
Don Turner
184097bf13
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
c84c024048
Added launcher icons
...
Change-Id: I2c7fbfd36d91866956d7787e547affe1b90f4fbc
3 years ago
Adetunji Dahunsi
4bcaae8152
Integrate WorkManager (WIP)
...
Change-Id: Iedf81220336911ab3ed6ea4ca71b10f07e645bc9
3 years ago
Don Turner
a4a18d6d57
Remove episodes and saved destinations
...
Bug: 223215076
Change-Id: If71b9190c145f9fc298f33fe2145a87886419d68
4 years ago
Ben Weiss
1bbb547bbc
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
4 years ago
Ran Nachmany
58c1b05f09
Merge "Adding device class breakopints ( http://b/216019537 )" into main
4 years ago
Caren Chang
3e0c247a81
Add Internet permission
...
Change-Id: I3b7e042a6fac971597f554049895dbc1cc38fba7
4 years ago
Ran Nachmany
bb233da401
Adding device class breakopints ( http://b/216019537 )
...
Adding NavRail for MEDIUM / EXPANDED classes (http://b/216019759 )
Change-Id: I19a8888de558e1466d186a48f2ea293bb1b8ba4b
4 years ago
Alex Vanyo
d20e08ebcc
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
4 years ago
Simona Stojanovic
1411b1576b
Modularise the app
...
Change-Id: I63791eaf27d08a837598d774df53c96bb01b5864
4 years ago
Jolanda Verhoef
1b06dc97ea
Fixing UI tests
...
Change-Id: Iaa0ce3ae92e0c736aef5809c1e471c9cbff695a9
4 years ago
Simona Stojanovic
53248e6dac
Merge "Add Following - Topics feature base" into main
4 years ago
Caren Chang
4f3776406c
Merge "NewsResourceCard: Display Title, Bookmark Icon and Description" into main
4 years ago
Simona Stojanovic
d355a70292
Add Following - Topics feature base
...
Acceptance criteria: https://b.corp.google.com/issues/213886281
Change-Id: I129fb3d076b831aa00c16533090cb03b2bdebdd7
4 years ago
Adetunji Dahunsi
e089012a8d
Replace module interfaces with objects
...
Change-Id: Ieab7533120e7b8d5a770963e37b9db405e229630
4 years ago
TJ Dahunsi
8b1852cf5e
Merge "Add DAOs for Room and provisions for their Hilt injections" into main
4 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
4 years ago
Adetunji Dahunsi
cbcb24c08f
Add DAOs for Room and provisions for their Hilt injections
...
Change-Id: Ia14c225cc1632ded38abffc201b673a6a60f4451
4 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
4 years ago
Adetunji Dahunsi
9f11f6ae8b
Update copyright accross all files
...
Change-Id: I3d30bf58ded466f936772958bebcd7b7817ad809
4 years ago
Adetunji Dahunsi
c75f7ed025
Add entity relationships and defined network deserialization strategy
...
Change-Id: I239cdc28237a87a0ed6599892e8ac7c61776a46d
4 years ago
Caren Chang
632bc62ed5
Rename ResourceCard -> NewsResourceCard
...
Bug: 217354204
Change-Id: Ib854b1fe91fc36777760f97e863d68c37ff25782
4 years ago
Caren Chang
68ba1ba477
Resource Card: Add bookmark icon
...
Change-Id: I61ae5ca4ba542415165265dfdf0aea4ee0a63f44
4 years ago
Alex Vanyo
1b41864a2c
Merge "For You initial screen" into main
4 years ago
Alex Vanyo
5b89ea4fe5
For You initial screen
...
Change-Id: Ic1975802934e64b59ef151c0e2063ddeb9645690
4 years ago
Caren Chang
841f9af5d1
Create template for composable Resource card
...
Change-Id: Idcfcd92bd2c102078ab612a3e2637c317e195525
Bug: 216019530
4 years ago
Adetunji Dahunsi
41874d73ef
Add DI scaffolding
...
Change-Id: I2441067d5b8314f2e8bfd9369c2b2ee46fd9fbe8
4 years ago
Jolanda Verhoef
1e3520dddf
[NiA] Implement top level navigation
...
Change-Id: I84ed2330de00c3644db644e33351daaf9bb3afed
4 years ago
Adetunji Dahunsi
85e078298e
Implement FakeNewsResourceRepository with test
...
Change-Id: I8e3ce0addf78d5d3d23066f6f55479c751fcd8c7
4 years ago
Adetunji Dahunsi
12cff2074c
Rename episode to NewsResource, add episode to NewsResource, add mockk and unit test, address comments
...
Change-Id: I473cb22cfed2ba33664296183da8136d41b37a63
4 years ago
Don Turner
008bca1472
Add initial app scaffolding
...
Change-Id: If8ff7226949b534e5f0fcaf4c3b58351ffe86d93
4 years ago