@mushi-mushi/web 1.29.0 → 1.31.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.
@@ -12,39 +12,74 @@ interface MushiLocale {
12
12
  error: string;
13
13
  };
14
14
  step1: {
15
- heading: string;
16
- /** Section label above the primary report categories. */
17
- reportSectionLabel: string;
18
- /** Collapsible overflow nav for inbox, assistant, community, etc. */
19
- moreNavLabel: string;
15
+ /** @deprecated The 3-step flow is retired (Plan 018); unused since 1.30. */
16
+ heading?: string;
17
+ /** @deprecated Unused since 1.30. */
18
+ reportSectionLabel?: string;
19
+ /** @deprecated Unused since 1.30. */
20
+ moreNavLabel?: string;
21
+ /** Labels of the header overflow menu. */
20
22
  moreNav: {
21
- yourReports: string;
22
- yourReportsDesc: string;
23
- unreadNew: string;
23
+ /** @deprecated Unused since 1.30 — see `panel.yourReports`. */
24
+ yourReports?: string;
25
+ /** @deprecated Unused since 1.30. */
26
+ yourReportsDesc?: string;
27
+ /** @deprecated Unused since 1.30. */
28
+ unreadNew?: string;
24
29
  communityIdeas: string;
25
- communityIdeasDesc: string;
30
+ /** @deprecated Unused since 1.30. */
31
+ communityIdeasDesc?: string;
26
32
  leaderboard: string;
27
33
  joinCommunity: string;
28
34
  myAccount: string;
29
35
  };
30
36
  categories: Record<MushiReportCategory, string>;
31
- categoryDescriptions: Record<MushiReportCategory, string>;
32
- /** Progressive-disclosure toggle under the primary category card. */
33
- moreCategoriesLabel: string;
34
- /** Hidden-category count on the toggle; `{n}` placeholder. */
35
- moreCategoriesCount: string;
37
+ /** @deprecated Unused since 1.30. */
38
+ categoryDescriptions?: Record<MushiReportCategory, string>;
39
+ /** @deprecated Unused since 1.30. */
40
+ moreCategoriesLabel?: string;
41
+ /** @deprecated Unused since 1.30. */
42
+ moreCategoriesCount?: string;
36
43
  };
37
44
  step2: {
38
- heading: string;
45
+ /** @deprecated Unused since 1.30. */
46
+ heading?: string;
47
+ /** Optional sub-chips shown after a type is picked (the first four, minus "Other"). */
39
48
  intents: Record<MushiReportCategory, string[]>;
40
49
  };
