Page MenuHomePhabricator

D14589.id42547.diff
No OneTemporary

D14589.id42547.diff

diff --git a/cashtab/src/components/Send/Send.js b/cashtab/src/components/Send/Send.js
--- a/cashtab/src/components/Send/Send.js
+++ b/cashtab/src/components/Send/Send.js
@@ -1108,6 +1108,14 @@
</Form>
</Col>
</Row>
+ <Alert
+ type="info"
+ style={{
+ marginBottom: '10px',
+ }}
+ showIcon
+ description="Encrypted messages are deprecated. The feature will be removed in a future update."
+ />
</SidePaddingCtn>
</>
);
diff --git a/cashtab/src/components/Send/__tests__/__snapshots__/Send.test.js.snap b/cashtab/src/components/Send/__tests__/__snapshots__/Send.test.js.snap
--- a/cashtab/src/components/Send/__tests__/__snapshots__/Send.test.js.snap
+++ b/cashtab/src/components/Send/__tests__/__snapshots__/Send.test.js.snap
@@ -584,6 +584,48 @@
</form>
</div>
</div>
+ <div
+ className="ant-alert ant-alert-info ant-alert-with-description"
+ data-show={true}
+ role="alert"
+ style={
+ Object {
+ "marginBottom": "10px",
+ }
+ }
+ >
+ <span
+ aria-label="info-circle"
+ className="anticon anticon-info-circle ant-alert-icon"
+ role="img"
+ >
+ <svg
+ aria-hidden="true"
+ data-icon="info-circle"
+ fill="currentColor"
+ focusable="false"
+ height="1em"
+ viewBox="64 64 896 896"
+ width="1em"
+ >
+ <path
+ d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
+ />
+ <path
+ d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
+ />
+ </svg>
+ </span>
+ <div
+ className="ant-alert-content"
+ >
+ <div
+ className="ant-alert-description"
+ >
+ Encrypted messages are deprecated. The feature will be removed in a future update.
+ </div>
+ </div>
+ </div>
</div>,
]
`;
@@ -1172,6 +1214,48 @@
</form>
</div>
</div>
+ <div
+ className="ant-alert ant-alert-info ant-alert-with-description"
+ data-show={true}
+ role="alert"
+ style={
+ Object {
+ "marginBottom": "10px",
+ }
+ }
+ >
+ <span
+ aria-label="info-circle"
+ className="anticon anticon-info-circle ant-alert-icon"
+ role="img"
+ >
+ <svg
+ aria-hidden="true"
+ data-icon="info-circle"
+ fill="currentColor"
+ focusable="false"
+ height="1em"
+ viewBox="64 64 896 896"
+ width="1em"
+ >
+ <path
+ d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
+ />
+ <path
+ d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
+ />
+ </svg>
+ </span>
+ <div
+ className="ant-alert-content"
+ >
+ <div
+ className="ant-alert-description"
+ >
+ Encrypted messages are deprecated. The feature will be removed in a future update.
+ </div>
+ </div>
+ </div>
</div>,
]
`;
@@ -1766,6 +1850,48 @@
</form>
</div>
</div>
+ <div
+ className="ant-alert ant-alert-info ant-alert-with-description"
+ data-show={true}
+ role="alert"
+ style={
+ Object {
+ "marginBottom": "10px",
+ }
+ }
+ >
+ <span
+ aria-label="info-circle"
+ className="anticon anticon-info-circle ant-alert-icon"
+ role="img"
+ >
+ <svg
+ aria-hidden="true"
+ data-icon="info-circle"
+ fill="currentColor"
+ focusable="false"
+ height="1em"
+ viewBox="64 64 896 896"
+ width="1em"
+ >
+ <path
+ d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
+ />
+ <path
+ d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
+ />
+ </svg>
+ </span>
+ <div
+ className="ant-alert-content"
+ >
+ <div
+ className="ant-alert-description"
+ >
+ Encrypted messages are deprecated. The feature will be removed in a future update.
+ </div>
+ </div>
+ </div>
</div>,
]
`;
@@ -2354,6 +2480,48 @@
</form>
</div>
</div>
+ <div
+ className="ant-alert ant-alert-info ant-alert-with-description"
+ data-show={true}
+ role="alert"
+ style={
+ Object {
+ "marginBottom": "10px",
+ }
+ }
+ >
+ <span
+ aria-label="info-circle"
+ className="anticon anticon-info-circle ant-alert-icon"
+ role="img"
+ >
+ <svg
+ aria-hidden="true"
+ data-icon="info-circle"
+ fill="currentColor"
+ focusable="false"
+ height="1em"
+ viewBox="64 64 896 896"
+ width="1em"
+ >
+ <path
+ d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
+ />
+ <path
+ d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
+ />
+ </svg>
+ </span>
+ <div
+ className="ant-alert-content"
+ >
+ <div
+ className="ant-alert-description"
+ >
+ Encrypted messages are deprecated. The feature will be removed in a future update.
+ </div>
+ </div>
+ </div>
</div>,
]
`;
@@ -2937,6 +3105,48 @@
</form>
</div>
</div>
+ <div
+ className="ant-alert ant-alert-info ant-alert-with-description"
+ data-show={true}
+ role="alert"
+ style={
+ Object {
+ "marginBottom": "10px",
+ }
+ }
+ >
+ <span
+ aria-label="info-circle"
+ className="anticon anticon-info-circle ant-alert-icon"
+ role="img"
+ >
+ <svg
+ aria-hidden="true"
+ data-icon="info-circle"
+ fill="currentColor"
+ focusable="false"
+ height="1em"
+ viewBox="64 64 896 896"
+ width="1em"
+ >
+ <path
+ d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
+ />
+ <path
+ d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"
+ />
+ </svg>
+ </span>
+ <div
+ className="ant-alert-content"
+ >
+ <div
+ className="ant-alert-description"
+ >
+ Encrypted messages are deprecated. The feature will be removed in a future update.
+ </div>
+ </div>
+ </div>
</div>,
]
`;

File Metadata

Mime Type
text/plain
Expires
Mon, May 12, 01:42 (20 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5761961
Default Alt Text
D14589.id42547.diff (7 KB)

Event Timeline