-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review: v1.9.3 to master #729
Conversation
6217cd5
to
ccd4d1d
Compare
Use message center? |
- injectPostDialogSpy
- SelectRecipientsUI
9fefe3a
to
c2d8612
Compare
We need a new design about what to prompt if a user deletes their persona / disconnects all their profiles. @neruthes |
- Only Myself - Share to Everyone - close #642
d34967a
to
eaff769
Compare
eaff769
to
d19514c
Compare
const ref = getActivatedUI().typedMessageMetadata | ||
const next = new Map(ref.value.entries()) | ||
next.delete('com.maskbook.red_packet:1') | ||
ref.value = next | ||
if (props.onShareToEveryoneChanged) { | ||
await sleep(300) | ||
props.onShareToEveryoneChanged(false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why add a delay here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For resetting state of Share to Everyone
chip to unselect. In addition, ref.value = next
is async so wait a while to ensure really reseted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add a comment here
Should we remove all codes that related to shouldDisplayWelcome |
What text in what link? Could you offer additional context?
Let us consult @Tedko for an answer. Also, I would like to learn your ideas about DimensionDev/Maskbook-Talks#22.
The behavior has been defined in #407. Upon loading Dashboard: If there is no Persona currently, Dashboard will be in pre-initialization state; otherwise, Dashboard will be in post-initialization state. This selection is made every time when Dashboard is loaded. Nothings explicitly happens when the the user deletes all Personas. Next time the user loads Dashboard, the Dashboard will be displayed as Pre-Init state. |
No. I am talking about what if
|
We can revise these text from 'Happy New Year etc' to 'Best Wish' etc, and remove hashtags . I guess we can do an update about leading text around 元宵节 -- ping me again when you are ready to publish a new version |
Suggestion for initialization can be implemented in a way similar to #409, to be visible when the user visits a timeline page of a supported social network. I will note this for future reference. |
Big Changes
Notes
Discussions
WhyshouldDisplayWelcome
deprecated? ( @SunriseFox )Todos
hasRedPacket
should become a MaterialUI theme. ( @SunriseFox ? )useSettingsUI
out to a separate fileuseSettingsUI
Future todos:
createPersonaByMnemonic
? ( @SunriseFox , @guanbinrui )