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

[RFR] Revamp Filter UX #522

Merged
merged 9 commits into from
Jun 30, 2015
Merged

[RFR] Revamp Filter UX #522

merged 9 commits into from
Jun 30, 2015

Conversation

fzaninotto
Copy link
Member

  • Create FilterButton
  • Update filter directive to display only enabled filters
  • change filter directive layout to look better
  • allow to remove an enabled filter
  • focus on a filter after addition
  • split list view in two to avoid focus loss when updating filter
  • Fix selection button
  • Fix boolean filter (should display as text - hidden input?) (to be done in another PR)
  • Introduce "always enabled" filters (cannot be added or removed)
  • Fix tests

ng-admin-filter

@fzaninotto
Copy link
Member Author

Switching to RFR

@fzaninotto fzaninotto changed the title [WIP] Revamp Filter UX [RFR] Revamp Filter UX Jun 27, 2015
@jpetitcolas
Copy link
Contributor

Needs rebase

this.$scope.values = this.$scope.values() || {};
$scope.$watch('values', (newValues, oldValues) => {
if (newValues != oldValues) {
this.filter(); // FIXME use debounce
Copy link
Contributor

Choose a reason for hiding this comment

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

FIXME spotted! :)

Copy link
Member Author

Choose a reason for hiding this comment

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

I know, will do in a future PR. Call me technical debt.

@jpetitcolas
Copy link
Contributor

👍

@fzaninotto
Copy link
Member Author

Code review applied

jpetitcolas added a commit that referenced this pull request Jun 30, 2015
@jpetitcolas jpetitcolas merged commit a05cdd1 into master Jun 30, 2015
@jpetitcolas jpetitcolas deleted the filter_ui branch June 30, 2015 13:30
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.

None yet

2 participants