Project settings
Here you find what all documents of a project share — its name and ID, the theme and languages of your app, the data dictionary, the way published documents reach the app, and the theme — and archive a project you no longer need.
Open a project and choose Project settings in the menu. Everyone in the organization can read this page; owners and admins can change it.
General#
- Project name — the name people see in the admin. Change it and press Save.
- Project ID — your app asks for documents by this ID, so it cannot be changed. Copy it for your developers with the button next to it.
App#
How your app shows the documents of this project: in which theme and in which languages. Fill this in before you make the first screen or block, together with the developer of the app. The editor then opens every document the way your customers will see it.
Theme in the app#
The colors of a document are theme tokens, and the app decides which theme of the set to draw. Choose one of three:
- One theme — the app always shows one theme, whatever the phone is set to; a dark-only banking app, for example. Choose it in The theme the app shows. The list holds the themes of the published theme set, so publish the theme first.
- Follows the phone — the app shows the light theme when the phone is in light mode and the dark one in dark mode. The page names both themes: the first light and the first dark theme of the set.
- Not set — the editor works as before and opens documents in the theme marked as the one the app takes.
With One theme, the editor opens the canvas and Play in that theme. You can still switch the canvas to another theme of the set to compare; a calm bar above the canvas then says that customers will not see the block in it, with a button to go back. If a theme chosen here is removed from the set, both this page and the editor say so.
Languages of the app#
The languages your customers can see in the app, the main one first. Add a language with Add a language and Add; remove one with the button next to it. A project can name as many languages as a document can have.
In the editor, the languages of the app come first in the list of languages above the canvas, and Checks names those the document has no translation for: customers who use them see the text in the source language of the document.
Press Save — the theme and the languages are saved together.
For the developer of the app#
Once the theme is set, the page shows code for React and for Flutter: how the app takes this theme (themeId for one theme, themeForBrightness when it follows the phone) and passes the user's language. Copy it to the developer — then the app shows exactly what the editor shows.
Data dictionary#
A summary of the dictionary in effect and the button Open the dictionary. How to edit it is on the page Data.
Delivery#
Delivery is how a published document gets from HotLayout to your app. There are two ways, and your developers choose one.
Direct address#
Every published document is a file at an address. The app reads it from there. The page shows the address as a template; the ready address of a particular document is copied with Copy address for the app in the list of documents. The theme of the project has an address of its own.
Webhook#
With a webhook, HotLayout sends every published document to your own backend, and the app reads it from your servers. Turn it on when your developers ask for it — they give you the address.
- Enter the Webhook address. It must start with
https://. - Press Turn on webhook.
- The page shows a signing secret. Press Copy the secret and pass it to your developers through a safe channel, then press The secret is saved. The secret is shown only once: nobody can read it again, not even you.
After that, Recent deliveries lists what was sent after each publication: Delivered, On its way or Not delivered with the reason. A failed delivery does not undo the publication: the document is published, only your backend did not receive it. Pass the reason to your developers.
If the secret is lost or the address changes, use Replace address and secret. Turn off stops sending and destroys the secret.
Closing the direct address#
By default anyone who knows the address of a published file can read it. If the documents must not be public, close the address: under Access to published files choose Closed, webhook only and confirm. Then the published documents and the placement map are read only by members of your organization, and apps get documents only through the webhook. The theme and the images stay open. The change applies at once to everything already published; choosing Open again makes it public again.
The switch is unavailable until the webhook is on (the page says Turn on the webhook first.), and while the address is closed the webhook cannot be turned off. Only an owner or an admin can change it.
The technical description of both ways is in the Integration section of these docs, on the page about delivery.
Approval#
Publish only approved versions is off by default. When it is on, Publish in the editor works only when the draft matches a version that a colleague approved in review; the author of a version cannot approve it. Only owners and admins change this setting, so a publisher cannot turn it off for themselves. See Review before publishing.
The setting covers documents only. Places are not approved: whoever has the right to publish decides which published document a place shows and when, and every change of places is recorded in the activity log. See Places and approval.
The theme is not approved either: colors and fonts are published by whoever has the right to publish. Because a theme changes every screen on phones at once, Publish the theme first asks for confirmation (Publish or Cancel), and when approval is on, the confirmation says that the theme does not go through it. Every theme publication is recorded in the activity log.
Theme#
Which theme apps take. The theme itself is edited in the editor — see The theme.
Archive#
Archive project removes the project from the list. Nothing is deleted: its published documents keep working in apps, and you can bring the project back — show archived projects in the list, open the project and press Restore project.
