Commit Graph

1742 Commits

Author SHA1 Message Date
dima.avdeev
89b73aa6ff ImageViewer sample, map API key instructions (#2937) 2023-03-29 15:07:29 +03:00
dima.avdeev
cbada1099f Add some features to sample (#2934) 2023-03-29 13:13:32 +03:00
dima.avdeev
9bceb4c873 update submodule compose/frameworks/support to latest jb-main 2023-03-29 03:18:59 +04:00
dima.avdeev
10526ca300 mavenLocal should be the first 2023-03-27 19:41:11 +04:00
Ivan Matkov
48288ea145 Fix selection in codeviewer example (#2898)
* Fix selection in codeviewer example

* Limit line count on view layer

* Fix last line ending

* Fix missing last empty line in file

* Refactor reading file

* Add extra endPosition condition

* Polish removing line endings
2023-03-24 10:14:46 +01:00
Alexander Maryanovsky
36616f877c SplitPane improvements and fixes. (#2886)
* SplitPane improvements and fixes.

- Allow SplitPane to receive exact incoming size constraints
- Correctly abide by constraint on minimum size for "second part"
- Simplify layout code
2023-03-23 16:47:53 +02:00
dima.avdeev
35f0f72253 resources library minSdk 21 (#2911) 2023-03-23 14:52:21 +03:00
Igor Demin
f5b9dfc91d Update README.md 2023-03-17 15:05:48 +01:00
Sebastian Aigner
bd345cdbe0 Remove mavenLocal (#2884) 2023-03-15 14:28:03 +03:00
Vladimir Mazunin
b94ae4178e Image Viewer Camera (#2864) 2023-03-15 08:51:30 +03:00
dima.avdeev
88a8b6e56b update submodule compose/frameworks/support to latest jb-main 2023-03-13 14:07:13 +04:00
Oleksandr Karpovich
0b429b6ac9 Update all versions for 1.3.1 + update Changelog (#2856)
* Add changes for 1.3.1 + update Changelog

Versions:
compose 1.3.1
kotlin 1.8.10
compiler: 1.4.2

* revert version update in experimental examples

* Update CHANGELOG.md
2023-03-10 09:53:41 +01:00
dima.avdeev
31823c50b6 imageviewer, device rotation 2023-03-10 10:25:14 +04:00
dima.avdeev
ad78a2495a update compose/frameworks/support to latest jb-main 2023-03-09 23:14:35 +04:00
Sebastian Aigner
2f9e886ea6 ImageViewer: Visual improvements (#2851) 2023-03-09 21:44:55 +03:00
Nikita Lipsky
21f74f92df Remove experimental templates, update READMEs with templates new locations (#2847)
+ replace "compose-jb" occurrences with "compose-multiplatform"
2023-03-09 11:40:36 +02:00
dima.avdeev
4cf574cc34 add UIKit MKMapView to ImageViewer (#2841) 2023-03-08 20:33:18 +03:00
dima.avdeev
aff9f0d285 fix todoapp-lite iOS (#2844) 2023-03-07 22:28:34 +03:00
Alexander Maryanovsky
e30379eb79 Disable validation of todoapp-lite until update to Compose 1.4.0 (#2842) 2023-03-07 20:49:18 +02:00
Nikita Lipsky
1be0cc105c Arrange samples to the latest multiplatform template (#2835) 2023-03-07 16:26:21 +02:00
dima.avdeev
b62ee1bd9a update submodule compose/frameworks/support to latest jb-main 2023-03-07 16:25:57 +04:00
dima.avdeev
bb461a6f65 Update enhancement.md 2023-03-07 11:34:31 +03:00
dima.avdeev
9cd9d0fe12 Update bug_report.md 2023-03-07 11:32:28 +03:00
Sebastian Aigner
364a916740 Various improvements for multiplatform template README (#2834) 2023-03-06 18:39:39 +03:00
dima.avdeev
3e610c5fdd ImageViewer notch (#2822) 2023-03-06 14:27:53 +03:00
Oleksandr Karpovich
294479d737 Add composable-test-cases project to check JB compose compiler for all targets (#2751)
* Add composable-test-cases project to check JB compose compiler for all targets

* Add README.MD

* Update README.MD

* Update README.MD

* Update CollectionOfComposablesTests

* Add a fun interface test case

* Add class constructors test cases

* Add anonymous objects test cases

* Add lambdas test cases

* Disable mingwX64 target for CI runs

* Update README.MD

* uncomment the getter in `val Project.isInIdea`

* Simplify GlobalSnapshotManager

Apparently some tests get stuck (timeout 60s) in jvm when running on CI. Every time it's a different test.

* add a partially failing test cases

`rememberAnonymousObj` fails with k/js, but works with other targets.

* try workaround tests timeout on CI

close the Channel in the end of a test

* Introduce fun RecompositionObserver.waitUntilChangesApplied

* Try runTest with UnconfinedTestDispatcher()

* remove Dispatchers.Default usage for recomposer

* revert "remove Dispatchers.Default usage for recomposer"

* pass test coroutine context to Recomposer

* add value class test cases

* add "same-module all-private" value class test case

* add a test case for value class with non-primitive property type

* value class: add a composable with a default value test case

* Update Readme
2023-03-06 11:05:34 +01:00
Sebastian Aigner
8db88534f9 Fix letter-spacing (override material design defaults back to 0.sp) (#2827) 2023-03-06 00:15:25 +03:00
dima.avdeev
5b1ce09372 fix runSwing launch from README 2023-03-04 20:34:32 +04:00
Ivan Matkov
fe7adf5666 Remove golden submodule (#2824)
* Remove golden submodule

* Update androidx submodule
2023-03-03 15:37:05 +01:00
Nikita Lipsky
f96b436d87 Wrap Compose baked UIViewController into SwiftUI instead of UIKit. (#2782)
- fixes also top bar appearance
- removed constant offset workaround as a result
2023-03-02 23:30:26 +03:00
Sebastian Aigner
2588c599ee First steps in implementing redesigned UI (#2817)
Co-authored-by: Sebastian.Aigner <Sebastian.Aigner@de-unit-1151.fritz.box>
2023-03-02 23:19:36 +03:00
Nikita Lipsky
02461457b7 Experimental multiplatform template fixup 2023-02-28 12:07:19 +02:00
Nikita Lipsky
fbd7b2be63 Correct README.md for experimental multiplatform template (#2795) 2023-02-28 12:04:37 +02:00
dima.avdeev
08e03e7c04 UIKit samples, change deprecated annotation @UIApplicationMain -> @main (#2800) 2023-02-27 13:02:30 +03:00
dima.avdeev
f6c36c3926 fix components project import with IDEA (#2799) 2023-02-25 21:46:49 +03:00
Nikita Lipsky
205d9c0d6f Add resources component to multiplatform template (#2796) 2023-02-24 18:20:41 +02:00
Nikita Lipsky
2cd92eed5c Add resources library to dependencies declared by compose gradle plugin (#2793)
* Add resources library to compose dependencies declared by compose gradle plugin

* Move resources component to CommonComponentsDependencies
2023-02-24 14:37:23 +02:00
Nikita Lipsky
5f08bfca16 Introduce Config.xсconfig (#2792)
- move APP_NAME (application name), BUNDLE_ID (bundle identifier) to Config.xcconfig

- add cleanup.sh script
2023-02-23 21:27:38 +02:00
Nikita Lipsky
c998ec50fc Revert "Introduce Config.xconfig"
This reverts commit e9009fe9bb.
2023-02-23 20:57:01 +02:00
Nikita Lipsky
e9009fe9bb Introduce Config.xconfig
- move APP_NAME (application name), BUNDLE_ID (bundle identifier) to Config.xcconfig

- add cleanup.sh script
2023-02-23 20:54:56 +02:00
Sebastian Aigner
8a635b6f96 ImageViewer: "Memories" view for ImageViewer, Stack-based Navigation, StateFlow-based Image Provider (#2789) 2023-02-23 20:31:15 +03:00
Nikita Lipsky
8ed753b1b9 Add iOS target to multiplatform template (#2788)
+ conform KMM wizard generated project structure and samples
2023-02-23 19:28:25 +02:00
dima.avdeev
6a6138f011 update submodule compose/frameworks/support to latest jb-main 2023-02-23 14:43:53 +04:00
Nikita Lipsky
6a56bdaa55 Copy templates to experimental as is ... (#2786)
... to add iOS target later
2023-02-22 19:38:22 +02:00
dima.avdeev
b1c449e1f3 README 2023-02-21 23:55:38 +04:00
dima.avdeev
9e8a138a2f fix typo ChatViewController (#2768) 2023-02-20 18:54:52 +03:00
Sebastian Aigner
e34f9c93da Move examples to V2 Source Set Layout (#2765) 2023-02-20 11:00:19 +03:00
dima.avdeev
a1cb760b7c Compose inside SwiftUI example (#2755) 2023-02-19 20:03:59 +03:00
Nikita Lipsky
0d0c9f64d3 ImageViewer: use painterResource from resource library. (#2761) 2023-02-17 16:04:07 +02:00
Sebastian Aigner
0dfba6086b Visual refresh for experimental Image Viewer (#2748)
* Design changes; move to material3

* Use animations to move between different images

* More design changes, rounded corners and animations

* Introduce square gallery view, start with granularizing state management

* Introduce square gallery view, start with granularizing state management

* Make PreviewImage not depend on the whole gallery state

* Move in initialization logic from composition into launched effect

* Highlight currently selected image

* Hoist state for FullscreenImage TopAppBar
Move from Custom Implementation to Material App Bar, use color scheme from main page
Extract hardcoded colors to ImageViewerColors

* Provide floating action buttons with nicer colors

* Provide keyboard events via SharedFlow (remove passing around MutableState in the composable hierarchy as it may potentially violate UDF)
Commonize IOScope initialization

* Provide German translation in shared R-strings

* Move from immutable data classes to Compose-aware State Holders.

* Fix gradlew formatting issue?

* Regenerate gradle wrapper after Android Studio autoformatting debacle

* Resolve rememberCoroutineScope issue

* Provide mock name for remaining picture in repo

* Restore TEAM_ID in project.pbxproj

* Use emptyFlow as default to simplify nullability handling for external events

* Remove extraneous newline and unnecessary print statement

* Provide German translation in XML format
Consistently rename title to "My Memories"

* Remove commented-out code, cleanup rendundant modifiers
Make Title Bar use callbacks instead of accessing ViewModel directly
Add toggle & icon for list and grid view
2023-02-17 15:38:50 +02:00