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: CSS/Visual Refinements #5720

Merged
merged 6 commits into from
May 1, 2019

Conversation

johncowen
Copy link
Contributor

@johncowen johncowen commented Apr 26, 2019

This PR includes mainly visual changes (mainly just CSS) to include visual refinements to the new ACLs areas but also refinements throughout the UI.

  1. Every icon from the structure icon package as well as having its own $icon-name-svg SASS variable, also now has its own %with-<name-of-svg>-icon placeholder. This paired with a %as-pseudo placeholder makes it simple to use these icons, but as it does less, is more reusable then the approach I had from the initial re-build of the UI as it. The majority of icons will now begin to move towards this. Here we've replaced the info icon we use for external documentation links and some tooltips, and the '3 horizontal dots' we use for the action buttons on table rows.
  2. We changed the is-management helper for policies to a more generic typeof helper, which enables us to distinguish between 'types' of policy-like things for icon-ing purposes.
  3. Reasonably large change to the tables, mainly to use inline-flex which meant we could remove a reasonable amount of finickity values, but also some refactoring of fonts/colors to reflect newer designs. Also we added 'default' sizing for columns (2 cols = 50%/50%, 3 cols = 33%/33%/33% etc) which means we don't need so much specific row naming/sizing.
  4. We also took the opportunity to move some things around that made sense elsewhere, and made some thing nicer on the eye (a few places were we ordered selectors by 'native selectors' first followed by 'placeholder selectors'
  5. TBD

There's more work to do here, mainly moving more and more of our old icons over to the Structure set, but we are going to leave this for future PRs.

@johncowen johncowen added the theme/ui Anything related to the UI label Apr 26, 2019
@johncowen johncowen added this to the 1.5.0 milestone Apr 26, 2019
@johncowen johncowen marked this pull request as ready for review April 29, 2019 10:10
@johncowen johncowen requested a review from a team April 29, 2019 10:10
@johncowen johncowen force-pushed the feature/ui-service-identities branch from 14636de to fa17fc8 Compare April 29, 2019 11:32
John Cowen added 2 commits April 29, 2019 11:33
1. Introduce the idea of 'policy types' instead of just 'is-management'
with a new policy/typeof helper
2. Add placeholders for all structure icons, and start replacing the
older ones.
3. %pills no default to transparent, the gray is added at a project
level
4. Started to introduce a saner way to size tables, basically sane
defaults with the ability to overwrite for the more involved tables
1. Mainly working on tables, all tds are now inline-flex
2. The inline flex meant we could remove a lot of cruft and spacing from
other areas
3. Spotted an area that wasn't using {{tag-list}}
@johncowen johncowen mentioned this pull request Apr 29, 2019
5 tasks
@johncowen johncowen merged commit 560bd02 into feature/ui-service-identities May 1, 2019
@johncowen johncowen deleted the feature/ui-acl-visuals branch May 1, 2019 17:51
johncowen added a commit that referenced this pull request May 1, 2019
Adds support for ACL Roles and Service Identities CRUD, along with necessary changes to Tokens, and the CSS improvements required.

Also includes refinements/improvements for easier testing of deeply nested components.

1. ember-data adapter/serializer/model triplet for Roles
2. repository, form/validations and searching filter for Roles
3. Moves potentially, repeated, or soon to to repeated functionality
into a mixin (mainly for 'many policy' relationships)
4. A few styling tweaks for little edge cases around roles
5. Router additions, Route, Controller and templates for Roles

Also see: 

* UI: ACL Roles cont. plus Service Identities (#5661 and #5720)
johncowen added a commit that referenced this pull request May 1, 2019
Adds support for ACL Roles and Service Identities CRUD, along with necessary changes to Tokens, and the CSS improvements required.

Also includes refinements/improvements for easier testing of deeply nested components.

1. ember-data adapter/serializer/model triplet for Roles
2. repository, form/validations and searching filter for Roles
3. Moves potentially, repeated, or soon to to repeated functionality
into a mixin (mainly for 'many policy' relationships)
4. A few styling tweaks for little edge cases around roles
5. Router additions, Route, Controller and templates for Roles

Also see: 

* UI: ACL Roles cont. plus Service Identities (#5661 and #5720)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants