Don Turner
2a4d0434a5
Add Firebase analytics. See go/nia-firebase-services.
...
Change-Id: I0cbbda0bba761d8019241f6165db231fe94fb689
2 years ago
Simon Marquis
f9a3533df3
Updgrade androidx-lifecycle from 2.6.0-alpha03 to 2.6.0-alpha05
...
> `Transformations` is now written in Kotlin. This is a *source incompatible change* for those classes written in Kotlin that were directly using syntax such as `Transformations.map`
> Kotlin code *must* now use the Kotlin extension method syntax that was previously only available when using `lifecycle-livedata-ktx`.
> The `collectAsStateWithLifecycle()` APIs of `lifecycle-runtime-compose` are no longer in experimental status. (I09d42, b/258835424)
Changelog: https://developer.android.com/jetpack/androidx/releases/lifecycle#2.6.0-alpha05
2 years ago
Alex Vanyo
b72d0fe1af
Fix settings dialog dismissed test on non-portrait phones
...
Change-Id: I15ed475915fdef198029db2713b6f619da374cc7
2 years ago
Alex Vanyo
9b6695d8dd
Remove unused import
...
Change-Id: I426995db727995c7af6d34082593b078756a3f9d
2 years ago
Alex Vanyo
b4de09d0b2
Use only width to determine navigation UI
...
Change-Id: Icad00b9a3eecac9762f6c6b7c3790e8cf1c161d6
2 years ago
Márton Braun
819dd494ad
Run Spotless to add trailing commas (and apply other rule updates)
...
Change-Id: I5f8e49a3ef004c7e9e7dfe4bc55f0a35dc575209
2 years ago
Angie Sasmita
cfbf782613
Merge pull request #542 from android/as/dynamic-color-option
...
Add dynamic color option in settings for API >=32
2 years ago
mlykotom
6b48b355cc
Merge branch 'main' into tm/fix-benchmarks-no-people
...
Change-Id: I94ca19fad5527c11a2f0f28cc43a23ab22f419a7
2 years ago
Angie Sasmita
6046f6e943
Add dynamic color option in settings for API >=32
...
Change-Id: Ib42c1cbd0208e98ef7610a1c8aca5d721aa464e6
2 years ago
Harshit Pandey
c96ff9e3c8
Coil refrence url fixed
2 years ago
Muhammad Anas Shamsi
43bb4359f5
Revert "Add link of source code in app"
...
This reverts commit 197f4a5157
.
2 years ago
Muhammad Anas Shamsi
197f4a5157
Add link of source code in app
2 years ago
Muhammad Anas Shamsi
f3f01c3d2f
Typo fix for compact
2 years ago
Don Turner
0917cdebec
Refactor NiaGradientBackground to accept GradientColors
...
Change-Id: I55840b22e123490097710570bf11554554df90f9
2 years ago
Alex Vanyo
088a1de92e
Rename to shouldShowGradientBackground
...
Change-Id: I79d4b43354f9da99d91fb21ee84fc084b374f4b8
2 years ago
Alex Vanyo
2fad9fd1e5
Fix background composable
...
Change-Id: I548612191b0b99620777c3e2ad0ace56b228d27d
2 years ago
Don Turner
4e4f48e88c
Change variable name for 'not connected' message
2 years ago
Alex Vanyo
a1d47d5418
Center title bar when nav rail is visible
...
Change-Id: I341833b71504462fdbfbe5073a2465be2af95fda
2 years ago
mlykotom
1b9ed220be
Regenerate profile without people
...
Change-Id: Ia412617ac2e4212b7b9b3a3fa6f39541e53584c4
2 years ago
Jolanda Verhoef
4ba63c0de8
Remove author concept from app
...
Change-Id: Icd03c0288ba5f3f23dbcbdbefbbe802db2815793
2 years ago
Márton Braun
56b3c1d0b9
Merge pull request #468 from android/remove-stream-suffixes
...
Remove `Stream` suffixes
2 years ago
Márton Braun
e6c53a8aaa
Update baseline profile
...
Change-Id: Ida83e612d5595ea1d43f9105ac7e76f7db2f6caa
2 years ago
Márton Braun
9c22a7a4e7
Remove `Stream` suffixes
...
Change-Id: I45decae965d7e35289d3fa31fc58b8c463fbead1
2 years ago
Alex Vanyo
465d9aae06
Fix spotless
...
Change-Id: Ib46c68c765342d8c172cf2f224bb7f885803b483
2 years ago
Alex Vanyo
369cd33b7a
Add accompanist/testharness
...
Adds a usage of accompanist/testharnness to force a given DpSize for its content, overriding the density if necessary to ensure that the size is achieved. This allows testing UI at arbitrary sizes on arbitrary emulators, lessening the need for using multiple emulators at different sizes (and filtering tests) when Android-specific window size has been hoisted appropriately.
The initial test using it is a test for checking whether or not the navigation bar or navigation rail is being shown, and these tests can run on any emulator.
Change-Id: I315384e5eafac23a3cd6d3818d9828f6d3c1acfc
2 years ago
Tomáš Mlynarič
b425f9560d
Merge pull request #458 from android/tm/fix-benchmarks
...
Fix benchmarks
2 years ago
mlykotom
867cc549cd
Update BLP
2 years ago
Masood Fallahpoor
22b8f782eb
Make functions 'shouldUseDarkTheme' and 'shouldUseDarkTheme' private
2 years ago
Milosz Moczkowski
06dac236fe
Merge pull request #420 from SimonMarquis/patch/kotlin-test
...
Migrate from JUnit assertions to Kotlin's test framework
2 years ago
Don Turner
df6207122d
Merge pull request #326 from MaximillianLeonov/redundant-label-on-activity
...
Remove redundant label on activity
2 years ago
Don Turner
c7859d3c3c
Merge pull request #324 from MaximillianLeonov/unused-color-resources
...
Remove redundant unused color resources
2 years ago
Simon Marquis
90dc300783
Migrate from JUnit assertions to Kotlin's test framework
...
Fixes #419
2 years ago
Don Turner
a9aa3eafab
Add data from the last 10 episodes
2 years ago
Ben Weiss
0171971dc7
Merge pull request #316 from android/bw/gradleCleanup
...
Update Baseline Profile generation
2 years ago
Ben Weiss
3ab6002531
New baseline profile
...
Change-Id: I8a20ab2f44b198afaf57f26d1bee20054ed1ce6d
2 years ago
Yura Laguta
de893cbad7
Resolves #206 , enables predictive back navigation support
2 years ago
Don Turner
505187482b
Add workaround for top app bar overlapping nav rail
2 years ago
Don Turner
1c6c812b76
Update app/src/main/java/com/google/samples/apps/nowinandroid/ui/NiaApp.kt
...
Co-authored-by: Alex Vanyo <vanyo@google.com>
2 years ago
Don Turner
dbff140b64
Fix minor issues
2 years ago
Don Turner
e5183e21e0
Resolve conflict with navigation changes from main
2 years ago
Don Turner
76daa393b1
Address review feedback from Manu
2 years ago
Don Turner
0d5dd944ea
Fix getter for settings dialog state
2 years ago
Don Turner
828242dbad
Remove Scaffold from top level screens
2 years ago
Don Turner
f59da72383
Add comment about splashScreen.setKeepOnScreenCondition
2 years ago
Don Turner
5e4100fafc
Add MainActivity view model
2 years ago
Don Turner
c3f7870412
Fix spotless issues
2 years ago
Don Turner
56c0645816
Add tests
2 years ago
Don Turner
8c30ab9f80
Add settings module, refactor top bar
2 years ago
Don Turner
b7500ea09b
Fix typo
2 years ago
Don Turner
add486a0ab
Fix spotless issues
2 years ago
Alex Vanyo
7e3faad699
Add data logic for theme switcher
...
Change-Id: Ifffadb897de4f6e08f7115103f99c156a7098b70
2 years ago
Manuel Vivo
a0b22d8ed2
Updates Navigation approach with new guidance ( #347 )
2 years ago
Ben Weiss
7e6cb46436
Merge pull request #328 from android/bw/moreJankstats
...
Add more jank tracking
2 years ago
Ben Weiss
ee2e3db928
Add more jank tracking
2 years ago
Wojtek Kaliciński
dcc23829d4
Migrate packages to namespaces in build files
...
Change-Id: I21e021caa0ea72a7097dfd9af04a3c07a0cc9aa5
2 years ago
Ben Weiss
348e2cc6f4
Shorten navigation trace, fixes #271
...
Change-Id: I4b33800a538b13996fc68b48854be56251a9db2c
2 years ago
Maximillian Leonov
f16b698ba6
Remove redundant label on activity
2 years ago
Maximillian Leonov
73a9960cbd
Remove redundant unused color resources
2 years ago
Alex Vanyo
9be6e846d9
Apply spotless
...
Change-Id: I49eeb1984cb3e978a9cee5c1e4d53e856a10bb4e
2 years ago
Alex Vanyo
738210166a
Refine backgrounds and navigation colors
...
Change-Id: I9fd863cc608f21078ab78c39c2c3d227aedbac7c
2 years ago
Alex Vanyo
8c11769622
Update to material3 1.0.0-beta03 wih built-in insets support
...
Change-Id: I4d07f89d4faa6e3417468ad78acf3fbb161f0797
2 years ago
Wojtek Kaliciński
d0cff2b11c
Build cleanup
...
* Move Hilt setup to convention plugin
* Disable Hilt on modules where it's not needed
* Enable non-transitive R classes
* Fix `configuration` blocks called in wrong scope
* Move imperative Flavors code from build.gradle
* Disable unnecessary build features globally
* Disable configure-on-demand as it's not encouraged
* Don't use internal AGP packages in plugins
Change-Id: I1bee3e3fd0103054637b979a350f9fd2312ae8ba
2 years ago
Jolanda Verhoef
a37c06db10
Merge pull request #231 from android/jv/app-icon
...
Update app icon using Image Asset Studio
2 years ago
Jolanda Verhoef
bcdc906f3a
Add round icon again for API 25.
2 years ago
Jolanda Verhoef
f00cae012f
Add monochrome to v26 app icon, remove round icon (as per documentation: You may also define an icon drawable resource using the android:roundIcon attribute—but only if you require a different icon asset for circular masks, for example in a case where your branding relies on a circular shape.)
2 years ago
Alex Vanyo
73cd535695
Fix dark mode system icons
...
Change-Id: I8af3435d2b83ebbd55b8adaa3f2066fbe2d22fa5
2 years ago
Jolanda Verhoef
f851141b0d
Add v33 launcher icon with support for adaptive icons
2 years ago
Jolanda Verhoef
152d571847
Update app icon using Image Asset Studio
...
Change-Id: I9eb8281abbb59da0b653dbe6c36786c90d330556
2 years ago
Alex Vanyo
e0687e9aae
Merge pull request #217 from android/av/splash-screen
...
Removes non-Compose Material library and adds splash screen
2 years ago
Alex Vanyo
200aede1c7
Rename NightAdjusted.Splash to NightAdjusted.Theme.Splash
...
Change-Id: I2493c664945d3cfbe1c52397133fdc955265ac56
2 years ago
Ben Weiss
8587ae8ee6
Merge pull request #219 from android/bw/metricsUpdate
...
Update JankStats to 1.0.0-alpha03
2 years ago
Ben Weiss
6dc17126da
Update JankStats to 1.0.0-alpha03
...
Accomodating API changes along the way.
2 years ago
Alex Vanyo
063965c9cd
Add splashscreen integration
...
Change-Id: I1fbc5b7e663497ae52759afb7bcd6169c5987ce6
2 years ago
Alex Vanyo
4523129fd4
Remove non-Compose material
...
Change-Id: I62a639b6c12e7d523c3dc5ad0766f180120d9e92
2 years ago
Jolanda Verhoef
40cf1b8171
[NiA] Implement LazyVerticalGrid for Feed
...
Change-Id: I0fd51bdd4c64a3d9ceaba05244d384bb9b463315
2 years ago
Jolanda Verhoef
37ad3e6299
Merge remote-tracking branch 'github/main' into jul22automerger
...
Change-Id: Ic54190a9d825ae9649d34a4e2bd9c83855511b71
2 years ago
Manuel Vivo
ea07e97a07
Add more KDocs and nav args encoding
2 years ago
Manuel Vivo
872a7a6523
Make the state holder stable
2 years ago
Manuel Vivo
0eee3620b8
Add state holder for NiaApp composable
2 years ago
Don Turner
34411e3f70
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
2 years ago
Jolanda Verhoef
c4110e33c6
[NiA] Add Saved functionality
...
Change-Id: I38320a16999d063a023bbe9d329a275af4e78b1e
2 years ago
Ben Weiss
efb76d4941
Merge branch 'main' into bw/initialMetrics
2 years ago
Ben Weiss
9f929944d0
Address review comments
...
* Introduce gradle plugin for firebase perf
* Create TrackScrollJank composable to mask tracking code
2 years ago
Ben Weiss
6509b6ac9d
Merge branch 'main' into bw/initialMetrics
3 years ago
Tomáš Mlynarič
a4e7488888
Update baseline profile
...
Contains CUJs:
- scrolling for you feed
- scrolling interests topics
- scrolling interests people
Change-Id: Iad124aafae9858b2922dcfa49302fe1f8aacae48
3 years ago
Tomáš Mlynarič
b2569c1576
Add testTag to access composables from UiAutomator
...
Change-Id: I5125cae0778151b11868b72f74f74f979774625c
3 years ago
Jolanda Verhoef
90480286c9
Merge pull request #68 from RivanParmar/main
...
Fix Navigation Bar in landscape mode.
3 years ago
Nick Rout
d05b573f52
Improve design system usage and add lint checks
...
Change-Id: I05f9400a9410e31bdf1534e458d560fe793b809f
3 years ago
Rivan
334a6d07b3
Fix SpotlessApply.
3 years ago
Ben Weiss
fa16a25ac8
Merge branch 'main' into bw/initialMetrics
3 years ago
Rivan Parmar
09e0aed124
Merge branch 'android:main' into main
3 years ago
Ben Weiss
42878c5e86
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
da79a98876
Update baseline profile and generation logic ( #61 )
3 years ago
Ben Weiss
e949749073
Merge branch 'bw/initialMetrics' of github.com:android/nowinandroid into bw/initialMetrics
3 years ago
Rivan
747416ad84
Fix Navigation Bar in landscape mode.
3 years ago
Rivan
5032136784
Fix Navigation Bar in landscape mode.
3 years ago
Alex Vanyo
b602abc263
Merge pull request #56 from sud007/fix/nia-naming-convention
...
Fix Bug #41 | Nia Naming conventions
3 years ago
Tomáš Mlynarič
bc7270d6c4
Add JankMetricDisposableEffect
...
Change-Id: Idcab0faa2e9b4cc9986064f45217cab101843697
3 years ago
Tomáš Mlynarič
a076a50010
Use rememberMetricsStateHolder for navigation
...
Change-Id: I3b038a9bbc6eed9b21343aa0fd75c044049386a4
3 years ago
kbuilder
58fd7dcec0
Merge branch 'github/main'
3 years ago