Skip to content

add shortcut legend#28

Merged
Kully merged 3 commits into
Kully:masterfrom
jkl3848:keyboard-shortcut-legend
Oct 7, 2024
Merged

add shortcut legend#28
Kully merged 3 commits into
Kully:masterfrom
jkl3848:keyboard-shortcut-legend

Conversation

@jkl3848

@jkl3848 jkl3848 commented May 29, 2024

Copy link
Copy Markdown
Contributor

I thought it might be handy to have the keyboard shortcuts list on the page itself, instead of having to reference the git repo. I tried to keep the style simple.

@Kully

Kully commented Jun 4, 2024

Copy link
Copy Markdown
Owner

@jkl3848 Good idea and would probably be helpful.

I have a couple comments:

  1. We should probably allow it to be collapsable.
  2. It right now sits too far low. We want to place it in a more accessible place.
  • Maybe it makes sense to fix its position to the top left?
  • We could also hide it away and open it in a modal when you click on an "info" button?

Maybe something like this? What do you think?

image

@Kully

Kully commented Aug 1, 2024

Copy link
Copy Markdown
Owner

@jkl3848 Hey just checking in? Are you still tryin to get this merged (and the other one you started #29 )

@jkl3848

jkl3848 commented Oct 2, 2024

Copy link
Copy Markdown
Contributor Author

@jkl3848 Hey just checking in? Are you still tryin to get this merged (and the other one you started #29 )

Sorry I've been MIA. Been busy with some other projects. Yes I hope to finish these up soon.

@Kully

Kully commented Oct 2, 2024

Copy link
Copy Markdown
Owner

Sorry I've been MIA. Been busy with some other projects. Yes I hope to finish these up soon.

Sounds good! No worries, we are all busy people 🙏

Reviewing the PR again, it already looks like we are indicating the shortcuts for some of the commands: if you hover over some of the buttons, it shows you the commands.

example:
image

But some of them are not indicated, as you have indicated in the legend.

To not repeat ourselves, we could maybe just keep these 3 in the shortcut:

image

Curious what you think :)

@jkl3848

jkl3848 commented Oct 2, 2024

Copy link
Copy Markdown
Contributor Author

Just to make sure I understand, you're saying just keep those three in the legend, since the others are already in tooltips?

@Kully

Kully commented Oct 2, 2024 via email

Copy link
Copy Markdown
Owner

@jkl3848

jkl3848 commented Oct 2, 2024

Copy link
Copy Markdown
Contributor Author

Sounds good. I'll make the change

@jkl3848

jkl3848 commented Oct 3, 2024

Copy link
Copy Markdown
Contributor Author

@Kully Ok I removed the extra shortcuts and switched to a onHover popover. Let me know what you think.

I dont mind replacing the word with an icon, I just wasn't sure what you use for icons.

@jkl3848 jkl3848 force-pushed the keyboard-shortcut-legend branch from 656e365 to 6dd452f Compare October 3, 2024 20:23
@Kully

Kully commented Oct 7, 2024

Copy link
Copy Markdown
Owner

@Kully Ok I removed the extra shortcuts and switched to a onHover popover. Let me know what you think.

I dont mind replacing the word with an icon, I just wasn't sure what you use for icons.

Thanks for removing the extra shortcuts.

I felt the placement on the screen however was a little unintuitive in that it is not obvious that something will happen when you hover or click on it (not your fault, I didn't give a design requirement for this task).

I did some tweaking in CSS. Do you mind applying these changes? Once you do, we should be ready to merge. 🙌

Screen Shot 2024-10-07 at 12 06 17 PM

@jkl3848

jkl3848 commented Oct 7, 2024

Copy link
Copy Markdown
Contributor Author

@Kully Ok I removed the extra shortcuts and switched to a onHover popover. Let me know what you think.
I dont mind replacing the word with an icon, I just wasn't sure what you use for icons.

Thanks for removing the extra shortcuts.

I felt the placement on the screen however was a little unintuitive in that it is not obvious that something will happen when you hover or click on it (not your fault, I didn't give a design requirement for this task).

I did some tweaking in CSS. Do you mind applying these changes? Once you do, we should be ready to merge. 🙌

Screen Shot 2024-10-07 at 12 06 17 PM

LGTM 👍🏻

@Kully

Kully commented Oct 7, 2024

Copy link
Copy Markdown
Owner

LGTM 👍🏻

Let me know if you are able to make these changes and we can go from there.

(PS I don't think I have permissions to, otherwise I would have done it 😛)

@jkl3848

jkl3848 commented Oct 7, 2024

Copy link
Copy Markdown
Contributor Author

@Kully Ok should be good to go

@Kully

Kully commented Oct 7, 2024

Copy link
Copy Markdown
Owner

@Kully Ok should be good to go

Superb! Thank you!! 💃

@Kully Kully left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM!

@Kully Kully merged commit 9b77fe5 into Kully:master Oct 7, 2024
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.

2 participants