Skip to content

docs: visualize keyboard shortcut for search#47507

Closed
dzonatan wants to merge 1 commit intoangular:mainfrom
dzonatan:feature/search-box-shortcut
Closed

docs: visualize keyboard shortcut for search#47507
dzonatan wants to merge 1 commit intoangular:mainfrom
dzonatan:feature/search-box-shortcut

Conversation

@dzonatan
Copy link
Contributor

PR Checklist

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current/new behavior?

Currently, there is no visual guidance on how to jump straight to the search box via keyboard shortcut.
Presenting the keyboard shortcut right in the search bar is pretty common these days:

  • Storybook image
  • Tailwindcss image
  • Vue.js image
  • Github image
  • Docusaurus image
  • the list goes on...

I didn't even know that Angular docs supports / shortcut for this already.
Would be a nice touch to show this the same way Github does.

Feel free to make any changes or reject, this is just a proposal.

Does this PR introduce a breaking change?

  • Yes
  • No

@pullapprove pullapprove bot requested a review from jessicajaniuk September 21, 2022 16:42
@ngbot ngbot bot added this to the Backlog milestone Sep 21, 2022
@jessicajaniuk jessicajaniuk added target: patch This PR is targeted for the next patch release aio: preview labels Sep 21, 2022
@mary-poppins
Copy link

You can preview b84bdc8 at https://pr47507-b84bdc8.ngbuilds.io/.

Copy link
Contributor

@jessicajaniuk jessicajaniuk left a comment

Choose a reason for hiding this comment

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

LGTM 🍪

I actually quite like how this looks! It's consistent with github and other sites. Thanks for this!

@jessicajaniuk jessicajaniuk added the action: merge The PR is ready for merge by the caretaker label Sep 21, 2022
@alxhub
Copy link
Member

alxhub commented Sep 23, 2022

This PR was merged into the repository by commit 291a5b3.

alxhub pushed a commit that referenced this pull request Sep 23, 2022
@alxhub alxhub closed this in 291a5b3 Sep 23, 2022
sonukapoor pushed a commit to sonukapoor/angular that referenced this pull request Sep 27, 2022
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 24, 2022
@dzonatan dzonatan deleted the feature/search-box-shortcut branch October 30, 2022 13:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants