lihenggui
61b2b5e436
Make notification module as the multiplatform library
2 years ago
lihenggui
1f2b720636
Migrate the analytics module to multiplatform
2 years ago
lihenggui
790fc4a42e
Remove unused annotation
2 years ago
lihenggui
4dc4ba670a
Implement network module as the multiplatform module
2 years ago
lihenggui
6c89a82e30
Merge branch 'main' of https://github.com/android/nowinandroid into compose_multiplatform
2 years ago
Don Turner
c4642cea61
Add graph for screenshot testing module, minor update to script
...
Change-Id: I611f73d59790bde240756e8016aa721a1783335f
2 years ago
Jaehwa Noh
abe798056e
Add @After to guarantee DB was closed. ( #1240 )
...
* Add @After to guarantee DB was closed.
Change-Id: Ic29b7d12125853c71ddaef1a997ec123bb2dfc8b
* Fix spotless
- style
Co-authored-by: Simon Marquis <contact@simon-marquis.fr>
---------
Co-authored-by: Simon Marquis <contact@simon-marquis.fr>
2 years ago
Don Turner
80a82de945
Update module dependency graphs and add script to create them
...
Change-Id: I7b2ae264ec84491c847a44869934e2f238564c31
2 years ago
Don Turner
42e9a3a2c6
Merge pull request #1182 from SimonMarquis/api-compose-ui-tooling
...
Move `androidx.compose.ui:ui-tooling` dependency to convention plugin
2 years ago
Don Turner
350e7b1bba
Merge pull request #1144 from SimonMarquis/move-fakes-to-data-test-module
...
Move `:core:data` fake repositories to `:core:data-test`
2 years ago
Don Turner
171fa88ac0
Merge pull request #1248 from yongsuk44/main
...
Apply Composable Parameter Ordering Guidelines
2 years ago
Don Turner
067d68e1c6
Merge pull request #1247 from Jaehwa-Noh/remove-unused-function
...
Remove Insert function
2 years ago
kim-yongsuk
3fa75a037a
Apply Composable Parameter Ordering Guidelines
...
Change-Id: Id456e91b5ce8bd5807c40df67c3deac008c61670
2 years ago
Alex Vanyo
e3c7018124
Extract ScreenshotHelper to separate testing module
...
Change-Id: Icf98a4acc9963656530a1a9fc8b156a553a070af
2 years ago
Jaehwa Noh
52c0d7ae0a
Remove Insert function
...
- Insert is only used in test.
- Upsert do same thing as Insert.
Change-Id: Ib5f8e693e71c895b83e43f6b51cebdc698bf744b
2 years ago
Tomáš Mlynarič
f31fdb3ec2
Merge branch 'main' into mlykotom/tz-perf-improvement
...
Change-Id: Id49a580012629163ec4a3663d95ab71b98910220
# Conflicts:
# app/dependencies/prodReleaseRuntimeClasspath.txt
# app/src/testDemo/kotlin/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt
# gradle/libs.versions.toml
2 years ago
lihenggui
a6b0c1f0a3
WIP: Add build konfig
2 years ago
lihenggui
bd2059ba88
Implement network module
2 years ago
lihenggui
2a5672f6cd
Merge remote-tracking branch 'origin/compose_multiplatform' into compose_multiplatform
...
# Conflicts:
# gradle/libs.versions.toml
2 years ago
lihenggui
6643cadf8b
Use Kermit as the logging framework
2 years ago
lihenggui
25934d45c9
Remove support for wasm
2 years ago
lihenggui
234ad1e6cc
Change js to wasmJs
2 years ago
lihenggui
8aaa37d4d6
Use Naiper as the logging library
2 years ago
lihenggui
3f19340c3d
Move news.json and topics.json to the code
2 years ago
lihenggui
92981961a1
WIP: Add ktor and retrofit dependencies
2 years ago
lihenggui
1453e9826d
Merge remote-tracking branch 'upstream/main' into compose_multiplatform
2 years ago
lihenggui
4f0c2e7b92
Implement multiplatform settings
2 years ago
Simon Marquis
dc2f435a27
Merge remote-tracking branch 'origin/main' into move-fakes-to-data-test-module
2 years ago
dturner
27fd4e544a
🤖 Updates screenshots
2 years ago
Don Turner
08dfec01f6
Fix individual UI components
...
Change-Id: I7dec3672b9efc3524371811743b06efc1e113a36
2 years ago
lihenggui
015cf5ad29
WIP: Implement datastore settings
2 years ago
lihenggui
a7b98f6953
Merge branch 'compose_multiplatform' of https://github.com/lihenggui/nowinandroid into compose_multiplatform
2 years ago
lihenggui
e1715c6601
WIP: Add multiplatform-settings library
2 years ago
dturner
02d4fea615
🤖 Updates screenshots
2 years ago
Don Turner
8494b74646
Fix spotless (really should enable the commit hook to do this)
...
Change-Id: I68cb9bd989a809e5db1bca3157c2c978ad8c8906
2 years ago
Don Turner
68c15a891c
Fix text styles and spacing now that includeFontPadding is false
...
Change-Id: I6894836a7cd3a6139511a5d1ac0a96702a265186
2 years ago
lihenggui
ba102c67da
Move protos to commonMain
2 years ago
lihenggui
c3dbc689b6
Convert datastore-proto to multiplatform library
2 years ago
lihenggui
40a9f09786
Use @Component in the database module
2 years ago
lihenggui
db8e99efdc
Add platform specific implementation for dispatchers
2 years ago
lihenggui
2f412db367
Use object to provide implementations
2 years ago
lihenggui
460060389e
Merge remote-tracking branch 'upstream/main' into compose_multiplatform
2 years ago
lihenggui
c5521ce89b
Make :core:common as a multiplatform library
2 years ago
lihenggui
29c3038e70
Add coroutine dependency
2 years ago
lihenggui
4dc3fa9653
Make JS target work
2 years ago
lihenggui
8bc97082fb
Remove js support
2 years ago
lihenggui
b480d60520
Fix SQL grammar errors
2 years ago
lihenggui
6b0a2a38ee
Add sqljs-config.js
2 years ago
lihenggui
cdc9336d8b
Allow foreign keys
2 years ago
lihenggui
63835eb5c5
Fix typos in sq file
2 years ago
dturner
81a5c0a3a7
🤖 Updates screenshots
2 years ago
Don Turner
092daacced
Revert fontSize change
...
Change-Id: I4011205f8a07c418653ee463d7355fe1e4ff6f44
2 years ago
Don Turner
1de15f0fab
Fix spotless (again)
...
Change-Id: If6b292af514df435d7bd233bd634657904c67d6b
2 years ago
Don Turner
76d59b3da8
Merge branch 'main' into update-compose-bom
2 years ago
Don Turner
1d2029aa2c
Merge pull request #1040 from SimonMarquis/fix-unit-test
...
Fix `emptyResultIsReturned_withNotMatchingQuery` unit test
2 years ago
Don Turner
adddea6fc7
Remove includeFontPadding, default behaviour is fine
...
Change-Id: I334c5a488c1e2a2b49670a97b16385a7df1791c8
2 years ago
Tomáš Mlynarič
75a3295381
Merge branch 'main' into mlykotom/tz-perf-improvement
...
Change-Id: I8730afc0cc3786784ea47276873fdf48dd82081c
# Conflicts:
# app/dependencies/prodReleaseRuntimeClasspath.txt
# build-logic/convention/src/main/kotlin/AndroidFeatureConventionPlugin.kt
2 years ago
dturner
9e645356f6
🤖 Updates screenshots
2 years ago
Don Turner
3868371ec8
Switch default padding to true since this was actually false by default since Compose 1.6.0-alpha01
...
Change-Id: Ifd291b247f848cea43e084cc0fb99917e47e26eb
2 years ago
Don Turner
c773fd7d0a
Switch off default font padding to avoid changing UI
...
Change-Id: Ida974df8fd4b1aba6f9525ef5335a6cbe02ddb18
2 years ago
Don Turner
3b1ee87194
Fix ShortText icon
...
Change-Id: I8b243ef88c1cc8be83f5fbeaee6a2576c453a062
2 years ago
dturner
6b2b01ed82
🤖 Updates screenshots
2 years ago
Don Turner
522efac8c0
Update Compose BOM to 2024.02.00. Fixes #1218
...
Change-Id: I838b81bf8e7fd7cb135f422653a8d8041829b28b
2 years ago
Mercury Li
242878e50e
Merge pull request #1 from lihenggui/compose_multiplatform
...
WIP: Compose multiplatform support
2 years ago
lihenggui
af1ab65981
Add new KotlinInjectConventionPlugin
2 years ago
lihenggui
34e2981785
Using Java driver in the android tests
2 years ago
lihenggui
92392ba13d
Add implementations in the test module
2 years ago
lihenggui
fdf29ab32e
Add necessary dependencies and fix compilation errors
2 years ago
lihenggui
e0ac78cb12
Fix compile errors in DriverModule
2 years ago
lihenggui
5e792f08d9
Remove Android room annotations
2 years ago
lihenggui
5d1988a65a
Implement TopicsFts
2 years ago
lihenggui
ef2fe0252d
Implement TopicDao
2 years ago
lihenggui
147baf2043
Implement RecentSearchQueryDao
2 years ago
lihenggui
b758f6073d
Fix compilation errors in NewsResourceFtsDao
2 years ago
lihenggui
d56f934e12
WIP: Implement DAOs
2 years ago
lihenggui
90bf87b293
Use singular form in the sq file
2 years ago
lihenggui
9bf5033c05
Add functions in the sq file
2 years ago
lihenggui
bbc9a537dc
Correct sql scripts and use SQLite 3.38 dialect
2 years ago
lihenggui
8fc89e8965
Add AUTOINCREMENT in id
2 years ago
lihenggui
9810692d68
Suppress errors in sq file
2 years ago
lihenggui
69a24c7e20
Add NewsResourcesTopics
2 years ago
lihenggui
502f5646ad
Add recent search query
2 years ago
lihenggui
68ea9a6a60
Rename table file name
2 years ago
lihenggui
2434f16495
Add Topics and TopicsFts
2 years ago
lihenggui
68ca447076
Add NewsResourceTopicCrossRef.sq
2 years ago
lihenggui
704dd5bab6
Add NewsResourceFtsEntity.sq
2 years ago
lihenggui
1d4792f16c
WIP: Migrate table to SqlDelight
2 years ago
lihenggui
0712a7d26a
Add SqlDelight drivers
2 years ago
lihenggui
bdf201762e
Add sqldelight support and move source to the commonMain folder
2 years ago
lihenggui
218d820b6c
Create commonMain for the model module
2 years ago
Tomáš Mlynarič
4cdc2ad345
Add comment for Retrofit async OkHttp
...
Change-Id: Ic7a6887b76caf26f00b58b0753271d426b67e75b
2 years ago
Tomáš Mlynarič
d110d92b87
Optimize OkHttp initialization for Retrofit
...
Change-Id: I347f1080ab5adf774a0cdd3c659cbf25c4820f9a
2 years ago
Tomáš Mlynarič
5f0612102d
Improve lazy loading for Coil + OkHttp
...
This way, we can load Coil's backend on a background thread and not block the MainThread with it.
Previously, the Coil image loader was initialized with the first composed image, which caused ~10ms duration and most likely skipped frames.
Change-Id: Iaa583b6adc1df7d7a51dbae1473e539f2c0b0b62
2 years ago
Tomáš Mlynarič
9daedc9690
Improve converting to kotlin timezone
...
Change-Id: I2af929c341cb274ae6b93bb8dffe696de6ed1c63
2 years ago
Tomáš Mlynarič
12a3a6edde
Use trySend multiple times
...
Change-Id: Ie00c4180d07fc4bb9d457647f3b7ddadd5a3c032
2 years ago
Simon Marquis
3d339e1658
Move `:core:data` fake repositories to `:core:data-test`
...
Now that these fake implementations are no longer used in the production source code (only in tests), we can safely extract them out of this module.
Hopefully, we'll later be able to use Kotlin testFixtures for that.
References:
- #709
- #875
2 years ago
Tomáš Mlynarič
6ec3b3c7a2
Use androidx.tracing everywhere
...
Change-Id: I9a77c4434d271e2e23700823f9f513aa61d177f8
2 years ago
Tomáš Mlynarič
ea1573fcc1
Use kotlinx.datetime.Timezone instead of java ZoneId
...
Change-Id: I62c4d044b319a9b59e06bb42fd12971d992e8628
2 years ago
Simon Marquis
b687328567
Replace comments with proper `@TestOnly` annotations
2 years ago
Simon Marquis
a83f6691c4
Fix addNewsResources issue
2 years ago