Skip to content

webapp: names page fixes from the review: names only at a taken order's price, the held code's note, the mock as the service - #26

Draft
evgeny-simplex wants to merge 19 commits into
simplex-chat:namesfrom
evgeny-simplex:ep/names-page-fixes
Draft

evgeny-simplex wants to merge 19 commits into
simplex-chat:namesfrom
evgeny-simplex:ep/names-page-fixes

Conversation

@evgeny-simplex

@evgeny-simplex evgeny-simplex commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

The page's fixes from the review of simplex-chat/simplex-chat#8243 and #25, one commit per finding, so that any of them can be dropped.

  • F17: in Choose another name, Register is offered only for a name at the taken order's price, or one its code covers; for a name of another price the search says the price the payment covers ("Your payment covers names at $100 for 2 years.").
  • Check your code: a code that an order in this browser holds is noted as held by it, "This code is held by your order for .", with "Open your order", in a neutral box in place of the red refusal; the refusal stays for a code held by an order this browser does not know.
  • F18: the mock sends a transaction that did not go out again until it goes out, with no count that fails the order (MOCK_RESENDS removed); the case that expected the count to fail the order is removed.
  • F31: the mock answers the second of two retries at once of a lapsed order bad_request, as the order is no longer lapsed; the contract case expects [200, 400].
  • F32: the unit tests compare the commitment secret and the sealed name with the service's vector order (vectorOrder, NamesOrdersTests.hs).
  • F30: the case of a failed registration in another tab asserts that tab's lead and buttons.
  • F35: "Keep this page open until the name is registered." is shown only while the order awaits a signature or its commitment lapsed; Check your order no longer says it, and keeps "Pay with ETH".
  • F7, F35, launch prices: TODO items 57–59 for the language audit.
  • F27: the retry refusal code_reserved, which no page stored and the service no longer answers, is removed.
  • A reserved name is shown as found: its row is marked Reserved, without Register, and under the row "If you want to use this name, please contact us via chat@simplex.chat or SimpleX."; its two screens are recorded again.

Further commits follow: F11, F25, the rest of F27 if decided, and the screens' baselines.

…egistered for it, and the search says the price its payment covers
…ted as held by it, with a link to the order, in place of the refusal
…ntil it goes out, as the service does, with no count that fails the order
…lapsed order bad_request, as the service does, as the order is no longer lapsed
…the sealed name with the service's vector order
…s a signature or its commitment lapsed, and Check your order no longer asks it
…sentence and the launch-price texts are listed for the language audit
…no page stored and the service no longer answers, is removed
…classes, which a shown verdict adds to in Firefox and WebKit
…served, as the page cannot tell whether it committed
…econds, past the mock's former 12 resends, so a count that fails the order fails the case
# Conflicts:
#	webapp/dev/mock/service.ts
#	webapp/test/contract/store.test.ts
#	webapp/test/crypto.test.ts
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