41
50
  step3: {
42
- heading: string;
51
+ /** @deprecated Unused since 1.30. */
52
+ heading?: string;
53
+ /** Placeholder of the one-screen report textarea. */
43
54
  descriptionPlaceholder: string;
55
+ /** Placeholder when the Idea chip is picked. */
56
+ featurePlaceholder: string;
57
+ /** @deprecated Unused since 1.30. */
58
+ featureExamples?: string[];
59
+ /** @deprecated Unused since 1.30. */
60
+ otherPlaceholder?: string;
61
+ /** Footer shortcut hint; `{key}` is ⌘ on Apple platforms, Ctrl elsewhere. */
62
+ submitHint: string;
63
+ /** @deprecated Unused since 1.30 — the hint is "Add a few words". */
64
+ charsNeeded?: string;
44
65
  screenshotButton: string;
45
66
  screenshotAttached: string;
46
67
  screenshotCapturing: string;
47
- screenshotFailed: string;
68
+ /** @deprecated The web widget now shows `screenshotRetry` + `screenshotErrors`; kept for type compatibility. */
69
+ screenshotFailed?: string;
70
+ /** Screenshot button label after a failed capture. */
71
+ screenshotRetry: string;
72
+ /** Offered after a failed capture: user-consented tab share (getDisplayMedia). */
73
+ screenshotShareTab: string;
74
+ /** Why the last capture failed, shown under the attachment row. */
75
+ screenshotErrors: {
76
+ permission: string;
77
+ unsupported: string;
78
+ taint: string;
79
+ timeout: string;
80
+ csp: string;
81
+ error: string;
82
+ };
48
83
  /** Alt text for the attached-screenshot preview image. */
49
84
  screenshotPreviewAlt: string;
50
85
  /** Default privacy caption shown beside the screenshot preview. */
@@ -54,11 +89,37 @@ interface MushiLocale {
54
89
  elementCapturing: string;
55
90
  elementFailed: string;
56
91
  elementSelectorHint: string;
57
- optional: string;
58
- /** Inline validation: description is below the minimum length. */
59
- tooShort: string;
60
- /** Example starter chips rendered above the textarea to lower the barrier. */
61
- examplePrompts: string[];
92
+ /** @deprecated Unused since 1.30. */
93
+ optional?: string;
94
+ /** @deprecated Unused since 1.30 — core `reporterCopy().ui.addWords`. */
95
+ tooShort?: string;
96
+ /** @deprecated Unused since 1.30. */
97
+ examplePrompts?: string[];
98
+ };
99
+ /** One-screen report, header and notification copy (Plan 018 §1). */
100
+ panel: {
101
+ /** Report screen title. */
102
+ title: string;
103
+ /** "More…" chip: reveals the host's own categories. */
104
+ more: string;
105
+ /** Element picker button. */
106
+ pointAt: string;
107
+ remove: string;
108
+ markUp: string;
109
+ /** Privacy line under the attachments. */
110
+ privacy: string;
111
+ send: string;
112
+ /** Header pill that opens "Your reports". */
113
+ yourReports: string;
114
+ /** Badge text on the pill; `{n}` placeholder. */
115
+ newCount: string;
116
+ /** Header overflow menu button label. */
117
+ moreOptions: string;
118
+ /** Title of the report detail view. */
119
+ reportTitle: string;
120
+ /** Web push opt-in button. */
121
+ notifyMe: string;
122
+ notifyOn: string;
62
123
  };
63
124
  assistant: {
64
125
  defaultLabel: string;
@@ -77,7 +138,8 @@ interface MushiLocale {
77
138
  };
78
139
  };
79
140
  flows: {
80
- eyebrows: {
141
+ /** @deprecated Unused since 1.30 (no brand eyebrow in the header). */
142
+ eyebrows?: {
81
143
  inbox: string;
82
144
  roadmap: string;
83
145
  community: string;
@@ -90,8 +152,10 @@ interface MushiLocale {
90
152
  reports: {
91
153
  title: string;
92
154
  loading: string;
93
- empty: string;
94
- leaderboardLink: string;
155
+ /** @deprecated Unused since 1.30 — core `ui.empty`. */
156
+ empty?: string;
157
+ /** @deprecated Unused since 1.30. */
158
+ leaderboardLink?: string;
95
159
  };
96
160
  roadmap: {
97
161
  title: string;
@@ -135,15 +199,28 @@ interface MushiLocale {
135
199
  unknownApp: string;
136
200
  };
137
201
  thread: {
138
- title: string;
202
+ /** @deprecated Unused since 1.30 — see `panel.reportTitle`. */
203
+ title?: string;
139
204
  loading: string;
140
- empty: string;
141
- confirmFixed: string;
142
- notFixed: string;
205
+ /** @deprecated Unused since 1.30 — core `ui.noReplies`. */
206
+ empty?: string;
207
+ /** @deprecated Unused since 1.30 — core `ui.yes`. */
208
+ confirmFixed?: string;
209
+ /** @deprecated Unused since 1.30 — core `ui.notYet`. */
210
+ notFixed?: string;
143
211
  replyPlaceholder: string;
144
- send: string;
212
+ /** @deprecated Unused since 1.30 — see `panel.send`. */
213
+ send?: string;
214
+ /** @deprecated Unused since 1.30 — core `ui.loadError`. */
215
+ loadFailed?: string;
216
+ /** @deprecated Unused since 1.30 — core `ui.retry`. */
217
+ retry?: string;
145
218
  };
146
219
  success: {
220
+ /** @deprecated Unused since 1.30 — the receipt title is core `ui.sent`. */
221
+ title?: string;
222
+ /** Closes the panel from the success step. */
223
+ done: string;
147
224
  trackReport: string;
148
225
  receipt: string;
149
226
  delivering: string;
@@ -163,14 +240,19 @@ interface MushiLocale {
163
240
  };
164
241
  featureRequest: {
165
242
  label: string;
166
- description: string;
243
+ /** @deprecated Unused since 1.30. */
244
+ description?: string;
167
245
  };
168
246
  /** Beta-mode strip on the category step. */
169
247
  betaStrip: {
170
248
  /** Default status line when the host sets no message; `{appName}` placeholder. */
171
249
  defaultMessage: string;
172
- /** Where reports land; `{email}` placeholder. */
250
+ /** Optional contact line, rendered as a mailto link; `{email}` placeholder. Nothing is emailed. */
173
251
  contactHint: string;
252
+ /** Who sees the report; `{appName}` placeholder. */
253
+ teamSees: string;
254
+ /** Same, when the host gave no app name. */
255
+ teamSeesGeneric: string;
174
256
  /** aria-label for the strip. */
175
257
  ariaLabel: string;
176
258
  };