Commit graph

1564 commits

Author SHA1 Message Date
Max
b4ed405e4e optimize sui page injection script 2024-07-07 22:34:10 +08:00
Max
265188bed1 refactor: Remove unused slotNode function and tidy up code 2024-07-07 16:00:28 +08:00
Max
e4c8eeb180 optimize the SUI compiler & add http server gzip support 2024-07-07 15:29:50 +08:00
Max
536621d72e refactor: Update parsing logic for JIT components 2024-07-07 02:33:12 +08:00
Max
a2d1ee8ca9 refactor: Add conditional hiding of elements in forStatementNode 2024-07-07 02:09:21 +08:00
Max
3f95dd7d75 [add] sui recursive build detected 2024-07-07 01:19:15 +08:00
Max
57e72a698d refactor: Copy slots in BuildAsComponent method 2024-07-07 00:51:07 +08:00
Max
6542c6e46b refactor: optimize the SUI page compiler 2024-07-06 21:24:36 +08:00
Max
a4f28368d4 refactor: Update build process to include SUI CompileAsComponent support (dev) 2024-07-05 19:54:26 +08:00
Max
4f3f83523a chore: Update local build test to remove files before building 2024-07-05 17:05:15 +08:00
Max
6f8cab20fd chore: Update submodules in GitHub Actions workflows 2024-07-05 16:31:21 +08:00
Max
cf45040a1c feat: Add and optimize SUI CompileAsComponent support 2024-07-05 16:19:57 +08:00
Max
a435b1ad6e [chore] Update sui test cases 2024-07-04 17:06:42 +08:00
Max
e266ab438f refactor: Update Go setup action to version 5 2024-07-04 13:29:18 +08:00
Max
f44ef832e7 refactor: Update Go setup action to version 5 2024-07-04 13:25:26 +08:00
Max
caabd88672 chore: Update Go setup action to version 5 2024-07-04 12:51:30 +08:00
Max
1dcfad5695 refactor: Update Docker image versions and artifact upload actions 2024-07-04 12:39:26 +08:00
Max
f44b251288 refactor: Update Docker image versions and artifact upload actions 2024-07-04 12:21:47 +08:00
Max
18b6aaeb81 refactor: Update Docker image versions and artifact upload actions 2024-07-04 12:12:54 +08:00
Max
0d29a68b9c refactor: Update GitHub Actions and Codecov versions 2024-07-04 12:05:43 +08:00
Max
812ed24265 refactor: Update Node.js setup and cache actions to latest versions 2024-07-04 11:54:31 +08:00
Max
f2a9598c5c refactor: Update Docker image versions and artifact upload actions 2024-07-04 11:44:09 +08:00
Max
671a6b409e refactor: Update go.mod dependencies to latest versions 2024-07-04 03:12:30 +08:00
Max
c20894cb92 refactor: Update go.mod dependencies to latest versions 2024-07-02 20:56:39 +08:00
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