Entity page

ScreenSpace Specifications

The page of a note (note: Note), laid out as a wiki a corporate reader (note: Reader) already knows: the text in the centre (11 passages, no note), what the tool computed in the right panel (97 passages, no note). One template (22 passages, no note) serves every type (note: Type); only the labels (44 passages, no note) of the attributes (note: Attribute) and the order of neighbours (42 passages, no note) change, and both come from the profile (note: Profile). A type may have a page of its own: a component (46 passages, no note) a theme (note: Theme) or the type's module (27 passages, no note) provides for it is rendered (33 passages, no note) instead of the generic template, which stays the fallback (3 passages, no note) of every type.

The order is fixed. On the left, the tree of the space (note: Space) of the page, the source it comes from. In the centre, the breadcrumb (3 passages, no note), the title, a line naming the type (3 passages, no note), the last change and the space, then the rendered markdown (note: Markdown) at full column (25 passages, no note) width and the path of the file with its edit link (note: Link). On the right, three stacked blocks, never tabs (33 passages, no note): the declared metadata (8 passages, no note), the table of contents (7 passages, no note) of the note and the related pages (note: Related page), then the line that unfolds the neighbourhood (note: Neighbourhood). Metadata never sits between the title and the text: every property, those the profile puts forward included, stands in the panel, which says it once; the attributes the profile does not declare for the type follow in a block of their own, as written. Written links (note: Link), recognised words (note: Recognised word) with a note and recognised expressions (3 passages, no note) without one are distinguished in the text, with a legend of the three marks.

Today

The page at <id>/index.html is a grid of three regions. The left column is the tree of the space: an initials badge (10 passages, no note) and the title of the source (note: Source), leading to the page of the space, its folders by their titles with their page counts, every folder leading to its category list, the folders on the way to the page open, the page marked by a rule (note: Rule) and the bold weight, never by colour (22 passages, no note) alone; a folder of more than forty pages lists a window around the current one and counts the others. The centre opens with the breadcrumb (20 passages, no note), space › folders › page, the space linking to its page and every folder to its list; then the title, then a line naming the type as a chip (20 passages, no note) leading to the search filtered on that type, when the note last changed relative to the build, "Space " leading to the page of the space, and nothing else. The note follows as an article at full column width, one section per heading, with its headings, lists, quotes and code blocks; a table is drawn as a card, its header row in uppercase labels on the soft surface, the first column in the ink and the other cells in the secondary colour; an image of its repository that stands on a line of its own is shown in the flow of the text as a figure, with its alternative text as the caption, the note "Image of the repository, shown in the flow of the text" and the path of the file in its repository in the monospace family, the build copying the file next to the page; an image among text stays inline, and an external image keeps its URL and is never fetched. In the text, three marks tell three degrees of curation apart. A markdown link whose target is a page of the site is marked as written, a solid underline in the accent: someone wrote the link. A recognised word whose entity has a note is a dotted link in the accent to the page of that entity. A recognised expression that has a keyword page and no note, one that only has occurrences, is a link to that page drawn with grey dashes, never the accent, so that its page is reachable from the prose and not only by search; an expression under the publication threshold has no page and gets no mark, so that one setting governs the volume of the site and the density of the text. A page is marked once per note, on its first occurrence: a page a written link on the same line or above, or a recognised word above, already leads to stays plain text; where two expressions overlap, the longest wins its position. Marking is rendering, and the counts of passages and mentions do not change. The dots and dashes never carry the information alone: every mark says on hover, and to assistive technology, "note: " or "N passages, no note". The foot of the article carries the legend of the three marks, "written link", "recognised word, existing note" and "recognised word, no note", then the path of the file in the monospace family, linked to its edit page on the forge when the source is a GitHub or GitLab repository or the configuration gives an edit pattern, and "Something to correct? Edit this page" leading there, else to the contribution address project.contribute_url declares, and shown only when it leads somewhere. In the panel, the application and the domain of the page read by the titles the configuration gives them and lead to the search filtered (3 passages, no note) on them; a written reference is resolved as the build resolves a frontmatter reference, by its identifier as written, else within the source of the note, and reads as the title of its note, link (3 passages, no note)ed, while a value naming no note stays as written.

