MiCyte

← The wiki

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.

Packageenchir, version 1.2.0
KindApp. Hub tool enchir
ForAn instance that publishes projects or portfolio work to its own website
Own sandboxNone; it works in the sandbox it is opened on
PortsEmploys site_hosting: page.list, profile.edit, asset.upload, project.export
PreviewNone

What it turns on

Installing exposes one tool, enchir. It has two tabs:

TabContent
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
ProjectsA 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:

ActOperation
List the profiles the site allocatespage.list
Save a project's arrangement and descriptionsprofile.edit, limited to that profile's gallery
Add a photographasset.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 itproject.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