Repository navigation
Shortcuts streamline & help page the second - #1612
Conversation
✅ Deploy Preview for selfoss canceled.
|
jtojnar
left a comment
There was a problem hiding this comment.
Thanks. This looks very good already, just few details.
|
@jtojnar Thanks for the review! Do I amend the changes into the original commits, or apply them as individual commits? |
|
Please amend/use fixup commits and then |
1731898 to
c604290
Compare
| readableKeycombo = <kbd>{keybinding.readableName}</kbd>; | ||
| } else if (keycombo.includes('+')) { | ||
| const keys = keycombo | ||
| .split('+') // key={key} required for TS |
There was a problem hiding this comment.
// key={key} required for TS
This is general react thing: https://react.dev/learn/rendering-lists
It should not really be necessary here as the keybindings will never change but the compiler unfortunately is not smart enough.
I am surprised it does not complain about the fragment containing dt + dd.
| description: 'show help', | ||
| action: () => {}, | ||
| }, | ||
| '[Shift]+?': { |
There was a problem hiding this comment.
We should also add it to the static docs.
There was a problem hiding this comment.
Sure! Although, perhaps finishing up the auto-generated docs table might be better to make sure nothing falls through the cracks properly? Shift+R is also undocumented in the docs as of now
dd420ff to
d918445
Compare
|
With the exception of your fragment comment, everything has been implemented! Some notes:
|
b04039f to
e342a0f
Compare
jtojnar
left a comment
There was a problem hiding this comment.
Thanks, this looks almost perfect, just two last nits.
288c375 to
1597b69
Compare
|
I am having an incredibly weird issue locally. npm run fixThe file is changedCommit changePushProblem returnsRebasing from upstream didn't help. The issue seems to occur after git pushing. I'm presuming there's something wrong on my end |
…ate-heavy format All keybindings have been tested manually since conversion
…from the docs - Adapted arrow left & arrow right to the symbol used in docs - Exception: "item" is replaced by "entry" for consistency - Exception: Renamed throws to throw to previous / throw to next Link to docs as of development of this commit: https://github.com/fossar/selfoss/blob/81187a39a1b1db0e2d48fb0fccad949ca771a635/docs/content/docs/usage/shortcuts.md
1597b69 to
ab53d7e
Compare
|
Did you try npm install after rebase? There might be a newer version of prettier on master. |
ab53d7e to
1b75c37
Compare
No change I'm afraid! EDIT: Of course. The newline was accidentally added to the last commit, so fixing up the second to last commit had no effect. Fixed it now |
1b75c37 to
d9f5560
Compare
jtojnar
left a comment
There was a problem hiding this comment.
Thanks, though looks like it is no longer styled.
Thanks to Jan for getting it to display using <dialog>! And dealing with a bunch of my questions. Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
d9f5560 to
7459407
Compare
Thanks for the callout! Fixed my rebasing with all the suggested changes |
|
Perfect. Thanks. |
Re-open because Github doesnt like force pushes. Alas. Cleaned up & finished version of #1609 !