Max
35e23f29ae
refactor: Create context if not exists in SUI page build
2024-07-02 20:51:57 +08:00
Max
28537e2163
[add] Support for JIT mode in SUI component imports ( dev )
2024-07-02 20:40:35 +08:00
Max
6fa9eb51ab
refactor: Update SUI page build process to execute before and after build scripts
2024-06-29 21:38:40 +08:00
Max
c01b4ccb97
refactor: Improve SUI page build performance by adding script execution time measurement
2024-06-29 20:44:48 +08:00
Max
481a9589ac
refactor: Add option to minify style code during SUI page build
2024-06-28 20:31:30 +08:00
Max
80d28ab8c5
refactor: Minify script and style code during SUI page build
2024-06-28 20:17:06 +08:00
Max
4a1a1b2dbc
Optimize the SUI compiler to better support component code
2024-06-28 19:46:08 +08:00
Max
7db3940914
refactor: Update code to support translation attributes and nodes
2024-06-28 16:20:57 +08:00
Max
671bba4aa4
[add] SUI language pack support (dev)
2024-06-28 11:25:22 +08:00
Max
c3644380ba
refactor: Update Request struct to include data caching functionality
2024-06-27 21:11:38 +08:00
Max
6dcd704ea4
[add] Configuring SUI page caching to optimize static page loading speed
2024-06-27 20:02:03 +08:00
Max
6ff2ad2ead
[add] Generating language packs during SUI compilation
2024-06-27 17:15:36 +08:00
Max
e170f6017e
fix misspelling
2024-06-26 19:35:21 +08:00
Max
a52f0ed1a4
refactor: Update Request struct to use NewData method for setting data
2024-06-26 18:19:51 +08:00
Max
0a5105b9d0
refactor: Update TemplateParser to support debug mode and DisableCache
2024-06-26 17:09:41 +08:00
Max
a1de910337
[add] support for retrieving cookies in sui Request struct
2024-06-25 19:37:55 +08:00
Max
00f10cd630
[add] fs allows access to the app root directory ( it's an dangerous operation, be careful to use it)
2024-06-25 17:08:54 +08:00
Max
7bee60c67c
refactor: Update AI connector handling and add support for Moapi models
...
The code changes in `aigc.go` and `types.go` refactor the AI connector handling in the `DSL` struct. The `Connector` field now accepts an optional `moapi` prefix, allowing for the selection of Moapi models. If the `Connector` field starts with `moapi`, the code initializes a new Moapi instance with the specified model. Additionally, the `Connector` field is now marked as `omitempty` in the `types.go` file.
This update improves the flexibility of the AI connector configuration and enables the use of Moapi models in the AI system.
2024-06-15 15:57:36 +08:00
Max
da89223f9d
Merge pull request #621 from yflau/main
...
add migrate option for yao restore command
2024-06-14 20:25:19 +08:00
Max
cc3a9d9140
Merge pull request #622 from trheyi/main
...
refactor: Update Namespace function to handle special characters in name
2024-06-14 17:42:36 +08:00
Max
93fb007280
refactor: Update Namespace function to handle special characters in name
...
The Namespace function in utils.go has been updated to handle special characters in the name parameter. This ensures that the generated namespace is valid and avoids any potential issues with naming conflicts. The function now replaces forward slashes, square brackets, and hyphens with underscores before generating the namespace. This change improves the reliability and robustness of the code.
2024-06-14 16:20:52 +08:00
yflau
7675d72797
Merge branch 'YaoApp:main' into main
2024-06-13 20:02:35 +08:00
yflau
39b8ef6238
add migrate options support for restore cmd
2024-06-13 20:00:56 +08:00
Max
e881e9def4
Merge pull request #619 from trheyi/main
...
chore: Update cssRe regular expression to include hyphen in selectors
2024-06-11 17:30:11 +08:00
Max
971246d090
chore: Update cssRe regular expression to include hyphen in selectors
2024-06-11 17:26:37 +08:00
Max
56d2babba6
Merge pull request #618 from trheyi/main
...
chore: Deprecate $slot and $prop in favor of $slots and $props
2024-06-11 10:40:53 +08:00
Max
8583f1a0f0
chore: Deprecate $slot and $prop in favor of $slots and $props
...
Deprecate the usage of $slot and $prop in the code and introduce $slots and $props as their replacements. This change ensures consistency and improves clarity in the codebase.
2024-06-11 10:40:19 +08:00
Max
c19df9282f
Merge pull request #617 from trheyi/main
...
feat: Clear modules before loading shared library
2024-06-06 15:45:18 +08:00
Max
26189fd61f
feat: Clear modules before loading shared library
...
Clear the modules before loading the shared library to ensure a clean state. This is necessary to avoid any conflicts or issues with previously loaded modules.
2024-06-06 15:44:28 +08:00
Max
34e35ba51b
Merge pull request #616 from trheyi/main
...
[add] TypeScript import support (experimental)
2024-06-05 15:00:48 +08:00
Max
55ca180f7f
[add] TypeScript import support (experimental)
...
- When YAO_RUNTIME_IMPORT is set to true, TypeScript import will be enabled.
2024-06-05 14:59:25 +08:00
Max
4b5316c6a0
Merge pull request #615 from trheyi/main
...
Update installation instructions in README
2024-06-03 19:32:24 +08:00
Max
8bf78c65d4
Update installation instructions in README
2024-05-31 17:11:11 +08:00
Max
cf8c6b012c
Merge pull request #614 from trheyi/main
...
feat: Add SelectModel command to DSL
2024-05-25 20:21:47 +08:00
Max
1f4e9e5a16
feat: Add SelectModel command to DSL
...
Add the SelectModel command to the DSL, allowing the selection of a specific model. This command takes a model name as input and sets the AI to use that model. It returns a success message with a status code of 200 if the selection is successful.
2024-05-25 20:17:25 +08:00
Max
dcb4ef1a18
Merge pull request #613 from trheyi/main
...
feat: Add hideLabel option to component and column DSL
2024-05-23 06:49:09 +08:00
Max
1a1ffabbd8
feat: Add hideLabel option to component and column DSL
...
Add the hideLabel option to the component and column DSLs. This allows hiding the label for the respective widgets. The hideLabel option is set to true in the component and column DSLs when necessary.
2024-05-23 06:48:12 +08:00
Max
4ca1c7f521
Merge pull request #612 from trheyi/main
...
chore: Set full configuration by default for list widget
2024-05-21 20:47:22 +08:00
Max
f38a2e4eb4
chore: Set full configuration by default for list widget
...
Set the full configuration by default for the list widget. This is a temporary solution and will be removed in the future. The full configuration should be set when the list is created.
2024-05-21 20:45:32 +08:00
Max
48ae099ea0
Merge pull request #610 from yflau/main
...
export rootCmd as public
2024-05-08 22:15:14 +08:00
yunfei.liu
fb82fcbdbd
log roration
2024-05-08 20:58:09 +08:00
yflau
a42c556295
export rootCmd as public
...
export the rootCmd to support customized commands when use yao as lib
2024-05-08 19:51:46 +08:00
Max
9f7af5e4da
Merge pull request #608 from yflau/patch-1
...
support custom loaders
2024-05-08 06:26:49 +08:00
yflau
63df367bad
support custom loaders
...
it's useful for custom widgets or processes loaders to use the initialized config.Config in engine.Load
2024-05-07 16:52:43 +08:00
Max
922d3b306b
Merge pull request #607 from trheyi/main
...
chore: Update engine.Load calls with additional options
2024-05-05 17:55:06 +08:00
Max
9faf8f802f
chore: Update engine.Load calls with additional options
2024-05-05 17:54:32 +08:00
Max
c11c0557cc
Merge pull request #606 from trheyi/main
...
[add] Form widget processes: load, reload, unload, read and exists.
2024-05-03 17:39:02 +08:00
Max
5a719b6469
[add] Form widget processes: load, reload, unload, read and exists.
2024-05-03 17:27:36 +08:00
Max
bc882b2694
Merge pull request #605 from trheyi/main
...
[add] Table widget processes: load, reload, unload, read and exists.
2024-05-03 13:15:04 +08:00
Max
f422dd29c6
[add] Table widget processes: load, reload, unload, read and exists.
2024-05-03 13:08:10 +08:00