Commit graph

12 commits

Author SHA1 Message Date
Max
bdcc3585e2 Enhance script resolution logic and update asset metadata
- Refactor the `ResolveScript` function to improve the script path resolution strategy, allowing for better handling of assistant directories and module paths.
- Update asset metadata timestamps in `bindata.go` to reflect recent changes, ensuring accurate tracking of file modifications.
- Modify CSS component name formatting in `build.go` and TypeScript component selectors in `index.ts` for consistency in syntax.
- Improve locale handling in `locale.go` by implementing a fallback mechanism for locale file resolution based on language prefixes.
- Normalize locale values in `request.go` to lowercase for consistency across the application.
- Enhance component name sanitization in `utils.go` to replace additional characters, ensuring valid component naming conventions.
2026-02-09 18:32:24 +08:00
Max
fb6518e91f Fix the bug in real-time rendering mode 2024-09-10 16:29:15 +08:00
Max
76d0dde315 Optimize SUI component property parsing 2024-07-27 17:03:48 +08:00
Max
43e37fbfe4 Optimize expression parsing in SUI 2024-07-26 10:01:41 +08:00
Max
2f828b643d add ToCamelCase function in SUI core 2024-07-22 17:28:27 +08:00
Max
61f297b3dc optimize SUI page writeLocaleSource and writeLocaleFiles logic 2024-07-17 08:25:52 +08:00
Max
5b19ef3d19 refactor: Update BuildContext components to use boolean values instead of strings 2024-07-12 08:39:57 +08:00
Max
e4c8eeb180 optimize the SUI compiler & add http server gzip support 2024-07-07 15:29:50 +08:00
Max
4a1a1b2dbc Optimize the SUI compiler to better support component code 2024-06-28 19:46:08 +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
Max
669ccfb1e1 Refactor document creation in build.go and parser.go 2024-01-10 13:20:22 +08:00
Max
d005a64786 [add] page RenderEditor 2023-09-27 17:44:45 +08:00