-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This blocks access to ancher management functionality by a migration screen. This is a soft lock, that can be bypassed.
- Loading branch information
Showing
6 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import { html, render } from "lit-html"; | ||
import { wrenchIcon } from "../components/icons"; | ||
|
||
/** Block on the migration screen. | ||
* Can be jailbroken by clicking the wrench icon 3 times. | ||
**/ | ||
export function blockMigration(): Promise<void> { | ||
return new Promise<void>((resolve) => { | ||
let jailbreakHitCount = 0; | ||
const jailbreakHit = () => { | ||
if (++jailbreakHitCount >= 3) { | ||
resolve(); | ||
} | ||
}; | ||
render( | ||
html` | ||
<div class="l-container c-card c-card--highlight"> | ||
<h1 class="t-title t-title--main"> | ||
Maintenance <i @click="${jailbreakHit}">${wrenchIcon}</i> | ||
</h1> | ||
<div class="l-stack"> | ||
<h2 class="t-title">Internet Identity will be back shortly.</h2> | ||
<p class="t-paragraph"> | ||
Internet Identity is undergoing a | ||
<a | ||
class="t-link" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
href="https://forum.dfinity.org/t/internet-identity-subnet-migration-on-october-26/15989" | ||
>migration</a | ||
>. You can still use Internet Identity to authenticate to dapps, | ||
but anchor management and anchor creation is temporarily disabled. | ||
</p> | ||
<p class="t-paragraph"> | ||
For frequently asked questions, check the | ||
<a href="/faq" title="Go to the Internet Identity FAQ page" | ||
>FAQ page</a | ||
>. | ||
</p> | ||
</div> | ||
</div> | ||
`, | ||
document.getElementById("pageContent") as HTMLElement | ||
); | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters