Skip to content

Conversation

carlosms
Copy link
Contributor

Fix #293.

@ricardobaeta please comment on icon placement. Also, it would be good if you could provide it as svg instead of png, like the rest of the icons.

Although it feels to me it is not too subtle for a help icon... One thing we could change: remove this keyboard icon, and have the top-right 'Help' button we already have open a modal with the text:

For a reference of gitbase SQL, please read https://docs.sourced.tech/gitbase

Keyboard shortcuts:
[table]

image

image

Copy link
Contributor

@smacker smacker left a comment

Choose a reason for hiding this comment

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

But I like that idea with "top-right 'Help' button" more

@ricardobaeta
Copy link

ricardobaeta commented Jan 10, 2019

Already talked with @carlosms about this on slack and "only the help button, and then inside the modal, the link to the reference and the keyboard shortcut list" seems like an elegant solution to this UI.

Sorry for missing this notification.

Copy link
Contributor

@dpordomingo dpordomingo left a comment

Choose a reason for hiding this comment

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

LGTM but a couple of nitpicking concerns

<Modal show={showModal} onHide={onHide} bsSize="medium">
<Modal.Header>
<Modal.Title>
KEYBOARD SHORTCUTS
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd prefer un text-transform with CSS

<tbody>
<tr>
<td className="keys">
<div className="key">Ctrl</div> +{' '}
Copy link
Contributor

Choose a reason for hiding this comment

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

mmmm... is the {' '} any kind of sorcery to add space between + and Enter?
If so, why not using a left padding/margin, or a cleaner &nbsp;?

Signed-off-by: Carlos Martín <carlos.martin.sanchez@gmail.com>
@carlosms
Copy link
Contributor Author

Redone as one modal including the gitbase docs link and the shortcuts table, including the suggestions made by @dpordomingo

image

Copy link

@ricardobaeta ricardobaeta left a comment

Choose a reason for hiding this comment

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

Thank you Carlos 👍

@carlosms carlosms merged commit cd0e5f6 into src-d:master Jan 15, 2019
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.

5 participants