Skip to content

chore(example-apps): bump @playwright/test to 1.61.1 in dashmint-lab, dashnote, and dashproof-lab - #123

Merged
thephez merged 2 commits into
mainfrom
chore/playwright-1.61
Nov 16, 2026
Merged

thephez merged 2 commits into
mainfrom
chore/playwright-1.61

Conversation

@thephez

@thephez thephez commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

These three apps locked Playwright 1.60.0 while dashrate and token-ops lock 1.61.1, so each version pulled its own Chromium build (~640 MB apiece). Playwright 1.60 also refuses to install browsers on Ubuntu 26.04.

All five apps now share one Playwright version and one Chromium build. Only @playwright/test, playwright, and playwright-core change in the lockfiles; regenerated with the .nvmrc Node (22.22.3, npm 10.9.8).

Summary by CodeRabbit

  • Chores
    • Updated Playwright test tooling from version 1.59.1 to 1.61.1 across three example apps. The update applies to development and automated testing setup; it does not change end-user-facing features or application behavior. No other changes to the example apps are included in this release.

… dashnote, and dashproof-lab

These three apps locked Playwright 1.60.0 while dashrate and token-ops lock 1.61.1, so each version pulled its own Chromium build (~640 MB apiece). Playwright 1.60 also refuses to install browsers on Ubuntu 26.04, which the Docker Sandboxes agent image now uses; 1.61 supports it.

All five apps now share one Playwright version and one Chromium build. Only @playwright/test, playwright, and playwright-core change in the lockfiles; regenerated with the .nvmrc Node (22.22.3, npm 10.9.8).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 44 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fda7c5ee-9f67-4c99-b520-d2e21c35bb7c
Commits

Reviewing files that changed from the base of the PR and between 59cbb0f and 9d898a6.

Files ignored due to path filters: 5

  • example-apps/dashmint-lab/package-lock.json is excluded by !**/package-lock.json
  • example-apps/dashnote/package-lock.json is excluded by !**/package-lock.json
  • example-apps/dashproof-lab/package-lock.json is excluded by !**/package-lock.json
  • example-apps/dashrate/package-lock.json is excluded by !**/package-lock.json
  • example-apps/token-ops/package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 5

  • example-apps/dashmint-lab/package.json
  • example-apps/dashnote/package.json
  • example-apps/dashproof-lab/package.json
  • example-apps/dashrate/package.json
  • example-apps/token-ops/package.json

No actionable comments were generated in the recent review.

Walkthrough

Three example apps update the @playwright/test dev dependency range from ^1.59.1 to ^1.61.1.

Changes: Playwright dependency update

Layer / File(s) Summary
Update Playwright dependency ranges
example-apps/dashmint-lab/package.json, example-apps/dashnote/package.json, example-apps/dashproof-lab/package.json
The three package manifests update the @playwright/test dev dependency range from ^1.59.1 to ^1.61.1.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Merge Risk: Minimal · previous review 59cbb

This updates the Playwright test tooling in three example apps and does not touch runtime code. No merge-blocking risk is identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: bumping @playwright/test to 1.61.1 in the dashmint-lab, dashnote, and dashproof-lab example apps. The raw summary confirms that each app's @playwright/test devDependen…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: bumping @playwright/test to 1.61.1 in the dashmint-lab, dashnote, and dashproof-lab example apps. The raw summary confirms that each app's @playwright/test devDependency range moves from ^1.59.1 to ^1.61.1, so the title matches the changeset. It uses the conventional chore(scope) prefix and is specific enough for a reader scanning history. It is long at 97 characters, but the length does not hide the main change.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 41ec5483-410e-46d2-8118-27c3990cf5e7
Commits

Reviewing files that changed from the base of the PR and between dfad9b4 and 59cbb0f.

Files ignored due to path filters: 3

  • example-apps/dashmint-lab/package-lock.json is excluded by !**/package-lock.json
  • example-apps/dashnote/package-lock.json is excluded by !**/package-lock.json
  • example-apps/dashproof-lab/package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 3

  • example-apps/dashmint-lab/package.json
  • example-apps/dashnote/package.json
  • example-apps/dashproof-lab/package.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

