Commit Graph

574 Commits (d5a23098bcb51a76c3ead93679dfda41d2cf79bd)

Author SHA1 Message Date
Don Turner 89e1bbefd1 Merge pull request #719 from android/add-search-analytics
2 years ago
James Rose 2bd3bc7bb2 Mark all news resources read on first sync
2 years ago
Don Turner cec53a996c Add analytics for search queries
2 years ago
Simon Marquis 8e39c933bd Update ConnectivityManagerNetworkMonitor.kt
2 years ago
Simon Marquis 32698353c5 Extract common code to update the Flow value
2 years ago
Simon Marquis 3fcdda6bb6 Update ConnectivityManagerNetworkMonitor.kt
2 years ago
Simon Marquis cbe308f8a2 Update ConnectivityManagerNetworkMonitor.kt
2 years ago
Simon Marquis b3a0b43eba Update ConnectivityManagerNetworkMonitor.kt
2 years ago
Simon Marquis 5e33c57144 Simplify handling of nullability in `ConnectivityManagerNetworkMonitor`
2 years ago
TJ Dahunsi 757fecc403 Fix build
2 years ago
TJ Dahunsi bdff1bfc01 Route notification deep link through for you screen, with spotless fixes
2 years ago
TJ Dahunsi 7312b33e9e Route notification deep link through for you screen
2 years ago
TJ Dahunsi 03c4f27434 Add pending intent for opening notification links
2 years ago
TJ Dahunsi 6a4b8f65ef Notify users when news are updated
2 years ago
Simon Marquis 62820784e1 Merge branch 'main' into jvmToolchain
2 years ago
gururani-abhishek 8645c1bbff added comment to document what happens on tapping news resource card.
2 years ago
gururani-abhishek c65cbc6c2a added back launchCustomChromeTab()
2 years ago
gururani-abhishek 4e658ac537 fix #614 : removed unused onItemClick parameter from NewsResourceCardList.kt
2 years ago
Don Turner b4e1209911 Merge pull request #667 from SimonMarquis/cleanup/warnings
2 years ago
Milosz Moczkowski 6168049ac5 Merge pull request #598 from takagimeow/fix/clean-up-unused-update-topics
2 years ago
Simon Marquis 1df26b4b20 Replace unused variable with simpler method calls
2 years ago
Simon Marquis 119550fe38 Remove `DSL_SCOPE_VIOLATION` suppression as it is now fixed in Gradle 8.1
2 years ago
Don Turner 59d48f472e Merge pull request #662 from android/av/agp-8.0
2 years ago
Takeshi Hagikura 61db05b707 Implement search feature (#685)
2 years ago
Adetunji Dahunsi d7bdee8e0c Merge pull request #649 from android/tj/backend-requested-sync
2 years ago
Adetunji Dahunsi aa8a86acd7 Applied code review suggestions
2 years ago
Adetunji Dahunsi a4c0b91f95 Update core/data/src/test/java/com/google/samples/apps/nowinandroid/core/data/repository/OfflineFirstNewsRepositoryTest.kt
2 years ago
Adetunji Dahunsi 9661005128 Used more explicit variable names in tests
2 years ago
Adetunji Dahunsi 18830eef5f Add comments explaining backend sync and made variable names easier to grok
2 years ago
Adetunji Dahunsi a6b1bb7177 Update core/data/src/main/java/com/google/samples/apps/nowinandroid/core/data/repository/OfflineFirstNewsRepository.kt
2 years ago
Simon Marquis c0f1423427 Run Spotless
2 years ago
Simon Marquis 1a89c975b8 Add Application-wide `CoroutineScope` in the DI graph
2 years ago
Simon Marquis fd826c8e23 Delete no longer used `AUTHORS_ASSET` reference
2 years ago
Milosz Moczkowski d12eaacf92 Merge pull request #671 from android/kotlin-version-updates
2 years ago
Márton Braun dc9d2cf72f Update Kotlin, Compose compiler, serialization versions
2 years ago
Adetunji Dahunsi d2d42e1095 Wire up backend requested sync
2 years ago
James Rose f2680a8973 Add missing method doc
2 years ago
James Rose bb973872c7 Merge branch 'main' into jr/track-viewed
2 years ago
James Rose 08d87ecb1a Rename getUserNewsResources to observeAll
2 years ago
Alex Vanyo 534e39a771 Update to AGP 8.0
2 years ago
Milosz Moczkowski 2ffe3af41c Merge pull request #575 from takagimeow/fix/provide-true-to-local-inspection-mode
2 years ago
Milosz Moczkowski dd3c6827d2 Merge pull request #600 from takagimeow/cleanup-unused-args
2 years ago
Milosz Moczkowski 3ca31bedec Merge branch 'main' into patch-2
2 years ago
Adetunji Dahunsi 1961b56ea8 Backend triggered sync
2 years ago
Milosz Moczkowski c6c600dd82 Merge pull request #624 from SimonMarquis/gradle-sort
2 years ago
Chris Sinco 577fdc790c Fix trailing commas based on spotless check
2 years ago
Chris Sinco 738325af29 Merge branch 'main' into ui-polish
2 years ago
James Rose 317f47c3cf Incorporate code review changes: Move UserNewsResourceRepository to data
3 years ago
Simon Marquis 3d7b71963c Sort and group Gradle dependencies thanks to square/gradle-dependencies-sorter
3 years ago
James Rose b1286ca188 Display unread state on the news feed and bottom nav bar
3 years ago
James Rose 0e19a2746c Replace GetUserNewsResourcesUseCase with UserNewsResourceRepository
3 years ago
James Rose b8fc2c9302 Add viewed status for news resources to data layer
3 years ago
Adetunji Dahunsi 48a0f3d501 Merge pull request #608 from android/tunjid-batch-sync
3 years ago
Keisuke Takagi 13202f99fd Merge branch 'main' of https://github.com/takagimeow/nowinandroid into fix/clean-up-unused-update-topics
3 years ago
Don Turner 09a697c8a1 Merge pull request #607 from android/mv/tests
3 years ago
Adetunji Dahunsi 4cb7d6dda1 Fix tests for batched news resource sync
3 years ago
Adetunji Dahunsi 6be949aed4 Spotless fix
3 years ago
Adetunji Dahunsi 4d6188e7ab Batch sync news resources from remote
3 years ago
Alex Vanyo 042b5ff393 Merge pull request #603 from amalhanaja/redundant-managed-device
3 years ago
Manuel Vivo b9cf596927 Fix spotless
3 years ago
Manuel Vivo aa98df6666 Provide a CoroutineScope to fake DataStores
3 years ago
Don Turner 2b5e3332bc Make Hilt provide Firebase.analytics
3 years ago
AlfianHanantio 1fb989bba9 Remove redundant code block for managed virtual device creation
3 years ago
Keisuke Takagi a1dae8c858 remove newsResourceTitle
3 years ago
Keisuke Takagi 8cd9750877 Merge branch 'main' of github.com:takagimeow/nowinandroid into fix/clean-up-unused-update-topics
3 years ago
Adetunji Dahunsi eae24bc821 Merge pull request #592 from android/tj/news-resource-query
3 years ago
Adetunji Dahunsi 3da3911180 Add NewsResourceQuery to better query encapsulation
3 years ago
Keisuke Takagi be7c335bba remove invalid overriding method
3 years ago
Keisuke Takagi 77ae65db53 remove unused updateNewsResources method
3 years ago
Keisuke Takagi d72f9a31e3 remove invalid overriding method
3 years ago
Keisuke Takagi e94af21e22 remove unused updateTopics method
3 years ago
Caren 769b5a5d12 Merge pull request #582 from yschimke/loaders
3 years ago
Keisuke Takagi 30759e68db Merge branch 'main' of github.com:takagimeow/nowinandroid into fix/provide-true-to-local-inspection-mode
3 years ago
Simon Marquis 5cb1fa2fa3 Configure jvmToolchain on the single Kotlin jvm project
3 years ago
Yuri Schimke 2c6cd4af12 Fixes
3 years ago
Yuri Schimke 2e5c29c9e4 Improve network pooling and avoid startup image fetches.
3 years ago
Don Turner 3d6ca9b7d8 Merge remote-tracking branch 'github/main' into feb9automerger
3 years ago
Márton Braun 39c76443b1 Remove unused DropdownMenu component
3 years ago
Márton Braun 2f5de17634 Route topic chip tap events up to NiaNavHost
3 years ago
Don Turner a1bd4beadb Add Firebase analytics. See go/nia-firebase-services.
3 years ago
Keisuke Takagi 0cd5abe77b Provide true to LocalInspectionMode
3 years ago
Simon Marquis bf9e388610 Migrate custom room configuration into a convention plugin
3 years ago
Miłosz Moczkowski 7b11622c5d Replace global variables with PreviewParameterProvider
3 years ago
Márton Braun 56ecffbadd Run Spotless to add trailing commas (and apply other rule updates)
3 years ago
Angie Sasmita 463d7ac6e8 Merge pull request #542 from android/as/dynamic-color-option
3 years ago
mlykotom 61c044a712 Merge branch 'main' into tm/fix-benchmarks-no-people
3 years ago
Mohsen Rzna 816be8b385 Android-CI workflow -> GMD refactor (#537)
3 years ago
Angie Sasmita 2159f12d3f Small fix for naming and boolean logic
3 years ago
Angie Sasmita 2430c8c25b Fix Spotless issue manually
3 years ago
Angie Sasmita c97e7980c8 Add dynamic color option in settings for API >=32
3 years ago
Takeshi Hagikura 7d22f3103f Introduce GMD + ATD (#479)
3 years ago
Don Turner 5ef7084baa Refactor Topics news feed, tidy a few other bits up
3 years ago
magicalmeghan 286196a43d fixed string issue for testTopicsChipColorBackground_matchesFollowedState test
3 years ago
magicalmeghan 103a497415 Merge remote-tracking branch 'github/mm/chipcolor' into mm/chipcolor
3 years ago
magicalmeghan 00fe2292ad removed hardcoded strings
3 years ago
Don Turner 44c01135b9 fix spotless, tidy test data
3 years ago
magicalmeghan 45144528a3 Updated NewsResourceCardTest
3 years ago
Don Turner b9771fdb1b mapToUserNewsResources converts List<NewsResource> to List<UserNewsResource>
3 years ago
Don Turner e825185652 Move mapping logic into secondary constructor
3 years ago
Don Turner c629c72f69 Move construction of UserNewsResource into separate function
3 years ago
Don Turner 2646c43f1c Spotless
3 years ago
Don Turner 49e47685bd Fix merge conflicts
3 years ago
magicalmeghan f4c2a2b138 Added third draft of tests
3 years ago
magicalmeghan 1c8bfea3d8 Added second draft of tests
3 years ago
magicalmeghan 7776ccce6c Added second draft of tests
3 years ago
Alex Vanyo 4eda902d63 Merge pull request #491 from android/av/fix-background-composable
3 years ago
Chris Sinco 857806e294 Spacing polish based on design spec
3 years ago
Don Turner 24b4f5bf23 Merge pull request #504 from android/dt/fix-build-warnings
3 years ago
Don Turner 222da07c0d Refactor NiaGradientBackground to accept GradientColors
3 years ago
Don Turner d2035096c6 Merge pull request #493 from andhiratobing/main
3 years ago
Don Turner a9ee4d1c47 Fix build warnings
3 years ago
magicalmeghan 802d984300 Added first draft of tests
3 years ago
magicalmeghan cb28fa3409 Renamed SaveableNewsResource to UserNewsResource
3 years ago
Don Turner ed2df9c379 Fix unit and UI tests. Apply spotless.
3 years ago
magicalmeghan a25ad9c017 Renamed SaveableNewsResource to UserNewsResource
3 years ago
magicalmeghan 664a827d55 Renamed SaveableNewsResource to UserNewsResource
3 years ago
Nick Rout a7d2b134c5 Merge pull request #492 from ricknout/main
3 years ago
ratobing dd96befa17 Set visibility modifier of composable preview to private
3 years ago
Nick Rout 70a321cfa5 Fix issues with NiaTheme gradients and backgrounds
3 years ago
Nick Rout 13ef87dc5a Merge pull request #485 from ricknout/main
3 years ago
Nick Rout 6e0ab61410 Address design system PR feedback
3 years ago
Nick Rout 4f862d79a8 Fix ThemeTest
3 years ago
Nick Rout 59f95072e5 Fix ThemeTest
3 years ago
Nick Rout fba50729cb Fix spotless issues
3 years ago
Nick Rout adb302520f Fix spotless issues
3 years ago
Nick Rout 37611fae12 Update :core-designsystem module based on Figma file
3 years ago
Caren 597bd97439 Merge pull request #476 from android/caren/resource_type
3 years ago
Caren 919801245a Rename NewsResourceDataAndType -> NewsResourceMetaData
3 years ago
Caren 6adb6b72ce Fix tests
3 years ago
Caren 74a8da0448 Merge pull request #465 from android/caren/custom_chrome_tab
3 years ago
Caren 61110b9aa3 run spotless
3 years ago
Caren 8831e49e27 Add test and add string template in strings.xml for RTL purposes
3 years ago
Caren 00a75bc3fe Rename NewsResourceDateAndNewsType -> NewsResourceDateAndType
3 years ago
Caren 234d451021 Display resource type for each news resource
3 years ago
mlykotom b13096140c Add niaTopAppBar testTag
3 years ago
mlykotom 77d45811c3 LoadingWheel testTag for every loading wheel
3 years ago
Caren 3c7ab45da4 Add ColorInt annotation
3 years ago
Jolanda Verhoef a09612ec80 Remove author concept from app
3 years ago
Caren d419b3f5f7 Run spotless
3 years ago
Caren 227fb0b1b6 Implement custom chrome tabs in NewsResourceCardList as well
3 years ago
Caren 6116f679a5 Use Chrome Custom tab for opening articles
3 years ago
Márton Braun 8e5fc3e03e Remove `Stream` suffixes
3 years ago
Marek Rzeźniczek c3bc7f1545 Migrate core:domain namespace to build.gradle file
3 years ago
Milosz Moczkowski b55f3e2f9e Merge pull request #441 from android/refactor/remote_fake_data_source
3 years ago
Mohsen Rzna 34b41d84fc New empty bookmarks handling (#443)
3 years ago
Simon Marquis 7797faee25 Configure `isReturnDefaultValues` for `:core:datastore`
3 years ago
Simon Marquis 8a720477dc Configure `isReturnDefaultValues` to fix #448
3 years ago
Don Turner b0e01316c7 Fix comment
3 years ago
Adetunji Dahunsi 145b0782db Check active network for connectivity state each time network changes
3 years ago
Miłosz Moczkowski f906e6b42c Spotless apply
3 years ago
Miłosz Moczkowski 1c1ded4296 Replace networkJson and FakeAssetManager with FakeNiaDataSource in all repositories
3 years ago
Miłosz Moczkowski 5cbdbeead6 Remove FakeDataSource
3 years ago
Milosz Moczkowski 8435ed4b77 Merge pull request #179 from Abhimanyu14/niaicons
3 years ago
Simon Marquis 4b7d0e26b4 Refactor `:core:network` DI
3 years ago
Simon Marquis 1d63cb4d40 Add missing binding in NetworkModule
3 years ago
Simon Marquis be30d2869c Merge remote-tracking branch 'fork/main' into patch/assets-as-json-files
3 years ago
Milosz Moczkowski 6437c77ecd Merge pull request #431 from SaeedNoshadi89/show-all-news-authors
3 years ago
Saeed Noshadi 4152160b27 replace StringBuilder with joinToString
3 years ago
Saeed Noshadi 16ce94962e remove unused import
3 years ago
Saeed Noshadi 9902e8ce26 show all authors in the news card
3 years ago
Abhimanyu14 5e4963a48d Icons alignment to use NiaIcons
3 years ago
Simon Marquis 61bfb85b64 Fix spotless issues
3 years ago
Simon Marquis 7213994b97 Remove duplicated link
3 years ago
Simon Marquis 845e62aca5 Fix lint crash
3 years ago
Simon Marquis 67ebe8de38 Fix spotless issues
3 years ago
Simon Marquis 90a8c6f048 Migrate hard-coded JSON data into JSON assets files
3 years ago
Simon Marquis a09ea875b8 Migrate from JUnit assertions to Kotlin's test framework
3 years ago
Don Turner 5b28826e18 Merge branch 'main' into fix/typos
3 years ago
Don Turner 89a18de1e4 Make updateShouldHideOnboardingIfNecessary private
3 years ago
Simon Marquis bcc4712cfd Fix typos
3 years ago
Don Turner f81c7222e2 Rename hasDismissedOnboarding to shouldHideOnboarding
3 years ago
Don Turner be88f4f03d Refactor onboarding to save interests to user data
3 years ago
Don Turner 7413e22377 Add data from the last 10 episodes
3 years ago
Milosz Moczkowski 45d4eabac8 Merge pull request #297 from android/av/remove-dolphin-preview-todos
3 years ago
Don Turner b55b4fab9c Merge pull request #356 from android/jv/compose-bom
3 years ago
Jolanda Verhoef 58a3721575 Update to new Compose release
3 years ago
Don Turner 391bc1e900 Fix minor issues
3 years ago
Don Turner c3bcdd75e0 Address review feedback from Manu
3 years ago
Don Turner 4654e67c23 Added null branches for reading user data from datastore
3 years ago
Don Turner 8cb5216d8e Add settings module, refactor top bar
3 years ago
Don Turner f1e15d6b83 Fix spotless issues
3 years ago
Alex Vanyo e596e76714 Add data logic for theme switcher
3 years ago
Manuel Vivo 38670449ee Updates Navigation approach with new guidance (#347)
3 years ago
Automerger c8976ca191 Merge branch 'github/main'
3 years ago
Ben Weiss b6204656b8 Merge pull request #328 from android/bw/moreJankstats
3 years ago
Ben Weiss 5315d2d957 Add more jank tracking
3 years ago
Don Turner 2468f1bc11 Merge branch 'main' into av/remove-dolphin-preview-todos
3 years ago
Automerger 33e66c2443 Merge branch 'github/main'
3 years ago
Don Turner b078e3019b Merge "Add domain layer. See go/nia-domain-layer for details." into main
3 years ago
Don Turner e223be6ac1 Add domain layer. See go/nia-domain-layer for details.
3 years ago
Don Turner 383e2e4ce0 Merge pull request #332 from android/kotlin-1720
3 years ago
Wojtek Kaliciński 222f65e9e8 Migrate packages to namespaces in build files
3 years ago
Márton Braun 5090834ef5 Update Kotlin to 1.7.20
3 years ago
Adetunji Dahunsi d54dabe76b Merge pull request #311 from yveskalume/main
3 years ago
YvesKalume 05fb700c13 fix failling tests
3 years ago
Don Turner 9cf5efee98 Merge pull request #310 from android/documentation/dep_graphs
3 years ago
YvesKalume 5659033a1c update : remove unused upsert method.
3 years ago
Adetunji Dahunsi a31da1785f Merge pull request #304 from android/tj/sync-ui
3 years ago
YvesKalume 0390d65f03 update : Use @Upsert from Room instead of a custom helper
3 years ago
Adetunji Dahunsi c1316a2f23 Give feedback when syncing on ForYouScreen
3 years ago
Milosz Moczkowski 2d60785879 Add dependency graphs to every module
3 years ago
Márton Braun 558b979d08 Merge pull request #307 from android/update-kotlinx-serialization-optin
3 years ago
Márton Braun e1e195564d Opt in to experimental kotlinx.serialization API locally
3 years ago
Alex Vanyo 0630159e2e Refine backgrounds and navigation colors
3 years ago
Alex Vanyo cdbcf54ba0 Update to material3 1.0.0-beta03 wih built-in insets support
3 years ago
Milosz Moczkowski f2c64a1f68 Merge pull request #299 from android/refactor/remove_episodes
3 years ago
Automerger 8f3e7f037b Merge branch 'github/main'
3 years ago
Caren 93630216d7 Merge pull request #288 from android/caren/remove_search
3 years ago
Automerger d9c4236d40 Merge branch 'github/main'
3 years ago
Caren 96bd63944a Merge pull request #272 from android/caren/fix_toggle_buttons
3 years ago
Milosz Moczkowski a4553d4cfb Spotless improvements
3 years ago
Milosz Moczkowski d7062977d3 Spotless improvements
3 years ago
Milosz Moczkowski ab8053f087 Remove episodes related code
3 years ago
Automerger 99a14e8e73 Merge branch 'github/main'
3 years ago
Alex Vanyo 556ffce88b Remove Preview TODOs for Dolphin
3 years ago
Don Turner 96ed6735be Merge pull request #294 from dturner/proto-list-to-map
3 years ago
Don Turner 750c43fb05 Change user data fields to use maps instead of lists.
3 years ago
Takeshi Hagikura ee27ea6f87 Fix the lint warnings
3 years ago
Takeshi Hagikura 821001cfcc Introduce Multipreview annotation to simplify the preview configurations
3 years ago
Caren Chang 664510c652 Fix toggle buttons interaction when using TalkBack
3 years ago
Caren Chang 470cccb7db Remove Search from top app bar
3 years ago
Wojtek Kaliciński 79de18507a Move spotless to init script
3 years ago
Wojtek Kaliciński 70ff3831a2 Build cleanup
3 years ago
madroid 40efeed4ed Move 'core-' module to core subfolder
3 years ago