Platform UI layout
This page describes the platform UI. The CLI has no equivalent.
The platform UI is laid out around a sidebar, which holds the account switcher and the menu for the page you are on, a top bar with the breadcrumb trail and the account menu, and each account's home page.
The sidebar
The sidebar sits on the left of every page. Its header holds Swale's mark, which opens the home page of the account you are working in, and the account switcher, which names that account, says whether it is Personal or an Organization, and switches between your personal account and your organizations (see Switch between accounts).
Below them, the menu follows the page you are on:
- An account's pages list Home, Projects, Task Definitions and, for the members who may use them, Usage & Billing and Secrets. An organization adds Settings and, for Admins and Owners, Members and Teams, below a line that sets the organization's own pages apart. Opening an organization's settings, members or teams, or the task definitions, keeps this menu.
- A project's pages list, under the project's name, its own pages: Overview, Repositories, Workflows and Secrets, then Settings below a line. Opening a project shows its Overview: its run figures for the last 30 days, its runs In progress and Recently finished, and the same line of links to Swale's resources as the home page. A project with no workflow shows No workflows yet, with Add Workflow, and the resources as cards. Settings holds the project's name, its workflow storage size and Delete project. Every page under the project, down to a run's task, keeps this menu. The deleted projects and the deleted repositories are reached from the Deleted Projects and Deleted Repositories buttons on the lists they left, and the list's entry stays lit while you are there.
- Your settings, opened from the account menu, start with Back to and an account's name, then list Account Details, Integrations, Personal Access Tokens and Organizations below a line. Back to returns to the last page you had open outside your settings, and names its account. It opens your personal account's home page instead when that account is not one of yours. It does the same when you have opened no page outside your settings since the platform loaded: in a new tab, after a reload, or on your way back from GitHub. In your settings, Swale's mark opens your personal account's home page.
In a browser window 1,024 pixels wide or wider, the sidebar sits beside the page. The button at its foot collapses it to a rail of icons and expands it again; the platform remembers your choice. In the rail, Swale's mark and the icons stay. Resting the pointer on the rail, or moving keyboard focus into it, opens the whole sidebar over the page, account switcher and labels included, until you move away; the button at the foot opens no such peek and shows what it does instead. In a narrower window the sidebar opens over the page from the button at the start of the top bar. It closes when you open a page from it: a menu link, Swale's mark, Back to, or an account in the account switcher.
The breadcrumb trail
The top bar names where the page sits, as a trail you climb to go back up: Projects / orbit-api / Workflows / Deploy Preview / <run> / <task>, for example, where every entry but the last is a link. A workflow and a task are named by name, not id, and a task definition's trail ends at the name in its address, not its title, whichever version is on view. In your settings the trail starts with the account that Back to names, and that entry leads where Back to does: <account> / Account Details, for example, or <account> / Account Details / Delete Account. In a window narrower than 768 pixels, as on a phone, the trail is one step up: a link named after the page above, or the page's own name at the top. On a settings page that link leaves your settings, and on Delete Account it returns to Account Details.
The top bar also holds the theme toggle and the account menu (your avatar), which offers Organizations, Settings and Sign out.
The home page
Home is the first entry in the account's menu. Opening the platform at its home address opens your personal account's home page, and so does signing in after you register; switching accounts opens the home page of the account you switch to.
The home page's title is the name of the account it belongs to. Beside it are the account's quick actions, each shown only to the members who may use the control it copies: New Project, Add Task Definition (Import GitHub or Upload Markdown), Create secret, Add Member in an organization, and Create Organization (see Create an organization). On a narrow screen they gather in one New menu. Each opens the same dialog as on its own page and, once it succeeds, takes you to the list that holds what you created.
A line of links under the title leads to Swale's resources, each in a new tab. When the page is too narrow for the runs to sit side by side, as on a phone, the runs stack and the links sit after them.
| Link | Opens |
|---|---|
| Workflow examples | Swale's example workflow definitions on GitHub, to copy and adapt |
| Task definitions | Swale's own task definitions and their sources on GitHub |
| Install the CLI | Install the CLI |
| Swale Hub | Swale Hub, where the public task definitions shared by the community can be searched |
Below them are four figures: Runs, last 30 days, Success rate over the same 30 days (a dash when no run has ended), Failed, last 30 days, and Projects, the projects you can open. Then In progress lists the newest runs that have not ended, newest created first, with how many there are in all, and Recently finished lists the runs that ended last, newest first. Each row names the run's project and workflow and opens the run, and All projects opens the projects list. The figures and the runs count only the projects you can open, and they stay current while the page is open.
An account with no project you can open shows No projects yet, with Create Project for the members who may create one, and the resources as cards that say what each is for.
The account's Owner sees its usage, and what it has cost so far this month, under Usage & Billing.
The footer
Every page ends with the Privacy Policy, the Cookie Policy, Consent preferences, which reopens the cookie banner so that consent stays as easy to withdraw as it was to give, and Do Not Sell or Share My Personal Information, which opens the page that explains that right and how to exercise it.