The apps declared different caret ranges (^1.59.1 or ^1.61.1), so a plain npm install or npm update in one app could pull a newer Playwright and its own Chromium build, letting the apps drift apart again. Pin the exact version everywhere, as the apps already do for @dashevo/evo-sdk, so Playwright upgrades are deliberate and made in all five apps together.

Installed versions do not change: every lockfile already resolved 1.61.1. Only each package.json and the lockfile's root range change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@thephez
thephez merged commit 1c1f41e into main Nov 16, 2026
11 checks passed
@thephez
thephez deleted the chore/playwright-1.61 branch November 16, 2026 19:37
thephez added a commit to thephez/platform-docs-tutorials that referenced this pull request Nov 19, 2026
- test/e2e/ratings.spec.ts reads live testnet data, read-only: it finds
  the most-rated app with one SDK query (skipping if there is none),
  opens it, and checks the review list is server-ordered newest first and
  that the rating total (derived from the grouped-count histogram) equals
  the number of reviews listed once every page is loaded.
- Rating cards carry data-created-at, the "Most recent" ordering key (the
  visible time is the last edit and relative).
- Pin @playwright/test to exactly 1.61.1, as every sibling app on main
  does since dashpay#123, so all apps share one Chromium build. The caret range
  had resolved 1.62.1; only @playwright/test, playwright and
  playwright-core change in the lockfile (Node 22.22.3, npm 10.9.8).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
thephez added a commit that referenced this pull request Nov 24, 2026
…eviews (#127)

* feat(dashapps): initial commit with basic functionality

* feat(dashapps): add categories, taglines, tags, and in-app registry publishing

Extend the registry schema with tagline, category, tags, appUrl and iconUrl, and add a category browser, a provenance icon for owner-provided metadata, and a redesigned settings page with network switching and a "Publish a new registry" action that registers the contract and seeds curated system contract entries.

Point testnet at the newly deployed registry contract.

* chore: update default contract

* ci: add dashapps test

Add a Dashapps CI workflow matching the other example apps: npm ci, vitest, and a typechecked build on changes to the app or the shared SDK core.

* fix(dashapps): drop loading message and polish search field focus

Remove the "Loading…" status line that appeared below the search field while opening an app, and add a regression test for it.

Move the search field focus ring to the wrapper so the whole control highlights, and add spacing between the search box and the discover section.

* feat(dashapps): include registry entries in keyword search results

Search now matches cached registry entries by name, tagline, description, and tags and lists them ahead of raw keyword hits, deduplicating any contract that appears in both.

Registry entries are cached per network in SessionViews so they survive Browser remounts and are available to search without re-fetching.

Also set the search term and searched flag before the query resolves so the results header reflects the active search immediately.

* feat(dashapps): pin to testnet and skip malformed registry documents

Remove the network picker from the topbar and Settings, along with its styles and the stored network preference, so the session always connects to testnet. A stored mainnet preference is now ignored rather than rejected at the sign-in boundary.

The registry page reader previously mapped `registryEntry` over the whole result, so a single malformed document threw and discarded every valid entry on the page. `query` now returns the parsed entries alongside the raw row count and last document ID, skipping documents that fail validation while keeping pagination keyed to the server's response.

* feat(dashapps): confirm external app launches with a trust interstitial

Every "Launch app" link now opens an ExternalLaunch confirmation dialog instead of navigating straight out. The dialog names the destination hostname, shows the full URL, and states that DashApps neither controls nor endorses it.

* perf(dashapps): render cached contract summaries while revalidating

OwnerResolver now derives a plain ContractSummary from each found contract and persists it in localStorage, keyed by network. Detail screens, search results, and registry owner badges read the cache synchronously so they paint real content on the first frame instead of an empty shell, then update when the network read resolves.

Only found resolutions are persisted, and stored entries are validated field by field on load, so a missing contract, a failed read, or tampered storage cannot fabricate a summary. A confirmed-missing contract clears its cached summary; a failed revalidation leaves it visible. The store holds the 1000 most recent entries and treats quota or privacy-mode failures as non-fatal.

Registry loading now shows a skeleton entry rather than a bare status line, the detail refresh button reads "Refreshing…" while busy, and hero action pills get a fixed width so the layout does not shift as content arrives.

* feat(dashapps): rebuild the app detail page around a listing switcher

The detail page now leads with the app's own identity and resources instead of a raw metadata dump. The hero carries the category, publisher, and launch actions, an "About this app" section holds the description, tags, and website/repository/docs rows, and contract internals move into a collapsed "Technical details" panel that lists each document type with its property and index counts.

Canonical and community registry entries collapse into one listing switcher. The contract owner's listing is selected by default, the bar names whose listing is on screen, and expanding it shows every proposal with publisher, revision, and date so the choice is explicit. A contract with a single listing and no signed-in identity renders nothing rather than an empty switcher.

Add a header account control with sign-in and sign-out, and give the Mine screen its own sign-in card so neither path requires a trip to settings. Both sign-in dialogs and the external-launch interstitial now render through a portal into document.body, which keeps a modal click from also opening the card behind it.

Extract ContractCopyButton so copy confirmation is announced and its reset timer is cleared on unmount, render only http and https URLs from registry metadata as links, and strip repeated trailing dots from resolved DPNS names before appending the suffix.

* feat(dashapps): accept a WIF private key for sign-in

Sign-in now takes either a recovery phrase or a single authentication private key. The two shapes are told apart by whitespace, so a WIF skips mnemonic derivation entirely and resolves its identity by public-key hash instead. Neither secret is written to browser storage.

The key must be an AUTHENTICATION key at HIGH or CRITICAL security level. A MASTER key would sign in and then fail at the first write, so it is rejected up front with the level it actually carries, as are disabled keys. Key matching compares full secp256k1 keys and their HASH160 form, honoring the SDK's key type so a BIP13 script hash or EDDSA hash is never treated as signable by the pasted WIF.

A key registered to several identities resolves through the non-unique lookup, which pages until a second match proves ambiguity and then asks for an explicit identity ID rather than guessing. Pagination aborts if a cursor fails to advance. The form exposes that identity ID field for exactly this case.

Session and registry helpers now depend on a local DashKeyManager interface rather than the tutorial's IdentityKeyManager, so a WIF-backed session satisfies the same contract as a derived one.

Alongside this, listing management moves out of the registry section: the add and edit controls portal into the detail page's resource list, the metadata editor opens as a modal, and each explorer row can edit that identity's own entry for the contract.

* style: improve login

* chore(dashapps): list dashapps in example-apps docs and auth parity check

Add the dashapps entry to the example apps README and extend the shared-auth parity script to compare its login, secret-shape, key-manager, and resolver test files against Dashnote.

* fix(dashapps): discard own-entry results from a stale session scope

Tag the fetched own entries with the network/registry/identity they were loaded for and treat them as empty whenever that scope no longer matches, so switching session no longer shows the previous account's entries until the new fetch resolves.

* feat(dashapps): make discover cards clickable and collapse the category grid

Featured and also-featured cards now act as links to the app detail page, with keyboard activation and the inner Details button stopping propagation, and navigating to a detail page scrolls back to the top.

The category grid shows only the categories that have entries behind a "More categories" toggle, scrolling horizontally on narrow screens, and the shelf card lays its launch pill out on a grid instead of a column. Launch buttons read "Launch ↗" so they fit, and the redundant Details pill is hidden on mobile.

Extract the metadata editor modal into a shared component so both call sites close on Escape or a backdrop click.

* chore: add registry backup script

* feat(dashapps): add app ratings with a grouped-count histogram

Add an `appRating` document type to the registry contract: one 1–5 star rating per identity per contract with an optional title and review. Indices are the unique `ownerContract`, a countable + rangeCountable `byContractStars` for the grouped distribution, star filter and highest/lowest ordering, and `byContractCreated` for recency. No index is summable, so the shared-prefix aggregation conflict from dashpay/platform#3960 cannot occur; a schema test enforces that rule.

Reads derive the total and average client-side from a `GROUP BY stars` provable count and page reviews by document ID. Writes reuse the metadata write path (fresh target preflight, contract-aware serialization, revision bump, 40105 classified as edit), now shared through `documentWrites.ts`.

The app page gains a Ratings & reviews section under the metadata strip and an average in the hero: star meter, clickable histogram, star picker with a review editor modal, sort chips, review cards with DPNS names, and Edit/Remove for the signed-in user's own rating.

Point the testnet default at the republished registry `BXcWyLZDtcPrEmd8tmPt6A7h4YuqgPGVJU1PBvs1dYiS`. Add unit, component and app tests, and fix the smoke spec's ambiguous Search button match.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

* fix(dashapps): show the rating sign-in form in a modal

Signing in to rate no longer swaps out the ratings CTA in place; the form is portaled into a backdrop overlay that closes on an outside click, matching the header sign-in.

* fix(dashapps): sort ratings client-side and open sign-in as a modal

Platform silently ignores `desc` in `orderBy`, so "Most recent" and "Highest rated" came back ascending. `listRatings` now scans an app's ratings to completion through the serving index (100 per page, document-ID cursor, 2,000-document ceiling) and sorts in JS; the ratings section reveals 25 at a time with Show more instead of paging server-side.

"Sign in to rate" opens the same portal dialog as the header sign-in instead of rendering the form inline. Stub `window.scrollTo` in the app tests to silence jsdom's not-implemented noise from the detail page's scroll-to-top effect.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

* chore(dashapps): bump evo-sdk to 4.2.0-dev.11 and refresh README entry

Describe the ratings feature and registry submissions now that they work, replacing the "writes await schema probes" note.

* docs(dashapps): restructure CLAUDE.md and README to match sibling apps

Both files diverged from the format the other example apps share. CLAUDE.md read as a session log — attempt-by-attempt debugging narrative at specific block heights, superseded contract IDs, point-in-time test counts — and was missing Project Overview, Commands, Architecture, and the load-anchor rules every sibling documents. README.md had no section headings at all and described the app in terms of what it was being extended into rather than what it does.

Both now follow the sibling section order, link every file they name, and drop references to files that aren't tracked in the repo.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

* chore(dashapps): bump @dashevo/evo-sdk to 5.0.1

Brings dashapps in line with the rest of the repo. Build, lint, and all 155 unit tests pass without code changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(dashapps): decode grouped-count rating keys for protocol v14

Protocol version 14 (dashpay/platform#5350) stores unsigned integer index values in value order, so a grouped `count` by stars now returns keys "01".."05" instead of the sign-flipped "81".."85". dashapps looked up the old keys, so on current testnet every app's histogram, total, and average read as zero. A read-only testnet check confirmed the live registry returns "03", "04", "05" for the three rated apps.

Replace `starsKeyHex` with `starsFromKeyHex`, which decodes the returned keys and masks off the top bit so both the PV14 and pre-PV14 forms work. Unlike dashrate, which logs and skips an unrecognized key, dashapps keeps its existing behavior of rejecting a malformed count response so an encoding change surfaces as an error rather than a silent zero.

Unit tests now feed literal network-format keys rather than stubs built with the app's own encoder, which is why the break went unnoticed. The new tests fail against the previous code.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(dashapps): page ratings and categories in server order

The network now applies `desc` in orderBy, so the client-side workarounds go:

- Ratings: listRatings returns one server-ordered page instead of scanning
  to completion (2,000 ceiling) and sorting in JS. Most recent is
  `$createdAt desc` on byContractCreated; Highest/Lowest are `stars
  desc/asc` and the star filter is `stars ==`, both on byContractStars.
  Each page asks for limit + 1 so "Load more" only shows when another
  page exists, pages by document-ID startAfter, and rejects a cursor
  that does not advance. "Show more" (client reveal) becomes a server
  "Load more"; responses from an earlier load are dropped.
- Category browser: `category ==` + `$createdAt desc` with limit + 1
  paging and a Load more, replacing the first-25-ascending-then-reverse
  read that hid every entry past the 25th. Entries still collapse per
  target contract over what is loaded.
- Proposals for one contract: server `$createdAt desc` instead of an
  ascending scan reversed in JS (still read to completion for the
  listing switcher).
- Grouped-count keys decode as the plain rating byte; the old
  `& 0x7f` mask and its test are gone, and the old form now rejects the
  summary like any unknown key.
- myEntries stays a scan: no index orders an owner's entries by time.

The rating editor already stays locked while ratings reload after a save
(the own rating is scoped to the refresh token); that is now commented and
pinned by a test. Unit tests feed rows in an order no local sort produces,
so any client re-sort fails.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(dashapps): live ratings e2e spec and Playwright 1.61.1

- test/e2e/ratings.spec.ts reads live testnet data, read-only: it finds
  the most-rated app with one SDK query (skipping if there is none),
  opens it, and checks the review list is server-ordered newest first and
  that the rating total (derived from the grouped-count histogram) equals
  the number of reviews listed once every page is loaded.
- Rating cards carry data-created-at, the "Most recent" ordering key (the
  visible time is the last edit and relative).
- Pin @playwright/test to exactly 1.61.1, as every sibling app on main
  does since #123, so all apps share one Chromium build. The caret range
  had resolved 1.62.1; only @playwright/test, playwright and
  playwright-core change in the lockfile (Node 22.22.3, npm 10.9.8).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(dashapps): document server-side ordering and paging

- Replace the "Platform ignores desc" gotcha: the network sorts desc
  server-side, and allProposals and myEntries still read to completion.
- Grouped-count keys: plain rating byte only.
- Server-ordered paging pattern (limit + 1, last-shown cursor, no
  re-sort) in place of the client-sort rating-list note, plus a gotcha
  that a startAfter cursor is a live document.
- Index notes say which sort each index serves.
- Shared auth files: drop the stale DashNames reference and point at the
  repo's parity check script.
- e2e: describe the live ratings spec. README matches.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(dashapps): new registry schema with refersTo, endorsements and review aggregates

Replace the registry schema in contract.ts with the new schema.
Settings -> register now publishes it; the testnet default and all
reads/writes stay on the current registry.

- appMetadata: same property set; contractId refersTo a contract and is
  immutable; transferable 0 / tradeMode 0 so the endorsement's findBy
  keys never move; indices ownerContract (unique), contractEntries
  (countable + rangeCountable, unranked), contractRecent, recent,
  byCategoryRecent, byName, byOwner.
- appEndorsement: owner-only (contractRequirements.owner "self"),
  required mutable publisherId resolved by findBy on appMetadata's
  ownerContract, deletable, no history, transferable/tradeMode 0;
  indices byContract (unique), byPublisher, recent, byOwner.
- appReview: dashrate's review layout with owner "other"; averageable +
  ranked contractRating, unranked contractStars histogram, recency and
  per-star recency indices.
- No keywords: each costs 0.1 DASH at registration. The description
  stays (3-100 bytes, no registration fee of its own).
- buildRegistryContract builds the exact published contract (schemas,
  config, description) at the SDK's platform version and refuses older versions.

contractSchema.test.ts pins every property, index, required list,
refersTo, immutable list and the transferable/history rules, checks
findBy preconditions and the ranked-prefix rule, and parses the built
contract with the SDK's WASM parser, including four
schemas it must reject. The old "no summable index" (#3960) assertion
is gone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(dashapps): reviews on the new registry with proven aggregates

Ratings now read and write the registry's appReview type. The summary
takes its count and average from a proven `average` on contractRating
and its histogram from the grouped `count` with the stars range; a page
of apps gets its averages from one grouped `average` per 100 contracts,
converting the identifier hex keys and filling in unrated contracts.
Review lists page newest first through contractRecent and
contractStarsRecent, and a user's reviews through ownerRecent.

The write preflight now returns the target contract's owner, so an owner
reviewing their own contract is refused before broadcasting, and
reference, owner-requirement and immutability refusals from the network
are reworded for the user.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(dashapps): official entries from endorsements and paged registry reads

The testnet default is now the registry with appEndorsement. An entry is
official when the contract's owner has endorsed its publisher, replacing
the owner-derived classification and the unused canonical module. Pages
of entries get their official marker from one batched endorsement lookup,
Discover keeps one row per contract preferring the official entry, and
the detail page reads the endorsed publisher's entry plus a paged list of
every entry and its count.

Every entry list is now a server-ordered page: recent, category, name,
a contract's entries by last update, and My submissions through byOwner,
which replaces the read-to-completion scans. Edit buttons on a page come
from one `in` lookup of the signed-in user's entries.

Adds endorsement writes (endorse self or a delegate, re-point, withdraw),
returns the target's owner from entry creation, ranked and having reads
for top rated, most rated and 4-star-plus contracts with a hook that also
names their rows, and backs up all three document types.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(dashapps): describe the endorsement and review registry

Documents the three document types and their indices, the official-entry
rule, the aggregate, ranking and paging queries, and the gotchas they
bring: hex identifier keys, zero-filling empty groups, the histogram's
range clause, unordered ranking ties, and dangling endorsements.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(dashapps): stale listing pages, error wording and endorsement races

- ContractRegistry drops a "Load more listings" response once another
  contract or a refresh has started loading, and clears the official
  entry and listing count when their reads fail, so one contract's data
  never shows on another's page.
- submit takes the kind of write, so refusal wording comes from what the
  caller was doing instead of matching text in the error message.
- An endorsement race that already names the requested publisher returns
  "unchanged" instead of paying for a replace.
- Docs: the 4★+ set holds up to 100 contracts, and collapseByContract
  works across loaded pages.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(dashapps): official badges, leaderboard and owner endorsement controls

Discover's latest listings show an Official or Community badge and each
app's average and review count, with an "Official only" switch backed by
the endorsement feed and a 4★+ filter. A leaderboard panel ranks Top rated
and Most rated apps with review counts, shares ranks on ties and labels
community names.

On an app page the contract's owner sees which listing is official and can
mark any listed entry official, re-point or withdraw the endorsement, with
an explanation when the endorsed entry was withdrawn. Listing your own
contract offers the endorsement as a second step, the owner sees a note in
place of the review form, and My submissions lists endorsed contracts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(dashapps): describe the official badges, leaderboard and owner controls

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(dashapps): refresh leaderboards after writes and tidy owner flows

- The leaderboard and 4★+ set reload after a review is saved or removed
  and after any registry write, instead of staying on their first load.
- "Official only" no longer replaces the official publishers the
  featured shelves use.
- The official feed says "No official listings on this page." when more
  pages remain.
- After creating an entry, the mark-official step is skipped when the
  owner has already endorsed a listing, so it never re-points silently.
- "Not now" is a secondary button; the owner panel is a labelled section
  and the listing filter a labelled group.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(dashapps): flag a registry made for an older version of the app

A registry ID saved in the browser can point at an older registry that
lacks the endorsement and review document types, so every page showed
raw network errors. Check a non-default registry once per connection
and, when types are missing, show one notice with a button that clears
the saved ID and returns to the default registry instead of loading the
views.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(dashapps): run e2e on mobile and check live rating and badge invariants

Add a chromium-mobile project beside chromium-desktop, as in the sibling
apps, and drop the smoke test's manual viewport resize. New read-only
checks against the default registry, each comparing independent queries:
the star histogram sums to the review count, each Most rated row matches
the app's own count, every app the 4★+ filter keeps averages at least 4,
and an app from the Official only feed shows the Official badge. Apps are
found at run time and each test skips when the registry has no data.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(dashapps): retry a failed registry check and skip e2e without data

- A registry check that fails shows "Couldn't check the registry." with
  Try again, instead of loading views that would hit an older registry.
- The older-registry notice only suggests the default registry on a
  network that has one.
- Tests cover the pending and failed checks and that a current saved
  registry is actually checked.
- e2e: the Official badge check skips unless an endorsement still points
  at an existing entry, and the 4★+ check skips on an empty registry.
- Docs: the registry declares a description but no keywords.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(dashapps): make Settings' Change button open the registry editor

Change and Save registry shared one <button> element, so React flipped it
to type="submit" mid-click and the browser submitted the form: the editor
closed at once and the current registry ID was saved as an override.
Separate keys keep them distinct elements. Saving the default registry
now stores no override, so a later default still applies.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(dashapps): click through every guest control in the e2e suite

Discover, Search, category, app detail, Settings and the sign-in dialog
are now driven in a real browser on desktop and mobile: each control is
clicked or typed into and its visible result asserted, every page is
checked for console errors and horizontal overflow, and keyboard access
is covered. Bugs the suite exposes are kept as expected failures.

Spec files run on four workers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(dashapps): cover signed-in views and dialogs without writing

Signs in through the app's own form with PLATFORM_MNEMONIC and checks
the header, identity chip, owner panel, Mine and its endorsements, and
the listing and review dialogs, which are filled, validated and
cancelled. Skips when no mnemonic is set; traces are off for the file.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(dashapps): fix search, dialog focus, loading and back-link issues

- Search waits for the connection and queries registry names through the
  byName index instead of only Discover's loaded page; a rejected keyword
  shows just its error.
- Every dialog closes on Escape and returns focus to the control that
  opened it, including sign-in and the listing editor.
- A guest who adds an app gets a sign-in prompt for their entry.
- The feed, Official only and the leaderboard show a loading state until
  their first load instead of an empty message.
- An app page's back link names the view it returns to, and Technical
  details says Collapse while open.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(dashapps): merge the e2e suite into one spec per view

Merges tests that walk the same view into one test per view or control
group, folds the official-badge and 4★+ invariants into Discover's spec,
and reuses the shared fixture across specs. Each fixed bug and the
Settings Change button keep a regression check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(dashapps): describe the e2e suite and its signed-in spec

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(dashapps): merge search results per app and return focus to inline sign-in

Search shows one row per contract, preferring the official listing, and
runs the name and keyword searches independently: a term too short or
long for a keyword still searches names, and one failed search no
longer hides the other's results. Closing an inline sign-in form
focuses its card's "Sign in" button again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(dashapps): never press a write button and pick the newest listing

The signed-in spec checks the listing form's validity instead of
pressing its submit button; the Search test escapes the listing name
in its pattern, and listedName() orders by creation time.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(dashapps): search for the listing name Search actually shows

listedName now returns the newest app's official or only listing, so the
Search test keeps passing once a contract has a second, unofficial entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(dashapps): keep listings, badges, edits and launches consistent

Discover's cached entries are scoped to the registry they came from, so
Search no longer shows the previous registry's apps. A failed
endorsement read clears the Official badge instead of keeping the one
seeded from Discover. Listing and review edits are refused when the
network has a newer revision than the editor opened with. App URLs must
use HTTPS, and only HTTPS ones offer Launch. Key presses in the launch
dialog no longer reach the card behind it. A failed lookup of your own
review shows an error with Try again instead of checking forever.

Playwright now loads the repo .env through dotenv, as the sibling apps do.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(dashapps): refuse a review saved after a blank editor opened

A review editor opened with no review now refuses to replace one saved
in the meantime, while the duplicate-create recovery still replaces.
Revision checks use the same default as the reads. A failed read of
your own listing hides Edit, an unknown endorsement shows no provenance
label, and Launch buttons use the URL they already checked.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(dashapps): start a fresh server whenever a recovery phrase is set

Guest runs still reuse a running dev server outside CI, but a run with
PLATFORM_MNEMONIC set starts its own and fails if the port is taken, so
the phrase is never typed into a server the run didn't start.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(dashapps): page name search results with Show more

Name matches keep their own cursor, so Show more continues whichever
search still has another page. A second app past the first page of
listings for a popular name is now reachable.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(dashapps): save a review only as the write the editor started

A first review only creates: an existing review, or a duplicate on
create, asks the reviewer to reload instead of replacing it. An edit
only replaces the review it opened, at the revision it opened, so a
removed review is never re-created.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(dashapps): keep a search failure noted until that search loads

Show more may run only one of the two searches, so a failure stays
noted until the search that failed loads again or a new search starts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
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.

1 participant