Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

chore: add deprecation message to UI #1123

Merged
merged 1 commit into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "8.2.12",
"author": "Trezor <[email protected]>",
"homepage": "https://github.com/trezor/connect",
"description": "High-level javascript interface for Trezor hardware wallet.",
"description": "This package is deprecated. Use https://www.npmjs.com/package/@trezor/connect",
"license": "SEE LICENSE IN LICENSE.md",
"private": true,
"repository": {
Expand Down
8 changes: 6 additions & 2 deletions src/html/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ <h2 class="operation"></h2>
</div>
</div>
</aside>
<section id="container">
<div style="display: flex; flex-direction: column; width: 100%; align-items: center;">
<div id="banner" style="color: black; background-color: #D99E00F2; width: 100%; text-align: center; font-weight: 500; font-size: 14px; line-height: 22px; padding: 4px;">Connect v8 is deprecated and will stop working at the start of 2024. Please contact the developers of the application and ask for an update to Connect v9.</div>

<section id="container" style="flex:1">
<div class="loader">
<p>Loading...</p>
<svg class="circular" viewBox="25 25 50 50" preserveAspectRatio="xMidYMid">
Expand All @@ -52,11 +55,12 @@ <h2 class="operation"></h2>
</svg>
</div>
</section>
</div>

</main>

<!-- Views -->
<div id="views" style="display: none;">

<div class="unknown">
<h3>Unknown view</h3>
<p>view_name</p>
Expand Down
Loading