Skip to content

Commit a993079

Browse files
committed
card children example
Signed-off-by: Anna Khismatullina <[email protected]>
1 parent dfbca1d commit a993079

File tree

6 files changed

+225
-25
lines changed

6 files changed

+225
-25
lines changed

dev/import-tool/docs/huly/example-workspace/Custom/Card Custom 1.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
title: Card of MT 1
3+
tags:
4+
- ./Tag1.yaml
35
aaa: some text
46
bbb: true
57
---
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Rich Chocolate Sauce
3+
tags:
4+
- ../Tags/DietaryType.yaml
5+
cookingTime: 10 minutes
6+
servings: 4
7+
difficulty: Easy
8+
category: Dessert Components
9+
calories: 200
10+
chef: Maria Green
11+
restrictions: Vegetarian
12+
allergens: Dairy
13+
---
14+
15+
# Rich Chocolate Sauce for Lava Cake
16+
17+
## Ingredients
18+
- 100g dark chocolate (70% cocoa)
19+
- 100ml heavy cream
20+
- 30g unsalted butter
21+
- 1 tsp vanilla extract
22+
- Pinch of sea salt
23+
24+
## Instructions
25+
1. Chop chocolate into small pieces
26+
2. Heat cream until just simmering
27+
3. Pour hot cream over chocolate
28+
4. Let stand for 1 minute
29+
5. Stir until smooth
30+
6. Add butter and vanilla
31+
7. Mix until glossy
32+
33+
## Notes
34+
- Use high-quality chocolate for best results
35+
- Can be made ahead and reheated
36+
- Store in refrigerator for up to 3 days
37+
- Warm slightly before serving

dev/import-tool/docs/huly/example-workspace/Recipes/Classic Margherita Pizza.md

+27-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
---
22
title: Classic Margherita Pizza
3+
tags:
4+
- ./Tags/DietaryType.yaml
35
cookingTime: 30 minutes
46
servings: 4
57
difficulty: Medium
68
category: Italian
79
calories: 850
810
chef: Mario Rossi
11+
restrictions: Vegetarian
12+
allergens: Gluten, Dairy
913
---
1014

1115
# Classic Margherita Pizza
@@ -31,4 +35,26 @@ chef: Mario Rossi
3135
## Notes
3236
- For best results, use San Marzano tomatoes for the sauce
3337
- Fresh mozzarella is preferred over pre-shredded
34-
- Add basil leaves after baking
38+
- Add basil leaves after baking
39+
40+
# Classic Margherita Pizza
41+
42+
## Ingredients
43+
- Pizza dough
44+
- San Marzano tomatoes
45+
- Fresh mozzarella
46+
- Fresh basil
47+
- Extra virgin olive oil
48+
- Salt
49+
50+
## Instructions
51+
1. Preheat oven to 450°F (230°C)
52+
2. Roll out the pizza dough
53+
3. Add tomato sauce
54+
4. Add fresh mozzarella
55+
5. Bake for 12-15 minutes
56+
6. Add fresh basil and olive oil
57+
58+
## Notes
59+
- Best served immediately
60+
- Use high-quality ingredients for authentic taste
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
class: card:class:Tag
2+
title: DietaryType
3+
properties:
4+
- label: restrictions
5+
type: TypeString
6+
- label: allergens
7+
type: TypeString
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
class: card:class:Tag
2+
title: Difficulty
3+
properties:
4+
- label: level
5+
type: TypeString
6+
- label: timeRequired
7+
type: TypeString
8+
- label: skillLevel
9+
type: TypeString

plugins/export-assets/lang/zh.json

