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

Commit

Permalink
chore: add deprecation message to UI
Browse files Browse the repository at this point in the history
  • Loading branch information
mroz22 committed Nov 20, 2023
1 parent e92440e commit 877a593
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
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

0 comments on commit 877a593

Please sign in to comment.