Vladimir Gorej
8b1c4a7c1a
feat(error-handling): introduce unified and configurable error handling ( #7761 )
...
Refs #7778
2022-01-24 16:12:13 +01:00
Vladimir Gorej
b299be764f
fix: introduce Error Boundaries to handle unexpected failures ( #7671 )
...
Two new components have been updated via plugin system: ErrorBoundary and Fallback.
These components can be overridden by user plugins.
Refs #7647
2021-11-25 13:47:22 +01:00
kyle
88204daad8
housekeeping: upgrade to webpack@4 (via #5454 )
...
* build new core webpack config
* fix exports in Webpack; use ESM syntax throughout
* add bundle config
* add standalone config
* add style config
* prettier...
* add dev config
* delete legacy webpack scripts
* rewire npm scripts to use new webpack configs
* cache babel-loader results
* fix e2e dev servers
* update core Webpack modules
* update loaders to latest
* remove unused loaders
* update Webpack plugins
* add mode flags to Webpack configs
* remove plugin invocations that are now production-standard in v4
* update webpack-cli
* add webpack perf size limit flags
* replace ExtractText with MiniCssExtract + IgnoreAssets
* UglifyJsPlugin -> TerserPlugin
* fix PostCSS processing
* enable Terser sourcemaps
* webpack/style -> webpack/stylesheets
2019-07-11 18:57:44 -05: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
Scott O'Hara
fb7f12551f
improve: show possible reasons when url fetch fails ( #4295 )
...
* improve: show possible reasons when url fetch fails
* Only check for fail reasons if no HTTP status code
* Check for mixed content errors first
* Harmonise error messages
* Set error source to 'fetch'
* improve: hide loading validator image (#4287 )
* hide missing validator image
* Render nothing if validator badge has not loaded/received errors
* Revert style changes
* Allow images with data scheme (#4305 )
* Add UnitTest for image
allows image elements with https scheme
* Test images with data scheme
* Add allowedSchemesByTag
* Fix error Strings must use doublequote quotes
* Add empty div (#4236 )
if there are properties show an empty div
* v3.12.1 (#4311 )
* v3.12.1
* Rebuild dist for v3.12.1
* Use window wrapper instead of direct reference
* Add trailing period to error messages
* improve readability
2018-03-12 16:57:51 -07:00
Juan J. Jimenez-Anca
bd41b736a8
feat: display last error when definition/config load fails
...
Contains a breaking internal API change to `errActions.newThrownErr`, which will require a MINOR version bump. Swagger-Editor does not depend on the old usage style.
2018-01-05 21:45:21 -06:00
Kyle Shockey
03f80dcc70
v3.8.0
2017-12-23 01:58:57 -06: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
0864ca849f
Use throbber in Standalone layout; center loading messages and content
2017-12-12 13:07:18 -08:00
Owen Conti
b1605a0177
Merge branch 'master' into bug/3329-duplicate-css
...
# Conflicts:
# make-webpack-config.js
2017-07-17 18:49:19 -06:00
Kyle Shockey
28f7a15fe9
Use state instead of component hand-down for managing filter
2017-07-11 21:54:56 -07:00
Owen Conti
7000c20765
Moved split-pane-mode.less file into a .scss file. Removed remaining unused .less files. Removed reference to less file in webpack config. Removed dependency on less-loader. Updated standalone and bundle builds to no longer compile any styles.
2017-07-11 20:17:06 -06:00
Gwyn Judd
c3f9c094d1
Added maxRows and filter support
...
Useful for the display of very large swagger specs. Can limit the number of operations to a smaller value and search
2017-07-11 09:38:20 +12:00
RVKen
d36f0a6dbd
fix eslint issues
2017-06-29 04:37:19 +02:00
Anna Bodnia
cbd74b0c67
enable configs plugin by default
2017-05-05 17:50:22 +03:00
Kyle Shockey
81f74d9d51
Move loadingStatus code into StandaloneLayout (where it belongs!)
2017-04-14 19:01:57 -07:00
Kyle Shockey
208694e9a8
Fix linter & tests
2017-04-14 18:46:27 -07:00
Kyle Shockey
d1d663b35f
Consume BaseLayout in UI standalone
2017-04-14 18:39:31 -07:00
Anna Bodnia
63edfc739b
fix schemes auth button display #2816
2017-04-07 15:39:59 +03:00
Kyle Shockey
431b67362c
Eliminate the need for the ES6 module backflips in Standalone example
2017-03-27 19:51:45 -07:00
Anna Bodnia
a13dc1ede1
Fix display of auth button not to depend on schemes
2017-03-27 22:57:27 +03:00
Kyle Shockey
e1fcbfbf09
Linter error fixes
2017-03-23 16:36:45 -07:00
Kyle Shockey
f195d01184
Autofix ESLint problems
2017-03-22 20:40:05 -07:00
shockey
bdf564ee3a
Merge pull request #2750 from Minasokoni/schemes-condition
...
Added conditional to hide schemes div if no schemes are with in the spec
2017-03-21 11:54:04 -07:00
Minasokoni
cdb4380dde
added conditional for security
2017-03-20 14:35:07 -07:00
Minasokoni
384eeffcaf
added conditional to hide schemes div if no schemes are avail
2017-03-20 14:20:58 -07:00
shockey
5f0cc74e89
Update index.js
...
Disabling the YAML config plugin, for now.
2017-03-19 17:31:49 -07:00
Josh Ponelat
4749b90350
move the securityDefinitions conditional, outside of Schemes
2017-03-19 17:35:26 +02:00
Ron
f22a628934
in with the new
2017-03-17 21:17:53 -07:00