Skip to content

Make input box more visible.#6605

Merged
rchiodo merged 6 commits into
masterfrom
rchiodo/input_box_useability
Jul 16, 2019
Merged

Make input box more visible.#6605
rchiodo merged 6 commits into
masterfrom
rchiodo/input_box_useability

Conversation

@rchiodo
Copy link
Copy Markdown

@rchiodo rchiodo commented Jul 16, 2019

For #6381

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Has a news entry file (remember to thank yourself!)
  • Appropriate comments and documentation strings in the code
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated
  • Test plan is updated as appropriate
  • package-lock.json has been regenerated by running npm install (if dependencies have changed)
  • The wiki is updated with any design decisions/details.

@rchiodo rchiodo self-assigned this Jul 16, 2019
@rchiodo
Copy link
Copy Markdown
Author

rchiodo commented Jul 16, 2019

This is what it looks like after the change

Input

border-top-width: 1px;
} No newline at end of file
border-top-width: 2px;
background-color: var(--override-peek-background, var(--vscode-peekViewEditor-background));
Copy link
Copy Markdown
Author

@rchiodo rchiodo Jul 16, 2019

Choose a reason for hiding this comment

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

override [](start = 28, length = 8)

Actually this needs to be updated. It won't turn off if the user sets the setting to false
#Resolved

private renderInputs = () => {
if (this.showInputs()) {
const backgroundColor = this.props.cellVM.cell.type === 'preview' ?
const backgroundColor = this.props.cellVM.cell.type === 'preview' || (getSettings().colorizeInputBox && this.props.cellVM.editable) ?
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I suppose this might cause issues when you do your work to make more cells editable (editable will no longer be equal to input box) but we can just deal with this at that time.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Yeah I think we'll get rid of the preview state at that point.


In reply to: 304099600 [](ancestors = 304099600)

Copy link
Copy Markdown
Member

@IanMatthewHuff IanMatthewHuff left a comment

Choose a reason for hiding this comment

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

:shipit:

@rchiodo rchiodo merged commit 98dd5e6 into master Jul 16, 2019
@rchiodo rchiodo deleted the rchiodo/input_box_useability branch July 16, 2019 20:29
@lock lock Bot locked as resolved and limited conversation to collaborators Jul 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants