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

add option to disable mimic output to console (#215) #285

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add option to disable mimic output to console (#215) #285

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 11, 2019

Please review.

@@ -39,6 +39,16 @@ class SettingsSection extends React.Component {
Always show Mimic buttons
</label>
</SettingsBlock>
<SettingsBlock>
<label htmlFor="disable-output">
Copy link
Owner

Choose a reason for hiding this comment

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

Please use either Div or Span components from lib/ui/components/common/base.js
To avoid css leakage

Copy link
Author

Choose a reason for hiding this comment

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

Sorry, I'm not very experienced with React.

Do you mean to replace <label htmlFor="disable-output"> with: <Div> or <Div htmlFor="disable-output">?

If yes, then the user won't be able to click the text to toggle the checkbox.

I used as an example the input above this one which also uses <label>(and we use <label> in more places in the ui in the same fashion).

Maybe we need to create a new Label component in lib/ui/components/common/base.js?

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.

1 participant