@wix/himalaya-cli 0.1746.0 → 0.1748.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/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-config.d.ts +5 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts +34 -8
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/copy.generated.d.ts +0 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/auth.mjs +0 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +45 -18
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +0 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +36 -14
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{d432d189310d8d819b56251c53dd82a9e166a4a73936749f08c355c11083e8e0.bin → 63821bbb8f637899037252154a5587f0596e4b537173c7f50551f9e44f7c22c0.bin} +1 -1
- package/dist/browser-plane/sw.js +6 -6
- package/dist/cli.mjs +2571 -1859
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/one-app-to-himi-app.md +11 -6
- package/guides/tier-5-add-a-screen.md +13 -6
- package/guides/wix-business-context.md +25 -1
- package/guides/wix-site-to-himi-app.md +2 -1
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/fr.json +25 -5
- package/templates/beauty-salon/l10n/he.json +20 -4
- package/templates/beauty-salon/recipes/blog-hero.json +95 -0
- package/templates/beauty-salon/recipes/blog-list-thumb-start.json +177 -147
- package/templates/beauty-salon/recipes/blog-list.json +172 -142
- package/templates/beauty-salon/recipes/events-inline-list.json +30 -5
- package/templates/beauty-salon/recipes/events-inline.json +30 -5
- package/templates/beauty-salon/recipes/faq-list.json +503 -0
- package/templates/beauty-salon/recipes/groups-list.json +196 -0
- package/templates/beauty-salon/recipes/products-carousel.json +141 -0
- package/templates/beauty-salon/recipes/products-grid.json +143 -0
- package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/beauty-salon/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/beauty-salon/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/beauty-salon/tier5-src/_shared/products-section.ts +76 -0
- package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/branded-lite/l10n/fr.json +10 -5
- package/templates/branded-lite/l10n/he.json +8 -4
- package/templates/branded-lite/recipes/blog-hero.json +95 -0
- package/templates/branded-lite/recipes/blog-list-thumb-start.json +177 -147
- package/templates/branded-lite/recipes/blog-list.json +172 -142
- package/templates/branded-lite/recipes/events-inline-list.json +30 -5
- package/templates/branded-lite/recipes/events-inline.json +30 -5
- package/templates/branded-lite/recipes/faq-list.json +503 -0
- package/templates/branded-lite/recipes/groups-list.json +196 -0
- package/templates/branded-lite/recipes/products-carousel.json +141 -0
- package/templates/branded-lite/recipes/products-grid.json +143 -0
- package/templates/branded-lite/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/branded-lite/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/branded-lite/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/branded-lite/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/branded-lite/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/branded-lite/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/branded-lite/tier5-src/_shared/products-section.ts +76 -0
- package/templates/branded-lite/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/branded-lite/tier5-src/himi-branded-lite-faq/index.ts +5 -369
- package/templates/brandy/README.md +46 -5
- package/templates/brandy/config.ts +11 -0
- package/templates/brandy/himalaya.template.json +1 -1
- package/templates/community-club/l10n/fr.json +25 -5
- package/templates/community-club/l10n/he.json +20 -4
- package/templates/community-club/recipes/blog-hero.json +95 -0
- package/templates/community-club/recipes/blog-list-thumb-start.json +177 -147
- package/templates/community-club/recipes/blog-list.json +172 -142
- package/templates/community-club/recipes/events-inline-list.json +30 -5
- package/templates/community-club/recipes/events-inline.json +30 -5
- package/templates/community-club/recipes/faq-list.json +503 -0
- package/templates/community-club/recipes/groups-list.json +196 -0
- package/templates/community-club/recipes/products-carousel.json +141 -0
- package/templates/community-club/recipes/products-grid.json +143 -0
- package/templates/community-club/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/community-club/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/community-club/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/community-club/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/community-club/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/community-club/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/community-club/tier5-src/_shared/products-section.ts +76 -0
- package/templates/community-club/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/events-meetups/l10n/fr.json +25 -5
- package/templates/events-meetups/l10n/he.json +20 -4
- package/templates/events-meetups/recipes/blog-hero.json +95 -0
- package/templates/events-meetups/recipes/blog-list-thumb-start.json +177 -147
- package/templates/events-meetups/recipes/blog-list.json +172 -142
- package/templates/events-meetups/recipes/events-inline-list.json +30 -5
- package/templates/events-meetups/recipes/events-inline.json +30 -5
- package/templates/events-meetups/recipes/faq-list.json +503 -0
- package/templates/events-meetups/recipes/groups-list.json +196 -0
- package/templates/events-meetups/recipes/products-carousel.json +141 -0
- package/templates/events-meetups/recipes/products-grid.json +143 -0
- package/templates/events-meetups/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/events-meetups/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/events-meetups/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/events-meetups/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/events-meetups/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/events-meetups/tier5-src/_shared/products-section.ts +76 -0
- package/templates/events-meetups/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/gym-fitness/l10n/fr.json +25 -5
- package/templates/gym-fitness/l10n/he.json +20 -4
- package/templates/gym-fitness/recipes/blog-hero.json +95 -0
- package/templates/gym-fitness/recipes/blog-list-thumb-start.json +177 -147
- package/templates/gym-fitness/recipes/blog-list.json +172 -142
- package/templates/gym-fitness/recipes/events-inline-list.json +30 -5
- package/templates/gym-fitness/recipes/events-inline.json +30 -5
- package/templates/gym-fitness/recipes/faq-list.json +503 -0
- package/templates/gym-fitness/recipes/groups-list.json +196 -0
- package/templates/gym-fitness/recipes/products-carousel.json +141 -0
- package/templates/gym-fitness/recipes/products-grid.json +143 -0
- package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/gym-fitness/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/gym-fitness/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/gym-fitness/tier5-src/_shared/products-section.ts +76 -0
- package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/nonprofit-cause/l10n/fr.json +25 -5
- package/templates/nonprofit-cause/l10n/he.json +20 -4
- package/templates/nonprofit-cause/recipes/blog-hero.json +95 -0
- package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +177 -147
- package/templates/nonprofit-cause/recipes/blog-list.json +172 -142
- package/templates/nonprofit-cause/recipes/events-inline-list.json +30 -5
- package/templates/nonprofit-cause/recipes/events-inline.json +30 -5
- package/templates/nonprofit-cause/recipes/faq-list.json +503 -0
- package/templates/nonprofit-cause/recipes/groups-list.json +196 -0
- package/templates/nonprofit-cause/recipes/products-carousel.json +141 -0
- package/templates/nonprofit-cause/recipes/products-grid.json +143 -0
- package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/nonprofit-cause/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/nonprofit-cause/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/nonprofit-cause/tier5-src/_shared/products-section.ts +76 -0
- package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/podcast-creator/l10n/fr.json +35 -5
- package/templates/podcast-creator/l10n/he.json +28 -4
- package/templates/podcast-creator/recipes/blog-hero.json +95 -0
- package/templates/podcast-creator/recipes/blog-list-thumb-start.json +177 -147
- package/templates/podcast-creator/recipes/blog-list.json +172 -142
- package/templates/podcast-creator/recipes/events-inline-list.json +30 -5
- package/templates/podcast-creator/recipes/events-inline.json +30 -5
- package/templates/podcast-creator/recipes/faq-list.json +503 -0
- package/templates/podcast-creator/recipes/groups-list.json +196 -0
- package/templates/podcast-creator/recipes/products-carousel.json +141 -0
- package/templates/podcast-creator/recipes/products-grid.json +143 -0
- package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/podcast-creator/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/podcast-creator/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/podcast-creator/tier5-src/_shared/products-section.ts +76 -0
- package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/portfolio-creative/l10n/fr.json +25 -5
- package/templates/portfolio-creative/l10n/he.json +20 -4
- package/templates/portfolio-creative/recipes/blog-hero.json +95 -0
- package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +177 -147
- package/templates/portfolio-creative/recipes/blog-list.json +172 -142
- package/templates/portfolio-creative/recipes/events-inline-list.json +30 -5
- package/templates/portfolio-creative/recipes/events-inline.json +30 -5
- package/templates/portfolio-creative/recipes/faq-list.json +503 -0
- package/templates/portfolio-creative/recipes/groups-list.json +196 -0
- package/templates/portfolio-creative/recipes/products-carousel.json +141 -0
- package/templates/portfolio-creative/recipes/products-grid.json +143 -0
- package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/portfolio-creative/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/portfolio-creative/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/portfolio-creative/tier5-src/_shared/products-section.ts +76 -0
- package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/restaurant/l10n/fr.json +35 -5
- package/templates/restaurant/l10n/he.json +28 -4
- package/templates/restaurant/recipes/blog-hero.json +95 -0
- package/templates/restaurant/recipes/blog-list-thumb-start.json +177 -147
- package/templates/restaurant/recipes/blog-list.json +172 -142
- package/templates/restaurant/recipes/events-inline-list.json +30 -5
- package/templates/restaurant/recipes/events-inline.json +30 -5
- package/templates/restaurant/recipes/faq-list.json +503 -0
- package/templates/restaurant/recipes/groups-list.json +196 -0
- package/templates/restaurant/recipes/products-carousel.json +141 -0
- package/templates/restaurant/recipes/products-grid.json +143 -0
- package/templates/restaurant/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/restaurant/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/restaurant/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/restaurant/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/restaurant/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/restaurant/tier5-src/_shared/products-section.ts +76 -0
- package/templates/restaurant/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/retail-store/l10n/fr.json +25 -5
- package/templates/retail-store/l10n/he.json +20 -4
- package/templates/retail-store/recipes/blog-hero.json +95 -0
- package/templates/retail-store/recipes/blog-list-thumb-start.json +177 -147
- package/templates/retail-store/recipes/blog-list.json +172 -142
- package/templates/retail-store/recipes/events-inline-list.json +30 -5
- package/templates/retail-store/recipes/events-inline.json +30 -5
- package/templates/retail-store/recipes/faq-list.json +503 -0
- package/templates/retail-store/recipes/groups-list.json +196 -0
- package/templates/retail-store/recipes/products-carousel.json +141 -0
- package/templates/retail-store/recipes/products-grid.json +143 -0
- package/templates/retail-store/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/retail-store/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/retail-store/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/retail-store/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/retail-store/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/retail-store/tier5-src/_shared/products-section.ts +76 -0
- package/templates/retail-store/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/yoga-studio/l10n/fr.json +35 -5
- package/templates/yoga-studio/l10n/he.json +28 -4
- package/templates/yoga-studio/recipes/blog-hero.json +95 -0
- package/templates/yoga-studio/recipes/blog-list-thumb-start.json +177 -147
- package/templates/yoga-studio/recipes/blog-list.json +172 -142
- package/templates/yoga-studio/recipes/events-inline-list.json +30 -5
- package/templates/yoga-studio/recipes/events-inline.json +30 -5
- package/templates/yoga-studio/recipes/faq-list.json +503 -0
- package/templates/yoga-studio/recipes/groups-list.json +196 -0
- package/templates/yoga-studio/recipes/products-carousel.json +141 -0
- package/templates/yoga-studio/recipes/products-grid.json +143 -0
- package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/yoga-studio/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/yoga-studio/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/yoga-studio/tier5-src/_shared/products-section.ts +76 -0
- package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +2 -2
|
Binary file
|
|
@@ -193,9 +193,10 @@ participants or derive program completion from a badge title.
|
|
|
193
193
|
|
|
194
194
|
### Sections whose screen already exists
|
|
195
195
|
|
|
196
|
-
`himi one-app generate` connects these sections to a screen the template already ships.
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
`himi one-app generate` connects these sections to a screen the template already ships. A page made only of the section opens
|
|
197
|
+
the screen as its tab. Beside other sections, a scaffold that ships the section's inline recipe (the branded-lite starter does for
|
|
198
|
+
groups, FAQ, products and the blog carousel: see "Data sections" below) shows the data in place; a scaffold without it keeps the
|
|
199
|
+
source's title (only when the source shows it) and a **See All** button to the screen, as this table says.
|
|
199
200
|
|
|
200
201
|
| Source section | Screen | What the section passes |
|
|
201
202
|
| --- | --- | --- |
|
|
@@ -1363,9 +1364,13 @@ source page into a screen descriptor from the collected evidence alone: the scre
|
|
|
1363
1364
|
source label, and styles, alignment, buttons, images and their tap (`openAsModal` opens full screen), the contact
|
|
1364
1365
|
section and the business description are read from the source. A section it has no mapping for is reported with
|
|
1365
1366
|
`sections_unmapped` and nothing stands in for it. Data sections use shared modules and recipes
|
|
1366
|
-
(`recipes/*.json`) when the scaffold ships them
|
|
1367
|
-
|
|
1368
|
-
|
|
1367
|
+
(`recipes/*.json`) when the scaffold ships them, and show their data inline: the branded-lite starter ships them for the blog list
|
|
1368
|
+
and the blog carousel, members, plans, programs (list and carousel), events, the FAQ, groups, and products (rail and grid). The source
|
|
1369
|
+
settings each honors are in the generator; one it cannot show becomes an `adapted` row (a products section shows its collection's first
|
|
1370
|
+
6 or 8 products as square, borderless tiles, with a See All link beside the title, or a button under the row when the section has no title,
|
|
1371
|
+
opening the shop on that collection; a blog carousel shows the source's limit of latest posts, at most 10, with the title under the image;
|
|
1372
|
+
groups omit the Create button). A scaffold without a section's recipe or module takes the fallback below. A page with such modules gets ONE
|
|
1373
|
+
worker, `tier5-src/page-<screen>/index.ts`, that registers the modules its sections use. A page that is only a template vertical (programs list,
|
|
1369
1374
|
members, loyalty, shop, groups feed, services list) opens the template's screen, and a groups feed passes the source's own title,
|
|
1370
1375
|
"Group list" label and post count. A data section never vanishes: when the shared modules cannot honor its settings
|
|
1371
1376
|
(featured-only lists, another post layout, events or groups limited to a chosen set) or its recipe is missing from the
|
|
@@ -745,10 +745,14 @@ silent bootstrap (a restored session goes straight through, with no prompt), the
|
|
|
745
745
|
app's sign-in cover (its `gateScreenId` when set). Signing in applies the held link unchanged —
|
|
746
746
|
tab, parent chain, params; cancelling lands on the target's tab root and drops the link
|
|
747
747
|
(`nav_verb_dropped` / `auth_cancelled`). A second link while the sign-in is up replaces the first.
|
|
748
|
-
Signed in, or `requiresAuth` unset: nothing changes. The flag needs an `auth` block
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
748
|
+
Signed in, or `requiresAuth` unset: nothing changes. The flag needs an `auth` block with a real
|
|
749
|
+
provider. Without one — no `auth` block, `providerId: "none"`, or a shell that binds no gate —
|
|
750
|
+
nothing can sign the user in, so the link **fails closed**: it never opens, no sign-in is shown, the
|
|
751
|
+
target's tab (or the default tab) is selected at its root and the link is dropped
|
|
752
|
+
(`nav_verb_dropped` / `auth_unavailable`, plus a `[deep-link] refused requiresAuth screen …` line
|
|
753
|
+
in the device log). Serving the app's config logs a warning for that combination. iOS, Android and
|
|
754
|
+
macOS share this rule; no macOS shell binds a sign-in gate today, so on macOS a `requiresAuth` link
|
|
755
|
+
fails closed until a Mac shell sets `authGate`. The web host does not hold links yet. In-app navigation (`himi.open`,
|
|
752
756
|
`_nav`) is not gated: a screen the app itself opens is the app's own business.
|
|
753
757
|
|
|
754
758
|
A shell gets this through core: the coordinator asks the gate the shell's `AuthGateRoot` /
|
|
@@ -757,8 +761,11 @@ A shell gets this through core: the coordinator asks the gate the shell's `AuthG
|
|
|
757
761
|
- **Read the live config.** Build the coordinator with `configProvider:` (read at every apply),
|
|
758
762
|
not a `config:` snapshot — a snapshot taken before the OTA config is cached (a clean install)
|
|
759
763
|
has no linkables, so no `requiresAuth` either.
|
|
760
|
-
- **Bind the gate early.** A
|
|
761
|
-
|
|
764
|
+
- **Bind the gate early.** A held link waits up to the provider-bind window (10 s) for a gate to be
|
|
765
|
+
bound, then fails closed. A shell that can receive a link before that root has drawn (a cold
|
|
766
|
+
start) sets `coordinator.authGate = <its SessionGate>` where it builds the coordinator. A shell
|
|
767
|
+
that never mounts `AuthGateRoot` / `AuthSignInCover` has no sign-in a link can wait on, so its
|
|
768
|
+
`requiresAuth` links never open — mount one to have them open for a signed-in user.
|
|
762
769
|
- **Mark the bootstrap.** Call `sessionGate.markSilentBootstrapSettled()` once its
|
|
763
770
|
`provider.bootstrap()` returns. Until then a held link waits (a provider not bound yet is
|
|
764
771
|
waited for too, never read as "no auth"); a shell that never marks it waits a short grace
|
|
@@ -261,7 +261,31 @@ The map comes from what the analysis already reads without owner credentials, be
|
|
|
261
261
|
- **Tabs:** the pages a visitor comes back to (shop, book, menu, events, plans, blog, gallery) take up to three more, in menu order. A small site fills its bar in menu order rather than show a single tab; if it still ends up with just one tab, the default `site.layout: "auto"` drops the bar and the drawer carries every page. Set `site.layout` (`tabs` | `sidebar` | `drawer` | `single`) in provisioning.overlay.json to choose the chrome yourself; a re-run of `site analyze` keeps it.
|
|
262
262
|
- **Drawer and overflow:** About, Contact and other pages go to the drawer; account pages go to overflow.
|
|
263
263
|
- **Size:** at most 10 pages, with titles capped at 40 characters.
|
|
264
|
-
- **Chrome:** the site's own header, footer and Wix ads are hidden (the site shell's default).
|
|
264
|
+
- **Chrome:** the site's own header, footer and Wix ads are hidden (the site shell's default), except on a `web` site (below).
|
|
265
|
+
|
|
266
|
+
#### Any website: `kind: "web"`
|
|
267
|
+
|
|
268
|
+
A site shell can wrap a website that is not on Wix or Base44. The analysis names the platform in `site.kind`: `base44` for a `*.base44.app` / `*.base44.com` host, `wix` for a Wix free-site host (`*.wixsite.com`, `*.wixstudio.com`) or for a custom domain Wix itself confirms is the site's (the site's own properties, read with a token for that site, name it), and `web` for anything else. The site's HTML (Wix markers, a page list) and a `--site <msid>` do not count: any site can serve the markers, and a `wix` kind beside a member login carries the member's session into the site. A Wix site on its own domain that Wix does not confirm comes out `web`; set `"kind": "wix"` by hand if it really is one. A `web` site is wrapped with nothing Wix-specific:
|
|
269
|
+
|
|
270
|
+
- **Pages** come from the crawled header menu only. A web site has no published page list, so when the crawl reads no menu the map is Home only, and a note says so.
|
|
271
|
+
- **Allowed origins** are the site's own host. The `www.` twin a custom Wix domain gets is not added, because another site's `www.` host can belong to someone else.
|
|
272
|
+
- **No adapter:** no session bridge, no Wix member detection, no Base44 adapter. The Wix ads and site-menu hiders are always off.
|
|
273
|
+
- **Header and footer hiding is off by default** (`chrome: { hideSiteHeader: false, hideSiteFooter: false }`). The hiders fall back to the page's first `<header>` and last `<footer>`, which on an arbitrary site can be an article's, so turn them on only after checking the site.
|
|
274
|
+
- **Visitor-only.** A `wix` or `base44` binding beside a `web` site is refused (`SiteContractError` code `web_site_member_binding` in the shells' parsers, `release_web_site_binding` from `GET /v1/dist/contract`), and so is `menuSource: "runtime"`.
|
|
275
|
+
|
|
276
|
+
Set `"kind": "web"` by hand when you write a `site` block yourself for such a site. The whole path, for any https website:
|
|
277
|
+
|
|
278
|
+
```bash
|
|
279
|
+
himi init --template brandy my-site && cd my-site
|
|
280
|
+
# provisioning.json → "site": { "origin": "https://docs.example.com", "kind": "web", "pages": [ … ] }
|
|
281
|
+
# (or: himi site analyze --url https://docs.example.com --apply, which derives kind and pages)
|
|
282
|
+
himi run # browser preview
|
|
283
|
+
himi dist --shell brandy --platform ios,android # installable builds
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
In the Himi repository, the same content runs on a simulator through the Brandy content app (`himi-brandy`): point it at the site (`HIMI_BRANDY_PROVISIONING_JSON`), then `HIMALAYA_SEED_APP=himi-brandy npm run install:sim -- himi-branded-lite --ios --port 8124 --seed --clean`.
|
|
287
|
+
|
|
288
|
+
**App Store review.** Apple's guideline 4.2 (minimum functionality) rejects apps that are a website in a wrapper. A `web` site shell is exactly that unless it adds something a browser does not: native tabs and drawer over the site's own sections, and Notifications, are the usual minimum. Plan for them before you submit; Google Play is less strict but reviews for the same thing.
|
|
265
289
|
|
|
266
290
|
Each page becomes one screen that carries two forms (`siteScreens(site)` in `@wix/himalaya/core`). The first is a Tier-3 WebView screen, which every app binary renders. The second, in the screen's `payload`, is an SDUI screen whose root is the page as a primary `WebView` node, and a binary that supports site-page nodes draws that one instead. Both are in one descriptor because the server cannot tell which binary is asking for a screen. Older binaries ignore `payload`, so nothing changes for them. `siteScreens(site, { form: "t3" })` and `{ form: "node" }` serve one form only. `sitePage(site, { path })` (`@wix/himalaya/sdui`) puts one page on a screen beside native UI. See [Designing Himi screens → a website page with native UI around it](designing-himi-screens.md#4-layout-idioms-recipes-that-read-well).
|
|
267
291
|
|
|
@@ -7,7 +7,8 @@ IA and UX rewritten for a phone. Not a WebView. Not a shrunk desktop. Not
|
|
|
7
7
|
`--apply` onto Branded Lite and stop.
|
|
8
8
|
|
|
9
9
|
> **Not this page: "my website, as an app, today."** That is the *site shell*
|
|
10
|
-
> (`himi dist --shell brandy`) — the customer's live site in native-framed WebView tabs
|
|
10
|
+
> (`himi dist --shell brandy`) — the customer's live site in native-framed WebView tabs (a Wix or Base44 site, or any other
|
|
11
|
+
> https site with `site.kind: "web"`; see `himi docs wix-business-context`). It is a separate, day-0 path that
|
|
11
12
|
> graduates to this page's native app one tab at a time; it never replaces it. Everything
|
|
12
13
|
> below is the native app.
|
|
13
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1748.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "85b73489caf9e4e311c9b6d76007f4e152a2592cc362f62ead0692cb"
|
|
86
86
|
}
|
|
@@ -2774,6 +2774,11 @@
|
|
|
2774
2774
|
"translation": "Impossible de charger les informations de votre compte. Réessayez.",
|
|
2775
2775
|
"origin": "machine"
|
|
2776
2776
|
},
|
|
2777
|
+
"h_6e6a6f2086bb": {
|
|
2778
|
+
"source": "Other",
|
|
2779
|
+
"translation": "Autre",
|
|
2780
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.order.markPaidModal.paymentMethod.other"
|
|
2781
|
+
},
|
|
2777
2782
|
"h_46c8c1d4277a": {
|
|
2778
2783
|
"source": "Book a visit",
|
|
2779
2784
|
"translation": "Réserver une visite",
|
|
@@ -4499,6 +4504,16 @@
|
|
|
4499
4504
|
"translation": "Groupe",
|
|
4500
4505
|
"origin": "one-app:wix-one-groups:GROUPS_CREATE_GROUP_QUICK_ACTION_SHORT"
|
|
4501
4506
|
},
|
|
4507
|
+
"h_fd0ceb4f46f0": {
|
|
4508
|
+
"source": "Join the conversation.",
|
|
4509
|
+
"translation": "Rejoindre la conversation.",
|
|
4510
|
+
"origin": "machine"
|
|
4511
|
+
},
|
|
4512
|
+
"h_330de5ba68b6": {
|
|
4513
|
+
"source": "No groups are published yet.",
|
|
4514
|
+
"translation": "Aucun groupe n'est encore publié.",
|
|
4515
|
+
"origin": "machine"
|
|
4516
|
+
},
|
|
4502
4517
|
"h_0f7689264bc6": {
|
|
4503
4518
|
"source": "Good morning",
|
|
4504
4519
|
"translation": "Bonjour",
|
|
@@ -5154,11 +5169,6 @@
|
|
|
5154
5169
|
"translation": "Vous pouvez choisir une date de début ultérieure.",
|
|
5155
5170
|
"origin": "machine"
|
|
5156
5171
|
},
|
|
5157
|
-
"h_cb7c8c83bd90": {
|
|
5158
|
-
"source": "No upcoming events.",
|
|
5159
|
-
"translation": "Aucun événement à venir.",
|
|
5160
|
-
"origin": "machine"
|
|
5161
|
-
},
|
|
5162
5172
|
"h_e84d8431b504": {
|
|
5163
5173
|
"source": "{n, plural, one {for # day} other {for # days}}",
|
|
5164
5174
|
"translation": "{n, plural, one {pendant # jour} other {pendant # jours}}",
|
|
@@ -5198,6 +5208,16 @@
|
|
|
5198
5208
|
"source": "{n, plural, one {per year} other {every # years}}",
|
|
5199
5209
|
"translation": "{n, plural, one {par an} other {tous les # ans}}",
|
|
5200
5210
|
"origin": "machine"
|
|
5211
|
+
},
|
|
5212
|
+
"h_41ea36c1a2ec": {
|
|
5213
|
+
"source": "No Events Yet",
|
|
5214
|
+
"translation": "Aucun événement pour le moment",
|
|
5215
|
+
"origin": "machine"
|
|
5216
|
+
},
|
|
5217
|
+
"h_baa225c8b45b": {
|
|
5218
|
+
"source": "Once we add new events you'll be able to RSVP and buy tickets for them here.",
|
|
5219
|
+
"translation": "Dès que nous ajouterons de nouveaux événements, vous pourrez vous y inscrire et acheter des billets ici.",
|
|
5220
|
+
"origin": "machine"
|
|
5201
5221
|
}
|
|
5202
5222
|
}
|
|
5203
5223
|
}
|
|
@@ -2297,6 +2297,10 @@
|
|
|
2297
2297
|
"source": "Your account details could not be loaded. Try again.",
|
|
2298
2298
|
"translation": "לא ניתן לטעון את פרטי החשבון שלך. יש לנסות שוב."
|
|
2299
2299
|
},
|
|
2300
|
+
"h_6e6a6f2086bb": {
|
|
2301
|
+
"source": "Other",
|
|
2302
|
+
"translation": "אחר"
|
|
2303
|
+
},
|
|
2300
2304
|
"h_46c8c1d4277a": {
|
|
2301
2305
|
"source": "Book a visit",
|
|
2302
2306
|
"translation": "לקבוע ביקור"
|
|
@@ -3677,6 +3681,14 @@
|
|
|
3677
3681
|
"source": "Group",
|
|
3678
3682
|
"translation": "קבוצה"
|
|
3679
3683
|
},
|
|
3684
|
+
"h_fd0ceb4f46f0": {
|
|
3685
|
+
"source": "Join the conversation.",
|
|
3686
|
+
"translation": "הצטרפו לשיחה."
|
|
3687
|
+
},
|
|
3688
|
+
"h_330de5ba68b6": {
|
|
3689
|
+
"source": "No groups are published yet.",
|
|
3690
|
+
"translation": "אין עדיין קבוצות שפורסמו."
|
|
3691
|
+
},
|
|
3680
3692
|
"h_0f7689264bc6": {
|
|
3681
3693
|
"source": "Good morning",
|
|
3682
3694
|
"translation": "בוקר טוב"
|
|
@@ -4201,10 +4213,6 @@
|
|
|
4201
4213
|
"source": "You can choose a later start date.",
|
|
4202
4214
|
"translation": "אפשר לבחור תאריך התחלה מאוחר יותר."
|
|
4203
4215
|
},
|
|
4204
|
-
"h_cb7c8c83bd90": {
|
|
4205
|
-
"source": "No upcoming events.",
|
|
4206
|
-
"translation": "אין אירועים קרובים."
|
|
4207
|
-
},
|
|
4208
4216
|
"h_e84d8431b504": {
|
|
4209
4217
|
"source": "{n, plural, one {for # day} other {for # days}}",
|
|
4210
4218
|
"translation": "{n, plural, one {ליום אחד} other {ל-# ימים}}"
|
|
@@ -4236,6 +4244,14 @@
|
|
|
4236
4244
|
"h_55db55f1bd29": {
|
|
4237
4245
|
"source": "{n, plural, one {per year} other {every # years}}",
|
|
4238
4246
|
"translation": "{n, plural, one {לשנה} other {כל # שנים}}"
|
|
4247
|
+
},
|
|
4248
|
+
"h_41ea36c1a2ec": {
|
|
4249
|
+
"source": "No Events Yet",
|
|
4250
|
+
"translation": "עדיין אין אירועים"
|
|
4251
|
+
},
|
|
4252
|
+
"h_baa225c8b45b": {
|
|
4253
|
+
"source": "Once we add new events you'll be able to RSVP and buy tickets for them here.",
|
|
4254
|
+
"translation": "כשנוסיף אירועים חדשים תוכלו להירשם אליהם ולקנות כרטיסים כאן."
|
|
4239
4255
|
}
|
|
4240
4256
|
}
|
|
4241
4257
|
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_recipe": "Blog hero: the latest posts as a snapping carousel (one post per page, page dots drawn by the renderer): cover image, then title and time under it. ONE node. Service: registerBlogList(svc, { limit }); the page worker's onAppear (on an always-mounted box around this node) calls tier5.<svc>.load.",
|
|
3
|
+
"_placeholders": {
|
|
4
|
+
"svc": "service name the page worker registered with registerBlogList",
|
|
5
|
+
"id": "unique node id prefix for this section",
|
|
6
|
+
"detailScreen": "blog post screen id, himi_blog_post"
|
|
7
|
+
},
|
|
8
|
+
"node": {
|
|
9
|
+
"id": "{{id}}.hero",
|
|
10
|
+
"body": {
|
|
11
|
+
"package": "himalaya",
|
|
12
|
+
"type": "Carousel",
|
|
13
|
+
"props": {
|
|
14
|
+
"itemsPath": "$service:{{svc}}.rows",
|
|
15
|
+
"paged": true,
|
|
16
|
+
"items": [
|
|
17
|
+
{
|
|
18
|
+
"id": "{{id}}.card",
|
|
19
|
+
"body": {
|
|
20
|
+
"package": "himalaya",
|
|
21
|
+
"type": "VStack",
|
|
22
|
+
"props": {
|
|
23
|
+
"spacing": 8,
|
|
24
|
+
"alignment": "leading",
|
|
25
|
+
"children": [
|
|
26
|
+
{
|
|
27
|
+
"id": "{{id}}.cover",
|
|
28
|
+
"body": {
|
|
29
|
+
"package": "himalaya",
|
|
30
|
+
"type": "Image",
|
|
31
|
+
"props": {
|
|
32
|
+
"url": "$item.cover",
|
|
33
|
+
"initials": "$item.initial",
|
|
34
|
+
"fillWidth": true,
|
|
35
|
+
"height": 200,
|
|
36
|
+
"contentMode": "fill",
|
|
37
|
+
"contentDescription": "$item.title",
|
|
38
|
+
"shape": "rect"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"modifiers": {
|
|
42
|
+
"fillMaxWidth": true,
|
|
43
|
+
"hiddenPath": "$item.noCover"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "{{id}}.title",
|
|
48
|
+
"body": {
|
|
49
|
+
"package": "himalaya",
|
|
50
|
+
"type": "Text",
|
|
51
|
+
"props": {
|
|
52
|
+
"text": "$item.title",
|
|
53
|
+
"style": "bodyEmphasis",
|
|
54
|
+
"maxLines": 2
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "{{id}}.meta",
|
|
60
|
+
"body": {
|
|
61
|
+
"package": "himalaya",
|
|
62
|
+
"type": "Text",
|
|
63
|
+
"props": {
|
|
64
|
+
"text": "$item.meta",
|
|
65
|
+
"style": "caption",
|
|
66
|
+
"maxLines": 1,
|
|
67
|
+
"color": "textSecondary",
|
|
68
|
+
"collapseWhenEmpty": true
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"modifiers": {
|
|
76
|
+
"fillMaxWidth": true,
|
|
77
|
+
"onTap": {
|
|
78
|
+
"actionId": "himi.open",
|
|
79
|
+
"params": {
|
|
80
|
+
"screenId": "{{detailScreen}}",
|
|
81
|
+
"id": "$item.id"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"pressFeedback": "scale",
|
|
85
|
+
"accessibilityLabel": "$item.title"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"modifiers": {
|
|
92
|
+
"hiddenPath": "$service:{{svc}}.noRows"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|