Skip to content

feat($theme): Add search box placeholder setting to theme-config #1834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 10, 2019
Merged

feat($theme): Add search box placeholder setting to theme-config #1834

merged 1 commit into from
Sep 10, 2019

Conversation

boaz0
Copy link
Contributor

@boaz0 boaz0 commented Sep 3, 2019

Summary

Add search-box placeholder option to the config file
closes #1650

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Build-related changes
  • Other, please describe:

If changing the UI of default theme, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

You have tested in the following browsers: (Providing a detailed version will be better.)

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature
  • Related documents have been updated
  • Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

@flozero flozero added complexity: easy Easy complexity need feedback Awaiting author response labels Sep 5, 2019
@flozero flozero added topic: theme Relates to VuePress theme type: enhancement Request to enhance an existing feature version: 1.x Relates to version 1 of VuePress labels Sep 5, 2019
@flozero
Copy link
Collaborator

flozero commented Sep 5, 2019

hello @boaz0 do we have any tests for it ?

@boaz0
Copy link
Contributor Author

boaz0 commented Sep 5, 2019

@f3ltron nope, would you mind giving me a hint how I can test that?
I looked at plugin-search and components and didn't see any tests that I can learn from.

@flozero
Copy link
Collaborator

flozero commented Sep 5, 2019

That was just a suggestion ^^. I will have a look about it before review. Thank's for your work @boaz0 !

@flozero flozero self-assigned this Sep 5, 2019
@boaz0
Copy link
Contributor Author

boaz0 commented Sep 10, 2019

Thanks @kefranabg for your feedback. Updated the PR. Feel free to review again. 🙏

Copy link
Collaborator

@kefranabg kefranabg left a comment

Choose a reason for hiding this comment

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

Awesome @boaz0 💪

Thanks for your time.

@kefranabg kefranabg changed the title Add search box placeholder setting to theme-config feat($theme): Add search box placeholder setting to theme-config Sep 10, 2019
@kefranabg kefranabg merged commit c6f1322 into vuejs:master Sep 10, 2019
@vue-bot
Copy link

vue-bot commented Sep 10, 2019

Thanks again! 💚

@boaz0
Copy link
Contributor Author

boaz0 commented Sep 10, 2019

Thank you all @f3ltron & @kefranabg

@boaz0 boaz0 deleted the closes_1650 branch September 10, 2019 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: easy Easy complexity need feedback Awaiting author response topic: theme Relates to VuePress theme type: enhancement Request to enhance an existing feature version: 1.x Relates to version 1 of VuePress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to add placeholder to SearchBox from config
4 participants