yao/sui/core
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
..
block.go [add] block export and media api 2023-10-18 21:18:54 +08:00
build.go refactor: Update Namespace function to handle special characters in name 2024-06-14 16:20:52 +08:00
compile.go Add guard functionality and export page config 2024-01-03 18:03:27 +08:00
component.go [add] block, component api 2023-09-28 11:57:31 +08:00
core.go [add] page preview api 2023-10-09 19:17:35 +08:00
data.go Update regular expressions in data.go 2024-01-17 19:17:42 +08:00
editor.go [_] 2023-12-19 01:32:25 +08:00
fs.go [add] sui file server (dev) 2023-11-22 21:02:48 +08:00
fs_test.go [add] sui file server (dev) 2023-11-22 21:02:48 +08:00
interfaces.go [add] sui.sync.assetfile process 2024-03-13 19:39:53 +08:00
json.go [add] page config 2023-10-09 12:10:06 +08:00
json_test.go [add] page config 2023-10-09 12:10:06 +08:00
page.go Add guard functionality and export page config 2024-01-03 18:03:27 +08:00
page_test.go [add] URL details to request context 2023-12-11 10:04:08 +08:00
parser.go Trigger the __sui_data_ready event when the data is loaded 2024-02-22 22:52:08 +08:00
parser_test.go [_] 2023-11-29 20:50:01 +08:00
preview.go [fix] sui preview render 2023-12-17 17:18:21 +08:00
request.go Update authorization error messages 2024-02-20 20:07:26 +08:00
sui.go Refactor caching of public root path in SUI core 2024-03-03 09:58:33 +08:00
types.go Refactor build process and add data parameter to BuildOption 2024-02-28 21:21:56 +08:00
utils.go refactor: Update Namespace function to handle special characters in name 2024-06-14 16:20:52 +08:00