Skip to content
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

feat: add message to warn user about draft issues #2500

Merged
merged 2 commits into from
Jul 28, 2021

Conversation

victorgcramos
Copy link
Member

This diff closes #2496 by adding the warning on DraftSaver component.

UI Changes Screenshot

Screen Shot 2021-07-27 at 6 23 55 PM

@lukebp
Copy link
Member

lukebp commented Jul 27, 2021

I don't think this should be a tooltip. People won't see it until they go to save the draft, which is too late a lot of the time. I think this should be some type of banner.

@tiagoalvesdulce thoughts?

@victorgcramos
Copy link
Member Author

what about that, @lukebp?
Screen Shot 2021-07-27 at 7 12 01 PM

@lukebp
Copy link
Member

lukebp commented Jul 27, 2021

That's not really going to be noticable. We want to prevent the user from writing their proposal in the markdown editor. It needs to be very apparent to somebody starting to write a new proposal.

@victorgcramos
Copy link
Member Author

maybe this?

Screen Shot 2021-07-27 at 7 18 17 PM

@lukebp
Copy link
Member

lukebp commented Jul 27, 2021

I like that a lot.

Copy link
Member

@tiagoalvesdulce tiagoalvesdulce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tiagoalvesdulce tiagoalvesdulce merged commit 3ab8383 into decred:master Jul 28, 2021
@victorgcramos victorgcramos changed the title feat: add tooltip to warn user about draft issues feat: add message to warn user about draft issues Jul 28, 2021
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.

Add warning to markdown editor
3 participants