Skip to content

Move filter bar to the top in table view - #424

Merged
steven-esser merged 5 commits into
aboutcode-org:developfrom
lakshay-angrish:move-filters-to-top
Mar 11, 2020
Merged

steven-esser merged 5 commits into
aboutcode-org:developfrom
lakshay-angrish:move-filters-to-top

Conversation

@lakshay-angrish

@lakshay-angrish lakshay-angrish commented Mar 9, 2020

Copy link
Copy Markdown
Contributor

Fixes #271
The table view now has all filters at the top

ss

Signed-off-by: Lakshay Angrish <angrishlakshay@gmail.com>

@steven-esser steven-esser left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Two things:

  1. I would prefer that the buttons controlling filter actions ("Activate Filters", etc) be visually different, separate buttons from the rest of the column view buttons.

  2. Every time I go to select a value from the filter drop-downs, a column sort is triggered. This is not a behavior we want to have.

Signed-off-by: Lakshay Angrish <angrishlakshay@gmail.com>
Signed-off-by: Lakshay Angrish <angrishlakshay@gmail.com>
@lakshay-angrish

lakshay-angrish commented Mar 10, 2020

Copy link
Copy Markdown
Contributor Author

@MaJuRG I have made the suggested changes and updated the screenshot in the PR Description.

Signed-off-by: Lakshay Angrish <angrishlakshay@gmail.com>

@steven-esser steven-esser left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is much better and we are almost there :)

One last request: Can you please style the filter buttons as buttons, not just links?

All in all, I still want these to be buttons, just not identical buttons to the column view buttons.

Does this make sense?

@lakshay-angrish

lakshay-angrish commented Mar 10, 2020

Copy link
Copy Markdown
Contributor Author

@MaJuRG I understand. It is still a button though, just with the btn-link class. Which bootstrap button class should I assign?

@steven-esser

Copy link
Copy Markdown
Contributor

A standard bootstrap button is fine I think

Signed-off-by: Lakshay Angrish <angrishlakshay@gmail.com>
@lakshay-angrish

Copy link
Copy Markdown
Contributor Author

@MaJuRG Made the buttons look like before this PR, and updated the screenshot.

@steven-esser steven-esser left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, thanks for this.

@steven-esser
steven-esser merged commit 42ad353 into aboutcode-org:develop Mar 11, 2020
@lakshay-angrish
lakshay-angrish deleted the move-filters-to-top branch March 12, 2020 03:02
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.

Move filter bar to top of page

2 participants