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: Admin UI with filters and space efficient layout #173

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

zealot128
Copy link
Contributor

@zealot128 zealot128 commented Nov 22, 2020

Happy to see a basic admin layout! Some changes I might propose

  • container-fluid instead of container - Very useful for larger tables..., table-sm to preserve whitespace for a more space efficient table
  • Basic filter for: Job classes and finished/unfinished fields

Not sure where to put the filter ruby class from the code perspective.

Bildschirmfoto 2020-11-22 um 20 10 36

@zealot128 zealot128 force-pushed the main branch 2 times, most recently from 92fc956 to eb9ae83 Compare November 23, 2020 07:49
Copy link
Owner

@bensheldon bensheldon left a comment

Choose a reason for hiding this comment

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

@zealot128 Thank you for the contribution. This is a very nice improvement.

I have two suggestions, but I'm willing to merge this as is and accept the improvements as later PRs:

  1. I think the filters should always be visible, even if there are no jobs. Currently they disappear if a filter is selected that results in no jobs.
  2. When a filter is selected, the link button should be in an active state with active class

@zealot128
Copy link
Contributor Author

@zealot128 Thank you for the contribution. This is a very nice improvement.

I have two suggestions, but I'm willing to merge this as is and accept the improvements as later PRs:

1. I think the filters should always be visible, even if there are no jobs. Currently they disappear if a filter is selected that results in no jobs.

2. When a filter is selected, the link button should be in an active state with `active` class

@bensheldon Good suggestions! I've updated the branch. It now looks like this:

Bildschirmfoto 2020-11-29 um 14 23 16

@bensheldon bensheldon merged commit 2840e07 into bensheldon:main Dec 1, 2020
@bensheldon
Copy link
Owner

@zealot128 Thank you so much! I just released this in v1.3.3

@bensheldon bensheldon added the enhancement New feature or request label Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants