@wix/himalaya-cli 0.2007.0 → 0.2009.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +71 -29
- package/guides/one-app-to-himi-app.md +1 -1
- package/package.json +2 -2
- package/templates/branded-lite/l10n/ar.json +10 -0
- package/templates/branded-lite/l10n/cs.json +10 -0
- package/templates/branded-lite/l10n/da.json +10 -0
- package/templates/branded-lite/l10n/de.json +10 -0
- package/templates/branded-lite/l10n/el.json +10 -0
- package/templates/branded-lite/l10n/es.json +10 -0
- package/templates/branded-lite/l10n/fi.json +10 -0
- package/templates/branded-lite/l10n/fr.json +10 -0
- package/templates/branded-lite/l10n/he.json +10 -0
- package/templates/branded-lite/l10n/hu.json +10 -0
- package/templates/branded-lite/l10n/id.json +10 -0
- package/templates/branded-lite/l10n/it.json +10 -0
- package/templates/branded-lite/l10n/ja.json +10 -0
- package/templates/branded-lite/l10n/ko.json +10 -0
- package/templates/branded-lite/l10n/lt.json +10 -0
- package/templates/branded-lite/l10n/nl.json +10 -0
- package/templates/branded-lite/l10n/no.json +10 -0
- package/templates/branded-lite/l10n/pl.json +10 -0
- package/templates/branded-lite/l10n/pt.json +10 -0
- package/templates/branded-lite/l10n/ru.json +10 -0
- package/templates/branded-lite/l10n/sv.json +10 -0
- package/templates/branded-lite/l10n/th.json +10 -0
- package/templates/branded-lite/l10n/tr.json +10 -0
- package/templates/branded-lite/l10n/uk.json +10 -0
- package/templates/branded-lite/l10n/vi.json +10 -0
- package/templates/branded-lite/l10n/zh.json +10 -0
- package/templates/branded-lite/recipes/group-feed.json +135 -5
- package/templates/branded-lite/recipes/groups-newsfeed.json +241 -95
- package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +131 -17
- package/templates/branded-lite/tier5-src/_shared/groups-newsfeed-section.ts +8 -5
- package/templates/branded-lite/tier5-src/_shared/groups-section.ts +7 -1
|
@@ -7951,6 +7951,16 @@
|
|
|
7951
7951
|
"translation": "Det gick inte att gå med i gruppen. Försök igen.",
|
|
7952
7952
|
"origin": "machine"
|
|
7953
7953
|
},
|
|
7954
|
+
"h_ba2557851938": {
|
|
7955
|
+
"source": "Your comment was posted.",
|
|
7956
|
+
"translation": "Din kommentar har publicerats.",
|
|
7957
|
+
"origin": "machine"
|
|
7958
|
+
},
|
|
7959
|
+
"h_3764e494807b": {
|
|
7960
|
+
"source": "The comment could not be posted. Try again.",
|
|
7961
|
+
"translation": "Det gick inte att publicera kommentaren. Försök igen.",
|
|
7962
|
+
"origin": "machine"
|
|
7963
|
+
},
|
|
7954
7964
|
"h_db226f1649d3": {
|
|
7955
7965
|
"source": "Sign in from Profile to manage groups.",
|
|
7956
7966
|
"translation": "Logga in från Profil för att hantera grupper.",
|
|
@@ -7951,6 +7951,16 @@
|
|
|
7951
7951
|
"translation": "เข้าร่วมกลุ่มไม่ได้ กรุณาลองอีกครั้ง",
|
|
7952
7952
|
"origin": "machine"
|
|
7953
7953
|
},
|
|
7954
|
+
"h_ba2557851938": {
|
|
7955
|
+
"source": "Your comment was posted.",
|
|
7956
|
+
"translation": "โพสต์ความคิดเห็นของคุณแล้ว",
|
|
7957
|
+
"origin": "machine"
|
|
7958
|
+
},
|
|
7959
|
+
"h_3764e494807b": {
|
|
7960
|
+
"source": "The comment could not be posted. Try again.",
|
|
7961
|
+
"translation": "โพสต์ความคิดเห็นไม่ได้ กรุณาลองอีกครั้ง",
|
|
7962
|
+
"origin": "machine"
|
|
7963
|
+
},
|
|
7954
7964
|
"h_db226f1649d3": {
|
|
7955
7965
|
"source": "Sign in from Profile to manage groups.",
|
|
7956
7966
|
"translation": "เข้าสู่ระบบจากโปรไฟล์เพื่อจัดการกลุ่ม",
|
|
@@ -7951,6 +7951,16 @@
|
|
|
7951
7951
|
"translation": "Gruba katılınamadı. Tekrar deneyin.",
|
|
7952
7952
|
"origin": "machine"
|
|
7953
7953
|
},
|
|
7954
|
+
"h_ba2557851938": {
|
|
7955
|
+
"source": "Your comment was posted.",
|
|
7956
|
+
"translation": "Yorumunuz yayınlandı.",
|
|
7957
|
+
"origin": "machine"
|
|
7958
|
+
},
|
|
7959
|
+
"h_3764e494807b": {
|
|
7960
|
+
"source": "The comment could not be posted. Try again.",
|
|
7961
|
+
"translation": "Yorum yayınlanamadı. Tekrar deneyin.",
|
|
7962
|
+
"origin": "machine"
|
|
7963
|
+
},
|
|
7954
7964
|
"h_db226f1649d3": {
|
|
7955
7965
|
"source": "Sign in from Profile to manage groups.",
|
|
7956
7966
|
"translation": "Grupları yönetmek için Profil'den giriş yapın.",
|
|
@@ -7951,6 +7951,16 @@
|
|
|
7951
7951
|
"translation": "Не вдалося приєднатися до групи. Спробуйте ще раз.",
|
|
7952
7952
|
"origin": "machine"
|
|
7953
7953
|
},
|
|
7954
|
+
"h_ba2557851938": {
|
|
7955
|
+
"source": "Your comment was posted.",
|
|
7956
|
+
"translation": "Ваш коментар опубліковано.",
|
|
7957
|
+
"origin": "machine"
|
|
7958
|
+
},
|
|
7959
|
+
"h_3764e494807b": {
|
|
7960
|
+
"source": "The comment could not be posted. Try again.",
|
|
7961
|
+
"translation": "Не вдалося опублікувати коментар. Спробуйте ще раз.",
|
|
7962
|
+
"origin": "machine"
|
|
7963
|
+
},
|
|
7954
7964
|
"h_db226f1649d3": {
|
|
7955
7965
|
"source": "Sign in from Profile to manage groups.",
|
|
7956
7966
|
"translation": "Увійдіть у розділі «Профіль», щоб керувати групами.",
|
|
@@ -7951,6 +7951,16 @@
|
|
|
7951
7951
|
"translation": "Không thể tham gia nhóm. Hãy thử lại.",
|
|
7952
7952
|
"origin": "machine"
|
|
7953
7953
|
},
|
|
7954
|
+
"h_ba2557851938": {
|
|
7955
|
+
"source": "Your comment was posted.",
|
|
7956
|
+
"translation": "Bình luận của bạn đã được đăng.",
|
|
7957
|
+
"origin": "machine"
|
|
7958
|
+
},
|
|
7959
|
+
"h_3764e494807b": {
|
|
7960
|
+
"source": "The comment could not be posted. Try again.",
|
|
7961
|
+
"translation": "Không thể đăng bình luận. Hãy thử lại.",
|
|
7962
|
+
"origin": "machine"
|
|
7963
|
+
},
|
|
7954
7964
|
"h_db226f1649d3": {
|
|
7955
7965
|
"source": "Sign in from Profile to manage groups.",
|
|
7956
7966
|
"translation": "Hãy đăng nhập từ Hồ sơ để quản lý nhóm.",
|
|
@@ -7951,6 +7951,16 @@
|
|
|
7951
7951
|
"translation": "無法加入群組。請再試一次。",
|
|
7952
7952
|
"origin": "machine"
|
|
7953
7953
|
},
|
|
7954
|
+
"h_ba2557851938": {
|
|
7955
|
+
"source": "Your comment was posted.",
|
|
7956
|
+
"translation": "已發佈你的留言。",
|
|
7957
|
+
"origin": "machine"
|
|
7958
|
+
},
|
|
7959
|
+
"h_3764e494807b": {
|
|
7960
|
+
"source": "The comment could not be posted. Try again.",
|
|
7961
|
+
"translation": "無法發佈留言。請再試一次。",
|
|
7962
|
+
"origin": "machine"
|
|
7963
|
+
},
|
|
7954
7964
|
"h_db226f1649d3": {
|
|
7955
7965
|
"source": "Sign in from Profile to manage groups.",
|
|
7956
7966
|
"translation": "請從「個人檔案」登入以管理群組。",
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_recipe": "One group's shortcuts (About, Members), its latest posts (author with avatar, time, text, and the Like and Share the
|
|
2
|
+
"_recipe": "One group's shortcuts (About, Members), its latest posts (author with avatar, time, text, and the Like, Comment and Share the feed read names for the viewer) and a button that opens the group. Like and Comment show as the One App shows them; a viewer the read lets react likes in place, one it lets comment opens a comment field under the post, and anyone else is sent to sign in (a visitor) or to the group to join it (a member). A viewer who may neither like nor comment also sees a sign-in gate (a visitor) or a join gate (a member outside the group). A group that is not public, or whose feed Wix will not show the viewer, shows its name, privacy and the reason instead of any post: the state the group screen shows a non-member. ONE node, always mounted. To switch a shortcut or a gate OFF, drop the node with id {{id}}.about, {{id}}.members, {{id}}.signin or {{id}}.join. Service: registerGroupFeedSection(svc, { groupId, limit }).",
|
|
3
3
|
"_placeholders": {
|
|
4
4
|
"svc": "service name the page worker registered with registerGroupFeedSection",
|
|
5
5
|
"id": "unique node id prefix for this section",
|
|
6
|
-
"detailScreen": "group screen id, himi_group: the open button, the Members shortcut
|
|
6
|
+
"detailScreen": "group screen id, himi_group: the open button, the Members shortcut, the join gate and a member's refused Like or Comment open it",
|
|
7
7
|
"aboutScreen": "the group's About page, himi_group_about",
|
|
8
|
-
"signInScreen": "the sign-in screen the visitor's gate
|
|
8
|
+
"signInScreen": "the sign-in screen the visitor's gate and a visitor's Like or Comment open, himi_sign_in",
|
|
9
9
|
"groupId": "the group the section shows",
|
|
10
10
|
"openLabel": "the button's label (the source's own text)",
|
|
11
11
|
"aboutLabel": "the About shortcut's label",
|
|
12
12
|
"membersLabel": "the Members shortcut's label",
|
|
13
13
|
"shareLabel": "a post's Share button label",
|
|
14
|
+
"commentPlaceholder": "the comment field's placeholder",
|
|
15
|
+
"sendCommentLabel": "the comment field's send button label",
|
|
16
|
+
"cancelCommentLabel": "the comment field's cancel button label",
|
|
14
17
|
"signInText": "the visitor's gate line",
|
|
15
18
|
"signInLabel": "the visitor's gate button label",
|
|
16
19
|
"joinText": "the join gate line",
|
|
@@ -209,8 +212,10 @@
|
|
|
209
212
|
"package": "himalaya",
|
|
210
213
|
"type": "HStack",
|
|
211
214
|
"props": {
|
|
212
|
-
"spacing":
|
|
215
|
+
"spacing": 12,
|
|
213
216
|
"alignment": "center",
|
|
217
|
+
"wrap": true,
|
|
218
|
+
"lineSpacing": 4,
|
|
214
219
|
"children": [
|
|
215
220
|
{
|
|
216
221
|
"id": "{{id}}.like",
|
|
@@ -220,10 +225,13 @@
|
|
|
220
225
|
"props": {
|
|
221
226
|
"title": "$item.likeLabel",
|
|
222
227
|
"style": "link",
|
|
228
|
+
"size": "sm",
|
|
223
229
|
"action": {
|
|
224
230
|
"actionId": "tier5.{{svc}}.like",
|
|
225
231
|
"params": {
|
|
226
|
-
"id": "$item.id"
|
|
232
|
+
"id": "$item.id",
|
|
233
|
+
"screenId": "{{detailScreen}}",
|
|
234
|
+
"signInScreenId": "{{signInScreen}}"
|
|
227
235
|
}
|
|
228
236
|
}
|
|
229
237
|
}
|
|
@@ -232,6 +240,30 @@
|
|
|
232
240
|
"hiddenPath": "$item.noLike"
|
|
233
241
|
}
|
|
234
242
|
},
|
|
243
|
+
{
|
|
244
|
+
"id": "{{id}}.comment",
|
|
245
|
+
"body": {
|
|
246
|
+
"package": "himalaya",
|
|
247
|
+
"type": "Button",
|
|
248
|
+
"props": {
|
|
249
|
+
"title": "$item.commentLabel",
|
|
250
|
+
"style": "link",
|
|
251
|
+
"size": "sm",
|
|
252
|
+
"leadingIcon": "chat",
|
|
253
|
+
"action": {
|
|
254
|
+
"actionId": "tier5.{{svc}}.comment",
|
|
255
|
+
"params": {
|
|
256
|
+
"id": "$item.id",
|
|
257
|
+
"screenId": "{{detailScreen}}",
|
|
258
|
+
"signInScreenId": "{{signInScreen}}"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"modifiers": {
|
|
264
|
+
"hiddenPath": "$item.noComment"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
235
267
|
{
|
|
236
268
|
"id": "{{id}}.share",
|
|
237
269
|
"body": {
|
|
@@ -240,6 +272,7 @@
|
|
|
240
272
|
"props": {
|
|
241
273
|
"title": "{{shareLabel}}",
|
|
242
274
|
"style": "link",
|
|
275
|
+
"size": "sm",
|
|
243
276
|
"leadingIcon": "share",
|
|
244
277
|
"action": {
|
|
245
278
|
"actionId": "tier5.{{svc}}.share",
|
|
@@ -259,6 +292,88 @@
|
|
|
259
292
|
"modifiers": {
|
|
260
293
|
"hiddenPath": "$item.noActions"
|
|
261
294
|
}
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"id": "{{id}}.composer",
|
|
298
|
+
"body": {
|
|
299
|
+
"package": "himalaya",
|
|
300
|
+
"type": "VStack",
|
|
301
|
+
"props": {
|
|
302
|
+
"spacing": 8,
|
|
303
|
+
"alignment": "leading",
|
|
304
|
+
"children": [
|
|
305
|
+
{
|
|
306
|
+
"id": "{{id}}.composer.field",
|
|
307
|
+
"body": {
|
|
308
|
+
"package": "himalaya",
|
|
309
|
+
"type": "TextField",
|
|
310
|
+
"props": {
|
|
311
|
+
"value": "$service:{{svc}}.commentText",
|
|
312
|
+
"placeholder": "{{commentPlaceholder}}",
|
|
313
|
+
"multilineMaxLines": 4,
|
|
314
|
+
"autoCapitalization": "sentences",
|
|
315
|
+
"onChange": {
|
|
316
|
+
"actionId": "tier5.{{svc}}.setComment"
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"modifiers": {
|
|
321
|
+
"fillMaxWidth": true
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"id": "{{id}}.composer.buttons",
|
|
326
|
+
"body": {
|
|
327
|
+
"package": "himalaya",
|
|
328
|
+
"type": "HStack",
|
|
329
|
+
"props": {
|
|
330
|
+
"spacing": 12,
|
|
331
|
+
"alignment": "center",
|
|
332
|
+
"children": [
|
|
333
|
+
{
|
|
334
|
+
"id": "{{id}}.composer.send",
|
|
335
|
+
"body": {
|
|
336
|
+
"package": "himalaya",
|
|
337
|
+
"type": "Button",
|
|
338
|
+
"props": {
|
|
339
|
+
"title": "{{sendCommentLabel}}",
|
|
340
|
+
"style": "primary",
|
|
341
|
+
"size": "sm",
|
|
342
|
+
"action": {
|
|
343
|
+
"actionId": "tier5.{{svc}}.sendComment",
|
|
344
|
+
"params": {
|
|
345
|
+
"id": "$item.id"
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"id": "{{id}}.composer.cancel",
|
|
353
|
+
"body": {
|
|
354
|
+
"package": "himalaya",
|
|
355
|
+
"type": "Button",
|
|
356
|
+
"props": {
|
|
357
|
+
"title": "{{cancelCommentLabel}}",
|
|
358
|
+
"style": "tertiary",
|
|
359
|
+
"size": "sm",
|
|
360
|
+
"action": {
|
|
361
|
+
"actionId": "tier5.{{svc}}.cancelComment"
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
]
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
]
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"modifiers": {
|
|
374
|
+
"fillMaxWidth": true,
|
|
375
|
+
"hiddenPath": "$item.noComposer"
|
|
376
|
+
}
|
|
262
377
|
}
|
|
263
378
|
]
|
|
264
379
|
}
|
|
@@ -275,6 +390,21 @@
|
|
|
275
390
|
"hiddenPath": "$service:{{svc}}.noRows"
|
|
276
391
|
}
|
|
277
392
|
},
|
|
393
|
+
{
|
|
394
|
+
"id": "{{id}}.commentMessage",
|
|
395
|
+
"body": {
|
|
396
|
+
"package": "himalaya",
|
|
397
|
+
"type": "Text",
|
|
398
|
+
"props": {
|
|
399
|
+
"text": "$service:{{svc}}.commentMessage",
|
|
400
|
+
"style": "caption",
|
|
401
|
+
"color": "textSecondary"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
"modifiers": {
|
|
405
|
+
"hiddenPath": "$service:{{svc}}.noCommentMessage"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
278
408
|
{
|
|
279
409
|
"id": "{{id}}.signin",
|
|
280
410
|
"body": {
|