The right panel holds its blocks in a fixed order. "Properties" lists the declared metadata: the common properties, then the attributes the type declares in the order of its declaration (17 passages, no note), each labelled (3 passages, no note) as the profile says in the language of the site (4 passages, no note), the values (35 passages, no note) of a list separated by commas, with the note "N declared keys (46 passages, no note). The rest of the file is free text."; the keys of the frontmatter (note: Frontmatter) the profile declares for no type follow in a block of their own, "Other attributes", kept as written, so that a note of any type shows everything its author (note: Author) wrote. When the build (note: Build) merged several files into the page, the properties close with the grouped files, said the same way on every template, the entity page, the meeting page, the document page, the API page and the decision page: the line counting them and naming what grouped them, "3 files grouped — same base (19 passages, no note) name", the criterion (4 passages, no note) the reconciliation recorded worded in the language of the site, every one of them when several, each file with its kind, "Markdown note (4 passages, no note)", "Presentation (3 passages, no note)", "Text document (note: Document)", "PDF (56 passages, no note)", then "Separate these files", the way to contest the grouping (4 passages, no note), which leads to the contribution address (5 passages, no note) of the project (note: Project) when it declares one, else to the section (note: Section) of the configuration (note: Configuration) guide (13 passages, no note) on the lock file (note: Lock), where a separated pair (47 passages, no note) is written; never an inert control. The block stands for the grouped files alone when the note declares no key. "On this page" lists the sections of the note that have a heading, each a link, the entry of the section being read marked by an accent (23 passages, no note) rule and the ink as the reader scrolls (3 passages, no note), the first one until then. "Related pages" is the mentions panel. Last, "See the neighbourhood map · N pages" unfolds the neighbourhood map and its list. The same template serves every type, and only the badge, the labels and the order of the neighbours change with it; the properties the profile puts forward for a type lead the five keys of the API page and give the category list its filter (note: Facet) and its second column, and change nothing here.

Three widths

The same page serves a phone (10 passages, no note), a tablet (6 passages, no note) and a desktop (3 passages, no note); the text never shrinks, the two side regions give way. Under 700 px the bar (28 passages, no note) keeps a menu (4 passages, no note) button, a bordered square (5 passages, no note) of 48 px, the mark, the site (note: Site) name cut with an ellipsis (3 passages, no note) where it does not fit (3 passages, no note), and a search button, a square drawing (4 passages, no note) the magnifier that unfolds the field (37 passages, no note) under the bar; the menu button opens a drawer (6 passages, no note) over the whole screen (note: Screen): ✕ and the name in the bar, the search field first, the spaces with their initials badges and page counts, the tree (47 passages, no note) of the current space unfolded to the page, the index (note: Alphabetical index) and the recent (3 passages, no note) changes at the foot (10 passages, no note), the mode switch (note: Colour scheme) after them. The page reads in one column: the breadcrumb cut to the last folder and the page, the type and the short (5 passages, no note) date (44 passages, no note) under the title, the note, then the foot of the article on one line of 48 px, the name of the file alone, its folders left out, and the short label "Edit", then the blocks of the panel as folded sections with their counts, the table of contents first, the related pages open with three entries and the others behind their count, the neighbourhood map behind its line with the number of pages it draws (8 passages, no note). Between 700 and 1099 px the search button reads as a small field after the name and unfolds the field under itself, the mode switch joins the bar, the tree stays in the drawer, and the panel stands in a narrow (3 passages, no note) column beside the text, condensed: the properties show their values alone, the table of contents is left out, the related pages three titles and the others behind their count, and the neighbourhood map spans the foot of the page. From 1100 px (3 passages, no note) the page has three columns, the tree, the text and the full panel. The drawer, the tree and every block are native disclosure (4 passages, no note) elements (10 passages, no note), which the stylesheet (26 passages, no note) keeps open where the layout has room (6 passages, no note), so that the folding (3 passages, no note) needs no script (37 passages, no note) and the page reads over file:// and without JavaScript. Every control is a target (15 passages, no note) of at least 40 px (3 passages, no note), 48 px on the phone, and no text goes under 13 px; the chrome (5 passages, no note) uses one type family (note: Check family) for the text, headings included, and a monospace (5 passages, no note) one for paths and identifiers (note: Identifier) only, both shipped with the site.

Per type

The page of a type is resolved (8 passages, no note) before it is rendered: a component named EntityPage@<type> by a theme, or the EntityPage a type module (note: Type module) ships, replaces the generic template for every entity (note: Entity) of that type, and receives the same view model (19 passages, no note), the declaration of the type included, so that it lays the page out from the declaration rather than from a list of keys. The same goes for one attribute (Attribute@<name>) and one mapped section (Section@<key>), which the generic template renders (24 passages, no note) through the resolved component when there is one. The priority (3 passages, no note) is fixed: the project theme, then the type module, then the default theme; the build summary (3 passages, no note) lists every resolved component. The runbook of the example plugin (note: Plugin), a procedure for operating the tool, has such a page.

