Commit graph

23 commits

Author SHA1 Message Date
Max
efc84fbb97 feat(doc): add yao doc CLI commands and YAML documentation for all packages
Implement yao doc process list/inspect/validate and yao doc runtime
list/inspect/validate commands. Validate uses engine addressing logic
(process.Of) and checks dynamic-ID group registries (model, store, fs,
task, schedule) to verify resources actually exist.

- cmd/doc/: CLI command tree with process and runtime subcommands
- cmd/root.go: wire docCmd into rootCmd
- 27 process doc.yml + doc.go pairs across yao packages
- cmd/doc/doc_test.go: integration tests

Made-with: Cursor
2026-04-23 21:37:43 +08:00
Max
c425b74383 Refactor error handling in various components to improve logging and message formatting
- Updated error messages to use fmt.Errorf with %s for better clarity and consistency.
- Enhanced logging statements to utilize formatted strings for improved readability.
- Refactored multiple Load functions across different modules to standardize error handling practices.
2025-09-28 10:24:17 +08:00
Max
fabced291c fix: Enhance loading functions to handle non-existent directories
- Added checks in various loading functions to ignore processing if the respective directories do not exist, improving error handling and preventing unnecessary operations.
- Updated the Load function signature to return warnings alongside errors, allowing for better feedback on loading issues across different components.
2025-05-13 09:10:10 +08:00
Max
67de1c07cb Securely update hidden props in the DSL that are only visible to the backend 2024-11-02 17:38:37 +08:00
Max
c4e96366bf Use url.QueryUnescape for xpath and method in process components 2024-11-01 12:47:03 +08:00
Max
8f7e1b3459 [fix] tests 2023-03-25 22:46:20 +08:00
Max
ed48fa468a [add] migrate widgets.chart 2023-03-25 21:36:15 +08:00
Max
a807899f95 [*] migrate to gou v0.10.3 (50%) 2023-02-01 17:25:11 +08:00
Max
7385c0b5c7 [change] widget chart & dashboard setting add name 2022-12-19 21:08:37 +08:00
Max
db5e2f3968 [add] widget chart permission support 2022-12-13 22:08:44 +08:00
Max
2d100d5bd2 [add] component action parser 2022-12-10 16:43:30 +08:00
Max
4ce8f12adb [add] widget.actions & widget.models 2022-12-03 23:33:05 +08:00
Max
0c1f74fa49 [_] 2022-11-14 15:35:25 +08:00
Max
eadf112e1e [add] yao.component.* & fix cloud props api bug 2022-11-11 20:03:56 +08:00
Max
507d39e011 [add] http.* processes & http JSAPI 2022-11-10 00:10:38 +08:00
Max
7320b7a5b6 [add] widget compute $C(id) 2022-11-01 16:52:04 +08:00
Max
2b745dd7af [add] widget chart guard & compute 2022-10-25 00:44:18 +08:00
Max
ae929a5662 [add] fields component compute support 2022-10-21 20:02:17 +08:00
Max
f5fbef9e39 [add] widgets config 2022-10-20 05:00:20 +08:00
Max
827e0f1884 [i18n] support 2022-10-16 22:23:32 +08:00
Max
5a915a453f [add] widget table session suuport 2022-10-04 14:59:27 +08:00
Max
71611af1a5 [fix] test data 2022-09-28 17:32:35 +08:00
Max
688c2950eb [add] widget chart 2022-09-28 17:23:51 +08:00