mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2026-09-03 05:10:16 +03:00
fix(portal): state the reason in the story comments, not the change
comment-lint CMT004: both new stories narrated what the code used to do. devGuide/CODE_COMMENTS.md asks for the reason instead, and git already holds the history.
This commit is contained in:
@@ -285,8 +285,9 @@ export const MigrationFailed: Story = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A revoke that fails. The error belongs to the key card: one shared error
|
* A revoke that fails. Asserts the message lands inside the key card rather
|
||||||
* string previously rendered it under "Encrypt existing files" instead.
|
* than merely existing somewhere on the panel, which is the part that makes
|
||||||
|
* this a regression test rather than a smoke test.
|
||||||
*/
|
*/
|
||||||
export const KeyActionFailed: Story = {
|
export const KeyActionFailed: Story = {
|
||||||
globals: { tier: "enterprise" },
|
globals: { tier: "enterprise" },
|
||||||
@@ -322,9 +323,9 @@ export const KeyActionFailed: Story = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Decrypt-only on S3. The backend still streams downloads through the app once
|
* Decrypt-only on S3. The backend suppresses presigned URLs once any key row
|
||||||
* any key exists, so the bandwidth note has to show here too — it used to be
|
* exists, not only while writes are encrypted, so the bandwidth note belongs
|
||||||
* tied to the write flag and vanished in exactly this state.
|
* in this state too.
|
||||||
*/
|
*/
|
||||||
export const DecryptOnlyOnS3: Story = {
|
export const DecryptOnlyOnS3: Story = {
|
||||||
globals: { tier: "enterprise" },
|
globals: { tier: "enterprise" },
|
||||||
|
|||||||
Reference in New Issue
Block a user