@remit/ui 0.0.202 → 0.0.203
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
|
@@ -252,7 +252,7 @@ export const Reported: Story = {
|
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
254
|
* Neither action is offered. The panel hides the pair rather than disabling
|
|
255
|
-
* it — unlike VIP/Mute
|
|
255
|
+
* it — unlike VIP/Mute, which always render and go visibly
|
|
256
256
|
* unavailable with no handler (issue #51). The host's own wiring never
|
|
257
257
|
* actually reaches this: `resolveSpamAction` always returns one of the two,
|
|
258
258
|
* since every message either carries a spam report or doesn't. Kept as a
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BellOff,
|
|
3
3
|
MailCheck,
|
|
4
|
-
MailX,
|
|
5
4
|
ShieldAlert,
|
|
6
5
|
ShieldCheck,
|
|
7
6
|
ShieldQuestion,
|
|
@@ -142,7 +141,6 @@ export interface SenderFlagsIntel {
|
|
|
142
141
|
* host derives from this specific message's `Message.spamReport`.
|
|
143
142
|
*/
|
|
144
143
|
blocked?: boolean;
|
|
145
|
-
unsubscribed?: boolean;
|
|
146
144
|
}
|
|
147
145
|
|
|
148
146
|
export interface IntelligenceData {
|
|
@@ -156,7 +154,6 @@ export interface IntelligenceData {
|
|
|
156
154
|
export interface IntelligenceQuickActions {
|
|
157
155
|
onToggleVip?: () => void;
|
|
158
156
|
onToggleMute?: () => void;
|
|
159
|
-
onToggleUnsubscribe?: () => void;
|
|
160
157
|
onReclassify?: () => void;
|
|
161
158
|
/**
|
|
162
159
|
* "Not spam": undo a spam report — clears the sender block and moves the
|
|
@@ -557,12 +554,6 @@ export function IntelligencePanel({
|
|
|
557
554
|
pending={reportSpamPending}
|
|
558
555
|
/>
|
|
559
556
|
)}
|
|
560
|
-
<QuickAction
|
|
561
|
-
icon={<MailX className="size-3.5" />}
|
|
562
|
-
label="Unsubscribe"
|
|
563
|
-
active={flags.unsubscribed}
|
|
564
|
-
onClick={actions?.onToggleUnsubscribe}
|
|
565
|
-
/>
|
|
566
557
|
</div>
|
|
567
558
|
{actions?.onNotSpam && (
|
|
568
559
|
<p className="mt-1.5 text-2xs text-fg-subtle">
|