Inside your applications

An installation rarely has one application. It has a billing screen written years ago, a tool bought off the shelf, a dashboard, a new single-page app, each from another team in another framework. Every one of them needs a way to sign out, to switch tenant, to reach the others, to report a bug. Written in each, it is written five times and drifts five ways.

Meerkat serves every one of those pages, so it adds these things on the way out, the same on all of them. The application embeds no library, calls no endpoint and is not rebuilt: a tool that has run unchanged for six years gets a sign-out menu and a language picker without anyone opening its source.

Enterprise edition. Everything on this page is in the Community edition, except the navigation bar across your applications and the notifications, which are Enterprise.

The user button

A small button sits on every page of a route that serves a user interface. It says who is signed in, and offers what the gateway holds for that person:

An application page with its user button open: who is signed in and in which tenant, light or dark, Notifications, the Applications menu unfolded, Tenant, Languages, Developer, Report an issue and Sign out

The Portal screen in Links mode: the list with a container's modules under it, and beside it the account button's Applications menu as a visitor sees it

A navigation bar across your applications

In Enterprise, the same list becomes a real navigation bar on every page of every application, as a header or as a rail on the side: icons, groups of modules, your logo, and the account button at its end. People move between applications written by different teams as if they were one product. Each entry follows its route's access rule, so a person sees only what they may open, and an application turned off keeps its place, greyed out, until it is back.

Notifications where people work

In Enterprise, the bar carries a bell with the count of unread notifications, or the account button does when there is no bar. What your services publish opens in a drawer over the page, and a snackbar appears on the page in front of the person when one arrives. It all arrives live, over a channel the gateway opens for the page, with nothing to integrate. See Notifying your users.

Issue reports with a screenshot

Turn it on, and every user button offers Report an issue. A panel opens beside the page, which stays usable: the person describes the problem, takes a screenshot of the screen, a window or the tab, and crops it to the part that matters. The page's address, the browser, the window size, the language and the recent console output are attached on their own.

Report an issue open beside an application page: the problem described, and the screenshot of the tab cropped to the table, with Crop, Reset, Retake and Remove under it

The report lands on the console's Issues screen, with who sent it, from which tenant, and when. Your team moves it from open to in progress to closed, and comments on it; a tenant's administrator sees the reports of their tenant. No more "it does not work" with no address and no picture.

The Issues screen: the switch that offers "Report an issue" in the user button, and the reports with their status

Hiding what a role should not see, in CSS

The gateway can write the person's roles into the page itself, on the server, before the browser sees it: as classes on a tag of your choice, as one attribute, or as a meta. A stylesheet is then enough to hide a button from everyone who does not hold a role, from the very first paint:

body:not(.BILLING) .send-reminder { display: none; }

This hides, it does not protect: the call behind the button is still refused by the route's rules and its per-endpoint security. A page stamped this way belongs to one person, so the gateway makes it non-storable whatever the application says, and no cache, proxy or shared browser can hand it to someone else.

Your own CSS and JavaScript, per route

Each route keeps a list of CSS and JavaScript blocks, written in the console or uploaded as files, placed at the start or the end of the head or at the end of the body, in the order you set, each with a switch to take it out without losing it. A fix to a bought tool's layout, a banner, a script that sets what the application expects in the browser: no fork, no rebuild.

Testing as somebody else

A developer finds UI test mode in the user button's Developer menu. A bar opens at the top of the page, with an amber frame around it: pick a user, tick roles from the catalogue, and the application is served to the developer's own session, on this route and for a limited time, exactly as that person would see it. The roles are stamped, the access rules applied, the identity sent to the service. Every call reaches the service marked as a test, and starting or stopping a test is written in the audit trail under the developer's real name.

UI test mode on an application page: the amber frame around the page, the bar at the top with the user bob and the roles ticked for the test, Apply and Exit test

"What does a reader see on this screen?" is answered in a minute, without a test account per role.

Go further