Sketch

The layout the page was drawn (23 passages, no note) from, before any rendering existed: the tree of the space on the left, the note in the centre, the panel on the right. The file lives next to the screen notes and the build copies it beside the page, as it does for every image (18 passages, no note) of a repository (note: Knowledge repository) that stands on a line of its own.

Sketch of the entity page
Sketch of the entity pageImage of the repository, shown in the flow of the textscreens/assets/entity-page-sketch.svg

Contract

The page of an API (note: API) whose contract the build imported (3 passages, no note) is the API page: the same shell (9 passages, no note), its operations (note: Operation) under it in the tree, the operations table (3 passages, no note) matched to the contract (note: Contract) and the contract block with the contract viewer after the article, the properties cut to five keys and the operations first among the related pages. The markdown of the note is untouched.

Documents

The page of a slide deck (note: Deck), a PDF or a transcript (note: Transcript), or of a note merged (3 passages, no note) with one, carries the document viewer after the article: the download (30 passages, no note) link of each file, its PDF, a rail (8 passages, no note) of its pages, slides or cues (4 passages, no note), their extracted text (note: Extracted text) in disclosure (11 passages, no note) blocks, and the viewer (55 passages, no note) that opens the PDF on demand. The markdown of the note is untouched.

The template follows the lead of the group (23 passages, no note). A note leads its twin resources (note: Twin resources), the other representations of its page: the page keeps the template of its type, a rule, a screen or a business object (28 passages, no note) whose Word file is only an equivalent already converted, and the documents stand folded under the article, each behind the line "Also available: name.docx · Text document · 24 pages", the file name, its kind and its page count when one is known, the viewer, the extracted text and the download opening on demand. A document without a note leads, its own file being the office file, and a note describing (3 passages, no note) a document with it: the page is the document page. A transcript leads to the meeting page through its type.

Mentions

The mentions panel is the "Related pages" block of the right panel: one entry per page that evokes the entity, by number of passages (note: Passage), written links and recognised words counted alike, each entry marked "Cited (30 passages, no note)" when the page writes a link, six in view (48 passages, no note) before the button naming the others; the note under the list says so. The first twenty mentions (note: Mention) are in the served HTML; the rest loads from a JSON fragment (note: Fragment) specific to the entity.

Left open: the panel beyond two hundred passages. From two hundred mentions on, the page embeds nothing beyond the first twenty and the island (note: Island) fetches the fragment; whether a list of that size (12 passages, no note) stays readable in the panel, or needs a page of its own, is to be decided on a real corpus (note: Corpus) once one reaches it. The accessibility audit (note: Accessibility audit) verifies (6 passages, no note) today that the twenty served entries read without JavaScript and that a plain link to the fragment stands for the others.

Neighbourhood

The neighbourhood map, folded behind the last line of the right panel, shows the six closest entities at one hop (3 passages, no note), each with its name in plain text, next to a list that carries the same information (10 passages, no note). The order is type-driven and comes from the profile: on an API the operations come first, on a screen the accessed objects, on a rule what it applies to; the types the profile does not list for the page's type, keyword pages (note: Keyword) among them, come after, and within a group the most confident (3 passages, no note) neighbour leads. The truncation to six happens after this ordering, so the map (49 passages, no note) shows the best of the priority order rather than the most confident overall. A type without a declaration (3 passages, no note) keeps the order by confidence (note: Confidence). A separator marks each change of group; the template knows no type and renders the list as the model (note: Model) gives it.

Objects

Actions

  1. Open a page of the tree → entity page
  2. Open a folder of the tree or of the breadcrumb → category
  3. Open the space → space
  4. Open a neighbour → entity page
  5. Open a keyword → keyword page
  6. Search, or open the type, the application (note: Application) or the domain (note: Domain)search

Rules

Properties6

Application
Generated site
Status
valid
Roles
Reader
URL pattern
/{source}/{path}

6 declared keys. The rest of the file is free text.

On this page11

  1. Today
  2. Three widths
  3. Per type
  4. Sketch
  5. Contract
  6. Documents
  7. Mentions
  8. Neighbourhood
  9. Objects
  10. Actions
  11. Rules
See the neighbourhood map6 pages6Neighbourhood mapEntity page

Neighbourhood map Entity page

Distance1 hop

Neighbourhood map. The list below carries the same information as the map.existing pageword without a note

123 neighbours in total, more than the map shows.

textual equivalent

Six neighbours at most, always named. Beyond that the map teaches nothing: the list takes over.