Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1082 commits
Select commit Hold shift + click to select a range
542592d
Move EnroConfig to common
isaac-udy Mar 22, 2025
9ad6cef
Refactor NavigationKey to move into common source set, exploring ways…
isaac-udy Mar 28, 2025
586da7c
Updated ComposeManagedResultFlow to use (mostly) Kotlin Serializable …
isaac-udy Mar 29, 2025
4a39861
Started moving NavigationInstruction into common
isaac-udy Mar 29, 2025
0f3da2b
Moved NavigationKey into common, using the new saved state alpha libr…
isaac-udy Apr 1, 2025
92bc42f
Working on moving more and more code into common
isaac-udy Apr 4, 2025
4c2c940
Working on moving more and more code into common
isaac-udy Apr 9, 2025
7b1ad1b
Added an application context to live at the top level of the applicat…
isaac-udy Apr 9, 2025
c489dd8
Moved compatibility code out into fragment plugin; got tests all full…
isaac-udy Apr 9, 2025
dedffa0
Started getting the legacy :enro tests working again
isaac-udy Apr 9, 2025
bb66c94
Finished getting tests passing locally
isaac-udy Apr 10, 2025
4201d52
Get all the tests working again, introducing NavigationInstructionExt…
isaac-udy Apr 12, 2025
ea90ef2
Added functionality to properly allow navigation instruction extras t…
isaac-udy Apr 15, 2025
a8e8c84
Minor tweak to allow unit tests to pass correctly
isaac-udy Apr 15, 2025
68d8dcb
Add --continue to ci
isaac-udy Apr 15, 2025
f78c2eb
Updates to resolve test issues
isaac-udy Apr 15, 2025
0a4c5f4
Updated Save/Restore root state in the example app to use the correct…
isaac-udy Apr 16, 2025
07cd243
Started working on moving some compose-based example app stuff into t…
isaac-udy Apr 21, 2025
aac0236
Replaced ActivityNavigationContainer with NavigationWindowManager, an…
isaac-udy Apr 22, 2025
b5c05c9
Added NavigationWindowManager for Desktop, and started adding support…
isaac-udy Apr 22, 2025
ed4a620
Moved NavigationController to be a proper singleton instance, cleaned…
isaac-udy Apr 22, 2025
7b66fc5
Started getting Enro working for the web
isaac-udy Apr 23, 2025
93f85ad
Updates to allow creation of Enro-based ViewModels for the web
isaac-udy Apr 24, 2025
251b5ed
add iOS gitignores
isaac-udy Apr 24, 2025
e4694a8
Add basic iOS framework for :tests:application
isaac-udy Apr 24, 2025
aac75db
iOS is now running
isaac-udy Apr 24, 2025
6aad921
Add (very very basic) back gesture for iOS
isaac-udy Apr 26, 2025
a5eb9eb
add .xcuserstate to gitignore
isaac-udy Apr 27, 2025
5c74cfe
Delete UserInterfaceState.xcuserstate
isaac-udy Apr 27, 2025
312bf63
Started work to re-implement and simplify animation functionality
isaac-udy Apr 27, 2025
900c86e
Remove view animations from Enro in preparation of adding these back …
isaac-udy Apr 27, 2025
331a0c9
Added functionality to override destinations per-platform using the @…
isaac-udy Apr 27, 2025
32e789f
Added functionality to set a NavigationInstruction to not use a platf…
isaac-udy Apr 27, 2025
9a7eafe
Add desktop dialog window for ComposeManagedResultFlow.desktop.kt
isaac-udy Apr 27, 2025
fc23e27
Added basic support for shared element transitions in Enro
isaac-udy Apr 27, 2025
f34cdda
Adjust default animations
isaac-udy Apr 27, 2025
0ba7b9f
Getting iOS working better, adding ability to add UIViewControllers a…
isaac-udy Apr 29, 2025
74a4c1b
Updated Desktop target to work with updated code generation and insta…
isaac-udy Apr 29, 2025
faa2081
Add test run configurations to saved run configs
isaac-udy Apr 29, 2025
bcda391
Remove ComposableDestinationReference.kt, introduce NavigationCompone…
isaac-udy Apr 29, 2025
eae1d56
Get web running again
isaac-udy Apr 29, 2025
b114917
Added the ghpages documentation to the docs/ghpages branch, with the …
isaac-udy May 1, 2025
482aad7
Update serialization code to not require NKSerializer, require Naviga…
isaac-udy May 1, 2025
3ed4297
Continue updating serialization code
isaac-udy May 2, 2025
3080533
Add CommonSerialization test screen to match AndroidSerialization tes…
isaac-udy May 2, 2025
da7115b
Update host factory code to allow non-component activities to be used…
isaac-udy May 2, 2025
d43a8bf
Work on getting NavigationAnimations working for non-composable desti…
isaac-udy May 2, 2025
88890b4
Added test Activity for verifying fragment animations in :tests:appli…
isaac-udy May 4, 2025
3411a92
Remove ability to get savedState arguments from NavigationContext, in…
isaac-udy May 4, 2025
4d2a768
Fix issues with animations not working correctly for compose destinat…
isaac-udy May 4, 2025
a3d1f0b
Fix KAPT generation issue
isaac-udy May 4, 2025
675284a
Add :enro-core:desktopTest to the run-tests step in CI
isaac-udy May 5, 2025
3b5453c
Fix some bugs with animations, add tests for GetAnimationsForTransition
isaac-udy May 5, 2025
dda2f96
Remove GetNavigationAnimations in favor of GetAnimationsForTransition
isaac-udy May 5, 2025
2c86396
Moved animation enabled/disabled checking into NavigationAnimationOve…
isaac-udy May 5, 2025
8eceb4f
Fix KAPT and Linting issues
isaac-udy May 5, 2025
1b8788d
Fix problem with lint reporting errors where it shouldn't when a type…
isaac-udy May 5, 2025
4851242
Minor updates and clearing TODOs
isaac-udy May 6, 2025
8be9a9a
Moved some iOS related code around, started trying to clean up iOS in…
isaac-udy May 10, 2025
81e9f6b
Added functionality for hosting UIViewControllers and Composables as …
isaac-udy May 10, 2025
84914a0
Remove debugging printlns
isaac-udy May 10, 2025
cecca1b
Remove some testing code, introduce native view controller destination
isaac-udy May 10, 2025
2b163d6
Added a PredictiveBackArrow function for iOS to mimic Android back be…
isaac-udy May 10, 2025
d6edb22
Resolve animation issues for web, update Compose to 1.8.0 and gradle …
isaac-udy May 11, 2025
372cd15
Update rememberNavigationContainer to use currentCompositeKeyHash for…
isaac-udy May 12, 2025
63dc3e7
Added an initial implementation of browser based back navigation mana…
isaac-udy May 12, 2025
c1d0e3b
Add functionality to use "rootOnly" navigation when applying the Defa…
isaac-udy May 12, 2025
fd857ff
Default EnroConfig to isStrictMode = true
isaac-udy May 13, 2025
f198d78
Added "openInWindow" functionality to cause NavigationInstructions to…
isaac-udy May 13, 2025
331b4bc
Added window concept to web
isaac-udy May 13, 2025
815118d
Add web window example, fix a few bugs with windows on the web, added…
isaac-udy May 13, 2025
ad863a2
Added @NavigationPath annotation to bind NavigationKeys as being able…
isaac-udy May 15, 2025
60a4540
Update ghpages folder to be ghpages-old
isaac-udy May 18, 2025
1be88a0
Started refactoring documentation
isaac-udy May 18, 2025
bebc4d8
Update version number to 3.0.0-alpha01
isaac-udy May 18, 2025
497f108
Started playing around with a Nav3 inspired NavigationDisplay
isaac-udy May 29, 2025
8974584
Continued building out basics for the enro three
isaac-udy May 31, 2025
dc36912
Continued building out basics for the enro three
isaac-udy May 31, 2025
cef0541
Continued work around repackaging and introducing interceptors
isaac-udy May 31, 2025
0819bff
Continued working on getting enro3 working
isaac-udy Jun 1, 2025
241760e
Getting ViewModels and Activities examples working
isaac-udy Jun 1, 2025
906834b
Minor refactors
isaac-udy Jun 1, 2025
a542b35
Removed some references to the legacy enro code from the enro3 package
isaac-udy Jun 1, 2025
6a6a3d7
Add android defaults
isaac-udy Jun 1, 2025
f1bd249
Hacking around to get overlay destinations working, started playing w…
isaac-udy Jun 1, 2025
919150f
Fixed issues with too many compositions in the NavigationDisplay, and…
isaac-udy Jun 1, 2025
92210a3
Moved Scene code around a bit, added direct overlay scene, added more…
isaac-udy Jun 1, 2025
dceedf9
Added support for shared element transitions
isaac-udy Jun 1, 2025
d7e59cd
Added support for shared element transitions, move navigationHandle f…
isaac-udy Jun 1, 2025
7a851fd
Added support for ViewModelStores being owned by the navigation desti…
isaac-udy Jun 1, 2025
4bd5657
Refactor decorators to be in their own package
isaac-udy Jun 1, 2025
f9760ff
Update decorators for consistency
isaac-udy Jun 2, 2025
69fc644
Refactor decorators and improve comments/structure and documentation
isaac-udy Jun 2, 2025
a496217
Refactor NavigationDisplay to break functionality down into smaller p…
isaac-udy Jun 2, 2025
b314200
Continue updates to NavigationDisplay.kt
isaac-udy Jun 2, 2025
0c7776c
Comments for NavigationDisplay
isaac-udy Jun 2, 2025
e85994e
Updates to allow NavigationDestinationScope to have a navigationHandl…
isaac-udy Jun 2, 2025
923bb3f
Work on getting navigation flows working
isaac-udy Jun 2, 2025
08ed21a
Worked on getting processing code working for enro3
isaac-udy Jun 2, 2025
01270f1
Added support for configuring onCloseRequested in navigation handles,…
isaac-udy Jun 2, 2025
a0a68d3
Moved container decoration to the rememberNavigationContainer.kt func…
isaac-udy Jun 3, 2025
28464ab
Removed androidx sources, fixed fragment dependency
isaac-udy Jun 3, 2025
3af7755
Deleted DefaultSerializer as it was not used
isaac-udy Jun 3, 2025
63474af
Added EnroLog and NavigationBackHandler impls for iOS
isaac-udy Jun 3, 2025
52d5e91
Hacked the iOS app to get it working
isaac-udy Jun 3, 2025
c9bc9dc
Fixed bug with iOS serialization in rememberNavigationContainer
isaac-udy Jun 3, 2025
e0a51f4
Deleting legacy enro code in common and android, and otherwise renami…
isaac-udy Jun 3, 2025
2694a9c
Start of the massive refactor to get the sample app compiling without…
isaac-udy Jun 4, 2025
d5a7bc4
Resolved more compilation errors
isaac-udy Jun 4, 2025
a436049
The application runs!
isaac-udy Jun 4, 2025
4d1f1aa
Fix polymorphic serialization for NavigationKey.instance
isaac-udy Jun 4, 2025
3ea6f0d
Started working on getting some empty behaviour functionality
isaac-udy Jun 4, 2025
aed8d3c
Continued compatibility work
isaac-udy Jun 4, 2025
dc2d547
Updates to enro-test
isaac-udy Jun 5, 2025
1ef33ee
Spent some time getting test application tests compiling again, intro…
isaac-udy Jun 5, 2025
14c9a1b
Big refactor of NavigationContexts, work on getting tests passing
isaac-udy Jun 6, 2025
c4e9b0a
Continued focusing on getting the test application working again
isaac-udy Jun 6, 2025
be849b9
Working on synthetics and container interceptors (adding context)
isaac-udy Jun 6, 2025
1f50701
Remove "out" variance
isaac-udy Jun 6, 2025
123ddc1
Work on fragment support
isaac-udy Jun 7, 2025
91313a5
Worked on improving managed flow functionality, and added a proper ma…
isaac-udy Jun 7, 2025
062ef70
More test fixing/added viewmodel navigation result channels
isaac-udy Jun 7, 2025
b390e3d
Add controller reference to Contexts
isaac-udy Jun 7, 2025
9f670df
Add filter to NavigationContainer
isaac-udy Jun 7, 2025
ab8ef39
Add empty behavior to allow ComposeNestedResults to select the primar…
isaac-udy Jun 7, 2025
dd6f78c
Worked on updating NavigationOperations to be based on a sealed type …
isaac-udy Jun 7, 2025
afb0402
Finished getting operation stuff sorted out, got test application and…
isaac-udy Jun 8, 2025
f2432cb
Continue working on getting test passing
isaac-udy Jun 9, 2025
e0a670b
Fix tests in enro core
isaac-udy Jun 9, 2025
c726482
Added functionality to register visibility in NavigationContexts, whi…
isaac-udy Jun 9, 2025
6df9215
Added tests for NavigationContext.WithContainerChildren behaviour aro…
isaac-udy Jun 9, 2025
c1ff010
Added both from and container context to interceptors, and added adde…
isaac-udy Jun 9, 2025
8f93bd1
Working on state saving; fragment tests still appear broken
isaac-udy Jun 9, 2025
6035f9b
Update rememberNavigationContainerForFlow to work for completeFrom ty…
isaac-udy Jun 9, 2025
be9cbe8
Get desktop application running again in a slightly hacky way
isaac-udy Jun 9, 2025
eca4056
Minor updates to get android app running after changes to destop
isaac-udy Jun 10, 2025
8d538d6
Added tests for NavigationContainer functionality
isaac-udy Jun 10, 2025
6bf26c4
Added a bunch of stuff to get desktop working properly, added some ne…
isaac-udy Jun 11, 2025
b7e8ea1
Made some updates to the loan sample application, fixed a minor bug w…
isaac-udy Jun 11, 2025
a457309
Various update
isaac-udy Jun 11, 2025
329e635
Added new compat module for compatibility aliases/helpers
isaac-udy Jun 12, 2025
c73ad4b
Work on enro-compat
isaac-udy Jun 12, 2025
7f67e70
Working on root context navigation handles and getting delegated resu…
isaac-udy Jun 12, 2025
a9c996a
Fix fragment navigation handles
isaac-udy Jun 12, 2025
0ec8e9f
Fix saving state on Android
isaac-udy Jun 12, 2025
b142316
Getting desktop working again with new root context changes
isaac-udy Jun 12, 2025
c396999
Little more work on desktop
isaac-udy Jun 12, 2025
a563c50
Making windows generic on desktop, stop it being open, added a "Gener…
isaac-udy Jun 13, 2025
c7a36c0
Create sample application
isaac-udy Jun 13, 2025
b279519
Continue adding sample
isaac-udy Jun 13, 2025
68feb15
More updates to the travel sample
isaac-udy Jun 13, 2025
adc9115
Deleted the old "example" app, in favor of the tests application
isaac-udy Jun 13, 2025
64283dd
Started tweaking the test application, moved samples to the top, upda…
isaac-udy Jun 14, 2025
05cc11e
refactor: update navigation handle references to use instance IDs and…
isaac-udy Jun 14, 2025
4b3d970
refactor: integrate savedStateHandle into navigation handles and upda…
isaac-udy Jun 14, 2025
0faec86
fix: update test robot methods to match current UI elements and impro…
isaac-udy Jun 14, 2025
959ed46
Fixed bug with NavigationFlow back handling; don't invoke the Navigat…
isaac-udy Jun 14, 2025
4e5c149
Removed legacy tests
isaac-udy Jun 14, 2025
2d8e0e5
Updated ComposeNestedResults to use NavigationDisplay
isaac-udy Jun 14, 2025
0943d79
enhance navigation destination fixture creation with customizable met…
isaac-udy Jun 14, 2025
73ec85c
remove obsolete ci workflow steps for example compilation and update …
isaac-udy Jun 14, 2025
6ed8ea5
Update configureEmulatorWtf to use local.properties instead of privat…
isaac-udy Jun 14, 2025
89b76b3
update release workflow for clarity, and to publish both android and …
isaac-udy Jun 14, 2025
35446f4
Add Unit serializer
isaac-udy Jun 14, 2025
c72fbee
Updated ComposeNestedResults and related tests to work better on smal…
isaac-udy Jun 14, 2025
8724b38
Added more compatibility aliases to the compat library
isaac-udy Jun 17, 2025
60c3476
Started work to get iOS running again with the new structure
isaac-udy Jun 17, 2025
54e0154
Remove some "out" variances that were not required
isaac-udy Jun 18, 2025
9537955
Remove some "out" variances that were not required
isaac-udy Jun 18, 2025
41bd57d
Remove weird characters from plist
isaac-udy Jun 18, 2025
bb9f1d2
Add search paths to pbxproj
isaac-udy Jun 18, 2025
f996b41
Get the iOS test application compiling/running again (just hacking ar…
isaac-udy Jun 18, 2025
c347ec9
More iOS application tweaks; getting the native viewcontroller views …
isaac-udy Jun 18, 2025
93c1938
Get Desktop working again, introduce EnroWrappedViewModelStoreOwner a…
isaac-udy Jun 18, 2025
531f584
Started to configure the EnroUIViewController to work a little more a…
isaac-udy Jun 18, 2025
774accd
Added the basics of handleNavigationOperationForPlatform in iOS, curr…
isaac-udy Jun 18, 2025
14c2d33
Add destination metadata to the NavigationDestinationScope
isaac-udy Jun 18, 2025
018fa0c
Some work to get iOS UIViewControllers going
isaac-udy Jun 19, 2025
86b792f
Update method of distinguishing platforms
isaac-udy Jun 20, 2025
695d12a
Update method of distinguishing platforms (part 2)
isaac-udy Jun 20, 2025
316fe34
Ensure correct ViewModelStoreOwner is provided to RootWindow on desktop
isaac-udy Jun 20, 2025
b764ad8
make libs.compose.ui.backhandler an API of enro-core
isaac-udy Jun 20, 2025
49ae722
Add LocalRootFrame.kt
isaac-udy Jun 20, 2025
13b8986
Run-catching for compat class
isaac-udy Jun 21, 2025
d2f2a5b
Update publishing and release workflows
isaac-udy Aug 16, 2025
59587dc
Drop version.properties version to 00 to allow release action to work
isaac-udy Aug 16, 2025
33f786a
Drop to JVM target 11 and remove duplicate POM settings
isaac-udy Aug 16, 2025
4643472
Add SNAPSHOT to version name for local publishing
isaac-udy Aug 19, 2025
ff112b3
Add compatibility functions and add some missing functionality to all…
isaac-udy Aug 20, 2025
1e7c86a
Make "isDirectOverlay" extension function
isaac-udy Aug 24, 2025
493f38e
Move navigation fixtures into the enro-test module
isaac-udy Aug 24, 2025
ae730ab
Add compatibility functions for enro-test
isaac-udy Aug 25, 2025
c34e637
Add compatibility functions for enro-test, and other minor updates
isaac-udy Aug 26, 2025
5b90d37
add isDirectOverlay extension for NavigationDestination, stop using r…
isaac-udy Sep 1, 2025
2418cad
Merge remote-tracking branch 'origin/3.x-compat-updates' into 3.x-com…
isaac-udy Sep 1, 2025
f7f30e8
Group CI tasks under new "continuousIntegration" task
isaac-udy Sep 1, 2025
d9f9d44
Update gradle version
isaac-udy Sep 1, 2025
e6c9a60
Renamed "frontendJs" to default "wasmJs", changed publishing to ignor…
isaac-udy Sep 1, 2025
20e5c55
Remove emulator-wtf from the main enro module, remove hilt-test from …
isaac-udy Sep 1, 2025
e7cd8ba
Merge pull request #198 from isaac-udy/3.x-compat-updates
isaac-udy Sep 1, 2025
68340f3
Released 3.0.0-alpha01
isaac-udy Sep 1, 2025
efdf0f7
add acceptNone filter to EmbeddedDestination to prevent instructions …
isaac-udy Sep 1, 2025
cdca8fa
Add better deprecation message for NavigationContainer.Key.FromName
isaac-udy Sep 1, 2025
1f10706
Update FlowResultScope and FlowStep creation for Enro 3.x, allowing r…
isaac-udy Sep 1, 2025
d58f2ee
Merge remote-tracking branch 'origin/main'
isaac-udy Sep 1, 2025
a3655a4
Add comment to instanceId for FlowStepResult
isaac-udy Sep 1, 2025
d3ecbd3
refactor: improve flow step id handling and documentation for better …
isaac-udy Sep 1, 2025
62f3394
Fix ResultFlowTest compilation issues
isaac-udy Sep 1, 2025
e44ca84
Released 3.0.0-alpha02
isaac-udy Sep 4, 2025
afb3fee
Add :enro-processor:publishMavenPublicationToMavenCentralRepository t…
isaac-udy Sep 4, 2025
3058b1c
Update NavigationModuleGenerator so that a module is always generated…
isaac-udy Sep 4, 2025
cb141c7
Add EnroPlatformWasmJs
isaac-udy Sep 4, 2025
67911e0
Add ResolverPlatform for the Enro Processor to get platform specific …
isaac-udy Sep 4, 2025
e9f599f
Start using ResolverPlatform in NavigationComponentGenerator for gett…
isaac-udy Sep 4, 2025
97bf97c
Released 3.0.0-alpha03
isaac-udy Sep 4, 2025
51f7588
Use ResolverPlatform as an input to NavigationComponentGenerator, pas…
isaac-udy Sep 4, 2025
44ebea8
Remove unused property of GeneratedModuleReference
isaac-udy Sep 4, 2025
6fd3c8a
remover "enro3" from package name references
isaac-udy Sep 4, 2025
0ae0c0c
refactor: update navigation binding and component generation to handl…
isaac-udy Sep 4, 2025
1e72b63
Merge remote-tracking branch 'origin/main'
isaac-udy Sep 4, 2025
2117503
Don't use @ConsistentCopyVisibility for GeneratedBindingReference, as…
isaac-udy Sep 4, 2025
8c71cb8
Released 3.0.0-alpha04
isaac-udy Sep 4, 2025
54bfff2
Add ComponentReference to replace KSDeclaration in componentsToProces…
isaac-udy Sep 4, 2025
6271e6c
Released 3.0.0-alpha05
isaac-udy Sep 4, 2025
0a579aa
Update agp
isaac-udy Oct 9, 2025
eb1196f
Renamed enro-core to enro-runtime, created enro-common to hold some c…
isaac-udy Oct 9, 2025
92dc043
Released 3.0.0-alpha06
isaac-udy Oct 9, 2025
519da02
Add missing wasmJs actual implementations (although these are still a…
isaac-udy Oct 13, 2025
e0c9d77
Enable incremental KSP
isaac-udy Oct 13, 2025
443890f
Add experimental functionality for adding NavigationPath bindings to …
isaac-udy Oct 16, 2025
f2d2f19
Merge remote-tracking branch 'origin/main'
isaac-udy Oct 16, 2025
8b33f92
Move NavigationContext.getNavigationKeyFromPath to enro-runtime
isaac-udy Oct 16, 2025
7f1e34b
Remove root project name setting from settings.gradle.kts (this was c…
isaac-udy Oct 18, 2025
7675a84
Update dependencies and remove kapt (except for auto-service in enro-…
isaac-udy Nov 4, 2025
bd26a25
Improve Compose stability
isaac-udy Nov 4, 2025
371a210
Update rememberNavigationContainer to take into account the changes t…
isaac-udy Nov 4, 2025
525c907
Update NavigationContainerTests to use backstackOf instead of listOf
isaac-udy Nov 5, 2025
7d7314c
Update dependency versions
isaac-udy Nov 10, 2025
39fb4cb
Update return types of findContext methods to be more usable when sea…
isaac-udy Nov 10, 2025
8c22ee9
Fix bug where some KSP aggregation would not work for iOS platforms w…
isaac-udy Dec 2, 2025
6711ea5
Released 3.0.0-alpha07
isaac-udy Dec 16, 2025
8eb14f1
Add "Other" platform type, remove debug logs
isaac-udy Dec 16, 2025
868320c
Released 3.0.0-alpha08
isaac-udy Dec 16, 2025
85c089d
Update to Compose 1.10-rc02, and update the NavigationBackHandler to …
isaac-udy Jan 7, 2026
6e0a87b
Get the test application running in the web again
isaac-udy Jan 7, 2026
7fecc93
Publish all library variants (including wasmJs)
isaac-udy Jan 7, 2026
1e8eb2d
Fix issues with NavigationEvent/BackHandler conflicts for desktop
isaac-udy Jan 7, 2026
8baa389
Add a fix for issues seen on wasm targets where a module with a navig…
isaac-udy Jan 7, 2026
0fe7dda
Don't publish enro-common, due to FQN issues
isaac-udy Jan 7, 2026
d5746ba
Released 3.0.0-alpha09
isaac-udy Jan 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ updates:
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
interval: monthly
open-pull-requests-limit: 0
63 changes: 32 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,46 @@
name: CI
on:
push:
paths-ignore:
- '**.md'
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
run-ui-tests:
name: Run Tests
runs-on: macOS-latest
run-continuous-integration:
name: Run Continuous Integration
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v2.5.0
with:
distribution: 'zulu'
java-version: 11

- name: Run Enro UI Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew :enro:connectedCheck
- name: Changes
uses: dorny/paths-filter@v2
id: changes
with:
filters: |
isCodeChange:
- '**/*.kt'
- '**/*.kts'
- '**/*.toml'

- name: Run Enro UI Tests (Hilt)
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew :enro:hilt-test:connectedCheck
- name: Set up JDK 21
if: steps.changes.outputs.isCodeChange == 'true'
uses: actions/setup-java@v3.9.0
with:
distribution: 'zulu'
java-version: 21

- name: Run Enro Unit Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew :enro:testDebugUnitTest
- name: Setup gradle
if: steps.changes.outputs.isCodeChange == 'true'
uses: gradle/gradle-build-action@v2

- name: Run Modularised Example Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew :modularised-example:app:testDebugUnitTest
- name: Run
if: steps.changes.outputs.isCodeChange == 'true'
env:
EW_API_TOKEN: ${{ secrets.EW_API_TOKEN }}
run: ./gradlew continuousIntegration --continue
35 changes: 7 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,16 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v2.5.0
- name: Set up JDK 21
uses: actions/setup-java@v3.9.0
with:
distribution: 'zulu'
java-version: 11
java-version: 21

- name: Run Enro UI Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew :enro:connectedCheck

- name: Run Enro UI Tests (Hilt)
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew :enro:hilt-test:connectedCheck

- name: Run Enro Unit Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew :enro:testDebugUnitTest

- name: Run Modularised Example Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew :modularised-example:app:testDebugUnitTest
- name: Setup gradle
uses: gradle/gradle-build-action@v2

- name: Install gpg secret key
run: cat <(echo -e "${{ secrets.PUBLISH_SIGNING_KEY_LITERAL }}") | gpg --batch --import
Expand All @@ -69,7 +48,7 @@ jobs:
PUBLISH_SIGNING_KEY_ID: ${{ secrets.PUBLISH_SIGNING_KEY_ID }}
PUBLISH_SIGNING_KEY_PASSWORD: ${{ secrets.PUBLISH_SIGNING_KEY_PASSWORD }}
PUBLISH_SIGNING_KEY_LOCATION: ${{ secrets.PUBLISH_SIGNING_KEY_LOCATION }}
run: ./gradlew publishAllPublicationsToSonatypeRepository --no-parallel # publishAllPublicationsToGitHubPackagesRepository
run: ./gradlew publishAllPublicationsToMavenCentralRepository -PmavenCentralUsername="${{ secrets.PUBLISH_SONATYPE_USER }}" -PmavenCentralPassword="${{ secrets.PUBLISH_SONATYPE_PASSWORD }}" --no-parallel --stacktrace --continue --exclude-task :enro-common:publishJsPublicationToMavenCentralRepository

- name: Update Repo
uses: EndBug/add-and-commit@v5
Expand Down
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
# Built application files
*.apk
*.aar
Expand Down Expand Up @@ -74,3 +75,26 @@ lint/outputs/
lint/tmp/
# lint/reports/
private.properties
/.kotlin/

/.codebuddy/

### Xcode ###
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcworkspace/contents.xcworkspacedata/
/*.gcno
**/xcshareddata/WorkspaceSettings.xcsettings
**/*.xcuserstate
*.xcscheme
*.xcworkspace
xcuserdata/

# CocoaPods
Pods/

## iOS App packaging
*.ipa
*.dSYM.zip
*.dSYM
26 changes: 26 additions & 0 deletions .run/Enro [_enro-core_desktopTest].run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Enro [:enro-runtime:desktopTest]" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":enro-runtime:cleanDesktopTest" />
<option value=":enro-runtime:desktopTest" />
<option value="--rerun" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>
64 changes: 64 additions & 0 deletions .run/_enro Tests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name=":enro Tests" type="AndroidTestRunConfigurationType" factoryName="Android Instrumented Tests">
<module name="Enro.enro" />
<option name="ANDROID_TEST_RUN_CONFIGURATION_SCHEMA_VERSION" value="1" />
<option name="TESTING_TYPE" value="0" />
<option name="METHOD_NAME" value="" />
<option name="CLASS_NAME" value="" />
<option name="PACKAGE_NAME" value="" />
<option name="TEST_NAME_REGEX" value="" />
<option name="INSTRUMENTATION_RUNNER_CLASS" value="" />
<option name="EXTRA_OPTIONS" value="" />
<option name="RETENTION_ENABLED" value="No" />
<option name="RETENTION_MAX_SNAPSHOTS" value="2" />
<option name="RETENTION_COMPRESS_SNAPSHOTS" value="false" />
<option name="CLEAR_LOGCAT" value="false" />
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" />
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
<option name="DEBUGGER_TYPE" value="Auto" />
<Auto>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" />
<option name="DEBUG_SANDBOX_SDK" value="false" />
</Auto>
<Hybrid>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" />
<option name="DEBUG_SANDBOX_SDK" value="false" />
</Hybrid>
<Java>
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" />
<option name="DEBUG_SANDBOX_SDK" value="false" />
</Java>
<Native>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" />
<option name="DEBUG_SANDBOX_SDK" value="false" />
</Native>
<Profilers>
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
<option name="STARTUP_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Java/Kotlin Method Sample (legacy)" />
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" />
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" />
</Profilers>
<method v="2">
<option name="Android.Gradle.BeforeRunTask" enabled="true" />
</method>
</configuration>
</component>
64 changes: 64 additions & 0 deletions .run/_tests_application Tests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name=":tests:application Tests" type="AndroidTestRunConfigurationType" factoryName="Android Instrumented Tests">
<module name="Enro.tests.application" />
<option name="ANDROID_TEST_RUN_CONFIGURATION_SCHEMA_VERSION" value="1" />
<option name="TESTING_TYPE" value="0" />
<option name="METHOD_NAME" value="" />
<option name="CLASS_NAME" value="" />
<option name="PACKAGE_NAME" value="" />
<option name="TEST_NAME_REGEX" value="" />
<option name="INSTRUMENTATION_RUNNER_CLASS" value="" />
<option name="EXTRA_OPTIONS" value="" />
<option name="RETENTION_ENABLED" value="No" />
<option name="RETENTION_MAX_SNAPSHOTS" value="2" />
<option name="RETENTION_COMPRESS_SNAPSHOTS" value="false" />
<option name="CLEAR_LOGCAT" value="false" />
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" />
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
<option name="DEBUGGER_TYPE" value="Auto" />
<Auto>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" />
<option name="DEBUG_SANDBOX_SDK" value="false" />
</Auto>
<Hybrid>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" />
<option name="DEBUG_SANDBOX_SDK" value="false" />
</Hybrid>
<Java>
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" />
<option name="DEBUG_SANDBOX_SDK" value="false" />
</Java>
<Native>
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
<option name="SHOW_STATIC_VARS" value="true" />
<option name="WORKING_DIR" value="" />
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" />
<option name="DEBUG_SANDBOX_SDK" value="false" />
</Native>
<Profilers>
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
<option name="STARTUP_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Java/Kotlin Method Sample (legacy)" />
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" />
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" />
</Profilers>
<method v="2">
<option name="Android.Gradle.BeforeRunTask" enabled="true" />
</method>
</configuration>
</component>
Loading