@mushi-mushi/web 1.30.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,49 +12,61 @@ 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;
44
- /** Placeholder + starter chips when the reporter is suggesting a feature. */
55
+ /** Placeholder when the Idea chip is picked. */
45
56
  featurePlaceholder: string;
46
- featureExamples: string[];
47
- /** Placeholder for the "Other" category (no starter chips). */
48
- otherPlaceholder: string;
57
+ /** @deprecated Unused since 1.30. */
58
+ featureExamples?: string[];
59
+ /** @deprecated Unused since 1.30. */
60
+ otherPlaceholder?: string;
49
61
  /** Footer shortcut hint; `{key}` is ⌘ on Apple platforms, Ctrl elsewhere. */
50
62
  submitHint: string;
51
- /** Counter text below the minimum length; `{n}` = characters still needed. */
52
- charsNeeded: string;
63
+ /** @deprecated Unused since 1.30 — the hint is "Add a few words". */
64
+ charsNeeded?: string;
53
65
  screenshotButton: string;
54
66
  screenshotAttached: string;
55
67
  screenshotCapturing: string;
56
68
  /** @deprecated The web widget now shows `screenshotRetry` + `screenshotErrors`; kept for type compatibility. */
57
- screenshotFailed: string;
69
+ screenshotFailed?: string;
58
70
  /** Screenshot button label after a failed capture. */
59
71
  screenshotRetry: string;
60
72
  /** Offered after a failed capture: user-consented tab share (getDisplayMedia). */
@@ -77,11 +89,37 @@ interface MushiLocale {
77
89
  elementCapturing: string;
78
90
  elementFailed: string;
79
91
  elementSelectorHint: string;
80
- optional: string;
81
- /** Inline validation: description is below the minimum length. */
82
- tooShort: string;
83
- /** Example starter chips rendered above the textarea to lower the barrier. */
84
- 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;
85
123
  };
86
124
  assistant: {
87
125
  defaultLabel: string;
@@ -100,7 +138,8 @@ interface MushiLocale {
100
138
  };
101
139
  };
102
140
  flows: {
103
- eyebrows: {
141
+ /** @deprecated Unused since 1.30 (no brand eyebrow in the header). */
142
+ eyebrows?: {
104
143
  inbox: string;
105
144
  roadmap: string;
106
145
  community: string;
@@ -113,8 +152,10 @@ interface MushiLocale {
113
152
  reports: {
114
153
  title: string;
115
154
  loading: string;
116
- empty: string;
117
- leaderboardLink: string;
155
+ /** @deprecated Unused since 1.30 — core `ui.empty`. */
156
+ empty?: string;
157
+ /** @deprecated Unused since 1.30. */
158
+ leaderboardLink?: string;
118
159
  };
119
160
  roadmap: {
120
161
  title: string;
@@ -158,20 +199,26 @@ interface MushiLocale {
158
199
  unknownApp: string;
159
200
  };
160
201
  thread: {
161
- title: string;
202
+ /** @deprecated Unused since 1.30 — see `panel.reportTitle`. */
203
+ title?: string;
162
204
  loading: string;
163
- empty: string;
164
- confirmFixed: string;
165
- 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;
166
211
  replyPlaceholder: string;
167
- send: string;
168
- /** Thread fetch failed or timed out; shown with a retry button. */
169
- loadFailed: string;
170
- retry: 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;
171
218
  };
172
219
  success: {
173
- /** Panel title once the report is accepted or delivering. */
174
- title: string;
220
+ /** @deprecated Unused since 1.30 — the receipt title is core `ui.sent`. */
221
+ title?: string;
175
222
  /** Closes the panel from the success step. */
176
223
  done: string;
177
224
  trackReport: string;
@@ -193,14 +240,19 @@ interface MushiLocale {
193
240
  };
194
241
  featureRequest: {
195
242
  label: string;
196
- description: string;
243
+ /** @deprecated Unused since 1.30. */
244
+ description?: string;
197
245
  };
198
246
  /** Beta-mode strip on the category step. */
199
247
  betaStrip: {
200
248
  /** Default status line when the host sets no message; `{appName}` placeholder. */
201
249
  defaultMessage: string;
202
- /** Where reports land; `{email}` placeholder. */
250
+ /** Optional contact line, rendered as a mailto link; `{email}` placeholder. Nothing is emailed. */
203
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;
204
256
  /** aria-label for the strip. */
205
257
  ariaLabel: string;
206
258
  };