-
Notifications
You must be signed in to change notification settings - Fork 7
feat(token-ops): add group-governed token operations example app #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
79b95dd
feat(token-ops): add group-managed token operations example app
thephez ec8fb9c
feat(token-ops): redesign governance and pending-action cards
thephez 8fb5e66
feat(token-ops): show token state for all group members on overview
thephez 0966fce
refactor(token-ops): redesign overview and operations UI
thephez d9ab5df
feat(token-ops): add collapsible pending-action cards
thephez 46bce0c
feat(token-ops): refine pending-action UI and interaction feedback
thephez 0b556d3
feat(token-ops): redesign governance as capability cards
thephez cfc958e
test(token-ops): expand coverage and fix weak assertions
thephez d2a28fc
refactor(token-ops): unify group display and capability icons
thephez 860f11d
feat(token-ops): replace confirm dialogs with inline confirmation panels
thephez bb59353
feat(token-ops): show member standing and full group capabilities in …
thephez 67ae6be
feat(token-ops): replace standing banner with authority map summary
thephez 6c764e2
feat(token-ops): split governance into access control and groups tabs
thephez bf958d6
feat(token-ops): add token details card with explorer links and pendi…
thephez f0b302f
chore(token-ops): run npm format
thephez 36e13f7
feat(token-ops): accept a token ID or contract ID on the account screen
thephez f48b774
feat(token-ops): show token name and description on overview
thephez dc22c9a
feat(token-ops): allow appended groups of any Platform-valid size
thephez c4e681c
refactor(token-ops): separate contract registration into its own card
thephez 218f0a0
fix(token-ops): show real max supply from the fetched contract
thephez 46856f5
feat(token-ops): show DPNS names in place of identity IDs
thephez 7618ce2
docs(token-ops): add README and refresh CLAUDE.md
thephez bc811b3
feat(token-ops): add WIF private-key login alongside mnemonic
thephez e5db954
feat(token-ops): resolve WIF login via non-unique key-hash lookup
thephez d0fb534
test(token-ops): fix governance e2e for tabbed access-control layout
thephez b36e2bf
fix(token-ops): make top nav and pending view responsive on mobile
thephez a369b8e
feat(token-ops): auto select login input field on modal open
thephez f72c512
feat(token-ops): flag pending actions stranded by capability reassign…
thephez 34f4509
feat(token-ops): reframe overview as a governance dashboard
thephez 057a533
test(token-ops): cover overview dashboard authority aggregation and c…
thephez 91638cb
test(token-ops): cover session, settings, dpns cache, and governance/…
thephez 0b8f83e
test(token-ops): broaden e2e coverage across all views
thephez b64bf05
feat(token-ops): link to Dash Bridge from the login modal
thephez 4c1a7a3
refactor(token-ops): drop unused format/explorer exports
thephez b8d0ce0
test(token-ops): add read-only e2e coverage for Pending and Operations
thephez 2421bdc
fix(token-ops): refill contract input on clear override
thephez a995294
refactor(token-ops): merge Operations and Pending into one Actions tab
thephez fcb8848
test(token-ops): merge operations and pending e2e specs into actions
thephez 8bf4dda
ci(token-ops): add CI workflow mirroring dashrate
thephez dba9e4e
perf(token-ops): lazy-load the SDK to keep it off the boot path
thephez c6b10e8
feat(token-ops): gate governance actions on the signed-in identity's …
thephez 174b07c
fix(token-ops): address review comments
thephez 7a0c288
refactor(token-ops): extract core palette into CSS custom properties
thephez e440e6f
style(token-ops): address CSS review feedback
thephez 2fb0077
fix(token-ops): address review findings (#11)
thepastaclaw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| name: TokenOps CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - 'example-apps/token-ops/**' | ||
| - '.github/workflows/token-ops-ci.yml' | ||
| pull_request: | ||
| branches: [main] | ||
| paths: | ||
| - 'example-apps/token-ops/**' | ||
| - '.github/workflows/token-ops-ci.yml' | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| concurrency: | ||
| group: token-ops-ci-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| check: | ||
| name: test + build | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 15 | ||
| defaults: | ||
| run: | ||
| working-directory: example-apps/token-ops | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | ||
| with: | ||
| node-version-file: .nvmrc | ||
| cache: npm | ||
| cache-dependency-path: example-apps/token-ops/package-lock.json | ||
|
|
||
| - name: Show Node/npm versions | ||
| run: | | ||
| node -v | ||
| npm -v | ||
|
|
||
| - name: Install | ||
| run: npm ci | ||
|
|
||
| - name: Test | ||
| run: npm test | ||
|
|
||
| # tsc -b runs as part of build, so this covers the typecheck too. | ||
| - name: Build | ||
| run: npm run build | ||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Logs | ||
| logs | ||
| *.log | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| pnpm-debug.log* | ||
| lerna-debug.log* | ||
|
|
||
| node_modules | ||
| dist | ||
| dist-ssr | ||
| *.local | ||
|
|
||
| # Secrets | ||
| .env | ||
|
|
||
| # Artifacts | ||
| coverage | ||
| playwright-report/ | ||
| test-results/ | ||
|
|
||
| # Editor directories and files | ||
| .vscode/* | ||
| !.vscode/extensions.json | ||
| .idea | ||
| .DS_Store | ||
| *.suo | ||
| *.ntvs* | ||
| *.njsproj | ||
| *.sln | ||
| *.sw? |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| dist | ||
| node_modules | ||
| coverage | ||
| public/dashbounty-lite.html |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| {} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import js from "@eslint/js"; | ||
| import globals from "globals"; | ||
| import reactHooks from "eslint-plugin-react-hooks"; | ||
| import reactRefresh from "eslint-plugin-react-refresh"; | ||
| import tseslint from "typescript-eslint"; | ||
| import { defineConfig, globalIgnores } from "eslint/config"; | ||
|
|
||
| export default defineConfig([ | ||
| globalIgnores(["coverage", "dist"]), | ||
| { | ||
| files: ["**/*.{ts,tsx}"], | ||
| extends: [ | ||
| js.configs.recommended, | ||
| tseslint.configs.recommended, | ||
| reactHooks.configs.flat.recommended, | ||
| reactRefresh.configs.vite, | ||
| ], | ||
| languageOptions: { | ||
| ecmaVersion: 2020, | ||
| globals: globals.browser, | ||
| }, | ||
| }, | ||
| ]); |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <!doctype html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>TokenOps — Token Governance Lab</title> | ||
| <link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
| <link | ||
| rel="stylesheet" | ||
| href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" | ||
| /> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script type="module" src="/src/main.tsx"></script> | ||
| </body> | ||
| </html> |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.