Repository navigation
Replace the Verify Team Account tool with a Stay safe page - #171
Merged
Merged
Conversation
A client-side list of team handles can't verify who is behind an account, and it goes out of date. The new page covers what the Dusk team will never do, the official channels, how to spot impersonation, and what to do about it. - Remove VerifyAccount.astro and its page - Redirect /learn/verify-team-account/ to /learn/stay-safe/ - Put Stay Safe in the old sidebar slot - Keep one list of official channels: the community page links to it - Test the redirect, the sidebar entry, and that nothing in the build still refers to the old page or ships the checker
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Verify Team Account page checked handles against a list in the page's JavaScript. A list like that can't verify who is behind an account (handles and display names can be copied, and Discord usernames change hands), and it goes out of date. This replaces it with a plain page.
Changes
VerifyAccount.astroandlearn/verify-team-account.mdx.learn/stay-safe.mdxin the same sidebar slot (Use Dusk > Trust and Community > Stay Safe). Sections: what the Dusk team will never do, official channels, how to spot impersonation, what to do. No names or personal handles./learn/verify-team-account/to/learn/stay-safe/through theredirectsblock inastro.config.js.Official channel URLs and their sources
community.mdxcommunity.mdxcommunity.mdxcommunity.mdxThe page also points readers to https://dusk.network/links/ and tells them to reach Dusk through links there, not links sent to them.
Testing
npm ci --ignore-scripts,npm audit signatures,npm rebuild esbuild,npm run verify. All internal links valid, 9/9 tests pass.test/stay-safe.test.mjsfails onmainand passes here. It checks the redirect page (meta refresh, noindex, canonical), the sidebar entry and sitemap, and that nothing in the build except the redirect refers to the old URL or ships the checker element./learn/verify-team-accountand/learn/verify-team-account/both land on/learn/stay-safe/. No horizontal overflow from 320 px to 1280 px, light and dark. The Pagefind index has/learn/stay-safe/and not the old page.