@realiizlabs/admin 0.15.2 → 0.15.3
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/studio/index.cjs +1 -1
- package/dist/studio/index.js +1 -1
- package/dist/studio-ui/index.cjs +142 -13
- package/dist/studio-ui/index.cjs.map +1 -1
- package/dist/studio-ui/index.d.cts +1 -1
- package/dist/studio-ui/index.d.ts +1 -1
- package/dist/studio-ui/index.js +142 -13
- package/dist/studio-ui/index.js.map +1 -1
- package/package.json +2 -2
package/dist/studio/index.cjs
CHANGED
package/dist/studio/index.js
CHANGED
package/dist/studio-ui/index.cjs
CHANGED
|
@@ -716,7 +716,7 @@ function Tabs({ options, value, onChange, label = "Sections" }) {
|
|
|
716
716
|
}
|
|
717
717
|
|
|
718
718
|
// src/version.ts
|
|
719
|
-
var ADMIN_VERSION = "0.15.
|
|
719
|
+
var ADMIN_VERSION = "0.15.3" ;
|
|
720
720
|
|
|
721
721
|
// src/studio-ui/css.ts
|
|
722
722
|
var STUDIO_CSS = `
|
|
@@ -3982,7 +3982,11 @@ function StudioTab({ update, version, role }) {
|
|
|
3982
3982
|
supportName,
|
|
3983
3983
|
" releases a new version, your site prepares the update as a checked change \u2014 the same way a blog post is checked before it goes live \u2014 and builds a private preview. Nothing changes until you press ",
|
|
3984
3984
|
/* @__PURE__ */ jsxRuntime.jsx("b", { children: "Update" }),
|
|
3985
|
-
". If the update would break anything, the button never unlocks."
|
|
3985
|
+
". If the update would break anything, the button never unlocks. Your site looks for new versions once a week, on Monday morning."
|
|
3986
|
+
] }),
|
|
3987
|
+
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "acct-blurb", style: { marginTop: ".5rem" }, children: [
|
|
3988
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "/admin/help#s-updates", children: "Everything about updates, in the Help center" }),
|
|
3989
|
+
" \u2014 when they arrive, what they can and can\u2019t change, and what to do if one fails."
|
|
3986
3990
|
] })
|
|
3987
3991
|
] })
|
|
3988
3992
|
] });
|
|
@@ -4022,6 +4026,7 @@ var HELP_SECTIONS = [
|
|
|
4022
4026
|
{ id: "markdown", title: "Writing in Markdown", blurb: "Headings, lists, links, tables \u2014 the formatting the editor understands." },
|
|
4023
4027
|
{ id: "events", title: "Events", blurb: "Dates, times, time zones, kinds, and what to do when plans change." },
|
|
4024
4028
|
{ id: "account", title: "Account & team", blurb: "Your profile, your password, who else can sign in, your branding." },
|
|
4029
|
+
{ id: "updates", title: "Studio updates", blurb: "How new versions reach you, what the Update button does, and what could go wrong (not much)." },
|
|
4025
4030
|
{ id: "trouble", title: "Troubleshooting", blurb: "When something doesn't look right \u2014 what it means and what to do." }
|
|
4026
4031
|
];
|
|
4027
4032
|
|
|
@@ -4990,37 +4995,161 @@ Pictures save the moment you choose them (**Choose a picture**, **Replace**, **R
|
|
|
4990
4995
|
|
|
4991
4996
|
In Studio's own secure storage \u2014 not in your website's files, so they don't go through Save/Publish.
|
|
4992
4997
|
`
|
|
4993
|
-
}
|
|
4998
|
+
}
|
|
4999
|
+
];
|
|
5000
|
+
|
|
5001
|
+
// src/studio-ui/help/updates.ts
|
|
5002
|
+
var UPDATES = [
|
|
4994
5003
|
{
|
|
4995
5004
|
id: "updating-studio",
|
|
4996
|
-
section: "
|
|
5005
|
+
section: "updates",
|
|
4997
5006
|
title: "Updating Studio",
|
|
4998
5007
|
summary: "When a new version is out, owners see a strip with what's new, a preview and an Update button. Nothing installs until you press it.",
|
|
4999
|
-
keywords: ["update", "upgrade", "new version", "release", "what's new", "studio version"],
|
|
5008
|
+
keywords: ["update", "upgrade", "new version", "release", "what's new", "studio version", "update button"],
|
|
5000
5009
|
body: `
|
|
5001
5010
|
## What it is
|
|
5002
5011
|
|
|
5003
|
-
Studio is a small package inside your website, and it improves over time. When {supportName} releases a new version, your website prepares
|
|
5012
|
+
Studio is a small package inside your website, and it improves over time \u2014 new features, small fixes, a nicer screen here and there. When {supportName} releases a new version, your website prepares it as a **checked change**, exactly like a blog post is checked before it goes live, and builds a private preview of your site with the new Studio in it.
|
|
5004
5013
|
|
|
5005
5014
|
## Where you see it
|
|
5006
5015
|
|
|
5007
|
-
- A quiet strip at the top of every Studio page: **Studio 0.15 is available \xB7 What's new \xB7 Preview \xB7 Update \xB7 Later**. Only owners and {supportName} see it; editors don't.
|
|
5016
|
+
- A quiet strip at the top of every Studio page: **Studio 0.15.2 is available \xB7 What's new \xB7 Preview \xB7 Update \xB7 Later**. Only owners and {supportName} see it; editors don't.
|
|
5008
5017
|
- **Settings \u2192 Studio**: the version you're running, the pending update with its notes, and the same Update button.
|
|
5018
|
+
- The version you're running is always printed in small type at the bottom of the sidebar, under **Collapse**.
|
|
5009
5019
|
|
|
5010
|
-
The strip appears only once the update's checks have passed. If they fail, nothing is offered \u2014 {supportName} sees the failure and fixes it.
|
|
5020
|
+
The strip appears only once the update's checks have passed. If they fail, nothing is offered \u2014 {supportName} sees the failure and fixes it before you ever hear about it.
|
|
5011
5021
|
|
|
5012
5022
|
## How to update
|
|
5013
5023
|
|
|
5014
|
-
1. Read **What's new**
|
|
5024
|
+
1. Read **What's new** \u2014 a few lines, plain English.
|
|
5015
5025
|
2. Optional: press **Preview** to open your website running the new Studio.
|
|
5016
5026
|
3. Press **Update**. The tracker shows *Updated \u2192 Live*; about two minutes later the website has rebuilt.
|
|
5017
|
-
4. Reload Studio
|
|
5027
|
+
4. Reload Studio. The number at the bottom of the sidebar changes \u2014 that's how you know it landed.
|
|
5018
5028
|
|
|
5019
5029
|
## Good to know
|
|
5020
5030
|
|
|
5021
|
-
- **Later** hides the strip for this browser tab; it comes back next time.
|
|
5022
|
-
- Nothing on your public website changes because of a Studio update \u2014 only the dashboard does.
|
|
5031
|
+
- **Later** hides the strip for this browser tab; it comes back next time you open Studio.
|
|
5032
|
+
- Nothing on your public website changes because of a Studio update \u2014 only the dashboard does. Your posts, pictures and events are untouched.
|
|
5023
5033
|
- You can't skip a version or go back from here; if something looks wrong after an update, tell {supportName}.
|
|
5034
|
+
`
|
|
5035
|
+
},
|
|
5036
|
+
{
|
|
5037
|
+
id: "when-updates-arrive",
|
|
5038
|
+
section: "updates",
|
|
5039
|
+
title: "When updates arrive",
|
|
5040
|
+
summary: "Once a week, on Monday morning. You don't have to check anything \u2014 if there's a new version, the strip is waiting.",
|
|
5041
|
+
keywords: ["monday", "schedule", "when", "how often", "weekly", "check for updates", "notification"],
|
|
5042
|
+
body: `
|
|
5043
|
+
## The rhythm
|
|
5044
|
+
|
|
5045
|
+
Your website looks for a new Studio version **once a week, early Monday morning**. If there's one, it prepares the update, runs the checks, and the strip is waiting the next time an owner opens Studio. If there isn't one, nothing happens and you see nothing.
|
|
5046
|
+
|
|
5047
|
+
There's no button to press and nothing to install on your computer. You don't have to remember to look \u2014 if you don't see a strip, you're up to date.
|
|
5048
|
+
|
|
5049
|
+
## Why weekly and not instantly
|
|
5050
|
+
|
|
5051
|
+
{supportName} may release more than one version in a week. Batching them means you get **one** update to read about and press, not three. It also means every release has been running on other sites for a few days before it's offered to you.
|
|
5052
|
+
|
|
5053
|
+
## What if I'm away that Monday?
|
|
5054
|
+
|
|
5055
|
+
Nothing expires. The strip stays until an owner presses **Update** or a newer version replaces it \u2014 in which case the newer one is offered instead, and its notes cover everything since the version you're on.
|
|
5056
|
+
|
|
5057
|
+
## Will I get an email?
|
|
5058
|
+
|
|
5059
|
+
No. Updates are quiet by design; the strip and **Settings \u2192 Studio** are the only places they appear. If an update is important enough to act on quickly, {supportName} will tell you directly.
|
|
5060
|
+
`
|
|
5061
|
+
},
|
|
5062
|
+
{
|
|
5063
|
+
id: "what-an-update-changes",
|
|
5064
|
+
section: "updates",
|
|
5065
|
+
title: "What an update does and doesn't change",
|
|
5066
|
+
summary: "The dashboard, yes. Your website's content, design and visitors' experience, no.",
|
|
5067
|
+
keywords: ["safe", "risk", "what changes", "content", "design", "visitors", "break", "downtime"],
|
|
5068
|
+
body: `
|
|
5069
|
+
## What changes
|
|
5070
|
+
|
|
5071
|
+
The Studio dashboard \u2014 the screens you use at **/admin**. A new version might add a field to a form, improve the editor, fix something that was confusing, or add a Help article. **What's new** tells you exactly what, in a sentence or two.
|
|
5072
|
+
|
|
5073
|
+
## What doesn't change
|
|
5074
|
+
|
|
5075
|
+
- **Your content.** Posts, pictures, events, pages: untouched. An update never edits, moves or deletes anything you've published or saved.
|
|
5076
|
+
- **Your website's design.** How {siteName} looks to visitors is separate from Studio. An update can't restyle your site.
|
|
5077
|
+
- **Your visitors' experience.** The website keeps running the whole time. There's no maintenance page and no downtime \u2014 the new version simply replaces the old one when the rebuild finishes, the same way a published post does.
|
|
5078
|
+
- **Your sign-ins and team.** Everyone keeps their access and role.
|
|
5079
|
+
|
|
5080
|
+
## Why it's safe to press
|
|
5081
|
+
|
|
5082
|
+
Every update has already been built and checked against **your** website \u2014 not a generic one \u2014 before the strip appears. The **Preview** link is that exact build. If the checks had failed, you'd never have been offered it.
|
|
5083
|
+
`
|
|
5084
|
+
},
|
|
5085
|
+
{
|
|
5086
|
+
id: "update-questions",
|
|
5087
|
+
section: "updates",
|
|
5088
|
+
title: "Update questions, answered",
|
|
5089
|
+
summary: "Do I have to? Who can? Can I undo it? What if I press it twice? The short answers.",
|
|
5090
|
+
keywords: ["faq", "questions", "must i update", "who can update", "undo update", "roll back", "editors", "pressed twice"],
|
|
5091
|
+
body: `
|
|
5092
|
+
## Do I have to update?
|
|
5093
|
+
|
|
5094
|
+
No \u2014 but you should. Updates are how fixes and improvements reach you, and each one has been checked against your site. If you'd rather wait, press **Later**; it'll be there when you come back.
|
|
5095
|
+
|
|
5096
|
+
## Who can press Update?
|
|
5097
|
+
|
|
5098
|
+
Owners and {supportName}. Editors don't see the strip or the Settings \u2192 Studio tab at all, so a well-meaning teammate can't update the site by accident.
|
|
5099
|
+
|
|
5100
|
+
## Can I see what's coming before I press it?
|
|
5101
|
+
|
|
5102
|
+
Yes, two ways: **What's new** shows the notes, and **Preview** opens your real website \u2014 with the new Studio installed \u2014 at a private address. Click around; nothing you do there affects the live site.
|
|
5103
|
+
|
|
5104
|
+
## Can I undo an update?
|
|
5105
|
+
|
|
5106
|
+
Not from Studio. It's rarely needed, because an update can't touch your content, but if something looks wrong afterwards tell {supportName} \u2014 going back is a quick job for them.
|
|
5107
|
+
|
|
5108
|
+
## I pressed Update and nothing seems different
|
|
5109
|
+
|
|
5110
|
+
Two things to check. First, the tracker: **Updated** means the update was accepted; **Live** means the website has finished rebuilding, which takes about two minutes. Second, reload Studio \u2014 the number at the bottom of the sidebar should now match the version the strip offered. Until the rebuild finishes you're still running the old one, which is normal.
|
|
5111
|
+
|
|
5112
|
+
## I pressed Update twice
|
|
5113
|
+
|
|
5114
|
+
No harm done. The second press finds nothing to update and does nothing.
|
|
5115
|
+
|
|
5116
|
+
## The strip disappeared before I pressed anything
|
|
5117
|
+
|
|
5118
|
+
Either another owner pressed Update, or a newer version arrived and replaced the offer. Either way, **Settings \u2192 Studio** shows what you're running now.
|
|
5119
|
+
|
|
5120
|
+
## What does the version number mean?
|
|
5121
|
+
|
|
5122
|
+
Just a label \u2014 0.15.2 is newer than 0.15.1. The first two numbers change when a feature is added, the last one when something is fixed or polished. You don't need to track them; the strip does.
|
|
5123
|
+
`
|
|
5124
|
+
},
|
|
5125
|
+
{
|
|
5126
|
+
id: "update-problems",
|
|
5127
|
+
section: "updates",
|
|
5128
|
+
title: "When an update isn't offered, or fails",
|
|
5129
|
+
summary: "Settings \u2192 Studio says checking or failed; the Update button gave an error. What each means and who's handling it.",
|
|
5130
|
+
keywords: ["checks failed", "checking", "failed", "error", "not available", "stuck", "no update", "problem"],
|
|
5131
|
+
body: `
|
|
5132
|
+
## Settings \u2192 Studio says "Checking\u2026"
|
|
5133
|
+
|
|
5134
|
+
A new version exists and your website is building a test copy with it. That takes a few minutes. The strip appears once the checks pass; you don't need to wait on the page.
|
|
5135
|
+
|
|
5136
|
+
## Settings \u2192 Studio says "The checks failed"
|
|
5137
|
+
|
|
5138
|
+
The new version didn't build cleanly against your website. Nothing was installed and nothing on your site changed. **This is not something you need to fix** \u2014 {supportName} is told automatically and will either correct the release or adjust your site, after which the update is offered again. If it's still showing after a couple of days, mention it to them.
|
|
5139
|
+
|
|
5140
|
+
## I pressed Update and got a message
|
|
5141
|
+
|
|
5142
|
+
- **"The site changed since the checks ran."** Someone published a post between the checks and your press. Wait a minute and press again \u2014 the checks re-run with the newest site.
|
|
5143
|
+
- **"The checks failed."** Same as above: a fresh check found a problem. {supportName} can see it.
|
|
5144
|
+
- **"That isn't a Studio update."** The offer you were looking at is no longer current \u2014 reload Studio for the latest one.
|
|
5145
|
+
|
|
5146
|
+
## The tracker is stuck on "Live"
|
|
5147
|
+
|
|
5148
|
+
The rebuild usually takes about two minutes; occasionally the hosting service is slow and it takes ten. If the tracker says *taking longer than usual*, that's all it means. Leave the page and come back \u2014 the update is already accepted and will finish on its own.
|
|
5149
|
+
|
|
5150
|
+
## I'm not seeing updates at all
|
|
5151
|
+
|
|
5152
|
+
Only owners see them, and only when one is ready. If you're an owner, it's been a few weeks, and {supportName} says a version has shipped, tell them \u2014 it's a one-minute check on their side.
|
|
5024
5153
|
`
|
|
5025
5154
|
}
|
|
5026
5155
|
];
|
|
@@ -5141,7 +5270,7 @@ Nothing you do in Studio can damage the live website \u2014 every edit is checke
|
|
|
5141
5270
|
];
|
|
5142
5271
|
|
|
5143
5272
|
// src/studio-ui/help/index.ts
|
|
5144
|
-
var HELP_ARTICLES = [...QUICK_START, ...PUBLISHING, ...BLOG, ...PICTURES, ...MARKDOWN, ...EVENTS, ...ACCOUNT, ...TROUBLE];
|
|
5273
|
+
var HELP_ARTICLES = [...QUICK_START, ...PUBLISHING, ...BLOG, ...PICTURES, ...MARKDOWN, ...EVENTS, ...ACCOUNT, ...UPDATES, ...TROUBLE];
|
|
5145
5274
|
var GENERIC_VARS = { siteName: "your website", supportName: "your web team", types: "blog posts and events" };
|
|
5146
5275
|
function joinTypes(labels) {
|
|
5147
5276
|
if (labels.length === 0) return GENERIC_VARS.types;
|