pleasenobugs 0.2.0 → 0.4.0
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/README.md +137 -38
- package/dist/chunks/client-CkFi6gmV.js +358 -0
- package/dist/chunks/demo-DLTn5oUs.js +232 -0
- package/dist/chunks/index-B1dIQO6N.js +2795 -0
- package/dist/client.js +7 -294
- package/dist/index.js +9 -10
- package/dist/pleasenobugs.iife.js +2 -2
- package/dist/types/client.d.ts +72 -4
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/demo.d.ts +39 -3
- package/dist/types/demo.d.ts.map +1 -1
- package/dist/types/element.d.ts +19 -13
- package/dist/types/element.d.ts.map +1 -1
- package/dist/types/filter.d.ts +66 -0
- package/dist/types/filter.d.ts.map +1 -0
- package/dist/types/i18n.d.ts +222 -531
- package/dist/types/i18n.d.ts.map +1 -1
- package/dist/types/index.d.ts +5 -4
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/readonly.d.ts +4 -3
- package/dist/types/readonly.d.ts.map +1 -1
- package/dist/types/signer.d.ts +7 -0
- package/dist/types/signer.d.ts.map +1 -1
- package/dist/types/ui/App.d.ts +4 -3
- package/dist/types/ui/App.d.ts.map +1 -1
- package/dist/types/ui/Compose.d.ts +12 -7
- package/dist/types/ui/Compose.d.ts.map +1 -1
- package/dist/types/ui/Face.d.ts +17 -0
- package/dist/types/ui/Face.d.ts.map +1 -0
- package/dist/types/ui/Manage.d.ts +60 -0
- package/dist/types/ui/Manage.d.ts.map +1 -0
- package/dist/types/ui/PostCard.d.ts +53 -6
- package/dist/types/ui/PostCard.d.ts.map +1 -1
- package/dist/types/ui/Sheets.d.ts +32 -28
- package/dist/types/ui/Sheets.d.ts.map +1 -1
- package/dist/types/ui/Talk.d.ts +57 -0
- package/dist/types/ui/Talk.d.ts.map +1 -0
- package/dist/types/ui/Updates.d.ts +37 -0
- package/dist/types/ui/Updates.d.ts.map +1 -0
- package/dist/types/ui/icons.d.ts +16 -0
- package/dist/types/ui/icons.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/chunks/demo-nnvUgJyJ.js +0 -107
- package/dist/chunks/index-13DToKWI.js +0 -1751
package/dist/types/i18n.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0QwB,CAAC;AAEnC,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,IAAI,CAAC;AACxC,MAAM,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AACvD,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;AAEzF;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CAAC,OAAO,GAAE,OAAY,GAAG,SAAS,CAM3D"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,14 +2,15 @@ import type { AppLogin, PostContext, PostKind } from '@pleasenobugs/core';
|
|
|
2
2
|
import type { Strings } from './i18n.js';
|
|
3
3
|
import type { Signer } from './signer.js';
|
|
4
4
|
export * from './client.js';
|
|
5
|
-
export { PleaseNoBugsElement
|
|
5
|
+
export { PleaseNoBugsElement } from './element.js';
|
|
6
6
|
export type { Strings, CopyKey } from './i18n.js';
|
|
7
|
+
export type { DemoSample } from './demo.js';
|
|
7
8
|
export interface OpenOptions {
|
|
8
9
|
project: string;
|
|
9
10
|
server: string;
|
|
11
|
+
/** The language of your `strings`, for dates. English by default. */
|
|
10
12
|
lang?: string;
|
|
11
|
-
theme?: '
|
|
12
|
-
accent?: string;
|
|
13
|
+
theme?: 'nimiq' | 'nimiq-dark';
|
|
13
14
|
appName?: string;
|
|
14
15
|
/** A display name to suggest when the user chooses to show theirs. */
|
|
15
16
|
name?: string;
|
|
@@ -25,7 +26,7 @@ export interface OpenOptions {
|
|
|
25
26
|
screenshots?: boolean | 'owners';
|
|
26
27
|
/** The board to read and nothing else: no writing or voting, every post anonymous, no screenshots. */
|
|
27
28
|
readonly?: boolean;
|
|
28
|
-
/** `false` leaves out "
|
|
29
|
+
/** `false` leaves out the name and the "Post anonymously" switch, so every post is anonymous. */
|
|
29
30
|
names?: boolean;
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE1E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE1E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAClD,YAAY,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAK5C,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC3B,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,qGAAqG;IACrG,WAAW,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IACjC,sGAAsG;IACtG,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iGAAiG;IACjG,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,IAAI,CAuBrD"}
|
package/dist/types/readonly.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type BoardRead } from '@pleasenobugs/core';
|
|
2
2
|
/**
|
|
3
|
-
* A board as `readonly` shows it: everybody anonymous, no
|
|
3
|
+
* A board as `readonly` shows it: everybody anonymous (no name, no identicon),
|
|
4
|
+
* no screenshots, and
|
|
4
5
|
* nobody signed in.
|
|
5
6
|
*
|
|
6
7
|
* A read-only board is shown somewhere other than the app it belongs to (the
|
|
7
8
|
* website, one day, showing other apps' boards). Its authors chose to show a
|
|
8
9
|
* name, or a screenshot, on that app's board, not on a page they may never
|
|
9
|
-
* have heard of, so
|
|
10
|
+
* have heard of, so they stay behind. Done here rather than in the cards, so
|
|
10
11
|
* nothing further down can show what was never handed to it.
|
|
11
12
|
*
|
|
12
13
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readonly.d.ts","sourceRoot":"","sources":["../../src/readonly.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"readonly.d.ts","sourceRoot":"","sources":["../../src/readonly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEjE;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,CAarD"}
|
package/dist/types/signer.d.ts
CHANGED
|
@@ -76,5 +76,12 @@ export declare function insideNimiqPay(): boolean;
|
|
|
76
76
|
* phone to do one hash; the server derives it anyway and refuses a mismatch.
|
|
77
77
|
*/
|
|
78
78
|
export declare function nimiqPaySigner(timeout?: number): Signer;
|
|
79
|
+
/**
|
|
80
|
+
* The address Nimiq Pay is on right now, or null outside it (or with no
|
|
81
|
+
* account). No prompt: listing accounts is not signing. Used to notice a user
|
|
82
|
+
* who switched accounts in Nimiq Pay, so the board stops speaking for the old
|
|
83
|
+
* one.
|
|
84
|
+
*/
|
|
85
|
+
export declare function nimiqPayAccount(): Promise<string | null>;
|
|
79
86
|
export {};
|
|
80
87
|
//# sourceMappingURL=signer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signer.d.ts","sourceRoot":"","sources":["../../src/signer.ts"],"names":[],"mappings":"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ts
CHANGED
|
@@ -29,7 +29,8 @@ export interface AppProps {
|
|
|
29
29
|
onClose?: () => void;
|
|
30
30
|
/**
|
|
31
31
|
* What opens first: the board, or the tiles that ask what to write. The
|
|
32
|
-
*
|
|
32
|
+
* element starts every way on the tiles, the board one tap under them,
|
|
33
|
+
* unless it says `start="board"`.
|
|
33
34
|
*/
|
|
34
35
|
start?: 'board' | 'choose';
|
|
35
36
|
/**
|
|
@@ -43,9 +44,9 @@ export interface AppProps {
|
|
|
43
44
|
kind: PostKind;
|
|
44
45
|
}) => void;
|
|
45
46
|
}
|
|
46
|
-
export type View = 'board' | 'choose' | 'compose' | 'sent';
|
|
47
|
+
export type View = 'board' | 'choose' | 'compose' | 'sent' | 'updates' | 'talk' | 'manage';
|
|
47
48
|
/**
|
|
48
|
-
* The whole board: the list, writing one, and the
|
|
49
|
+
* The whole board: the list, writing one, the pages under it, and the sheets over it.
|
|
49
50
|
*
|
|
50
51
|
* **It owns its data and fetches it when it opens**, then again after anything
|
|
51
52
|
* it did. A feedback board is a page people open now and then; polling it
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/ui/App.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/ui/App.tsx"],"names":[],"mappings":"AACA,OAAO,EAUL,KAAK,WAAW,EAChB,KAAK,QAAQ,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAI3C,OAAO,KAAK,EAAW,SAAS,EAAE,MAAM,YAAY,CAAC;AAErD,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAoBrE,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,EAAE,SAAS,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qFAAqF;IACrF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gEAAgE;IAChE,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,wFAAwF;IACxF,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,yGAAyG;IACzG,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yGAAyG;IACzG,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAE,KAAK,IAAI,CAAC;CAC3D;AAED,MAAM,MAAM,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAS3F;;;;;;;;;;GAUG;AACH,wBAAgB,GAAG,CAAC,EAClB,MAAM,EACN,CAAC,EACD,MAAM,EACN,OAAO,EACP,WAAW,EACX,OAAO,EACP,KAAK,EACL,KAAK,EAAE,OAAO,EACd,WAAqB,EACrB,QAAgB,EAChB,KAAY,EACZ,OAAO,EACP,QAAQ,EACR,KAAK,EAAE,KAAe,EACtB,MAAM,GACP,EAAE,QAAQ,gCAq4BV"}
|
|
@@ -29,9 +29,9 @@ export interface Draft {
|
|
|
29
29
|
* Most of what is on this screen exists to stop somebody regretting the tap
|
|
30
30
|
* afterwards:
|
|
31
31
|
*
|
|
32
|
-
* - **"
|
|
32
|
+
* - **"Everyone can see this" sits above the field**, so it arrives before
|
|
33
33
|
* the typing rather than after.
|
|
34
|
-
* - **Lookalikes appear while you type
|
|
34
|
+
* - **Lookalikes appear while you type**, and "Me too" seconds one and leaves. That is
|
|
35
35
|
* the only thing on the board that reduces its own input; the alternative is
|
|
36
36
|
* five copies of the best idea with one vote each. Not on a review, which is
|
|
37
37
|
* an opinion and not a request anybody else could second.
|
|
@@ -42,8 +42,8 @@ export interface Draft {
|
|
|
42
42
|
* noticing. Sending stays off until the box is ticked or the picture
|
|
43
43
|
* removed, so nobody posts one by tapping past the warning.
|
|
44
44
|
*
|
|
45
|
-
* **One column that scrolls, with the button at the end of it.**
|
|
46
|
-
* a footer and then spent a page of notes on what a phone keyboard does to a
|
|
45
|
+
* **One column that scrolls, with the button at the end of it.** The app this
|
|
46
|
+
* grew out of pinned a footer and then spent a page of notes on what a phone keyboard does to a
|
|
47
47
|
* pinned footer. A widget lives in apps whose keyboards it has never met, so it
|
|
48
48
|
* takes the arrangement that has nothing to get wrong.
|
|
49
49
|
*
|
|
@@ -52,7 +52,7 @@ export interface Draft {
|
|
|
52
52
|
* this screen standing with the words in it and says why on the line under the
|
|
53
53
|
* button.
|
|
54
54
|
*/
|
|
55
|
-
export declare function Compose({ t, kind, posts, likeThis, left, perDay, textMax, name: knownName, appName, screenshots, names,
|
|
55
|
+
export declare function Compose({ t, kind, posts, likeThis, left, perDay, textMax, name: knownName, face, faceUrl, appName, screenshots, names, onMeToo, onSend, }: {
|
|
56
56
|
t: Translate;
|
|
57
57
|
kind: PostKind;
|
|
58
58
|
posts: Post[];
|
|
@@ -63,12 +63,17 @@ export declare function Compose({ t, kind, posts, likeThis, left, perDay, textMa
|
|
|
63
63
|
textMax: number;
|
|
64
64
|
/** The name the server has for this wallet, or the app's suggestion. */
|
|
65
65
|
name: string;
|
|
66
|
+
/** This wallet's identicon code, once signed in; a stand-in until then. */
|
|
67
|
+
face?: string;
|
|
68
|
+
/** Where the server draws an identicon. */
|
|
69
|
+
faceUrl?: (code: string) => string;
|
|
66
70
|
appName: string;
|
|
67
71
|
/** Whether a bug or an idea may carry a screenshot, and who sees it. */
|
|
68
72
|
screenshots: Screenshots;
|
|
69
|
-
/** Whether the writer may show a name; without it every post is anonymous. */
|
|
73
|
+
/** Whether the writer may show a name and identicon; without it every post is anonymous. */
|
|
70
74
|
names?: boolean;
|
|
71
|
-
|
|
75
|
+
/** Seconding a lookalike instead of writing it: votes for it and leaves this screen. */
|
|
76
|
+
onMeToo: (id: string) => void;
|
|
72
77
|
/**
|
|
73
78
|
* Resolves null once it has landed, or what to say about a refusal. A
|
|
74
79
|
* refusal with no key (the user declining the signature) keeps the screen
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Compose.d.ts","sourceRoot":"","sources":["../../../src/ui/Compose.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"Compose.d.ts","sourceRoot":"","sources":["../../../src/ui/Compose.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,IAAI,EACT,KAAK,QAAQ,EAEb,KAAK,QAAQ,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKrD,+EAA+E;AAC/E,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,QAAQ,CAAC;IACf,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,wDAAwD;IACxD,KAAK,EAAE,OAAO,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAErD,0BAA0B;AAC1B,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAA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CAqPA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A wallet's identicon, from the code a post carries in `face`.
|
|
3
|
+
*
|
|
4
|
+
* The picture comes from the board's own server (`/v1/identicons/:code.svg`),
|
|
5
|
+
* which draws it once and lets the browser keep it: Nimiq's drawings weigh
|
|
6
|
+
* more than this whole widget. Until it arrives, and where there is no server
|
|
7
|
+
* to ask (the demo), a hexagon in the identicon's own background colour
|
|
8
|
+
* stands in, so the space never jumps and the colour already matches.
|
|
9
|
+
*
|
|
10
|
+
* Decorative: the name beside it says who, so it is hidden from screen readers.
|
|
11
|
+
*/
|
|
12
|
+
export declare function Face({ code, src, size }: {
|
|
13
|
+
code?: string;
|
|
14
|
+
src?: string;
|
|
15
|
+
size?: number;
|
|
16
|
+
}): import("preact").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=Face.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Face.d.ts","sourceRoot":"","sources":["../../../src/ui/Face.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,IAAS,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,gCAyB5F"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type Message, type Post, type PostFix, type PostStatus } from '@pleasenobugs/core';
|
|
2
|
+
import type { Translate } from '../i18n.js';
|
|
3
|
+
/** What an owner's save sends. `shotOff` only for a screenshot its author put on the board. */
|
|
4
|
+
export interface ManageChange {
|
|
5
|
+
status: PostStatus;
|
|
6
|
+
/**
|
|
7
|
+
* What the app says under it, if anything: a new message, or with `edit`
|
|
8
|
+
* the id of the app's own last message, changed.
|
|
9
|
+
*/
|
|
10
|
+
message?: {
|
|
11
|
+
text: string;
|
|
12
|
+
edit?: string;
|
|
13
|
+
};
|
|
14
|
+
hidden: boolean;
|
|
15
|
+
shotOff?: boolean;
|
|
16
|
+
/** Only for a post waiting for approval: true lets it onto the board. */
|
|
17
|
+
approved?: boolean;
|
|
18
|
+
/** Only for a bug or an idea saved as done: where the fix is, `{}` for nowhere. */
|
|
19
|
+
fix?: PostFix;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* An owner answering a post, on a page of its own as the conversation is,
|
|
23
|
+
* the post at its top as the board shows it: where it stands, what to say,
|
|
24
|
+
* and whether it stays on the board. **One save for all of it**, because
|
|
25
|
+
* separate confirmations are chances to leave halfway; it goes back to the
|
|
26
|
+
* board, as the back arrow does without saving. A review has no "where it
|
|
27
|
+
* stands", so it gets the rest.
|
|
28
|
+
*
|
|
29
|
+
* On a post that carries context it also shows what the app sent along (a
|
|
30
|
+
* version, the host), which only owners see, and the screenshot if there is
|
|
31
|
+
* one, saying who sees it. One its author put on the board can be **taken
|
|
32
|
+
* off it on its own**, for when it shows something private after all, while
|
|
33
|
+
* the post stays up. One the author kept for the owners has no such switch:
|
|
34
|
+
* nobody may put it on the board for them.
|
|
35
|
+
*
|
|
36
|
+
* **Picking Done opens "Fixed in"**: a version and a link to the fix on
|
|
37
|
+
* github.com or gitlab.com, both optional, which the card then shows to everybody and the
|
|
38
|
+
* author as news. A link anywhere else is said to be wrong right under it,
|
|
39
|
+
* and Save waits, rather than the server refusing the whole answer.
|
|
40
|
+
*
|
|
41
|
+
* **The conversation is here whole**, newest last, with what the owner may
|
|
42
|
+
* do to it: take an author's message off the board or put it back (at once,
|
|
43
|
+
* like a switch), and change the app's own last message while nobody has
|
|
44
|
+
* answered it. The box under it is a new message, sent with Save. A review
|
|
45
|
+
* gets one answer from the app, so on a review the box is that answer.
|
|
46
|
+
*/
|
|
47
|
+
export declare function Manage({ t, post, appName, locale, replyMax, loadShot, onSave, onHideMessage, onBack, }: {
|
|
48
|
+
t: Translate;
|
|
49
|
+
post: Post;
|
|
50
|
+
appName: string;
|
|
51
|
+
locale: string;
|
|
52
|
+
replyMax: number;
|
|
53
|
+
/** Fetches the screenshot, for a post that has one. */
|
|
54
|
+
loadShot: () => Promise<Blob | null>;
|
|
55
|
+
onSave: (change: ManageChange) => void;
|
|
56
|
+
/** Takes an author's message off the board, or puts it back. */
|
|
57
|
+
onHideMessage: (m: Message, hidden: boolean) => void;
|
|
58
|
+
onBack: () => void;
|
|
59
|
+
}): import("preact").JSX.Element;
|
|
60
|
+
//# sourceMappingURL=Manage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Manage.d.ts","sourceRoot":"","sources":["../../../src/ui/Manage.tsx"],"names":[],"mappings":"AACA,OAAO,EAML,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,OAAO,EACZ,KAAK,UAAU,EAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAW,SAAS,EAAE,MAAM,YAAY,CAAC;AAsCrD,+FAA+F;AAC/F,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,UAAU,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1C,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mFAAmF;IACnF,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,MAAM,CAAC,EACrB,CAAC,EACD,IAAI,EACJ,OAAO,EACP,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,aAAa,EACb,MAAM,GACP,EAAE;IACD,CAAC,EAAE,SAAS,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,uDAAuD;IACvD,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IACrC,MAAM,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACvC,gEAAgE;IAChE,aAAa,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,gCAmOA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type Message, type Post, type PostKind } from '@pleasenobugs/core';
|
|
2
2
|
import type { CopyKey, Translate } from '../i18n.js';
|
|
3
3
|
/** The glyph and the words for each kind. Exported because the compose screen
|
|
4
4
|
* and the tiles draw the same ones, and a kind that looked one way while you
|
|
@@ -19,11 +19,36 @@ export declare function Stars({ n, t, size }: {
|
|
|
19
19
|
t: Translate;
|
|
20
20
|
size?: number;
|
|
21
21
|
}): import("preact").JSX.Element;
|
|
22
|
+
/**
|
|
23
|
+
* What `done` is called for posts of these kinds: a bug is **Fixed**,
|
|
24
|
+
* something was made; an idea is **Done**, nothing broke, it was carried
|
|
25
|
+
* out. For both at once, "Fixed or done". The status itself stays `done`,
|
|
26
|
+
* on the server and in the API; only the word differs.
|
|
27
|
+
*/
|
|
28
|
+
export declare function doneLabel(kinds: readonly PostKind[]): CopyKey;
|
|
29
|
+
/** A status as the words say it for one post: `done` by its kind. */
|
|
30
|
+
export declare function statusLabel(post: Pick<Post, 'kind' | 'status'>, label: CopyKey): CopyKey;
|
|
22
31
|
export declare function Badge({ tone, icon, label }: {
|
|
23
32
|
tone: string;
|
|
24
33
|
icon: () => preact.JSX.Element;
|
|
25
34
|
label: string;
|
|
26
35
|
}): import("preact").JSX.Element;
|
|
36
|
+
/** The mark of the site a link goes to. */
|
|
37
|
+
export declare function SiteMark({ site, size }: {
|
|
38
|
+
site: 'GitHub' | 'GitLab';
|
|
39
|
+
size?: number;
|
|
40
|
+
}): import("preact").JSX.Element;
|
|
41
|
+
/**
|
|
42
|
+
* A link to a page on GitHub or GitLab, said as one: the site's mark, the
|
|
43
|
+
* words, and the arrow that says it opens elsewhere. `label` may name the
|
|
44
|
+
* site (`{site}`). Only ever drawn for a link that really is on github.com
|
|
45
|
+
* or gitlab.com, checked again here whatever the server sent.
|
|
46
|
+
*/
|
|
47
|
+
export declare function CodeLink({ href, t, label }: {
|
|
48
|
+
href: string;
|
|
49
|
+
t: Translate;
|
|
50
|
+
label?: CopyKey;
|
|
51
|
+
}): import("preact").JSX.Element | null;
|
|
27
52
|
/**
|
|
28
53
|
* Seconding something, wherever it is offered: on a card, and on a lookalike
|
|
29
54
|
* the compose screen turned up. One component so the two can never come to
|
|
@@ -48,8 +73,8 @@ export declare function VoteButton({ votes, voted, onVote, t, label, }: {
|
|
|
48
73
|
* so where the name would be, because a blank reads as a name that failed to
|
|
49
74
|
* load.
|
|
50
75
|
*
|
|
51
|
-
* The card is a target only for an owner, whose tap opens the
|
|
52
|
-
* answers it.
|
|
76
|
+
* The card is a target only for an owner, whose tap opens the page that
|
|
77
|
+
* answers it. The app this grew out of hid the bin behind a swipe; here it is a visible button,
|
|
53
78
|
* because a gesture nobody can discover is a feature nobody has, and a widget
|
|
54
79
|
* in somebody else's app cannot teach its own gestures.
|
|
55
80
|
*
|
|
@@ -57,13 +82,28 @@ export declare function VoteButton({ votes, voted, onVote, t, label, }: {
|
|
|
57
82
|
* means is plain at a glance; a tap opens it whole. It loads only once the
|
|
58
83
|
* card scrolls near, so a long board does not fetch every picture on it. An
|
|
59
84
|
* owner sees a screenshot that is not on the board as a small mark instead,
|
|
60
|
-
* and opens it from the
|
|
85
|
+
* and opens it from the page where they answer it.
|
|
86
|
+
*
|
|
87
|
+
* **The conversation under it is a count, not text**: however long it gets,
|
|
88
|
+
* the card stays the size of a card, and the count opens it on a page of its
|
|
89
|
+
* own (see `Talk`). Only a search that found its words there quotes a line.
|
|
61
90
|
*/
|
|
62
|
-
export declare function PostCard({ post,
|
|
91
|
+
export declare function PostCard({ post, t, locale, onVote, onDelete, onManage, onTalk, shotUrl, onShot, faceUrl, fresh, query, found, bare, }: {
|
|
63
92
|
post: Post;
|
|
64
|
-
|
|
93
|
+
/** What the board calls the app. Unused since the card stopped quoting it; kept so callers need not change. */
|
|
94
|
+
appName?: string;
|
|
65
95
|
t: Translate;
|
|
66
96
|
locale: string;
|
|
97
|
+
/** Opens the conversation. Absent → the count is only a count. */
|
|
98
|
+
onTalk?: () => void;
|
|
99
|
+
/** For an owner: its author answered, and the app has not since. */
|
|
100
|
+
fresh?: boolean;
|
|
101
|
+
/** What the board is searched for, marked in the text. */
|
|
102
|
+
query?: string;
|
|
103
|
+
/** The message a search found its words in, quoted under the text. */
|
|
104
|
+
found?: Message;
|
|
105
|
+
/** Just the post, as the top of its conversation page: no foot, no screenshot. */
|
|
106
|
+
bare?: boolean;
|
|
67
107
|
/** Absent on a read-only board: the count shows, with nothing to tap. */
|
|
68
108
|
onVote?: (up: boolean) => void;
|
|
69
109
|
/** Your own post, or any post for an owner. */
|
|
@@ -74,5 +114,12 @@ export declare function PostCard({ post, appName, t, locale, onVote, onDelete, o
|
|
|
74
114
|
shotUrl?: string;
|
|
75
115
|
/** Opens the screenshot whole. */
|
|
76
116
|
onShot?: () => void;
|
|
117
|
+
/** Where its author's identicon is drawn, when the post shows one. */
|
|
118
|
+
faceUrl?: string;
|
|
119
|
+
}): import("preact").JSX.Element;
|
|
120
|
+
/** A text with what was searched for marked in it. */
|
|
121
|
+
export declare function Marked({ text, query }: {
|
|
122
|
+
text: string;
|
|
123
|
+
query: string;
|
|
77
124
|
}): import("preact").JSX.Element;
|
|
78
125
|
//# sourceMappingURL=PostCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostCard.d.ts","sourceRoot":"","sources":["../../../src/ui/PostCard.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,sEAAsE;IACtE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,kFAAkF;IAClF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,yEAAyE;IACzE,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/B,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,gCAgIA;AAED,sDAAsD;AACtD,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,gCAOtE"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type
|
|
1
|
+
import type { PostKind, PostStatus } from '@pleasenobugs/core';
|
|
2
|
+
import { type BoardFilter, type OwnFilter } from '../filter.js';
|
|
3
|
+
import type { CopyKey, Translate } from '../i18n.js';
|
|
3
4
|
/**
|
|
4
5
|
* A screenshot on the board, whole. Read straight from the server, the same
|
|
5
6
|
* image the card shows, so there is nothing to fetch or let go of here.
|
|
@@ -9,40 +10,43 @@ export declare function ShotSheet({ t, src, onClose }: {
|
|
|
9
10
|
src: string;
|
|
10
11
|
onClose: () => void;
|
|
11
12
|
}): import("preact").JSX.Element;
|
|
12
|
-
|
|
13
|
+
/** Asking before something goes for good: a post, by default, or an update. */
|
|
14
|
+
export declare function DeleteSheet({ t, onConfirm, onClose, title, note, confirm, }: {
|
|
13
15
|
t: Translate;
|
|
14
16
|
onConfirm: () => void;
|
|
15
17
|
onClose: () => void;
|
|
18
|
+
title?: CopyKey;
|
|
19
|
+
note?: CopyKey;
|
|
20
|
+
confirm?: CopyKey;
|
|
16
21
|
}): import("preact").JSX.Element;
|
|
17
|
-
/**
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
22
|
+
/** A chip's words, for the chips under the search field as well as here. */
|
|
23
|
+
export declare function filterLabel(t: Translate, f: {
|
|
24
|
+
kind?: PostKind;
|
|
25
|
+
status?: PostStatus;
|
|
26
|
+
kinds?: readonly PostKind[];
|
|
27
|
+
own?: OwnFilter;
|
|
28
|
+
mine?: true;
|
|
29
|
+
}): string;
|
|
26
30
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
+
* Everything the board can be narrowed to, in one sheet so the board itself
|
|
32
|
+
* keeps one row for it. Choices are made here and land together with the
|
|
33
|
+
* button, which says how many posts that will be, so nobody filters their
|
|
34
|
+
* way to an empty board without seeing it coming. "All" turns a group off.
|
|
31
35
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* one, saying who sees it. One its author put on the board can be **taken
|
|
35
|
-
* off it on its own**, for when it shows something private after all, while
|
|
36
|
-
* the post stays up. One the author kept for the owners has no such switch:
|
|
37
|
-
* nobody may put it on the board for them.
|
|
36
|
+
* `own` (Waiting on you, Off the board, Waiting for approval) is for owners
|
|
37
|
+
* only, and "Only my posts" for somebody signed in: nobody else has any.
|
|
38
38
|
*/
|
|
39
|
-
export declare function
|
|
39
|
+
export declare function FilterSheet({ t, kinds, owners, signedIn, value, count, onApply, onClose, }: {
|
|
40
40
|
t: Translate;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
/** The kinds on this board. */
|
|
42
|
+
kinds: PostKind[];
|
|
43
|
+
/** What an owner may narrow to, or nothing for anybody else. */
|
|
44
|
+
owners: OwnFilter[];
|
|
45
|
+
signedIn: boolean;
|
|
46
|
+
value: BoardFilter;
|
|
47
|
+
/** How many posts a filter leaves. */
|
|
48
|
+
count: (f: BoardFilter) => number;
|
|
49
|
+
onApply: (f: BoardFilter) => void;
|
|
46
50
|
onClose: () => void;
|
|
47
51
|
}): import("preact").JSX.Element;
|
|
48
52
|
//# sourceMappingURL=Sheets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sheets.d.ts","sourceRoot":"","sources":["../../../src/ui/Sheets.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Sheets.d.ts","sourceRoot":"","sources":["../../../src/ui/Sheets.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAa,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAoCrD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE;IAAE,CAAC,EAAE,SAAS,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,gCAkBhG;AAED,+EAA+E;AAC/E,wBAAgB,WAAW,CAAC,EAC1B,CAAC,EACD,SAAS,EACT,OAAO,EACP,KAA2B,EAC3B,IAAyB,EACzB,OAAwB,GACzB,EAAE;IACD,CAAC,EAAE,SAAS,CAAC;IACb,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,gCAeA;AAgBD,4EAA4E;AAC5E,wBAAgB,WAAW,CACzB,CAAC,EAAE,SAAS,EACZ,CAAC,EAAE;IAAE,IAAI,CAAC,EAAE,QAAQ,CAAC;IAAC,MAAM,CAAC,EAAE,UAAU,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,QAAQ,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,SAAS,CAAC;IAAC,IAAI,CAAC,EAAE,IAAI,CAAA;CAAE,GACrG,MAAM,CAMR;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAC1B,CAAC,EACD,KAAK,EACL,MAAM,EACN,QAAQ,EACR,KAAK,EACL,KAAK,EACL,OAAO,EACP,OAAO,GACR,EAAE;IACD,CAAC,EAAE,SAAS,CAAC;IACb,+BAA+B;IAC/B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,gEAAgE;IAChE,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,WAAW,CAAC;IACnB,sCAAsC;IACtC,KAAK,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,MAAM,CAAC;IAClC,OAAO,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAC;IAClC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,gCAuFA"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { type Message, type Post } from '@pleasenobugs/core';
|
|
2
|
+
import type { Translate } from '../i18n.js';
|
|
3
|
+
/** Who said it, as the conversation names them: the app, you, a name, or nobody in particular. */
|
|
4
|
+
export declare function speaker(m: Message, post: Post, appName: string, t: Translate): string;
|
|
5
|
+
/**
|
|
6
|
+
* The messages under a post, oldest first. The app's carry the accent line
|
|
7
|
+
* that its answer always had on a card; an author's sit on the surface
|
|
8
|
+
* colour, so who said what reads at a glance without reading the names.
|
|
9
|
+
*
|
|
10
|
+
* `actions` puts buttons under a message: changing your own last one, or an
|
|
11
|
+
* owner hiding an author's.
|
|
12
|
+
*/
|
|
13
|
+
export declare function Thread({ post, thread, appName, t, actions, }: {
|
|
14
|
+
post: Post;
|
|
15
|
+
thread: Message[];
|
|
16
|
+
appName: string;
|
|
17
|
+
t: Translate;
|
|
18
|
+
actions?: (m: Message) => preact.ComponentChildren;
|
|
19
|
+
}): import("preact").JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* A text box with a count and one button, for saying something under a post:
|
|
22
|
+
* the author's answer on the conversation page, or changing it.
|
|
23
|
+
*/
|
|
24
|
+
export declare function Answer({ t, label, placeholder, max, initial, action, onSend, onCancel, }: {
|
|
25
|
+
t: Translate;
|
|
26
|
+
label: string;
|
|
27
|
+
placeholder: string;
|
|
28
|
+
max: number;
|
|
29
|
+
initial?: string;
|
|
30
|
+
/** The button's words. */
|
|
31
|
+
action: string;
|
|
32
|
+
/** Resolves true once it landed, which empties the box. */
|
|
33
|
+
onSend: (text: string) => Promise<boolean>;
|
|
34
|
+
onCancel?: () => void;
|
|
35
|
+
}): import("preact").JSX.Element;
|
|
36
|
+
/**
|
|
37
|
+
* The conversation under one post, on a page of its own so the board's cards
|
|
38
|
+
* stay short however long it gets.
|
|
39
|
+
*
|
|
40
|
+
* Anybody may read it. Its author gets a box to answer in, and only right
|
|
41
|
+
* after the app said something: the same rule the server keeps, read from
|
|
42
|
+
* the same function (`authorMayAnswer`). Until the app answers, the author
|
|
43
|
+
* may change or take back what they said.
|
|
44
|
+
*/
|
|
45
|
+
export declare function Talk({ post, appName, t, locale, replyMax, onBack, onSay, onEdit, onUnsay, }: {
|
|
46
|
+
post: Post;
|
|
47
|
+
appName: string;
|
|
48
|
+
t: Translate;
|
|
49
|
+
locale: string;
|
|
50
|
+
replyMax: number;
|
|
51
|
+
onBack: () => void;
|
|
52
|
+
/** Each resolves whether it landed. */
|
|
53
|
+
onSay: (text: string) => Promise<boolean>;
|
|
54
|
+
onEdit: (m: Message, text: string) => Promise<boolean>;
|
|
55
|
+
onUnsay: (m: Message) => Promise<boolean>;
|
|
56
|
+
}): import("preact").JSX.Element;
|
|
57
|
+
//# sourceMappingURL=Talk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Talk.d.ts","sourceRoot":"","sources":["../../../src/ui/Talk.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuC,KAAK,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAClG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAI5C,kGAAkG;AAClG,wBAAgB,OAAO,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAIrF;AAED;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,MAAM,EACN,OAAO,EACP,CAAC,EACD,OAAO,GACR,EAAE;IACD,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,OAAO,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,CAAC,EAAE,SAAS,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,MAAM,CAAC,iBAAiB,CAAC;CACpD,gCAmBA;AAED;;;GAGG;AACH,wBAAgB,MAAM,CAAC,EACrB,CAAC,EACD,KAAK,EACL,WAAW,EACX,GAAG,EACH,OAAY,EACZ,MAAM,EACN,MAAM,EACN,QAAQ,GACT,EAAE;IACD,CAAC,EAAE,SAAS,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,2DAA2D;IAC3D,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,gCAyCA;AAED;;;;;;;;GAQG;AACH,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,OAAO,EACP,CAAC,EACD,MAAM,EACN,QAAQ,EACR,MAAM,EACN,KAAK,EACL,MAAM,EACN,OAAO,GACR,EAAE;IACD,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,CAAC,EAAE,SAAS,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,uCAAuC;IACvC,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC1C,MAAM,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACvD,OAAO,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAC3C,gCA+EA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type Post } from '@pleasenobugs/core';
|
|
2
|
+
import type { Client } from '../client.js';
|
|
3
|
+
import type { Translate } from '../i18n.js';
|
|
4
|
+
/** What an owner writes; the id is minted by whoever sends it. */
|
|
5
|
+
export interface UpdateDraft {
|
|
6
|
+
title: string;
|
|
7
|
+
text?: string;
|
|
8
|
+
version?: string;
|
|
9
|
+
link: string;
|
|
10
|
+
posts: string[];
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The Updates page: what changed in the app, newest first, each one a tap
|
|
14
|
+
* away from where it is on GitHub or GitLab. Anybody's to read, like the board.
|
|
15
|
+
*
|
|
16
|
+
* **The whole card is the link**, because that is the one thing to do with
|
|
17
|
+
* an update; a link-shaped corner of it would be a smaller target for the
|
|
18
|
+
* same tap. An owner gets a bin beside it, outside the link, and a + to write
|
|
19
|
+
* one.
|
|
20
|
+
*
|
|
21
|
+
* Read when it opens, and not before: the board already said how many there
|
|
22
|
+
* are, which is all the button needed.
|
|
23
|
+
*/
|
|
24
|
+
export declare function Updates({ client, t, locale, appName, owner, posts, onBack, onPublish, onFail, }: {
|
|
25
|
+
client: Client;
|
|
26
|
+
t: Translate;
|
|
27
|
+
locale: string;
|
|
28
|
+
appName: string;
|
|
29
|
+
owner: boolean;
|
|
30
|
+
/** The board's posts: what an update fixed is counted from these, and picked from them. */
|
|
31
|
+
posts: Post[];
|
|
32
|
+
onBack: () => void;
|
|
33
|
+
/** Answers whether it went through. */
|
|
34
|
+
onPublish: (draft: UpdateDraft) => Promise<boolean>;
|
|
35
|
+
onFail: (error: string) => void;
|
|
36
|
+
}): import("preact").JSX.Element;
|
|
37
|
+
//# sourceMappingURL=Updates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Updates.d.ts","sourceRoot":"","sources":["../../../src/ui/Updates.tsx"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,IAAI,EAEV,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAW,SAAS,EAAE,MAAM,YAAY,CAAC;AAMrD,kEAAkE;AAClE,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,OAAO,CAAC,EACtB,MAAM,EACN,CAAC,EACD,MAAM,EACN,OAAO,EACP,KAAK,EACL,KAAK,EACL,MAAM,EACN,SAAS,EACT,MAAM,GACP,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,CAAC,EAAE,SAAS,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,2FAA2F;IAC3F,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,uCAAuC;IACvC,SAAS,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACpD,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,gCA2GA"}
|
package/dist/types/ui/icons.d.ts
CHANGED
|
@@ -24,6 +24,22 @@ export declare const Review: ({ size }: P) => import("preact").JSX.Element;
|
|
|
24
24
|
export declare const Star: ({ size, filled }: P & {
|
|
25
25
|
filled?: boolean;
|
|
26
26
|
}) => import("preact").JSX.Element;
|
|
27
|
+
/** The Updates page: a megaphone, from the design. */
|
|
28
|
+
export declare const Updates: ({ size }: P) => import("preact").JSX.Element;
|
|
29
|
+
/** Going somewhere else: a link that opens in a new tab. */
|
|
30
|
+
export declare const Out: ({ size }: P) => import("preact").JSX.Element;
|
|
31
|
+
/** A link: where the fix is, before saying which site. */
|
|
32
|
+
export declare const Link: ({ size }: P) => import("preact").JSX.Element;
|
|
33
|
+
/** GitLab's mark, where a link goes there. In one colour, like GitHub's. */
|
|
34
|
+
export declare const GitLab: ({ size }: P) => import("preact").JSX.Element;
|
|
35
|
+
/** GitHub's mark, where a link goes there. Theirs, in one colour, as they ask it be used. */
|
|
36
|
+
export declare const GitHub: ({ size }: P) => import("preact").JSX.Element;
|
|
37
|
+
/** Looking for one: the search field. */
|
|
38
|
+
export declare const Search: ({ size }: P) => import("preact").JSX.Element;
|
|
39
|
+
/** Choosing what to see: the Filter button. */
|
|
40
|
+
export declare const Sliders: ({ size }: P) => import("preact").JSX.Element;
|
|
41
|
+
/** The conversation under a post: a speech bubble, with how many messages beside it. */
|
|
42
|
+
export declare const Messages: ({ size }: P) => import("preact").JSX.Element;
|
|
27
43
|
/** A picture: adding a screenshot, and the owner's sign that one came along. */
|
|
28
44
|
export declare const Image: ({ size }: P) => import("preact").JSX.Element;
|
|
29
45
|
export declare const Planned: ({ size }: P) => import("preact").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/ui/icons.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,KAAK,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAkB3B,eAAO,MAAM,IAAI,GAAI,UAAe,CAAC,iCAA2C,CAAC;AACjF,eAAO,MAAM,KAAK,GAAI,UAAe,CAAC,iCAAiD,CAAC;AACxF,eAAO,MAAM,IAAI,GAAI,UAAe,CAAC,iCAA6C,CAAC;AACnF,eAAO,MAAM,KAAK,GAAI,UAAe,CAAC,iCAC6C,CAAC;AAEpF,qFAAqF;AACrF,eAAO,MAAM,KAAK,GAAI,UAAe,CAAC,iCACwD,CAAC;AAE/F;;;GAGG;AACH,eAAO,MAAM,QAAQ,GAAI,UAAe,CAAC,iCAKtC,CAAC;AAeJ,eAAO,MAAM,GAAG,GAAI,UAAe,CAAC,iCAKjC,CAAC;AACJ,eAAO,MAAM,IAAI,GAAI,UAAe,CAAC,iCAKlC,CAAC;AACJ,eAAO,MAAM,MAAM,GAAI,UAAe,CAAC,iCAKpC,CAAC;AAEJ,sEAAsE;AACtE,eAAO,MAAM,IAAI,GAAI,kBAA+B,CAAC,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,iCACsC,CAAC;AAEnH,gFAAgF;AAChF,eAAO,MAAM,KAAK,GAAI,UAAe,CAAC,iCAC+C,CAAC;AAsBtF,eAAO,MAAM,OAAO,GAAI,UAAe,CAAC,iCAKrC,CAAC;AACJ,6CAA6C;AAC7C,eAAO,MAAM,IAAI,GAAI,UAAe,CAAC,iCACsD,CAAC;AAC5F,eAAO,MAAM,QAAQ,GAAI,UAAe,CAAC,iCACyE,CAAC"}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