hans
30b578708b
Remove unnecessary 'const' keyword from Result.ok calls in DebugAuthInterface methods
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-05-13 14:19:01 +02:00
hans
bcd66f8b41
Update dependency versions to use 'any' for arcane_helper_utils and arcane_analysis
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-05-07 21:04:53 +02:00
hans
f5056c36df
Add configuration files and update authentication service error handling
...
- Introduced .vscode/settings.json and .vscode/launch.json for IDE configuration.
- Updated DebugAuthInterface and ArcaneAuthenticationService to return const Result.ok() for consistency.
- Added ArcaneTheme class for theme management.
- Updated pubspec.yaml to change result_monad dependency version.
- Modified authentication_service_test to return const Result.ok() in mock setups.
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2026-05-07 21:03:50 +02:00
hans
1e84e8f648
Enhance theme management with StreamBuilder for dynamic updates
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-07-01 08:54:10 +02:00
hans
93f90a3f72
Fix DebugAuthInterface logout method
...
Added environment key to ArcaneEnvironment constructor
Renamed switchEnvironment parameter in ArcaneEnvironment constructor
Bumped arcane_helper_utils dependency version
2025-05-19 17:00:27 +02:00
hans
c2cfb46d82
Fix authentication interface and service methods for logout and login.
2025-05-19 17:00:01 +02:00
hans
077956b8ba
Organize theme service
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-05-14 11:12:02 +02:00
hans
55ff65ba32
Remove unnecessary notifyListeners calls
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-05-14 11:11:45 +02:00
hans
7bf5a6d33d
Update ServiceProvider to make service instances optional
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-05-13 15:00:58 +02:00
hans
0c5568ab74
Fixed a bug in the example
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-05-13 14:41:24 +02:00
hans
515c7fb5b1
Fixes the notifier for feature flags and updates the example
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-05-13 14:31:21 +02:00
hans
e6646d308c
Remove bloc dependency
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-05-02 08:51:56 +02:00
hans
68ce73abf5
Breaking up example into smaller widgets
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-30 15:04:14 +02:00
hans
2f18c4213f
Update example
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-30 14:52:41 +02:00
hans
1eab50b0f5
Update example documentation
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-30 14:41:26 +02:00
hans
ad63b15826
Removed unused variable
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-30 11:45:51 +02:00
hans
0caea70b2f
Updated example to add a services example
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-30 11:45:20 +02:00
hans
2e26f90748
Updated services section of the readme
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 20:05:02 +02:00
hans
88210ce1bc
Added requiredServiceOfType getter on ArcaneServiceProvider
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 19:52:58 +02:00
hans
25b456a664
Broke up arcane service into separate files
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 19:18:38 +02:00
hans
3ef93bb3f9
Renamed serviceInstances => registeredServices and added a removeService method
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 18:56:48 +02:00
hans
d1daf0e39f
Renamed getters on ArcaneService
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 17:25:27 +02:00
hans
304c6c8094
Re-add service locators. They should be called as:
...
ArcaneService.of<MyService>(context)
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 17:09:55 +02:00
hans
d069eb0fd3
Remove 'of' and 'requiredOf' locators
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 16:43:21 +02:00
hans
c3eb677b05
Try using a mixin instead
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 16:41:34 +02:00
hans
a04038afc3
Put service locators in an extension
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 16:40:20 +02:00
hans
87f86d8117
Update service provider
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 16:32:53 +02:00
hans
8711eae4d8
Fix updateShouldNotify on ArcaneServiceProvider
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 15:00:48 +02:00
hans
3e62ffc808
Updated changelog
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:42:18 +02:00
hans
87eabf0293
Made ArcaneTheme private (_ArcaneTheme)
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:33:30 +02:00
hans
6f2c3cd32d
Remove debug
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
4d99cc5fba
Add puro config to git :)
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
84ebaeedda
Debug
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
236783c579
Add environment variables
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
5ec25a6c82
Another GH action attempt
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
c124765a00
Attempt to correctly address "stable" version in .puro.json
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
c218a6c6b4
Test different GH action workflow
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
0a7eb92517
Check different path for .puro.json
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
c858186870
Set correct .puro.json filename in github action config
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
990807dc3a
Testing GH actions
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
d4b6c5467d
Updated release notes
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
186e6531b2
Made the switchEnvironment field in ArcaneEnvironment private (_switchEnvironment)
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
83aaa3b446
Remove unused import
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
0b5a088f09
Correctly export the theme switcher widget
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
c5c0009cb4
Moved platform brightness checking from ArcaneApp to ArcaneThemeSwitcher, where it is more appropriate
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
599ade3981
Check for empty interfaces before initializing them in the logger
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
6fb304a4a1
Only send log messages to the LoggingInterfaces if the logging service has been initialized
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
9f1b26e097
Extra log messages will not longer be added to the log stream if more than one LoggingInterface is registered
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
cb224560dc
Remove invalid test
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00
hans
b7c55913e9
Made ArcaneServiceProvider.of(context) nullable
...
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com >
2025-04-29 14:16:17 +02:00