@protobase/cli 0.75.0 → 0.75.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/package.js +1 -1
- package/package.json +8 -8
- package/skills/protobase/references/features/navigation.md +1 -1
- package/skills/protobase/references/features/notifications.md +1 -1
- package/skills/protobase/references/features/record-pages.md +1 -1
- package/skills/protobase/references/guides/table-to-admin.md +1 -1
- package/skills/protobase/references/reference/mcp.md +1 -1
- package/skills/protobase/references/reference/notifications.md +25 -5
- package/skills/protobase/references/reference/remote-resources.md +2 -2
- package/skills/protobase/references/reference/sidebar.md +1 -1
- package/skills/protobase/references/reference/ui-config.md +4 -4
package/dist/cli/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/cli",
|
|
3
|
-
"version": "0.75.
|
|
3
|
+
"version": "0.75.2",
|
|
4
4
|
"description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@better-auth/core": "^1.7.12",
|
|
45
45
|
"@hono/node-server": "^2.1.3",
|
|
46
|
-
"@protobase/config": "0.75.
|
|
47
|
-
"@protobase/layout": "0.75.
|
|
48
|
-
"@protobase/query": "0.75.
|
|
49
|
-
"@protobase/schema": "0.75.
|
|
50
|
-
"@protobase/server": "0.75.
|
|
51
|
-
"@protobase/ui": "0.75.
|
|
52
|
-
"@protobase/workflows": "0.75.
|
|
46
|
+
"@protobase/config": "0.75.2",
|
|
47
|
+
"@protobase/layout": "0.75.2",
|
|
48
|
+
"@protobase/query": "0.75.2",
|
|
49
|
+
"@protobase/schema": "0.75.2",
|
|
50
|
+
"@protobase/server": "0.75.2",
|
|
51
|
+
"@protobase/ui": "0.75.2",
|
|
52
|
+
"@protobase/workflows": "0.75.2",
|
|
53
53
|
"@react-email/render": "^2.1.0",
|
|
54
54
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
55
55
|
"@sentry/vite-plugin": "^11.10.0",
|
|
@@ -13,7 +13,7 @@ The sidebar, the user menu, the bottom bar on phones and the global search.
|
|
|
13
13
|
- [User menu](../reference/user-menu.md): Account pages, help links, security settings, setting a status, the theme switch and Sign out.
|
|
14
14
|
- [Bottom bar](../reference/bottom-bar.md): On phones, tabs along the bottom for each role's main screens.
|
|
15
15
|
- [Global search](../reference/client.md#global-search): A search box, also on Cmd+K or Ctrl+K, finds records in every resource and jumps to pages and New forms.
|
|
16
|
-
- [Breadcrumbs](../reference/ui-config.md#breadcrumbs): The top bar shows the group
|
|
16
|
+
- [Breadcrumbs](../reference/ui-config.md#breadcrumbs): The top bar shows the group and list you are on, each a link back, and on a phone a back button to the one before; a record page's heading names the record.
|
|
17
17
|
- [Tab titles](../reference/ui-config.md#names-and-columns): Browser tabs name the record, list or page they show, then the app.
|
|
18
18
|
- [Update notice](../reference/versioning.md#a-new-version-under-an-open-page): When the server runs a newer Protobase version, open pages offer a reload so the user can save their work first.
|
|
19
19
|
- Config refresh: When the config or the user's roles change, open pages load the new menus, columns and permissions without a reload.
|
|
@@ -12,6 +12,6 @@ A bell in the top bar and push to browsers and phones, for what your app tells i
|
|
|
12
12
|
- [Notification history](../reference/notifications.md#history) (beta): Each user's inbox notifications are kept with when they were read, and the API lists them, counts the unread ones and marks them read.
|
|
13
13
|
- [Web Push](../reference/notifications.md#web-push) (beta): Notifications reach desktop and Android browsers and home-screen web apps on iPhone through Web Push, with keys you generate.
|
|
14
14
|
- [Push on Android](../reference/notifications.md#android) (beta): The server sends notifications to Android devices through Firebase Cloud Messaging with the service account key in `PROTOBASE_FCM_SERVICE_ACCOUNT`, and the mobile app receives them, set up by `protobase mobile` from a `google-services.json` in the project.
|
|
15
|
-
- Push on iOS (
|
|
15
|
+
- [Push on iOS](../reference/notifications.md#ios) (in development): The mobile app receives notifications on iPhone and iPad through the Apple Push Notification service, set up by `protobase mobile`.
|
|
16
16
|
- [Do not disturb](../reference/status.md#do-not-disturb) (beta): While someone is on do not disturb, sends push nothing to their devices and keep inbox notifications in the bell for later.
|
|
17
17
|
- [Notification bell](../reference/notifications.md#the-bell) (beta): The top bar shows how many inbox notifications are unread; its panel opens each one, marks them read and turns push on or off for this device.
|
|
@@ -12,7 +12,7 @@ The page of one record, with its sections, related records, galleries, charts an
|
|
|
12
12
|
- [Read view and edit](../reference/ui-config.md#read-view-and-edit): A record opens as a read-only fact sheet or a form, and Edit opens the form at its own address.
|
|
13
13
|
- [Unsaved edits](../reference/ui-config.md#editing-a-record): Unsaved changes to a record stay in the browser and can be resumed, and leaving a form, a dialog or a comment with changes asks first.
|
|
14
14
|
- [Record forms](../reference/ui-config.md#editing-a-record): Relations are picked from a list that narrows as you type, numbers are read as the browser's language writes them, and a refused save says under each field what is wrong.
|
|
15
|
-
- [Titles per reader](../reference/ui-config.md#titles-per-reader): A record without a name of its own, such as a direct message, is titled for each reader from its fields, such as after the other members, in the sidebar,
|
|
15
|
+
- [Titles per reader](../reference/ui-config.md#titles-per-reader): A record without a name of its own, such as a direct message, is titled for each reader from its fields, such as after the other members, in the sidebar, heading, browser tab, relation links, list columns, relation pickers, filters and search.
|
|
16
16
|
- [JSON fields on forms](../reference/plugins.md#json) (beta): A JSON field, such as a workflow run's input, is edited on forms as JSON text and shown written out on several lines.
|
|
17
17
|
- [Member fields](../reference/plugins.md#members): A field that holds a list of people, such as a private channel's members, picks the organization's members by name on forms and shows them by avatar and name.
|
|
18
18
|
- [Save feedback](../reference/ui-config.md#the-record-page): A view shows saving on the Save button instead of in a toast.
|
|
@@ -105,7 +105,7 @@ export const repairsView = view<typeof repairs>('repairs')
|
|
|
105
105
|
}))
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
`title` makes "R-303" the name of a repair everywhere:
|
|
108
|
+
`title` makes "R-303" the name of a repair everywhere: links, the browser tab, the record page. `fields` adjusts how values look: statuses become badges, the estimate gets a euro sign and two decimals, and `customer_id` shows as "Customer" (with the customer's name, since it is a relation). `list` picks the columns, the starting order, and what the search box looks in.
|
|
109
109
|
|
|
110
110
|
## 3. Filters
|
|
111
111
|
|
|
@@ -157,7 +157,7 @@ export default defineConfig({ auth: { mcp: true }, mcpEndpoint: { writes: true }
|
|
|
157
157
|
|
|
158
158
|
Each write goes through the REST API as the person: their role's access rules, `validate`, write hooks, events and webhooks apply, so the client can do only what the person may do in the app.
|
|
159
159
|
|
|
160
|
-
Before each write the client asks the person to approve it, through MCP's form elicitation. The approval names the record
|
|
160
|
+
Before each write the client asks the person to approve it, through MCP's form elicitation. The approval names the record by the resource's label, its key and its title, such as `Update Task #42 "Fix the sign-in lockout"?`. An update lists each field it changes by its label, with its value before and after (`Status: In flight -> Done`); a create lists the new record's fields by their labels; a delete says whether the record can be restored, and for a resource without a soft delete says plainly that it cannot be undone. Enum values show by their labels, a [sensitive](data-config.md#sensitive-fields) field's value is hidden, and a value is cut at 200 characters. A record or field the person may not read is named by its key or its name in words, and an update or delete of a record changed since its `etag` is refused before asking. The approval, its button and the refusal for a client that cannot ask are in the person's [language](languages.md): the app's `locale`, or else the one the client's request accepts (`Accept-Language`). Nothing is written until they approve, and declining writes nothing. A client's own setting that always allows a tool is not this approval. An approval holds only for the call it was asked for, with the same arguments, by the same person in the same app, organization and client, and only once, within 10 minutes; any other call is asked again. A client that cannot ask, one without form elicitation or one on the 2025 protocol, gets each write refused with a message saying so.
|
|
161
161
|
|
|
162
162
|
<gap>An approval cannot be answered on another server instance or after a restart because a shared approval store is not implemented.</gap> Behind a load balancer, send an MCP client's calls to the same instance.
|
|
163
163
|
|
|
@@ -7,7 +7,7 @@ Turn on notifications, send them to users or devices, show each signed-in user t
|
|
|
7
7
|
## Turning them on
|
|
8
8
|
|
|
9
9
|
:::caution[Beta]
|
|
10
|
-
Push reaches browsers and the Android app
|
|
10
|
+
Push reaches browsers and the Android app. On iPhone and iPad the server delivers through [APNs](#ios), but the mobile app does not register for push yet.
|
|
11
11
|
:::
|
|
12
12
|
|
|
13
13
|
Notifications tell a user about something in the app, in a bell in the top bar and as push on their devices. [Send notifications](../guides/push-notifications.md) walks through turning them on and sending the first one. You turn them on in `protobase.config.ts`:
|
|
@@ -22,12 +22,12 @@ export default defineConfig({
|
|
|
22
22
|
|
|
23
23
|
Then run `protobase migration`, which writes the [devices and history tables](#table-names), and the jobs schema that [sending](#sending) runs on, as a migration of the project's own, and apply it with the project's migrations. `protobase dev` and `protobase serve` refuse to start while a table is missing or lacks what notifications need, and name it. Without `notifications` there is none of it: no endpoints, no tables and no migration.
|
|
24
24
|
|
|
25
|
-
Every signed-in user gets [the bell](#the-bell), browsers receive push through [Web Push](#web-push),
|
|
25
|
+
Every signed-in user gets [the bell](#the-bell), browsers receive push through [Web Push](#web-push), the Android app through [FCM](#android) and iOS devices through [APNs](#ios). `notifications: { ui: false }` keeps only the backend, [without the bell](#without-the-bell).
|
|
26
26
|
|
|
27
27
|
## Devices
|
|
28
28
|
|
|
29
29
|
:::caution[Beta]
|
|
30
|
-
Browsers receive push through [Web Push](#web-push), and the Android app through [FCM](#android)
|
|
30
|
+
Browsers receive push through [Web Push](#web-push), and the Android app through [FCM](#android). The server delivers to iOS devices through [APNs](#ios), but the mobile app does not register for push on iOS yet.
|
|
31
31
|
:::
|
|
32
32
|
|
|
33
33
|
A device is where a user receives push: a browser's push subscription, or an Android or iOS app's push token. Each signed-in user registers and removes only their own, through the API:
|
|
@@ -67,7 +67,7 @@ The path comes from `devicesPath('/api', id)`, and the name of its id parameter
|
|
|
67
67
|
## Sending
|
|
68
68
|
|
|
69
69
|
:::caution[Beta]
|
|
70
|
-
Browsers and the Android app receive push
|
|
70
|
+
Browsers and the Android app receive push, and iOS devices through [APNs](#ios) once the mobile app registers them, which is coming soon. <gap>A send can reach a device twice, or keep an entry twice in a history store of your own, when a worker stops mid-send because saving the send's progress in the same step as the push is not implemented.</gap>
|
|
71
71
|
:::
|
|
72
72
|
|
|
73
73
|
[Send notifications](../guides/push-notifications.md) sends one from a record change, step by step. You send a notification from your server code, such as a job, a hook, an event subscription or an API function, with `sendNotification(db, to, message)` from `@protobase/server`. It is queued as a background job in `db`'s transaction when `db` is one, so it goes out only once your write commits, and nothing goes out when the transaction rolls back. A running job also has it as `sendNotification` in its context, beside `mail`, when the app has `notifications`.
|
|
@@ -211,6 +211,26 @@ export const PushButton = () => {
|
|
|
211
211
|
|
|
212
212
|
`protobase serve` and `protobase dev` both serve the service worker that shows notifications, `protobase dev` only when the app has `notifications`.
|
|
213
213
|
|
|
214
|
+
## iOS
|
|
215
|
+
|
|
216
|
+
:::caution[In development]
|
|
217
|
+
The mobile app does not register for push on iOS yet.
|
|
218
|
+
:::
|
|
219
|
+
|
|
220
|
+
iOS devices receive push through the Apple Push Notification service (APNs), with token authentication. You create an APNs key in your Apple developer account, under Certificates, Identifiers & Profiles, Keys, and set it in three environment variables:
|
|
221
|
+
|
|
222
|
+
| Variable | |
|
|
223
|
+
| --- | --- |
|
|
224
|
+
| `PROTOBASE_APNS_KEY` | the text of the `.p8` file you download, from `-----BEGIN PRIVATE KEY-----` to `-----END PRIVATE KEY-----` |
|
|
225
|
+
| `PROTOBASE_APNS_KEY_ID` | the key's id, ten letters and digits |
|
|
226
|
+
| `PROTOBASE_APNS_TEAM_ID` | your team's id, ten letters and digits |
|
|
227
|
+
|
|
228
|
+
Without them APNs is off and iOS devices are skipped. One or two of them set, a blank one, a key that is no APNs key or an id that is not ten letters and digits stops startup, naming the variable without its value, and so do the three set in an app without a [`mobile`](../guides/mobile-app.md) section. The key is a secret: keep it out of client code, `VITE_` variables and the repository. Anyone holding it can push to every iOS device of your apps.
|
|
229
|
+
|
|
230
|
+
The topic of every notification is the mobile app's `appId`. Each device goes to the environment it was registered with: development builds to the APNs sandbox, App Store and TestFlight builds to production. A device whose token is not lowercase hex, whose environment is neither `sandbox` nor `production`, or that was registered for another app id is `refused`.
|
|
231
|
+
|
|
232
|
+
The notification's title and body are its alert, with its `badge` and `sound`; the JSON also holds `url`, `data` and `user`, the id of the user the device is registered for. `urgency` sets the priority (`very-low` and `low` wait until the device saves power less), `ttl` how long APNs keeps it for a device that is offline, 28 days without one, and `tag` the collapse id. A message's `platform.apns` is merged into the JSON, such as `{ aps: { 'thread-id': 'chat' } }`, never into the request's headers; a `url` in it is checked as the message's is, and the JSON holds at most 4096 bytes. APNs answering that the device is unregistered, or that its token is bad, removes the device; any other refusal, such as a wrong topic or key, is retried and then fails the send, so a mistake in the configuration removes no device.
|
|
233
|
+
|
|
214
234
|
## Android
|
|
215
235
|
|
|
216
236
|
:::caution[Beta]
|
|
@@ -288,7 +308,7 @@ A notification is `{ id, userId, title, body, url, data, createdAt, readAt }`, a
|
|
|
288
308
|
|
|
289
309
|
### Senders
|
|
290
310
|
|
|
291
|
-
A sender delivers notifications to the devices of the kinds it names, through their push service. Web Push and FCM are built in; your own senders, such as from a package, are the default export of `notifications/senders.ts`, an array, and they replace the built-in ones, at most one for each kind. To keep
|
|
311
|
+
A sender delivers notifications to the devices of the kinds it names, through their push service. Web Push, APNs and FCM are built in; your own senders, such as from a package, are the default export of `notifications/senders.ts`, an array, and they replace the built-in ones, at most one for each kind. To keep a built-in one beside them, list it too: `webPushSender(readVapidSettings(process.env)!)` from `@protobase/server` is the built-in Web Push sender, and `readVapidSettings` reads the [VAPID variables](#web-push), `undefined` when none is set; `apnsSender(readApnsSettings(process.env)!, { appId })` is the built-in APNs sender, with the mobile app's `appId`, and `readApnsSettings` reads the [APNs variables](#ios) the same way:
|
|
292
312
|
|
|
293
313
|
```ts
|
|
294
314
|
// notifications/senders.ts
|
|
@@ -14,7 +14,7 @@ Nothing new is invented for a remote resource. Every page of the admin app is dr
|
|
|
14
14
|
|
|
15
15
|
1. **The app names its sources.** Its `/api/meta` lists each source the caller may use: where its API is, what it is called, and the resources the app draws from it.
|
|
16
16
|
2. **The browser reads each source's `/meta` itself,** with the signed-in person's own token, and keeps only the resources the app draws. The source answers as it answers anyone: with the resources the person may see there, each as they may see it, and the view for their role.
|
|
17
|
-
3. **The app merges them into its own.** A remote resource's model, view and permissions sit next to the app's own resources, so every part of the app that reads a resource reads it the same way: the sidebar places it by its view's `nav`, the breadcrumbs name it by its view's names
|
|
17
|
+
3. **The app merges them into its own.** A remote resource's model, view and permissions sit next to the app's own resources, so every part of the app that reads a resource reads it the same way: the sidebar places it by its view's `nav`, the breadcrumbs name it by its view's names, the list page shows its columns, filters and displays.
|
|
18
18
|
4. **Every call about a remote resource goes to its source.** The app's client sends each call to the API that serves the resource, with the same token: lists, records, writes, aggregates, uploads. The app's server is not in between and stores nothing of it.
|
|
19
19
|
|
|
20
20
|
So the source decides what a person sees and may do, exactly as in its own admin app, and the app decides where it shows it. The app does not wait for its sources: its own resources show at once, and a source's resources join when its `/meta` has loaded.
|
|
@@ -116,7 +116,7 @@ Everything the app draws for a resource of its own, for a remote resource too:
|
|
|
116
116
|
| List page | Its columns, sort, filters, search, displays and chart, at `/<resource>`, with every list state in the address. |
|
|
117
117
|
| Record page | Its sections, related records, sidebar, actions and custom sections, at `/<resource>/<key>`, saved back to the source with its ETag. |
|
|
118
118
|
| Create form | At `/<resource>/new`, when the person may create there. |
|
|
119
|
-
| Breadcrumbs | The sidebar group
|
|
119
|
+
| Breadcrumbs | The sidebar group and the list, each a link. |
|
|
120
120
|
| Global search | Its search fields, when it has them and a sidebar entry. |
|
|
121
121
|
| Links and actions | Links to its own records and lists; `a.update` and `a.remove` write to the source; handlers run with the source's client (see [Custom components](#custom-components)). |
|
|
122
122
|
| Files | Uploaded to the source, and downloaded from it. |
|
|
@@ -94,7 +94,7 @@ export const channelsView = view<typeof channels>('channels').nav({ recent: { or
|
|
|
94
94
|
The entry then works like this:
|
|
95
95
|
|
|
96
96
|
- The label opens the full list, as before; the chevron beside it shows or hides the records. The choice is kept per entry in this browser (`localStorage`), and an entry starts open.
|
|
97
|
-
- Each record shows its title (the view's `title`, as in
|
|
97
|
+
- Each record shows its title (the view's `title`, as in its record page's heading) and opens its record page. The open record is highlighted.
|
|
98
98
|
- "View all" ends the list and opens the full list, like the label.
|
|
99
99
|
- Only text sidebars (`text-large`, `text-small`, and the phone drawer) show the records; icon sidebars keep a plain entry.
|
|
100
100
|
|
|
@@ -48,7 +48,7 @@ export const repairsView = view<typeof repairs>('repairs')
|
|
|
48
48
|
| Method | |
|
|
49
49
|
| --- | --- |
|
|
50
50
|
| `.names({ singular, plural })` | "New repair", "Repairs" in the sidebar, breadcrumbs and browser tabs. Default: the resource name in words. |
|
|
51
|
-
| `.title((r) => r.number)` | The field that names a record: in
|
|
51
|
+
| `.title((r) => r.number)` | The field that names a record: in browser tabs, the record page's heading, relation links and search results. |
|
|
52
52
|
| `.titleFrom(rule, (r) => [r.member_ids])` | A title derived in the browser for the person reading it, in place of `.title`, by the function `rule` names in the UI config's `titles`, from the fields picked. See [Titles per reader](#titles-per-reader). |
|
|
53
53
|
| `.searchResult((r) => ({ title?, subtitle? }))` | A record in the [global search](client.md#global-search): `title` is one field or several joined by spaces (`[r.first_name, r.last_name]`, default: `.title`), `subtitle` the line under it (default: the first search field not in the title), replaced by the search field the text matched when neither line shows it. |
|
|
54
54
|
| `.list((r, d, c) => ({ columns, sort?, search?, filter?, editable?, displays?, default? }))` | The list's columns in order, fields or [related records](#related-records-in-a-list) (`c.related`); the `filter` it [opens with](#a-filter-the-list-opens-with); its starting `sort` as `[[field, 'asc' \| 'desc'], ...]`, on `.sortable()` fields, else the primary key's order when it is `.sortable()`, else none, which the API orders by the key; the fields the search box suggests, among the resource's `.search` fields, which decide what search matches on the server; the columns [edited in their cell](#editing-in-the-list); other ways to show it, see [List displays](#list-displays). `protobase build` fails on a sort or search field outside those. |
|
|
@@ -64,7 +64,7 @@ A browser tab names what it shows, then the app's name ([`name`](config/app.md#n
|
|
|
64
64
|
|
|
65
65
|
### Breadcrumbs
|
|
66
66
|
|
|
67
|
-
The top bar shows where a page is: the sidebar group
|
|
67
|
+
The top bar shows where a page is: the sidebar group and the list, each a link back. A record page's trail ends at its list, such as Sales › Orders, and the heading below names the record. On a phone the top bar shows only the current page, with a back button before it to the page above; on a record page that button names the list it goes back to.
|
|
68
68
|
|
|
69
69
|
### Titles per reader
|
|
70
70
|
|
|
@@ -85,7 +85,7 @@ export default defineUi({
|
|
|
85
85
|
})
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
-
The derived title names the record wherever `.title` would: the sidebar's [recent records](sidebar.md#recent-records), whose list request reads the picked fields too, the
|
|
88
|
+
The derived title names the record wherever `.title` would: the sidebar's [recent records](sidebar.md#recent-records), whose list request reads the picked fields too, the record page's heading, the browser tab, the links of a record page's relation fields, related cards, the global search, unless the view's `.searchResult` gives a title, and every relation that points at such a record: a list's relation column and a card's relation field, which read the picked fields of a page's records in one request, the relation picker's options and a relation filter's values. The picker's typed text still matches the resource's search fields, or, without any, the derived titles of the records it loads. The record's key shows while the function returns nothing, such as while the members' names load, and when the reader cannot read a field it picks, or the UI config registers no function of that name. It is presentation only: no field, filter or sort reads it, and the search does not match it. Other members' names come only with organizations; without them, `member` finds no one.
|
|
89
89
|
|
|
90
90
|
<gap>An export of shown values and a chart grouped by a relation cannot name a record by its derived title because titling them per reader is not implemented.</gap>
|
|
91
91
|
|
|
@@ -702,7 +702,7 @@ A record address can also carry `version`, an earlier saved version of the recor
|
|
|
702
702
|
|
|
703
703
|
### Full-area record pages
|
|
704
704
|
|
|
705
|
-
`.record({ component })` makes the record page at `/<resource>/<key>` a [custom component](custom-components.md#full-area-record-pages) of the app's own, for a record that is used rather than filled in, such as a chat channel. The component fills the content area, at full width beside the sidebar and down to the bottom bar on a phone, and the page does not scroll, so the component scrolls its own parts, such as messages above a box that stays at the bottom. The sidebar, the top bar with its breadcrumb naming the record, the bottom bar and a right panel stay; the heading, Save, the action rail, the sections, the related records and the Details card are not drawn. A record that does not exist, or that the user may not read, shows the record page's usual notice, and the component is never drawn.
|
|
705
|
+
`.record({ component })` makes the record page at `/<resource>/<key>` a [custom component](custom-components.md#full-area-record-pages) of the app's own, for a record that is used rather than filled in, such as a chat channel. The component fills the content area, at full width beside the sidebar and down to the bottom bar on a phone, and the page does not scroll, so the component scrolls its own parts, such as messages above a box that stays at the bottom. The sidebar, the top bar with its breadcrumb naming the record, since the page has no heading, the bottom bar and a right panel stay; the heading, Save, the action rail, the sections, the related records and the Details card are not drawn. A record that does not exist, or that the user may not read, shows the record page's usual notice, and the component is never drawn.
|
|
706
706
|
|
|
707
707
|
```ts
|
|
708
708
|
export const ChannelChat = component('ChannelChat')
|