Skip to content

Swagger ui redesign/add icon support#5380

Merged
shockey merged 104 commits intoswagger-api:faceliftfrom
SmartBear:swagger-ui-redesign/add-icon-support
Jun 3, 2019
Merged

Swagger ui redesign/add icon support#5380
shockey merged 104 commits intoswagger-api:faceliftfrom
SmartBear:swagger-ui-redesign/add-icon-support

Conversation

@Rody-Kirwan
Copy link
Copy Markdown
Contributor

@Rody-Kirwan Rody-Kirwan commented May 30, 2019

Dependant on PR #5379

Description

Adds font-awesome icons in woff format from fontello generated css file.
Includes an Icon component in layout-utils

Motivation and Context

Provides icons specified in swagger ui redesign spec

How Has This Been Tested?

Manually across browsers

Screenshots (if appropriate):

Screen Shot 2019-05-30 at 15 55 48

Checklist

My PR contains...

  • No code changes (src/ is unmodified: changes to documentation, CI, metadata, etc.)
  • Dependency changes (any modification to dependencies in package.json)
  • Bug fixes (non-breaking change which fixes an issue)
  • Improvements (misc. changes to existing features)
  • Features (non-breaking change which adds functionality)

My changes...

  • are breaking changes to a public API (config options, System API, major UI change, etc).
  • are breaking changes to a private API (Redux, component props, utility functions, etc.).
  • are breaking changes to a developer API (npm script behavior changes, new dev system dependencies, etc).
  • are not breaking changes.

Documentation

  • My changes do not require a change to the project documentation.
  • My changes require a change to the project documentation.
  • If yes to above: I have updated the documentation accordingly.

Automated tests

  • My changes can not or do not need to be tested.
  • My changes can and should be tested by unit and/or integration tests.
  • If yes to above: I have added tests to cover my changes.
  • If yes to above: I have taken care to cover edge cases in my tests.
  • All new and existing tests passed.

Rody Kirwan and others added 30 commits April 25, 2019 15:13
…ult-margins-padding

Reset default text margins, Add updated spacing to information-container, scheme-container
Rody Kirwan and others added 27 commits May 23, 2019 15:07
…ign/fonts-part-two

# Conflicts:
#	src/style/_buttons.scss
…sign/add-icon-support

# Conflicts:
#	src/core/components/models.jsx
#	src/style/_models.scss
Copy link
Copy Markdown
Contributor

@shockey shockey left a comment

Choose a reason for hiding this comment

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

LGTM aside from my one change request.

}


// Fontello Icons
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.

Change request: add a comment that tells other folks how to regenerate this code (including any manual changes that were made to what Fontello generated).

Will come in handy when/if we need to add a new icon to the mix.

@shockey
Copy link
Copy Markdown
Contributor

shockey commented Jun 3, 2019

Merging -- per conversation with @lshaw-sb, my change request will be addressed in a follow-up PR.

@shockey shockey merged commit def81fe into swagger-api:facelift Jun 3, 2019
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.

4 participants