@remit/ui 0.0.85 → 0.0.86
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
|
@@ -193,3 +193,33 @@ export const WithSimilarMessages: Story = {
|
|
|
193
193
|
},
|
|
194
194
|
},
|
|
195
195
|
};
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The spam quick actions are symmetric and mutually exclusive, decided by the
|
|
199
|
+
* mailbox the message is in. A message sitting in Junk is offered the way out.
|
|
200
|
+
*/
|
|
201
|
+
export const InJunk: Story = {
|
|
202
|
+
args: {
|
|
203
|
+
data: base,
|
|
204
|
+
actions: { onNotSpam: () => {} },
|
|
205
|
+
},
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
/** The inverse, for a message anywhere else. */
|
|
209
|
+
export const OutsideJunk: Story = {
|
|
210
|
+
args: {
|
|
211
|
+
data: base,
|
|
212
|
+
actions: { onMarkSpam: () => {} },
|
|
213
|
+
},
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* The move has been made. Neither action is offered: pressing the one that just
|
|
218
|
+
* ran would ask the mail server to move the message to where it already is.
|
|
219
|
+
*/
|
|
220
|
+
export const SpamActionSpent: Story = {
|
|
221
|
+
args: {
|
|
222
|
+
data: base,
|
|
223
|
+
actions: {},
|
|
224
|
+
},
|
|
225
|
+
};
|