Commit Graph
5 Commits
Author SHA1 Message Date
Narasimha-sc d97fe5fd0c ios: offer creating a profile for an invitation
Mirrors the Kotlin flow: both pickers get an "Add profile" row, and
CreateProfile gains an optional onCreate so the same form is reused. Each
picker's create function is five lines that end in the path a row tap
already takes - changeProfile(newUser) for a prepared chat,
selectedProfile plus .switchingUser for a one-time link.

The sheets are attached to body rather than to a row, because rows live
in a LazyVStack and profilePicker() is swapped for currentSelection()
when listExpanded flips. Surface 1's picker height is computed from the
row count, so it needs one more row.

The list is refreshed after creating, for the same reason as Kotlin, and
interactive dismissal is blocked while the create is in flight so backing
out cannot leave the invitation moved.

Not compiled: no Swift toolchain available.
2026-09-05 11:27:56 +00:00
80538850f1 ui: show badges in more contexts (#7084)
* core: fix delivery cursor not advancing to maximum group member id for posgtgres (#7043)

* ui: show badge in user picker above message entry

* core: send badge with channel owner profile

---------

Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-06-17 19:10:37 +01:00
spaced4ndyandEvgeny Poberezkin 2dd54c6697 core, ui: prohibit changing profile for prepared entity when first attempt to connect failed (#6037)
* core: prohibit changing profile for prepared entity when first attempt to connect failed

* reuse incognito

* schema

* ios

* postgres schema

* ios

* reenable tests

* kotlin

* update alert

* rename predicate, combine queries

* send the correct incognito mode, fail on attempt to change mode for prepared connection

* query plans

* ui: show group connecting status

---------

Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2025-07-05 11:09:10 +01:00
Evgeny 9794829d74 core: show group as sender, add contact card to contact request chats, unify api type for prepared and contact request chats (#6003)
* core: option to show group as sender of chat item (for the initial items, e.g. welcome message)

* add chat item to contact request chats

* return AChat for prepared chats and contact requests

* update iOS api types, show prepared contact as blue, show preview info when content message is not available (previously was showing feature item)

* ios: remove ContactType

* ios: show group as sender, fix avatar not showing when member message sequence starts with merged items

* ios: update compose UI for all connection scenarios

* address settings

* ios: address settings UI

* fix tests

* fix tests 2

* ios: fix minor issues
2025-06-23 14:42:00 +01:00
spaced4ndy b0ee13628b core: change user for prepared contact or group (#5985) 2025-06-13 14:38:17 +00:00