Manuel Vivo
88054edf90
Use collectAsStateWithLifecycle to safely collect uiState ( #166 )
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
Nick Rout
d05b573f52
Improve design system usage and add lint checks
...
Change-Id: I05f9400a9410e31bdf1534e458d560fe793b809f
3 years ago
Ben Weiss
fa16a25ac8
Merge branch 'main' into bw/initialMetrics
3 years ago
Caren Chang
04f33f7cca
Fix nullable function call when retrieving locale
3 years ago
Ben Weiss
e949749073
Merge branch 'bw/initialMetrics' of github.com:android/nowinandroid into bw/initialMetrics
3 years ago
Tomáš Mlynarič
bc7270d6c4
Add JankMetricDisposableEffect
...
Change-Id: Idcab0faa2e9b4cc9986064f45217cab101843697
3 years ago
Tomáš Mlynarič
dc97d15a8c
Add JankMetricEffect
...
Change-Id: I8a5d90188b52ec1c11eec1c2724dda1332615768
3 years ago
Tomáš Mlynarič
24a876d4d8
Remove InterestItem state
...
Change-Id: I5d4fddb9fb36a40ae9864edfa6eb4850d8f8d306
3 years ago
Tomáš Mlynarič
ccb08a1a06
Add rememberMetricsStateHolder composable
...
Change-Id: I420cfaf826fee770975164147c29280a760bb5ff
3 years ago
Don Turner
23493cae32
Merge pull request #55 from SimonMarquis/fix/navigation-bar-item-ripple
...
Remove ClearRippleTheme CompositionLocal from NavigationBar
3 years ago
Simon Marquis
bebb16060d
Delete ClearRippleTheme.kt
3 years ago
Ben Weiss
a37c932898
Introduce view extension to track jank
3 years ago
Ben Weiss
4f57975657
Add jankStats and rudamentary jank logging
3 years ago
Ben Weiss
103398682a
Add tracing library and start using it
...
Currently tracing sync and main navigation.
3 years ago
Simon Marquis
3aec915be9
Remove the clip modifier from NewsResourceHeaderImage
3 years ago
Simon Marquis
e304cd3ee7
Reuse the same RoundedCornerShape for NewsResourceCardExpanded and NewsResourceHeaderImage
...
Fixes #15
3 years ago
Alex Vanyo
25f2e39c62
Update for you top app bar
...
Change-Id: I95c8082198e1d1068e9ef674b005d7999e1b4542
3 years ago
Alex Vanyo
afda9f2562
Adjust gradient backgrounds to match designs
...
Two primary changes:
- Reset the tonal elevation inside NiaBackground to 0.dp, to prevent additive tonal elevation
- Change the gradient background to match Figma: 2 overlapping gradients with a slight angle
Change-Id: I183f67f5ca16acbc5125a52131bbd14c6406ad72
3 years ago
shed
a3eccce0ec
UI polish for "For You" Onboarding Screen [ http://b/228070817 ]
...
1. Fixed - Primary container surrounding check mark is too large - refer to Figma for padding values
2.Fixed - Done" button color should be black.
3. Fixed - Margin between bottom of ""done"" button and top of card should be increased.
4. Fixed - Elements within card container should have 16px of padding. Corners should be rounded to 24px
5. Fixed: Headline font should be Euclid and needs to be reduced in size. Refer to type styles in Figma for full specs.
6. Not Fixed (see b/227246491)- Missing save icon
7. Fixed: Date font should be Roboto mono.
8. Not Fixed: Missing ""unread"" indicator dot.
9. Not Fixed: Missing source URL or category tag
8. Fixed: Body copy in card should be Roboto (refer to type styles in Figma for full specs)
Change-Id: I76252bd40037f7f7a987c8d45681b9b6b6243823
3 years ago
Jolanda Verhoef
ce0142b98a
Add gradient background to For You Screen
...
Change-Id: I6a85ee82a78b1897020f1737503611bd100764a1
3 years ago
Adetunji Dahunsi
9ffa4d0a20
Add bio to AuthorEntity
...
Change-Id: Idea9873e2a3107a03f6d30e888e27ba78466ca69
3 years ago
Adetunji Dahunsi
4d72950f94
Add news resource cards to topics screen
...
Change-Id: Iaab014904460988296ea93cc2088c8da93ed17f1
3 years ago
Alex Vanyo
203c8e1ceb
Configure spotless for kts and xml files
...
Fixes: 230874524
Change-Id: I147b9f16d5424b3459435e3c5422867b40c480b7
3 years ago
Caren Chang
2e4c763db5
Add dependency for Compose Previews to render
...
Bug: 228869437
Change-Id: I44a1457916e87f22dda077f4fc34d630b54f6869
3 years ago
Adetunji Dahunsi
643b230187
Converted model ids from ints to strings
...
Change-Id: Iad07926e04113bcd2c6d9e06e5e2a4e802a79b80
3 years ago
Milosz Moczkowski
0dfc2f4fa7
Add TopAppBar to the For You screen
...
Change-Id: I66730ebfcd65d16304c87ba64a66e8f5b03291c4
3 years ago
Alex Vanyo
b677cc4508
Convert all build files to kts
...
Change-Id: I26bf730ee51f62cbd604c02b628c1f277cfceb72
3 years ago
Caren Chang
08c655e7d3
Card UI: Set background color
...
Bug: 228067197
Change-Id: I33acf1a3aabe4ca2ffe4c3ddc8646ef37873e7ad
3 years ago
Simona Stojanovic
2145f6a7cd
Add initial loading wheel animation
...
Change-Id: Iaf4f80c34914022d79c7e089799fc6dd5554a532
3 years ago
Miłosz Moczkowski
707c9d04e7
Revert "Add TopAppBar to the "For You screen""
...
This reverts commit 3e664f1b724a620ad606cda0d4758240d80073ab.
Reason for revert: This change doesn't pass one of the tests
Change-Id: I9ffacbe4eaf1080323a7c9073dfe426a8f43345c
3 years ago
Milosz Moczkowski
fb0ed61ac8
Add TopAppBar to the "For You screen"
...
Change-Id: I0bb1a5038d697adebad4e662755baaba72ded529
3 years ago
Simona Stojanovic
17005c3e91
Add NiA Component Catalog app
...
Change-Id: Ie586b1329e42c10811d29fab1d0fbe6aea8e7cfc
3 years ago
Caren Chang
f97c8fdef5
Show preview for header image in Card UI
...
Bug: 228305069
Change-Id: I5b74f6e285d0bb6bb6b6e8036b979881880953ba
3 years ago
Alex Vanyo
bcf05f5502
Remove material non-3 components
...
Bug: 228974929
Change-Id: Ie74189bd6ce1a4a2ece36962e0ad1627ac9c71dd
3 years ago
Manuel Vivo
3558a6931e
Add People to interests screen
...
Screenshot: https://screenshot.googleplex.com/3XqkTwJQwgfoPsT
Change-Id: Iac7dc06c84523b4db8d05f538b74a08741d2c347
3 years ago
Manuel Vivo
de2f07d1a4
Add People carousel
...
Screenshot: https://screenshot.googleplex.com/9K6C4NZMfMzCABE.png
Change-Id: I32b0240910df6a953c8843895f3b7e22d5adc5de
3 years ago
Alex Vanyo
ca73f5598f
Setup convention plugins base
...
Change-Id: I66ea3a5c95ca9d87a1f0da39b6ba72faffc320ed
3 years ago
Caren Chang
1cd5190305
Card UI: Add rounded corners
...
Bug: 228067197
Change-Id: I7af4eb64680f39616c2e37f092f62da960d3189d
3 years ago
Caren Chang
132566dc40
Card UI: Use M3 theme instead of M2
...
Bug: 228067197
Change-Id: If178b0aa3087ee6a8b6ee10c3340cefb14f4a728
3 years ago
Jose Alcérreca
553d152844
Adds topic screen
...
Bug: 213876743
Tests: Local + UI tests + Navigation test
Change-Id: I6c521695d6b777084a6255c6d62623a4def83063
3 years ago
Adetunji Dahunsi
6f1206ef92
Add AuthorsRepository to data the layer with sync
...
Change-Id: I5b9ba0508058332dfa153d24662a95553aa7299e
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
Caren Chang
a89b435e37
Hide bookmark icon
...
Bug: 227192633
Change-Id: Ieff1fb96860c960dbc2bcb1d05d64e2e05db1779
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
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