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

Add Search Bar to CustomNavBar #486

Merged
merged 22 commits into from
Nov 9, 2016
Merged

Add Search Bar to CustomNavBar #486

merged 22 commits into from
Nov 9, 2016

Conversation

fvonhoven
Copy link
Contributor

@fvonhoven fvonhoven commented Nov 8, 2016

Adds a Search Bar & more functionality to theCustomNavBar as well as a way to search a ListView
(Also a few refactors & cleanups)

Please verify the following:

  • Everything works on iOS/Android
  • ignite-base ava tests pass
  • fireDrill.sh passed

Describe your PR

iOS

ignite - search

Android

ignite - search-android

@skellock
Copy link
Contributor

skellock commented Nov 8, 2016

Any chance you could rebase this? It's hard to see what's changed.

@GantMan
Copy link
Member

GantMan commented Nov 9, 2016

LGTM 👍

Do you think we should do a generator for this option?

Copy link
Contributor

@skellock skellock left a comment

Choose a reason for hiding this comment

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

Well done.

storeConfig: {
storage: AsyncStorage,
blacklist: ['login'], // reducer keys that you do NOT want stored to persistence here
blacklist: ['login', 'search'], // reducer keys that you do NOT want stored to persistence here
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm thinking we should switch to preferring whitelist. Not relevant to this PR, but just thinking outloud.

Copy link
Member

Choose a reason for hiding this comment

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

I generally prefer blacklisting in most apps. We should discuss.


// Used for friendly AlertMessage
// returns true if the dataSource is empty
_noRowData () {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not a fan of _. :( Again, just general bitching. Nothing really do with this PR. Hah... oh boy. I'm annoying myself now.

Copy link
Member

Choose a reason for hiding this comment

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

how should we indicate private methods? If you have a better way, I'm in.

@skellock skellock merged commit 3cac0a4 into master Nov 9, 2016
@skellock skellock deleted the add/search-bar branch November 9, 2016 15:29
@GantMan
Copy link
Member

GantMan commented Nov 9, 2016

yay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants