Skip to content
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

feat: Support placeholder for inline search input #404

Merged
merged 7 commits into from
Sep 28, 2020

Conversation

ldeveber
Copy link
Contributor

What does it do?

Adds option texts.inlineSearchPlaceholder to customize the placeholder text for the inline search input

Screen Shot 2020-07-28 at 12 23 04 PM

Fixes # (issue)

Closes #388

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • Updated documentation (if applicable)
  • Added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • My changes generate no new warnings

@coveralls
Copy link

coveralls commented Jul 28, 2020

Pull Request Test Coverage Report for Build 1509

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.06%) to 93.901%

Totals Coverage Status
Change from base Build 1495: -0.06%
Covered Lines: 598
Relevant Lines: 619

💛 - Coveralls

@mrchief
Copy link
Collaborator

mrchief commented Aug 9, 2020

@ldeveber I'm wondering if we can do this without adding one more option. What if we hide the original placeholder when inline option is set? What's the point of having 2 placeholders?

@ldeveber
Copy link
Contributor Author

ldeveber commented Aug 10, 2020

@ldeveber I'm wondering if we can do this without adding one more option. What if we hide the original placeholder when inline option is set? What's the point of having 2 placeholders?

@mrchief Because the UX I need to support is:
Screen Shot 2020-08-10 at 11 26 51 AM
where it needs to say "Select a field..." and "Search"

@ldeveber
Copy link
Contributor Author

@ldeveber I'm wondering if we can do this without adding one more option. What if we hide the original placeholder when inline option is set? What's the point of having 2 placeholders?

@mrchief Because the UX I need to support is:
Screen Shot 2020-08-10 at 11 26 51 AM
where it needs to say "Select a field..." and "Search"

@mrchief bump :(

@mrchief
Copy link
Collaborator

mrchief commented Aug 17, 2020

@ldeveber It hasn't dropped from my radar. Things have been busy lately but I have been going thru options to see if there's something more we can do.

@ldeveber
Copy link
Contributor Author

@ldeveber It hasn't dropped from my radar. Things have been busy lately but I have been going thru options to see if there's something more we can do.

@mrchief any updates?

@stale
Copy link

stale bot commented Sep 20, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 20, 2020
@ldeveber
Copy link
Contributor Author

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@mrchief any updates? :(

@stale stale bot removed the stale label Sep 21, 2020
@mrchief
Copy link
Collaborator

mrchief commented Sep 21, 2020

@ldeveber sorry about the delay. The PR looks good. I'm thinking if it'd be helpful to add it to Options playground.

image

You can add that under docs/src/stories/Options and the netlify status check will let you preview your branch changes.

image

@ldeveber
Copy link
Contributor Author

@ldeveber sorry about the delay. The PR looks good. I'm thinking if it'd be helpful to add it to Options playground.

image

You can add that under docs/src/stories/Options and the netlify status check will let you preview your branch changes.

image

Oh neat. I will update this :)

@codeclimate
Copy link

codeclimate bot commented Sep 24, 2020

Code Climate has analyzed commit 7141fb0 and detected 0 issues on this pull request.

View more on Code Climate.

@ldeveber
Copy link
Contributor Author

ldeveber commented Sep 24, 2020

@ldeveber sorry about the delay. The PR looks good. I'm thinking if it'd be helpful to add it to Options playground.

@mrchief All set! :)

Screen Shot 2020-09-24 at 10 46 18 AM

NOTE: this is after changing the text, not the defaults haha :)

@mrchief
Copy link
Collaborator

mrchief commented Sep 27, 2020

@ldeveber I see you added the option for placeholder text as well, thanks for that! This looks good! I'll try to get it out this weekend.

@mrchief mrchief merged commit dd2dbbc into dowjones:develop Sep 28, 2020
@github-actions
Copy link

🎉 This PR is included in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ldeveber ldeveber deleted the 🕵🏻‍♀️ branch September 28, 2020 15:56
m4theushw pushed a commit to m4theushw/react-dropdown-tree-select that referenced this pull request Feb 6, 2021
Co-authored-by: Hrusikesh Panda <mrchief@users.noreply.github.com>
m4theushw pushed a commit to m4theushw/react-dropdown-tree-select that referenced this pull request Feb 6, 2021
Co-authored-by: Hrusikesh Panda <mrchief@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for different texts for the dropdown and inline search input?
3 participants