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

🎨 ⚡ [Feature] Add a filter to the bot list component #21

Closed
jrosseel opened this issue Aug 3, 2022 · 2 comments
Closed

🎨 ⚡ [Feature] Add a filter to the bot list component #21

jrosseel opened this issue Aug 3, 2022 · 2 comments
Assignees
Labels
3-pointer Simple class issue - 3 bounty points enhancement New feature or request

Comments

@jrosseel
Copy link
Contributor

jrosseel commented Aug 3, 2022

Filtering bots

NOTE: This feature depends on implementation of #20 ! Please complete that issue first.

When a user logs in, they are sent to the bot builder homepage. Here they can view all the bots they are building and go to their builder.

To manage many bots, it would be handy to have a filter functionality here.


Quick links: Summary | Description | Template | Example | Resources


Summary

As a user, I want to search my bots on name so that I can manage large number of bots.

Description

Please finish implementation of #20 first and only then do this task.
A filter field needs to be added to the component using following template:

image

When I type in a character or series of characters, only bots which names' match the characters should be shown.

Technical analysis

This feature requires us to dive into the state layer. We're going to use component-level state for this feature.

On our story-list component:

1. Add a small form which holds a mat-form-field and mat-input of type text. Use reactive forms only! - [Reference](https://angular.io/guide/reactive-forms).
2. **OnInit**, wire together the reactive form field and the _stories$$ using an rxjs "combineLatest".
3.  Map the values of the result (= has to be a filtered list based on the search field!) to your stories$ observable, becoming local state.

Acceptance criteria

  1. Needs to meet design spec
  2. State needs to be properly implemented
@jrosseel jrosseel added enhancement New feature or request 3-pointer Simple class issue - 3 bounty points story-editor A feature related to the story editor labels Aug 3, 2022
@jrosseel jrosseel added this to the Conversational Learning MVP milestone Aug 3, 2022
@jrosseel jrosseel removed the story-editor A feature related to the story editor label Aug 3, 2022
@DynastyElvis
Copy link

i intend to work on this issue

trevin-livele added a commit to trevin-livele/italanta-apps that referenced this issue Sep 12, 2022
trevin-livele added a commit to trevin-livele/italanta-apps that referenced this issue Sep 12, 2022
trevin-livele added a commit to trevin-livele/italanta-apps that referenced this issue Sep 12, 2022
jrosseel added a commit that referenced this issue Sep 13, 2022
{feat}Added  filter for the blocks components list {#21}
@jrosseel
Copy link
Contributor Author

Closed as resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3-pointer Simple class issue - 3 bounty points enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants