core: alerts with information about registering names (#7653)

* minimal api change

* embed status. reduce

* drop fake owner change

* no-valid-link fix

* add UX flow for name lookups

* diagram edits

* corrections

* update name lookup API

* manual renaming

* implement core + cli

* implement UI

* fix

* build iOS app blindly

* shrink diff

* fix review comments

* review iterations

* opuse 5.5 /goal iterations

* fixes EP review

* fixes

* fixes

* short goal iterations

* refactor core-UI API to NameWarning with logic in core

* diff cosmetics

* simplify and normalize diagram

* add excalidraw normalizer script and test git hook

* cosmetics

* commit wireframe collab doc to repo as README

* review round on UX coverage

* iterate on /goal

* iterate on /goal

* add tests

* iterate on /goal

* fix freshness bug with local chats: When core marks a chat verified for a name, it now first un-verifies the user's other chats of the same kind:
  - a contact name covers contacts and business chats;
  - a channel name covers channels.

* align app divergences

* docs fixes

* iterations on /goal

* align excalidraw

* align and simplify core/UI/UXcanvas

* 27 rounds of /goal

* review

* core: simplify connect plan with name lookup

* simplify

* cache names in a separate table

* cache names resolution

* wip

* all

* fix

* remove cache

* update plans

* simplify

* bot types

* change types

* simplify

* update bot types

* remove review

* update view, tests

* simplify "unverify"

* update query plan

* changes

* simplify

* test helpers

* simpler

* update query plans

* fix

* query plans

* query plans

* fixes

* query plans

---------

Co-authored-by: Alain Brenzikofer <alain@encointer.org>
Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-10-13 17:05:15 +01:00
1 parent 2f4a443dda
commit 7306f3aeef
39 files changed
+2751 -385

No files matched your search

+68 -2
View File
@@ -81,6 +81,7 @@ This file is generated automatically.
- [CryptoFile](#cryptofile)
- [CryptoFileArgs](#cryptofileargs)
- [CtrlAppInfo](#ctrlappinfo)
- [DomainVerification](#domainverification)
- [DroppedMsg](#droppedmsg)
- [E2EInfo](#e2einfo)
- [ErrorType](#errortype)
@@ -144,7 +145,10 @@ This file is generated automatically.
- [MsgReceiptStatus](#msgreceiptstatus)
- [MsgSigStatus](#msgsigstatus)
- [MsgVerified](#msgverified)
- [NameChange](#namechange)
- [NameErrorType](#nameerrortype)
- [NamePrice](#nameprice)
- [NameWarning](#namewarning)
- [NetworkError](#networkerror)
- [NewUser](#newuser)
- [NoteFolder](#notefolder)
@@ -1870,10 +1874,12 @@ InvitationLink:
ContactAddress:
- type: "contactAddress"
- contactAddressPlan: [ContactAddressPlan](#contactaddressplan)
- nameChange: [NameChange](#namechange)?
GroupLink:
- type: "groupLink"
- groupLinkPlan: [GroupLinkPlan](#grouplinkplan)
- nameChange: [NameChange](#namechange)?
Error:
- type: "error"
@@ -2055,6 +2061,16 @@ Remote controller application info.
- compression: bool
---
## DomainVerification
**Enum type**:
- "failed"
- "verified"
- "moved"
---
## DroppedMsg
@@ -2494,7 +2510,7 @@ MemberSupport:
- rosterVersion: int64?
- membersRequireAttention: int
- viaGroupLinkUri: string?
- groupDomainVerified: bool?
- groupDomainVerified: [DomainVerification](#domainverification)?
---
@@ -2897,7 +2913,7 @@ Unknown:
- localBadge: [LocalBadge](#localbadge)?
- localAlias: string
- contactDomain: [SimplexDomainClaim](#simplexdomainclaim)?
- contactDomainVerified: bool?
- contactDomainVerified: [DomainVerification](#domainverification)?
---
@@ -3087,6 +3103,21 @@ SigMissing:
- type: "sigMissing"
---
## NameChange
**Discriminated union type**:
Lapsed:
- type: "lapsed"
- nameWarning: [NameWarning](#namewarning)
Moved:
- type: "moved"
- knownChat: [ChatInfo](#chatinfo)
---
## NameErrorType
@@ -3104,6 +3135,37 @@ RESOLVER:
- resolverErr: string
---
## NamePrice
**Record type**:
- amount: int64
- years: int
---
## NameWarning
**Discriminated union type**:
Expired:
- type: "expired"
- expiredAt: UTCTime
- graceUntil: UTCTime?
Available:
- type: "available"
- price: [NamePrice](#nameprice)
ReservedForCommunity:
- type: "reservedForCommunity"
NotRegistered:
- type: "notRegistered"
---
## NetworkError
@@ -3820,6 +3882,10 @@ NoValidLink:
UnknownDomain:
- type: "unknownDomain"
NameWarning:
- type: "nameWarning"
- nameWarning: [NameWarning](#namewarning)
---