tomdegoede
fc3ed30f3d
improvement: Move inline styles to SCSS instead ( #5578 )
...
* fix: convert propStyle to propClass
2020-06-10 16:39:48 -07:00
kyle
7025773fbf
feature: swagger-ui-react module (via #5207 )
...
* swagger-ui-react alpha.0
* alpha.1
* alpha.2
* alpha.3
* begin updating README
* alpha.4
* WIP: `displayOperationId` support
* move loading error readouts to BaseLayout
* add `url` prop
* export React component as default
* add interceptor support
* modify docs markup
* add `onComplete` prop
* add `spec` prop
* Update README.md
* alpha.6
* remove independent manifest; build releasable exclusively from template
* ensure dist is present; drop config field in manifest
* drop alpha field
this script is now able to release to npm!
* remove unused selector references
* Update README.md
2019-03-01 20:41:30 -08:00
João Abecasis
2977c93840
improvement: hide Servers/Schemes/Authorize section when it's empty (via #4950 )
2018-11-21 03:06:26 +01:00
kyle
004f107ec4
fix: repair schemes servers rendering (via #4913 )
...
* create AuthorizeBtnContainer
* remove Servers and AuthorizeBtn from Schemes' concern
* add AuthorizeBtnContainer to base
* strengthen OAS3 definitionsToAuthorize
* drop obsolete tests
* linter fixes
2018-10-01 20:27:52 -05:00
kyle
c5c4e08368
improve: nest Servers within Schemes container (via #4911 )
...
* improve: nest Servers within Schemes container
* linter fixes
2018-09-28 20:33:06 -05:00
Sofiia
8416b043ea
housekeeping: factor out components for easier BaseLayout reuse ( #4604 )
...
* improve: wrap schemes to encapsulate rendering logic
* improve: wrap filter to encapsulate rendering logic
* improve: wrap info section to encapsulate rendering logic
* improve: wrap servers plugin to encapsulate rendering logic
* improve: added tests for schemes-wrapper rendering logic
* improve: added tests for info-wrapper rendering logic, also do not render info if info is undefined
* improve: added tests for filter rendering logic
* improve: added tests for servers-wrapper rendering logic
* `InfoWrapper` -> `InfoContainer`
* add `containers` alias to Babel configuration
* `SchemesWrapper` -> `SchemesContainer`
* drop `container` from container file names
* `ServersWrapper` -> `ServersContainer`
* `Filter` -> `FilterContainer`
* follow `core/containers` pattern in BasePreset
2018-06-14 19:06:20 -07:00
kyle
a03c12786a
feat(rendering): gate rendering based on valid version identifiers ( #4614 )
...
* create VersionPragmaFilter component
* use VersionPragmaFilter in BaseLayout
* tighten version idenitifier constraints
* handle case where user specifies a valid `swagger` and `openapi` field
* add traceable class names for each message
* add tests
* linter fixes!
* UNRELATED CHANGE: remove travis short-circuit
* add bypass switch to VersionPragmaFilter
2018-06-01 16:04:27 -07:00
kyle
dc7d7054bf
fix: provide svg assets through React app instead of relying on HTML ( #4429 )
...
* fix: provide svg assets through React app instead of relying on HTML
* fix stylistic inconsistencies in HTML assets
2018-04-10 16:05:17 -07:00
Kyle Shockey
dfa96e66a4
Improve a handful of error surfacing messages
...
`Spec` => `API definition`, notably.
2017-12-12 13:34:25 -08:00
Kyle Shockey
3db4f6c93a
Wrap BaseLayout loading messages in swagger-ui+loading-container
2017-12-12 13:24:42 -08:00
kyle
faa9ada6b8
class => className
2017-12-12 12:31:55 -08:00
Helder Sepulveda
b2a435afdc
Replace text with Loading throbber
2017-12-12 07:41:33 -05:00
HelderSepu
67b2b716e4
Show loading message when we are loading
2017-12-09 11:12:41 -05:00
Kyle Shockey
ba90c70b34
LESS CSS BUGS
2017-11-30 17:10:25 -08:00
Kyle Shockey
ef3ccd7a23
Move server styles into its own scss file; add a little polish
2017-11-30 17:06:17 -08:00
Kyle Shockey
0997c5e5d4
Remove hardwired "Server" header, make global one prettier
2017-11-30 14:34:01 -08:00
Kyle Shockey
7a2c7d2cdc
Squash commit: OAS3 Try-It-Out changes
2017-09-05 13:59:31 -07:00
Kyle Shockey
9747559529
operationScheme -> currentScheme
2017-08-09 17:35:33 -07:00
Kyle Shockey
9dee2daa14
Fix global state issues with Schemes component
2017-08-09 17:06:48 -07:00
shockey
2ae61e85b8
Update base.jsx
2017-07-13 22:00:16 -07:00
shockey
d698aef1cd
"Filter Operations" -> "Filter by tag"
2017-07-13 21:57:49 -07:00
Minasokoni
8b5c2cc409
moved filter search to layout
2017-07-13 21:48:20 -07:00
Owen Conti
15e105c931
Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3102-unguarded-expressions
...
# Conflicts:
# src/core/components/model.jsx
# src/core/components/models.jsx
2017-07-03 16:12:31 -06:00
Owen Conti
d27cae0085
Work on #3102 . Moved all the components out of model.jsx into their own files so they can be grabbed via getComponent()
2017-06-28 22:07:07 -06:00
RVKen
d36f0a6dbd
fix eslint issues
2017-06-29 04:37:19 +02:00
Kyle Shockey
81f74d9d51
Move loadingStatus code into StandaloneLayout (where it belongs!)
2017-04-14 19:01:57 -07:00
Kyle Shockey
cf80839d11
Add BaseLayout to core
2017-04-14 18:38:59 -07:00