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(journal): the bhAccountSelect is clear-able #1510

Merged

Conversation

jniles
Copy link
Collaborator

@jniles jniles commented Apr 14, 2017

The bhAccountSelect did not previously support transclusion, leading to a poor experience for users
who wanted to search on the account field. They would have to clear the entire field (from outside
the search modal) to be able to erase the account select. This commit allows the account select to
be cleared with minimal code changes.

Before
bhaccountselectbeforetransclude

After
bhaccountselectaftertransclude


Thank you for contributing!

Before submitting this pull request, please verify that you have:

  • Run your code through ESLint. Check out our styleguide.
  • Run integration tests.
  • Run end-to-end tests.
  • Accurately described the changes your are making in this pull request.

For a more detailed checklist, see the official review checklist that this PR will be evaluated against.

Ensuring that the above checkboxes are completed will help speed the review process and help build a stronger application. Thanks!

The bhAccountSelect did not previously support transclusion, leading to a poor experience for users
who wanted to search on the account field.  They would have to clear the entire field (from outside
the search modal) to be able to erase the account select.  This commit allows the account select to
be cleared.
@jniles
Copy link
Collaborator Author

jniles commented Apr 14, 2017

@kwilu r?

@jniles
Copy link
Collaborator Author

jniles commented Apr 14, 2017

@kwilu r+

@ghost
Copy link

ghost commented Apr 14, 2017

📌 Commit 3be5d47 has been approved by jniles

@ghost
Copy link

ghost commented Apr 14, 2017

⌛ Testing commit 3be5d47 with merge 5e8b872...

ghost pushed a commit that referenced this pull request Apr 14, 2017
feat(journal): the bhAccountSelect is clear-able

The bhAccountSelect did not previously support transclusion, leading to a poor experience for users
who wanted to search on the account field.  They would have to clear the entire field (from outside
the search modal) to be able to erase the account select.  This commit allows the account select to
be cleared with minimal code changes.

**Before**
![bhaccountselectbeforetransclude](https://cloud.githubusercontent.com/assets/896472/25047006/5ae815bc-212c-11e7-9e92-c45e55fcd54c.png)

**After**
![bhaccountselectaftertransclude](https://cloud.githubusercontent.com/assets/896472/25047004/5aae7f96-212c-11e7-997b-33859032c61b.png)

------

Thank you for contributing!

Before submitting this pull request, please verify that you have:
 - [x] Run your code through ESLint.  [Check out our styleguide](https://github.com/IMA-WorldHealth/bhima-2.X/blob/master/docs/STYLEGUIDE.md).
 - [x] Run integration tests.
 - [x] Run end-to-end tests.
 - [x] Accurately described the changes your are making in this pull request.

For a more detailed checklist, [see the official review checklist](https://docs.google.com/document/d/1nupLVLRXgSZJQo_acLgrwvPnN8RukfSiwRhSToj81uU/pub) that this PR will be evaluated against.

Ensuring that the above checkboxes are completed will help speed the review process and help build a stronger application.  Thanks!
@ghost
Copy link

ghost commented Apr 15, 2017

💥 Test timed out

@jniles jniles merged commit 0ff8e0a into Third-Culture-Software:master Apr 15, 2017
@jniles jniles deleted the fix-posting-journal-search-modal branch April 15, 2017 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant