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

ui: New Search feature #348

Merged
merged 5 commits into from
Jul 19, 2019
Merged

ui: New Search feature #348

merged 5 commits into from
Jul 19, 2019

Conversation

mathiashoeld
Copy link
Contributor

Changes

A new feature is added which lets the user filter the projects in the overview page.

The button "Quick Search" can be used to toggle the search bar. The term entered in the search bar is used for filtering the projects. When the user navigates to the project details page of a project or clicks on the breadcrumb menu "Main", the search field is cleared and the search bar is no longer displayed.

Closes #347

How to test

Go to the overview page, click the "Quick Search" button and enter a term to filter the projects in the overview page.

@openkfwCI
Copy link

openkfwCI commented Jul 16, 2019

Warnings
⚠️ A new TODO was added.

Generated by 🚫 dangerJS against d463f27

@openkfwCI
Copy link

openkfwCI commented Jul 16, 2019

NotesTime
✔️Note for Reviewer: E2E tests on remote server succeededFri, 19 Jul 2019 13:52:29 +0000

Generated by E2E-Test

@mathiashoeld
Copy link
Contributor Author

mathiashoeld commented Jul 17, 2019

TODO:

@mathiashoeld mathiashoeld force-pushed the search-feature branch 3 times, most recently from 0ec7096 to f1c4045 Compare July 19, 2019 08:28
A new feature is added which lets the user filter the projects in the
overview table. The search bar can be toggled by clicking the "Quick
Search" icon. The text entered into the search bar is used to filter the
projects that are visible to the user.
The "Cancel" button in the search bar can be used to clear the text. The
search bar is hidden (and reset) if a project details page is called.
The user can hit the "Escape" key to close and reset the search bar.

Add CHANGELOG entry and documentation for this new feature.

Closes #347
When clicking on an item from the breadcrumbs navigation menu (top
left), the search bar from the overview page is reset and no longer
displayed.
Add 'data-test' information to tags in different components to prepare
them for e2e-testing.
New e2e-tests are added for the navigation. The following elements are
tested:
 - The hamburger menu on the left
 - The items of the left navigation card
 - The breadcrumb navigation
 - The right navigation items (including logout)
 - Filtering projects in the overview page
@mathiashoeld mathiashoeld force-pushed the search-feature branch 2 times, most recently from e5dadb2 to c2f0df7 Compare July 19, 2019 13:24
- Currencies: The format of the test has been changed to correctly fetch
the created project to check for the currency symbol
- Overview: Console log statement is removed and formatting
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.

ui: Add search/filter functionality
3 participants