+143-24
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,145 @@
11
{
2-
"string": {
3-
"WorkspaceNamePattern": "名称必须为 40 个字符或更少,不能为空,不能包含特殊字符(<、>、/)",
4-
"Export": "导出",
5-
"DataToExport": "要导出的数据",
6-
"ExportDocuments": "文档",
7-
"ExportMilestones": "里程碑",
8-
"ExportIssues": "问题",
9-
"ExportTestCases": "测试用例",
10-
"ExportTestRuns": "测试运行",
11-
"ExportTestPlans": "测试计划",
12-
"ExportFormat": "导出格式",
13-
"ExportJSON": "JSON",
14-
"ExportCSV": "CSV",
15-
"ExportUnifiedFormat": "Huly 统一格式",
16-
"ExportIncludeContent": "包含内容",
17-
"ExportEverything": "所有内容",
18-
"ExportAttributesOnly": "仅属性",
19-
"ExportRequestSuccess": "导出已开始。",
20-
"ExportRequestSuccessMessage": "导出已开始。完成后您将在收件箱中收到通知。",
21-
"ExportRequestFailed": "提交导出失败。",
22-
"ExportRequestFailedMessage": "提交导出时发生错误。请稍后重试。",
23-
"ExportCompleted": "导出完成。您的文件已准备就绪。您可以从驱动器下载它们。",
24-
"ExportFailed": "导出数据失败。请稍后重试。"
25-
}
2+
"projectTypes": [],
3+
"spaces": [],
4+
"unifiedDocs": [
5+
{
6+
"_class": "card:class:MasterTag",
7+
"props": {
8+
"_id": "67ef664b667b87c74d9a3fc5",
9+
"space": "core:space:Model",
10+
"extends": "card:class:Card",
11+
"label": "embedded:embedded:Master Tag 4",
12+
"kind": 0,
13+
"icon": "card:icon:MasterTag"
14+
}
15+
},
16+
{
17+
"_class": "card:class:MasterTag",
18+
"props": {
19+
"_id": "67ef664b667b87c74d9a3fc8",
20+
"space": "core:space:Model",
21+
"extends": "67ef664b667b87c74d9a3fc5",
22+
"label": "embedded:embedded:Child Type 2",
23+
"kind": 0,
24+
"icon": "card:icon:MasterTag"
25+
}
26+
},
27+
{
28+
"_class": "card:class:MasterTag",
29+
"props": {
30+
"_id": "67ef664b667b87c74d9a3fcb",
31+
"space": "core:space:Model",
32+
"extends": "67ef664b667b87c74d9a3fc8",
33+
"label": "embedded:embedded:Child Child Type 2",
34+
"kind": 0,
35+
"icon": "card:icon:MasterTag"
36+
}
37+
},
38+
{
39+
"_class": "core:class:Attribute",
40+
"props": {
41+
"space": "core:space:Model",
42+
"attributeOf": "67ef664b667b87c74d9a3fc5",
43+
"name": "67ef664b667b87c74d9a3fc6",
44+
"label": "embedded:embedded:aaa",
45+
"isCustom": true,
46+
"type": { "_class": "core:class:TypeString" },
47+
"defaultValue": null
48+
}
49+
},
50+
{
51+
"_class": "core:class:Attribute",
52+
"props": {
53+
"space": "core:space:Model",
54+
"attributeOf": "67ef664b667b87c74d9a3fc5",
55+
"name": "67ef664b667b87c74d9a3fc7",
56+
"label": "embedded:embedded:bbb",
57+
"isCustom": true,
58+
"type": { "_class": "core:class:TypeBoolean" },
59+
"defaultValue": null
60+
}
61+
},
62+
{
63+
"_class": "core:class:Attribute",
64+
"props": {
65+
"space": "core:space:Model",
66+
"attributeOf": "67ef664b667b87c74d9a3fc8",
67+
"name": "67ef664b667b87c74d9a3fc9",
68+
"label": "embedded:embedded:ccc",
69+
"isCustom": true,
70+
"type": { "_class": "core:class:TypeString" },
71+
"defaultValue": null
72+
}
73+
},
74+
{
75+
"_class": "core:class:Attribute",
76+
"props": {
77+
"space": "core:space:Model",
78+
"attributeOf": "67ef664b667b87c74d9a3fc8",
79+
"name": "67ef664b667b87c74d9a3fca",
80+
"label": "embedded:embedded:ddd",
81+
"isCustom": true,
82+
"type": { "_class": "core:class:TypeString" },
83+
"defaultValue": null
84+
}
85+
},
86+
{
87+
"_class": "core:class:Attribute",
88+
"props": {
89+
"space": "core:space:Model",
90+
"attributeOf": "67ef664b667b87c74d9a3fcb",
91+
"name": "67ef664b667b87c74d9a3fcc",
92+
"label": "embedded:embedded:ccc",
93+
"isCustom": true,
94+
"type": { "_class": "core:class:TypeString" },
95+
"defaultValue": null
96+
}
97+
},
98+
{
99+
"_class": "core:class:Attribute",
100+
"props": {
101+
"space": "core:space:Model",
102+
"attributeOf": "67ef664b667b87c74d9a3fcb",
103+
"name": "67ef664b667b87c74d9a3fcd",
104+
"label": "embedded:embedded:ddd",
105+
"isCustom": true,
106+
"type": { "_class": "core:class:TypeString" },
107+
"defaultValue": null
108+
}
109+
},
110+
{
111+
"_class": "67ef664b667b87c74d9a3fcb",
112+
"collabField": "content",
113+
"props": {
114+
"_id": "67ef664b667b87c74d9a3fce",
115+
"space": "core:space:Workspace",
116+
"title": "Card from Child 2",
117+
"67ef664b667b87c74d9a3fcc": "ccc",
118+
"67ef664b667b87c74d9a3fcd": "ddd"
119+
}
120+
},
121+
{
122+
"_class": "67ef664b667b87c74d9a3fc8",
123+
"collabField": "content",
124+
"props": {
125+
"_id": "67ef664b667b87c74d9a3fcf",
126+
"space": "core:space:Workspace",
127+
"title": "Card from Child 2",
128+
"67ef664b667b87c74d9a3fc9": "ccc",
129+
"67ef664b667b87c74d9a3fca": "ddd"
130+
}
131+
},
132+
{
133+
"_class": "67ef664b667b87c74d9a3fc5",
134+
"collabField": "content",
135+
"props": {
136+
"_id": "67ef664b667b87c74d9a3fd0",
137+
"space": "core:space:Workspace",
138+
"title": "Card of MT 1",
139+
"67ef664b667b87c74d9a3fc6": "some text",
140+
"67ef664b667b87c74d9a3fc7": true
141+
}
142+
}
143+
],
144+
"attachments": []
26145
}

0 commit comments

Comments
 (0)