Enchir
BuiltRendered from 46e-enchir.md in the public repository. Edits belong there.
Enchir manages the projects an instance keeps and how its connected website presents them.
| Package | enchir, version 1.2.0 |
| Kind | App. Hub tool enchir |
| For | An instance that publishes projects or portfolio work to its own website |
| Own sandbox | None; it works in the sandbox it is opened on |
| Ports | Employs site_hosting: page.list, profile.edit, asset.upload, project.export |
| Preview | None |
What it turns on
Installing exposes one tool, enchir. It has two tabs:
| Tab | Content |
|---|---|
| Domain (default) | lcl_editor on the sandbox's local domain, opened with the base branches (meta, classes) collapsed and the project node under objects selected when it exists |
| Projects | A gallery of the website's project profiles. Each opens to a page with the feature image, the title, the photographs in site order and the short and long descriptions |
What it reads and writes
Enchir declares no document requirements and no datum writes of its own. Its effects go through site_hosting:
| Act | Operation |
|---|---|
| List the profiles the site allocates | page.list |
| Save a project's arrangement and descriptions | profile.edit, limited to that profile's gallery |
| Add a photograph | asset.upload with the project's slug: the file goes into the site's image pool and is appended to the profile |
| Write a project document's view beside the site and derive the profile from it | project.export |
After an upload, the same bytes are filed as an art. document with a slot under the tree's image kind (file_artifact, an lcl_editor write). The page reports the site result and the datum result separately, because one can succeed while the other is refused.
Enchir does not read website files directly. Image addresses are the site's own (<site>/assets/images/…), shown from the site.
Ports
site_hosting is declared, not bound or granted, at install. On an instance hosted by FND it is filled by FND Service. Without a bound and granted fill, the Projects tab shows an empty gallery with the reason: no site connected, the connection does not offer profiles, or the instance is not permitted to read them.
Status
Built and published. No demo.
Source
micyte/tools/enchir.py: the hubmicyte/ports/site_hosting/contracts.py: the operationsmicyte/tools/_packages.py:_enchir_package