-
Notifications
You must be signed in to change notification settings - Fork 18
Feature/examples search filter #74
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
Conversation
|
||
export class AppModule {};`; | ||
|
||
public searchfilterExampleJS1 = `public stuff: SearchFilterChoice[] = [{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can add import { SearchFilterChoice } from '@acpaas-ui/ngx-components/forms';
here.
## Usage | ||
|
||
```typescript | ||
import { SearchFilterModule } from '@acpaas-ui/ngx-components/search-filter'`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.../forms
😉
| ----------- | ------ | -------------------------- | | ||
| `@Input() id: string;` | - | Field id. | | ||
| `@Input() name: string;` | - | Field name. | | ||
| `@Input() flyoutSize: enum;` | `FlyoutSize.Small` | Passed along to `auiFlyout`. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps describe it a bit more. It's straight forward, but you can copy some content from the flyout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: maybe it's better to provide link to the appropriate documentation?
| `@Input() id: string;` | - | Field id. | | ||
| `@Input() name: string;` | - | Field name. | | ||
| `@Input() flyoutSize: enum;` | `FlyoutSize.Small` | Passed along to `auiFlyout`. | | ||
| `@Input() flyoutAlign: string;` | `'left'` | Passed along to `auiFlyout`. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here ;-)
@@ -0,0 +1,83 @@ | |||
# @acpaas-ui/ngx-components/forms | |||
|
|||
The search-filter is a JIRA-like filter component with remote search capabilities. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
search filter
(without hyphen).
| ----------- | ------ | -------------------------- | | ||
| `@Input() id: string;` | - | Field id. | | ||
| `@Input() name: string;` | - | Field name. | | ||
| `@Input() flyoutSize: enum;` | `FlyoutSize.Small` | Passed along to `auiFlyout`. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: maybe it's better to provide link to the appropriate documentation?
| `@Input() id: string;` | - | Field id. | | ||
| `@Input() name: string;` | - | Field name. | | ||
| `@Input() flyoutSize: enum;` | `FlyoutSize.Small` | Passed along to `auiFlyout`. | | ||
| `@Input() flyoutAlign: string;` | `'left'` | Passed along to `auiFlyout`. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here ;-)
| `@Input() choices: SearchFilterChoice[];` | - | Available choices. | | ||
| `@Input() remote: boolean;` | `false` | Enable remote searching. | | ||
| `@Input() placeholder: string;` | `'Zoeken'` | Search field placeholder text. | | ||
| `@Input() inputDelay: string;` | `'150'` | Delay the search callback on the input field. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really a string? Then we should list it in our technical debt document.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no number when verifying in the new components. Older readme had a wrong type defined.
@@ -1,4 +1,5 @@ | |||
import { NotificationsState } from './store.types'; | |||
import { NOTIFICATIONS_INITIAL_VALUE } from './notifications/notifications.initial-state'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please be careful when using git stash
!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deze zit er nog steeds in?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ik kan de NOTIFICATIONS_INITIAL_VALUE toch niet weg doen, want dan is er een error dat deze niet kan gevonden worden. wat is uw voorstel?
# Conflicts: # package-lock.json
# Conflicts: # CHANGELOG.md # packages/forms/examples/forms/forms.module.ts
styleguide/styles.scss
Outdated
padding: 0 $spacer; | ||
} | ||
} | ||
a-button--navigation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this? Leftover?
@@ -1,4 +1,5 @@ | |||
import { NotificationsState } from './store.types'; | |||
import { NOTIFICATIONS_INITIAL_VALUE } from './notifications/notifications.initial-state'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deze zit er nog steeds in?!
styleguide/styles.scss
Outdated
@@ -47,40 +47,6 @@ main { | |||
} | |||
} | |||
|
|||
.o-header__link { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waarom wordt dit allemaal verwijderd?
# Conflicts: # package-lock.json # packages/forms/src/lib/mask/README.md # packages/forms/src/lib/range-slider/README.md # packages/forms/src/lib/timepicker/README.md # packages/forms/src/lib/wysiwyg/README.md
Er zit nog een bug in de search filter component zelf: als er geen resultaten zijn, dan wordt er een paragraaf getoond met een verkeerde class ( |
# Conflicts: # package-lock.json # styleguide/index.html
PR Checklist
This PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Resolved issues