Skip to content

2024 01 22 gui toast error#120

Merged
thedavidmeister merged 4 commits intomainfrom
2024-01-22-gui-toast-error
Jan 23, 2024
Merged

2024 01 22 gui toast error#120
thedavidmeister merged 4 commits intomainfrom
2024-01-22-gui-toast-error

Conversation

@mattyg
Copy link
Copy Markdown
Contributor

@mattyg mattyg commented Jan 23, 2024

Store and component for displaying "toast" notifications.

Display toast upon ledger connection error.

image

@thedavidmeister thedavidmeister changed the base branch from 2024-01-22-gui-ledger-settings to main January 23, 2024 14:02
@thedavidmeister thedavidmeister merged commit 286b75c into main Jan 23, 2024
thedavidmeister added a commit that referenced this pull request May 4, 2026
When fetch_manifests fails as a batch (e.g. unsupported db-schema-version
in the served manifest) the runner used to synthesize a single
TargetFailure with chain_id=0 and Address::ZERO, so the UI rendered
"raindex 0x0000…0000 failed at ManifestFetch: …" for every chain. Use
the chain's first configured raindex (chain_id + address + key) so the
UI shows real identity. When settings has no raindexes configured at
all, surface that as the cause directly ("no raindexes configured: …")
instead of pretending a zero-address raindex exists.

Drop prettier and prettier-plugin-* from root package.json — rainix's
prettier-bundle (PR #120) supplies them via the dev shell, and the
no-consumer-prettier pre-commit hook now blocks commits if consumers
declare them. Reformat the file to 2-space indent applied by the
bundle's prettierrc.

Extends manifest_fetch_failure_leaves_state_unloaded to pin the new
identity (chain_id == 42161, raindex_address == RAINDEX_A,
raindex_key == "raindex-a").

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
thedavidmeister added a commit that referenced this pull request May 4, 2026
PR #120 in rainix replaces consumer-side prettier with a curated bundle
applied via the rainix pre-commit hook. Per its consumer-impact note,
downstream repos must drop prettier from package.json (already done for
the root), drop prettier-plugin-* from package.json, AND drop any
.prettierrc / prettier.config.* files.

Removes:
- workspace `format`, `format-check`, and the `prettier --list-different`
  portion of `lint` scripts in packages/{webapp,ui-components,raindex}
- packages/{webapp,ui-components,raindex}/.prettierrc files

Lint scripts now run eslint only. Format enforcement happens via the
rainix pre-commit hook.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants