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

#3081 adv editor for comments #4224

Merged

Conversation

infinite-persistence
Copy link
Contributor

PR Checklist

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Fixes

Issue Number: Fixes #3081

What is the current behavior?

The simple editor is being used for comments, both in Claims and Channels.

What is the new behavior?

There will be a button to toggle between simple and markdown editor. I placed the button at the upper-right instead of at the bottom so that it doesn't make the "Done|Reply|etc" button area too busy.

image

…xtarea'.

Technically, the other modes can have a quick-action button as well, but for now it's not implemented since it's unlikely to be used.

The first usage will be to house the "toggle markdown editor" button, but it can be used for anything. The caller will handle the action.

It will be located at the upper-right, which is a better place for such a button. Putting the "toggle markdown editor" button on the bottom seems too far away and seems to make the 'Done|Cancel' area too busy/cluttered.
@neb-b
Copy link

neb-b commented May 21, 2020

Thanks for this! I'll give it a review/test sometime tonight or tomorrow morning.

@neb-b neb-b self-requested a review May 25, 2020 14:28
@lbry-bot lbry-bot assigned neb-b and unassigned neb-b May 25, 2020
Copy link

@neb-b neb-b left a comment

Choose a reason for hiding this comment

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

This is great. Nice work! 🙂

@lbry-bot lbry-bot assigned neb-b and unassigned neb-b May 25, 2020
@neb-b neb-b merged commit 8183b58 into lbryio:master May 25, 2020
@infinite-persistence infinite-persistence deleted the #3081-adv-editor-for-comments branch June 14, 2020 11:34
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 advanced editor feature on comments
2 participants