Commit Graph

517 Commits (2f281e549a56c30e66309d02baf5a55f61ce3105)

Author SHA1 Message Date
Milosz Moczkowski 851ca6388e
Merge pull request #868 from SimonMarquis/patch-4
1 year ago
Jose Alcérreca 886158d3cb
Adds Screenshot testing with Roborazzi (#876)
1 year ago
Don Turner e96e54f7de
Merge pull request #806 from SimonMarquis/objenesis
1 year ago
Simon Marquis b7799f0475 Convert 'sealed' sub-object to 'data object'
1 year ago
Alex Vanyo a3ee09ec3e
Merge pull request #817 from android/av/enable-edge-to-edge
1 year ago
Simon Marquis d8a6d0de13 Replace NiaNetworkDataSource with TopicsRepository
1 year ago
Simon Marquis 57f3700980 Select last topic by name instead of a random one
1 year ago
Simon Marquis 64f81751b3
Handle topic clicks from all destinations
1 year ago
Alex Vanyo 2b218b97d9 Switch to new Activity.enableEdgeToEdge
1 year ago
Simon Marquis 0a1f333fc6
Update NavigationTest.kt
1 year ago
Simon Marquis bf5fdb4cf8
Update NavigationTest.kt
1 year ago
Simon Marquis 250850cf9b
Remove hardcoded topic names in `NavigationTest.kt`
1 year ago
Don Turner 654944430d Fix for Retrofit R8 issue, bump version to 0.1.2
1 year ago
Márton Braun 56389cb760
Merge pull request #752 from SimonMarquis/kotlin-1.9.0
1 year ago
Simon Marquis ba82b06cc3 Fix Lint `RememberReturnType` issue with explicit type
1 year ago
Don Turner 7f62b725a6 Bump version to code=7, name=0.1.1
1 year ago
Automerger 49a3f47fd8 Merge branch 'github/main'
2 years ago
Automerger 44c3c6d947 Merge branch 'github/main'
2 years ago
Milosz Moczkowski 04d3da39b9
Merge pull request #809 from SimonMarquis/launcher-icon-dark-theme
2 years ago
Murat Yener e96dac39b2 changed from ListenableFuture.get() to ListenableFuture.await()
2 years ago
Murat Yener 78ed9adca2 spotless fix
2 years ago
Murat Yener 7b5c0f2be8 Adds ProfileViewer to log the app's Baseline Profile Compilation Status
2 years ago
Simon Marquis cf64e25ad5 Extract launcher icon tints and provide `-night` alternatives
2 years ago
Simon Marquis 0a3069a0d8 Remove forced junit resolution strategy
2 years ago
Simon Marquis d332f7b70d Remove forced objenesis resolution strategy
2 years ago
Automerger 8b024f0911 Merge branch 'github/main'
2 years ago
Simon Marquis cb84082ae7
Merge branch 'main' into patch/proguard
2 years ago
Automerger b434112bf2 Merge branch 'github/main'
2 years ago
James Rose 7826b4f5f2
Merge pull request #748 from SimonMarquis/fix/permissions
2 years ago
Automerger 1c2a833e6c Merge branch 'github/main'
2 years ago
Miłosz Moczkowski 7b30720b25 Remove nested scaffold from the bookmarks screen
2 years ago
Automerger a91ba16a9c Merge branch 'github/main'
2 years ago
Miłosz Moczkowski 479a2f00b0 Refactor icons
2 years ago
Automerger 9241b06e9f Merge branch 'github/main'
2 years ago
Miłosz Moczkowski ded8b109b9 Refactor custom notificationDot modifier
2 years ago
Simon Marquis 8f41a6b3ab Cleanup proguard configuration
2 years ago
Simon Marquis 823c4db201 Grant `POST_NOTIFICATIONS` permission in more instrumented tests
2 years ago
Automerger 0c2e01bf4e Merge branch 'github/main'
2 years ago
Miłosz Moczkowski fc3d0ced20 Replace hardcoded license file with OSS licenses plugin
2 years ago
Automerger 4eaad4c0a6 Merge branch 'github/main'
2 years ago
James Rose a68eedebfa
Merge pull request #713 from android/jr/settings-dialog-state
2 years ago
James Rose 62a77321d3 Save the showSettingsDialog flag in instance state
2 years ago
Don Turner 0829cb73f7 Bump version name to 0.1.0 (versionCode 6)
2 years ago
TJ Dahunsi ef97cb941c Route notification deep link through for you screen
2 years ago
Milosz Moczkowski 553f55f978
Merge pull request #679 from SimonMarquis/patch-3
2 years ago
Simon Marquis 1341f7c2c5 Replace unused variable with simpler method calls
2 years ago
Simon Marquis 1921c6544d Replace deprecated methods
2 years ago
Don Turner e1ae12129a
Merge pull request #662 from android/av/agp-8.0
2 years ago
Takeshi Hagikura b3cdc172cd
Implement search feature (#685)
2 years ago
Simon Marquis 3a810f015b Remove unused variables
2 years ago
Simon Marquis 091abad348
Simplify String resource loading in NavigationTest.kt
2 years ago
James Rose b49767a88c Rename getUserNewsResources to observeAll
2 years ago
Alex Vanyo 96a0449ba9 Add dontwarn for proguard rules
2 years ago
James Rose 57c13d84bd Incorporate code review changes: Move UserNewsResourceRepository to data
2 years ago
James Rose ebfbb5bafd Display unread state on the news feed and bottom nav bar
2 years ago
AlfianHanantio bcd4a6de59 Remove redundant code block for managed virtual device creation
2 years ago
Alex Vanyo 01b5f34eb3 Update to Compose Material 3 1.1.0-alpha06
2 years ago
Alex Vanyo 874c2d1487
Merge pull request #561 from SimonMarquis/update/androidx-lifecycle
2 years ago
Caren 6a5feb767e
Merge pull request #582 from yschimke/loaders
2 years ago
Simon Marquis 4d4f7d4a15 Merge remote-tracking branch 'origin/main' into update/androidx-lifecycle
2 years ago
Yuri Schimke 9e399b69ea Improve network pooling and avoid startup image fetches.
2 years ago
Don Turner 75f8fc7e08 Bump versionCode to 5
2 years ago
Don Turner 79da80756e Merge "Remove AD_ID permission" into main
2 years ago
Don Turner 11a4bbaa48 Remove AD_ID permission
2 years ago
Don Turner 4284e6912e Merge remote-tracking branch 'github/main' into feb9automerger
2 years ago
Don Turner d80668407a Bump version to 4
2 years ago
Márton Braun 322ff63dbc Route topic chip tap events up to NiaNavHost
2 years ago
Don Turner e3e33d8497 Merge "Add Firebase analytics. See go/nia-firebase-services." into main
2 years ago
Don Turner 2a4d0434a5 Add Firebase analytics. See go/nia-firebase-services.
2 years ago
Automerger 6a12392f0b Merge branch 'github/main'
2 years ago
Simon Marquis f9a3533df3 Updgrade androidx-lifecycle from 2.6.0-alpha03 to 2.6.0-alpha05
2 years ago
Alex Vanyo b72d0fe1af Fix settings dialog dismissed test on non-portrait phones
2 years ago
Automerger 2bb2d0fb15 Merge branch 'github/main'
2 years ago
Alex Vanyo 9b6695d8dd Remove unused import
2 years ago
Alex Vanyo b4de09d0b2 Use only width to determine navigation UI
2 years ago
Automerger 80cb70ae2d Merge branch 'github/main'
2 years ago
Automerger 6371cda677 Merge branch 'github/main'
2 years ago
Márton Braun 819dd494ad Run Spotless to add trailing commas (and apply other rule updates)
2 years ago
Angie Sasmita cfbf782613
Merge pull request #542 from android/as/dynamic-color-option
2 years ago
Automerger 8dd9abd6ac Merge branch 'github/main'
2 years ago
mlykotom 6b48b355cc Merge branch 'main' into tm/fix-benchmarks-no-people
2 years ago
Automerger ebb070c73b Merge branch 'github/main'
2 years ago
Mohsen Rzna 46c1d510d4
Android-CI workflow -> GMD refactor (#537)
2 years ago
Angie Sasmita 6046f6e943 Add dynamic color option in settings for API >=32
2 years ago
Automerger 0aa17b5433 Merge branch 'github/main'
2 years ago
Don Turner 0365658935
Merge pull request #525 from hp902/patch/fix
2 years ago
Ben Weiss f316be1d69
Add Firebase dependencies
2 years ago
Takeshi Hagikura 4633609930
Introduce GMD + ATD (#479)
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"
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
2 years ago
Alex Vanyo 088a1de92e Rename to shouldShowGradientBackground
2 years ago
Alex Vanyo 2fad9fd1e5 Fix background composable
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
2 years ago
mlykotom 1b9ed220be Regenerate profile without people
2 years ago
Jolanda Verhoef 4ba63c0de8 Remove author concept from app
2 years ago
Márton Braun 56b3c1d0b9
Merge pull request #468 from android/remove-stream-suffixes
2 years ago
Márton Braun e6c53a8aaa Update baseline profile
2 years ago
Márton Braun 9c22a7a4e7 Remove `Stream` suffixes
2 years ago
Alex Vanyo 465d9aae06 Fix spotless
2 years ago
Alex Vanyo 369cd33b7a Add accompanist/testharness
2 years ago
Tomáš Mlynarič b425f9560d
Merge pull request #458 from android/tm/fix-benchmarks
2 years ago
mlykotom 7db33aa041 Refactor naming according to convention
2 years ago
mlykotom 867cc549cd Update BLP
2 years ago
Masood Fallahpoor 22b8f782eb Make functions 'shouldUseDarkTheme' and 'shouldUseDarkTheme' private
2 years ago
mlykotom eea70382d6 Fix code style
2 years ago
mlykotom 7ebc718ca0 Enable R8
2 years ago
mlykotom 6c1f8394d9 Fix flavors change
2 years ago
Milosz Moczkowski fe32e90cdd
Merge pull request #412 from SimonMarquis/patch-2
2 years ago
Milosz Moczkowski 06dac236fe
Merge pull request #420 from SimonMarquis/patch/kotlin-test
2 years ago
Don Turner df6207122d
Merge pull request #326 from MaximillianLeonov/redundant-label-on-activity
2 years ago
Don Turner c7859d3c3c
Merge pull request #324 from MaximillianLeonov/unused-color-resources
2 years ago
Simon Marquis 90dc300783 Migrate from JUnit assertions to Kotlin's test framework
2 years ago
Simon Marquis 18e58678e3
Merge branch 'android:main' into patch-2
2 years ago
Simon Marquis e050c22c88
Remove test dependency from `implementation` configuration, fixes #411
2 years ago
Don Turner d616bf3a42 New version to trigger new build on server
2 years ago
Don Turner de403be3c4 Update app version
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
2 years ago
Ben Weiss 3ab6002531
New baseline profile
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
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 d42881e5d4 Add UI architecture for Settings dialog
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
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
2 years ago
Ben Weiss ee2e3db928
Add more jank tracking
2 years ago
Wojtek Kaliciński dcc23829d4 Migrate packages to namespaces in build files
2 years ago
Ben Weiss 348e2cc6f4
Shorten navigation trace, fixes #271
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
Don Turner 6351a89545
Merge pull request #310 from android/documentation/dep_graphs
2 years ago
Adetunji Dahunsi c4debb74e7 Give feedback when syncing on ForYouScreen
2 years ago
Milosz Moczkowski 06e60063b5 Add dependency graphs to every module
2 years ago
Alex Vanyo 9be6e846d9 Apply spotless
2 years ago
Alex Vanyo 738210166a Refine backgrounds and navigation colors
2 years ago
Alex Vanyo 8c11769622 Update to material3 1.0.0-beta03 wih built-in insets support
2 years ago
Wojtek Kaliciński 4683918cc7 Move spotless to init script
2 years ago
Wojtek Kaliciński d0cff2b11c Build cleanup
2 years ago
Alex Vanyo d6555cbaa5
Merge pull request #269 from android/av/compose-tracing
2 years ago
Alex Vanyo a60687ae73 Update Kotlin, Compose and add runtime-tracing
2 years ago
madroid c35699280e Move 'feature-' module to feature subfolder
2 years ago
madroid 3bd81154b5 Move 'core-' module to core subfolder
2 years ago
Jolanda Verhoef a37c06db10
Merge pull request #231 from android/jv/app-icon
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
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
2 years ago
Alex Vanyo e0687e9aae
Merge pull request #217 from android/av/splash-screen
2 years ago
Alex Vanyo 200aede1c7 Rename NightAdjusted.Splash to NightAdjusted.Theme.Splash
2 years ago
Ben Weiss 8587ae8ee6
Merge pull request #219 from android/bw/metricsUpdate
2 years ago
Ben Weiss 6dc17126da
Update JankStats to 1.0.0-alpha03
2 years ago
Alex Vanyo 063965c9cd Add splashscreen integration
2 years ago
Alex Vanyo 4523129fd4 Remove non-Compose material
2 years ago
Jolanda Verhoef 40cf1b8171 [NiA] Implement LazyVerticalGrid for Feed
2 years ago
Jolanda Verhoef 37ad3e6299 Merge remote-tracking branch 'github/main' into jul22automerger
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'
2 years ago
Jolanda Verhoef c4110e33c6 [NiA] Add Saved functionality
2 years ago
Ben Weiss efb76d4941
Merge branch 'main' into bw/initialMetrics
2 years ago
Ben Weiss 9f929944d0
Address review comments
2 years ago
Ben Weiss c3ca38d31d
Remove redundant dependency
3 years ago
Ben Weiss 6509b6ac9d
Merge branch 'main' into bw/initialMetrics
3 years ago
Tomáš Mlynarič a4e7488888 Update baseline profile
3 years ago
Tomáš Mlynarič b2569c1576 Add testTag to access composables from UiAutomator
3 years ago
Tomáš Mlynarič 2407a1d4b4 Fix debuggable build types
3 years ago
Jolanda Verhoef 90480286c9
Merge pull request #68 from RivanParmar/main
3 years ago
Nick Rout d05b573f52 Improve design system usage and add lint checks
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
Renovate Bot 22c5668133
Update dependency org.objenesis:objenesis to v3
3 years ago
Jolanda Verhoef 2f35893b2e Merge remote-tracking branch 'github/main'
3 years ago
Ben Weiss 42878c5e86
Move JankStats metric gathering further down
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
Don Turner eb1973052d Add demo and prod product flavors. Remove staging variant.
3 years ago
Alex Vanyo b602abc263
Merge pull request #56 from sud007/fix/nia-naming-convention
3 years ago
Tomáš Mlynarič bc7270d6c4 Add JankMetricDisposableEffect
3 years ago
Tomáš Mlynarič a076a50010 Use rememberMetricsStateHolder for navigation
3 years ago
kbuilder 58fd7dcec0 Merge branch 'github/main'
3 years ago
Sudhanshu ea1114a337 Fix Bug #41
3 years ago
Simon Marquis 7813757393 Remove ClearRippleTheme CompositionLocal from NavigationBar
3 years ago
Ben Weiss a37c932898 Introduce view extension to track jank
3 years ago
Ben Weiss 895ec4c337 Inject JankStats with Hilt
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
3 years ago
kbuilder 3a43928ef1 Merge branch 'github/main'
3 years ago
Jolanda Verhoef f74103c804
Merge pull request #44 from serbelga/fix_themed_app_icon_round
3 years ago
Sergio Belda 9f10b5c4c6
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 72278b8cef
Add monochrome attribute to ic_launcher_round.xml in :app and :app-nia-catalog
3 years ago
Simona Stojanovic 1475e3e8f9 Fix nested navigation graphs
3 years ago
Ben Weiss 0651d9dde6
Update benchmarking & baseline profiles
3 years ago
Simona Stojanovic febbd26261 Refactor navigation
3 years ago
Ben Weiss 52b771a8b5 Update baseline profile
3 years ago
Don Turner 9bb7f9d8a7 Add staging build variant, move staging URL out of source control
3 years ago
Adetunji Dahunsi d945a007c6 Add AuthorScreen and corresponding components
3 years ago
Simona Stojanovic dc4af7e6f7 Rename following to interests
3 years ago
Jolanda Verhoef ce0142b98a Add gradient background to For You Screen
3 years ago
Alex Vanyo cce9402b04 Add multi-column support for cards on the for you feed
3 years ago
Alex Vanyo 203c8e1ceb Configure spotless for kts and xml files
3 years ago
Simona Stojanovic 7968a70398 Rename core-domain to core-data
3 years ago
Alex Vanyo f84320e9a9 Fix large screen insets handling
3 years ago
Adetunji Dahunsi 643b230187 Converted model ids from ints to strings
3 years ago
Alex Vanyo b677cc4508 Convert all build files to kts
3 years ago
Alex Vanyo 7ac15771b3 Update to Kotlin 1.6.20 and using material3-window-size-class
3 years ago
Alex Vanyo bcf05f5502 Remove material non-3 components
3 years ago
Manuel Vivo 3558a6931e Add People to interests screen
3 years ago
Alex Vanyo ca73f5598f Setup convention plugins base
3 years ago
Jose Alcérreca 553d152844 Adds topic screen
3 years ago
Ran Nachmany 9ebea8ad29 Improving For You onboaring [http://b/223204846]
3 years ago
Don Turner ab7b25ef6a Add new fields to Topic and display SVG icon.
3 years ago
Adetunji Dahunsi 2b2bd496e0 Added launcher icons
3 years ago
Adetunji Dahunsi ccb822286f Integrate WorkManager (WIP)
3 years ago
Don Turner 57f478b7c1 Remove episodes and saved destinations
3 years ago
Ben Weiss 5b54858642
Add baseline profile
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
3 years ago
Ran Nachmany ea9fbad058 Adding device class breakopints (http://b/216019537)
3 years ago
Alex Vanyo 506c98cc90 Add test dispatchers
3 years ago
Alex Vanyo fd545f7fad Fix test dependencies
3 years ago
Simona Stojanovic 1411b1576b Modularise the app
3 years ago
Jolanda Verhoef 1b06dc97ea Fixing UI tests
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
3 years ago
Adetunji Dahunsi e089012a8d Replace module interfaces with objects
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
3 years ago
Adetunji Dahunsi cbcb24c08f Add DAOs for Room and provisions for their Hilt injections
3 years ago
Alex Vanyo a36c0da93a Replace accompanist/insets
3 years ago
Adetunji Dahunsi 9f11f6ae8b Update copyright accross all files
3 years ago
Adetunji Dahunsi c75f7ed025 Add entity relationships and defined network deserialization strategy
3 years ago
Caren Chang 632bc62ed5 Rename ResourceCard -> NewsResourceCard
3 years ago
Caren Chang 68ba1ba477 Resource Card: Add bookmark icon
3 years ago
Alex Vanyo 1b41864a2c Merge "For You initial screen" into main
3 years ago
Alex Vanyo 5b89ea4fe5 For You initial screen
3 years ago
Caren Chang 841f9af5d1 Create template for composable Resource card
3 years ago
Adetunji Dahunsi 41874d73ef Add DI scaffolding
3 years ago
Jolanda Verhoef e28c196a6d Merge "[NiA] Implement top level navigation" into main
3 years ago
Jolanda Verhoef 1e3520dddf [NiA] Implement top level navigation
3 years ago
Alex Vanyo 67290500a9 Setup jacoco coverage reporting
3 years ago
Adetunji Dahunsi 85e078298e Implement FakeNewsResourceRepository with test
3 years ago
Adetunji Dahunsi 12cff2074c Rename episode to NewsResource, add episode to NewsResource, add mockk and unit test, address comments
3 years ago
Alex Vanyo 42fa0e3a55 Replace buildSrc with version catalog
3 years ago
Don Turner 008bca1472 Add initial app scaffolding
3 years ago