Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

feat(navbar): adds customizable search and label color #148

Merged
merged 11 commits into from
Dec 30, 2019
Merged

feat(navbar): adds customizable search and label color #148

merged 11 commits into from
Dec 30, 2019

Conversation

ocBruno
Copy link
Contributor

@ocBruno ocBruno commented Dec 11, 2019

add customizable search placeholder/button text and label color

feat

Fixes #131

Changes proposed in this pull request:

  • Added custom search placeholder/button text
  • Added custom label color
  • Restyle naming conventions onSearchButtonClick style to a scoped onClickButton style
  • Propose new format for documentation
    (Separate brand and search properties which are class instances into individual doc files of Navbar folder for better structure, organization and navigation.

-I had to close and create a new pull request because I had the wrong email configured in my git

add customizable search placeholder/button text and label color

feat
Fixed the doc according to brand property but think we should extract each Class property into
individual files into a Navbar folder for easier navigation, visualization and an improved structure

fix #131
@ocBruno ocBruno changed the title Navbar enhancements (feat) add navbar enhancements Dec 11, 2019
src/components/Navbar/interfaces.tsx Outdated Show resolved Hide resolved
src/components/Navbar/interfaces.tsx Outdated Show resolved Hide resolved
src/components/Navbar/Navbar.tsx Outdated Show resolved Hide resolved
src/components/Navbar/interfaces.tsx Outdated Show resolved Hide resolved
src/components/Navbar/interfaces.tsx Outdated Show resolved Hide resolved
src/components/Navbar/Navbar.tsx Outdated Show resolved Hide resolved
</NavbarRB.Brand>

<NavbarRB.Collapse id="responsive-navbar-nav">
<Nav className="mr-auto">{navLinks.map((link, index) => getNavLinks(link, index))}</Nav>
<Nav>
<Form inline>
<FormControl
Copy link
Member

Choose a reason for hiding this comment

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

We might want to consider refactoring this text box to be our own TextBox component. Do you want to do that in this pull request. Otherwise, we can open an issue and do it later

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was giving this one a shot but I am a little lost on the necessary props and how what will be used as TextBox so I'm not sure if i commit my best attempt with atleast the basic structure in place or if we leave it for another issue. Thanks for the feedback!

src/components/Navbar/interfaces.tsx Outdated Show resolved Hide resolved
test/navbar.test.tsx Show resolved Hide resolved
@matteovivona matteovivona changed the title (feat) add navbar enhancements feat(navbar): adds customizable search and label color Dec 13, 2019
@matteovivona matteovivona added this to the v1.0.0 milestone Dec 13, 2019
@matteovivona matteovivona added enhancement New feature or request in progress labels Dec 13, 2019
@jackcmeyer
Copy link
Member

@ocBruno There are some label related files in here. Could you remove them, please?

@ocBruno
Copy link
Contributor Author

ocBruno commented Dec 19, 2019

@ocBruno There are some label related files in here. Could you remove them, please?

Of course! Still getting used to everything 🤕 😄

@matteovivona matteovivona requested review from irvelervel and removed request for fox1t December 30, 2019 08:51
@fox1t fox1t self-requested a review December 30, 2019 09:23
@fox1t
Copy link
Member

fox1t commented Dec 30, 2019

LGTM

@fox1t fox1t merged commit c8aea2a into HospitalRun:master Dec 30, 2019
ghost pushed a commit that referenced this pull request Dec 30, 2019
# [0.23.0](v0.22.2...v0.23.0) (2019-12-30)

### Bug Fixes

* **navbar:** fix-missing-required-test-search-properties ([be406a0](be406a0)), closes [#148](#148)
* **navbar:** fix-navbar-mistakes ([a962b51](a962b51)), closes [#148](#148)
* **navbar:** fix-navbar-mistakes ([e7abf72](e7abf72)), closes [#148](#148)
* **navbar:** fix-tests ([5e3bb16](5e3bb16)), closes [#148](#148)
* **navbar:** fix-tests-attempt ([0628329](0628329)), closes [#148](#148)
* **navbar:** make-onchange-required ([de0ebdd](de0ebdd)), closes [#148](#148)
* **navbar:** remove unrelated commits ([7d6a473](7d6a473)), closes [#148](#148)

### Features

* **calendar:** add ability to choose available views ([0875a5b](0875a5b))
* **calendar:** add calendar component ([820a3a0](820a3a0))
* **checkbox:** add className and style props ([689805e](689805e))
* **navbar:** add customizable search placeholder/button text ([106c530](106c530))
* **navbar:** add test for default props ([8c238c1](8c238c1)), closes [#148](#148)
@ghost
Copy link

ghost commented Dec 30, 2019

🎉 This PR is included in version 0.23.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label Dec 30, 2019
@ocBruno ocBruno deleted the navbar-enhancements branch December 22, 2020 16:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navbar Enhancements
4 participants