Repository navigation
feat(chat): pick a new group's currency from a full-width row - #1805
Merged
Merged
Conversation
The New Public Group form now has a Community Currency section above
Minimum Balance Required, holding a row styled like the group profile's
Token row (32dp icon, 56dp tall, chevron). The balance card keeps only the
presets, and the caption names the chosen token: "People need this amount
of {Token} to join this chat."
In the picker, the Total Balance card is gone and Any Community Currency is
the last item. It still sends an empty mints list, so the server counts
USDF toward it until the contract can exclude it.
Layout follows Figma node 11745:1054.
Any Community Currency is the last row and already counts dollars in its USD total. Dollars aren't a community currency, so USDF is dropped from the specific-currency list in this sheet only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The New Public Group form picks its currency from a full-width row instead of the dropdown, laid out per Figma node 11745:1054 and styled like the group profile's Token row.
Any Community Currency still counts USDF. It sends an empty
mintslist, whichMinimumBalanceRequirementreads as every mint. Excluding USDF needs a contract change.The form still opens with Any Community Currency selected, as it did with Total Balance.
State.totalBalanceandState.allCurrenciesSatisfiedare removed along with the four Total Balance strings, since only the old card used them.