@remit/web-client 0.0.217 → 0.0.218
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remit/web-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.218",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Remit web client, published as composable primitives — the app shell, auth shells, and runtime config. A distributor imports what it composes and bundles it.",
|
|
6
6
|
"exports": {
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
FolderManager,
|
|
17
17
|
FolderRenameDialog,
|
|
18
18
|
type FolderRole,
|
|
19
|
+
FolderRolesHelp,
|
|
19
20
|
type ManagedFolder,
|
|
20
21
|
type RoleAppointment,
|
|
21
22
|
RoleAppointmentList,
|
|
@@ -42,27 +43,6 @@ export const Route = createFileRoute("/settings/folders")({
|
|
|
42
43
|
component: FoldersSettings,
|
|
43
44
|
});
|
|
44
45
|
|
|
45
|
-
const foldersHelp = (
|
|
46
|
-
<div className="space-y-3">
|
|
47
|
-
<p>
|
|
48
|
-
Each canonical role — Inbox, Drafts, Sent, Archive, Spam, Trash — points
|
|
49
|
-
at one of your account's real folders. Pick the one that actually holds
|
|
50
|
-
the mail; the message counts tell real folders from empty look-alikes.
|
|
51
|
-
</p>
|
|
52
|
-
<p>
|
|
53
|
-
Appointing a folder to a role here doesn't touch any other role, and
|
|
54
|
-
doesn't move or rename anything on the server — it just tells Remit which
|
|
55
|
-
folder to treat as e.g. "Drafts" everywhere (sidebar, unread badges, the
|
|
56
|
-
compose flow).
|
|
57
|
-
</p>
|
|
58
|
-
<p>
|
|
59
|
-
<strong className="text-fg">Your folders</strong> is the account's real
|
|
60
|
-
hierarchy. Open a folder to see what's inside it, make a new one where
|
|
61
|
-
you're looking, and rename or delete any of them from its row.
|
|
62
|
-
</p>
|
|
63
|
-
</div>
|
|
64
|
-
);
|
|
65
|
-
|
|
66
46
|
/** One account's folder roles and its folder hierarchy. Owns its own queries + mutations. */
|
|
67
47
|
function AccountFolders({ account }: { account: RemitImapAccountResponse }) {
|
|
68
48
|
const queryClient = useQueryClient();
|
|
@@ -309,7 +289,7 @@ function FoldersSettings() {
|
|
|
309
289
|
activeId="folders"
|
|
310
290
|
title="Folder roles"
|
|
311
291
|
description="Appoint which real folder fills each canonical role, per account."
|
|
312
|
-
help={
|
|
292
|
+
help={<FolderRolesHelp />}
|
|
313
293
|
helpOpen={helpOpen}
|
|
314
294
|
onToggleHelp={() => setHelpOpen((v) => !v)}
|
|
315
295
|
onSelect={handleSelectNav}
|