The application catalogue

Several UI routes behind one gateway are several applications: a visitor lands on one and has no way to reach the next. The catalogue is the list of the ones you offer, in the order you choose.

It is set under Application > Portal, it is global like the theme, and it ships empty.

The Portal screen in Portal mode: the three-state control, the arrangement, and the real bar as a live mock

Offer your applications in a bar

Each application must already be a UI route (Infra, Routes, the route's UI box ticked).

  1. Open Application, Portal. The screen is titled Applications.
  2. In the three-state control, choose Portal (Enterprise), or Links for a menu in the account button.
  3. Click Add a module. In the drawer, pick the route under Application (route), type a Label (empty takes the route's name), choose an Icon, and click Save. A new UI route is not listed until you add it here.
  4. To group applications, click Add a container, give it a Label, then open a module and use Move under to put it in that container. Top level takes it out again.
  5. Choose the Primary navigation (Header mode or Rail mode), the Rail side, what Header entries show, and whether the Logo in bar and the App name in bar appear.
  6. Check the live bar on the right, at full width, tablet or phone width. Every change on this screen is saved at once.
  7. Open one of the applications on the data plane as a user: the bar is on top, with the entries this user may open.

The module drawer: the application's route, its label, Make room for the bar and the icon

One catalogue, three renderings

A three-state control decides what is drawn. The list itself does not move: going from a menu to a bar is a rendering decision, not a reason to retype your applications.

The bar is part of the Enterprise image (Team and Enterprise licences alike). The Community image refuses to save the Portal mode, and reads a catalogue already in that mode - imported, or carried over - as Links: the same list, in the user button's menu.

Mode What the visitor gets
None No list. The user button and the pages Meerkat serves itself carry your brand's name and nothing to click. That is the right answer when there is one application
Links The list, in the order you chose, in the user button's Applications submenu and on the pages Meerkat serves (sign-in, profile)
Portal A navigation bar on every page of every application. The built-in pages then offer one link, the first entry the caller may open: the bar is the navigation, and a page outside the applications only needs a door. Enterprise

Modules and containers

An entry is one of two things:

Field What it does
Application (route) a module's UI route. A container has none
Label the name the entry is offered under. Required on a container; on a module, empty falls back to the route's name
Description (tooltip) the entry's tooltip
Enabled the toggle at the top of the drawer. Off, the entry is hidden from everyone without leaving the list
Move under puts a module in a container, or back at the Top level

In Portal mode an entry also carries an icon and a placement:

Field What it does
Icon a glyph searched in the console's bank, or your own SVG pasted or loaded with Choose a file. Only its shape is kept: it takes the bar's colour, drawn as a CSS mask - no icon font is ever loaded. Empty falls back to the label's initial
Make room for the bar on by default, on a module: the application's page is moved below and beside the bar. Off, the bar draws over the page (see below)

In Links mode, a container is a heading over its modules, in the account button's menu as on the built-in pages; a module back at the top level after it starts a section of its own. A container none of whose modules the visitor may open draws no heading.

The catalogue says what exists, the route says who sees it

An entry inherits the access of the route it binds to, so a visitor is offered only what their rights allow. No access rule is decided here: that would put a security decision in a display setting.

The payload served to the browser carries no rule either: the filtering happens before it is written, which is why there is nothing in the page to read or tamper with.

It is also why the catalogue is global rather than per tenant: it is already personalised, by the routes.

Header or rail

Portal mode only. One axis, and it swaps:

Layout Entries Their children
header a top strip of tabs a rail
rail a rail a top strip of tabs

The rail takes the side you choose, and that side always means something since one of the two surfaces is always a rail.

Setting What it does
Header entries show Icon & label, Icon or Label, for the whole bar
Logo in bar the logo of the branding at the head of the bar, on by default; its slider sets the Corner radius, from square to a circle. Greyed while no logo is set
App name in bar the application name of the branding beside the logo, off by default: the logo alone is the mark

The bell

With notifications on (Enterprise), the bar carries a bell at a fixed place, just before the colour scheme switch: at the foot of the rail, at the right end of the header. It wears the one badge of the person's unread notifications, live, and opens their notifications in a drawer against the bar. It is not an entry of the catalogue, which only holds applications. Without the bar, the account button wears the badge, and its Notifications entry opens the same drawer.

The Portal screen with the bar's bell wearing the count of unread notifications

What the bar replaces

In Portal mode it takes the place of the per-route user button on every UI route. The button does not disappear: it moves into the bar, and loses its Applications submenu there, since that is now the bar itself. Navigation and the account menu are one surface, not two corners.

The bar is never drawn in an iframe: a page embedded elsewhere is not the place for navigation.

The entry shown as current is the one you clicked, for as long as the pages come from the application it opened: two entries can open the same application at two places (its home, one of its dashboards), and the one you chose stays selected as you move on inside it, a reload included. Another entry clicked, or another application reached, and the page's address decides again.

The page under the bar

An application behind the portal was not written with a bar above it. So, by default, the bar makes room for it: the page is moved below the strip and beside the rail, its fixed elements included - a toolbar pinned to the top of the window, a side menu, a dialog stay inside the space left to the page. The application is not changed and knows nothing of it.

What still reads the whole window can land under the bar: a height of 100vh, a position computed from the mouse or from getBoundingClientRect(), the width of the window. Most applications show nothing of it; one that does is fitted from its own side.

Make room for the bar is set per module, in the portal. Turned off, the bar draws over the page, and the application makes the room itself from three CSS variables the bar sets on the page's root:

Variable What it holds
--meerkat-top the height of the strip
--meerkat-left the width of the rail, when it is on the left
--meerkat-right the width of the rail, when it is on the right

A route that is not in the portal is never moved: the bar is drawn on it, over the page, since no entry says where it belongs.

Technically it is a plain custom element with a shadow DOM, served like the user button, wearing the data plane's theme and the visitor's light or dark.

Editing it

In Links mode the console shows the list as what it is: numbered entries, a container's modules indented under it, two arrows for the order, Add an application and Add a container - and beside it the real account button, menu open, drawing the list as a visitor will see it.

The Portal screen in Links mode: the numbered list on the left, the account button's menu open on the right In Portal mode it shows a live mock of the bar while you build it, so the layout is judged where it will be read rather than in a list of fields.

What is not built