Commit Graph

2655 Commits

Author SHA1 Message Date
Kyle Shockey
66cb3ff2c0 Use swagger-client opId helper to generate layout keys for operations 2017-07-14 03:17:57 -07:00
Kyle Shockey
2906bdd699 Fire layout updates before attempting to scroll (improves docExpansion:none support) 2017-07-14 02:45:40 -07:00
Kyle Shockey
556e40e6d4 Don't place fragment links if deep linking is disabled 2017-07-14 01:50:49 -07:00
Kyle Shockey
73845907a3 Add anchors for tags and operations 2017-07-14 01:13:30 -07:00
Kyle Shockey
8851b138f9 Add config switch for deep linking 2017-07-14 00:51:26 -07:00
Kyle Shockey
41ecceed87 Rewire operation/tag DOM ids; implement hash scroll-to 2017-07-14 00:46:21 -07:00
Kyle Shockey
79f91b2e3e Rearrange isShownKey to make more sense
Tag then ID is closer to representing the underlying data structure
2017-07-14 00:19:02 -07:00
Kyle Shockey
d7f6355d85 add setHash helper 2017-07-14 00:08:47 -07:00
Kyle Shockey
617cf7c867 Update URL fragment when operations & tags are shown or hidden 2017-07-13 23:24:19 -07:00
Kyle Shockey
c051952081 Use operationIds from swagger-js if available, in layout triggers 2017-07-13 22:48:12 -07:00
shockey
08e84a0048 Merge pull request #3382 from swagger-api/moved-filter
Moved filter search to within layout
2017-07-13 22:31:11 -07:00
shockey
f916e3c208 Topbar: Remove unused filter and layoutSelectors 2017-07-13 22:19:17 -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
shockey
d9b0bb7758 Merge branch 'master' into moved-filter 2017-07-13 21:52:56 -07:00
Minasokoni
d7c28912e0 updated input styling 2017-07-13 21:50:19 -07:00
Minasokoni
8b5c2cc409 moved filter search to layout 2017-07-13 21:48:20 -07:00
shockey
0eeb52b4b5 Merge pull request #3303 from Adrael/feature/apisSorter
Adding apisSorter options
2017-07-13 21:22:09 -07:00
shockey
28912dded3 Update index.js 2017-07-13 21:14:56 -07:00
shockey
e2b73ebf2a Update README.md 2017-07-13 21:10:48 -07:00
shockey
d8ba716da8 Merge branch 'master' into feature/apisSorter 2017-07-13 21:08:47 -07:00
Kyle Shockey
e6c8eb3c61 Pass tag names to tagsSorter instead of taggedOperations values 2017-07-13 21:02:37 -07:00
Kyle Shockey
1cdc4691f7 Add MDN link to Array.prototype.sort() documentation 2017-07-13 20:38:56 -07:00
Kyle Shockey
571d65a582 apisSorter -> tagsSorter
"tags", not "tag", because it sorts the tags themselves, not the content of each tag.
2017-07-13 20:36:08 -07:00
shockey
be7b2448b2 Merge pull request #3356 from owenconti/feature/3300-updated-version-info
Fixes #3300 - Updates to versions.swaggerUi information
2017-07-13 13:51:14 -07:00
shockey
ff9e164d11 Merge branch 'master' into feature/3300-updated-version-info 2017-07-13 13:34:07 -07:00
shockey
0ee9f956eb Merge pull request #3377 from owenconti/bug/3375-content-type-fix
Fixes #3375 - Change order of logic for selecting requestContentType
2017-07-13 13:17:39 -07:00
Owen Conti
991ae66b39 Fixes #3375 - Change order of logic for selecting requestContentType to prioritize consumes_value first 2017-07-12 19:56:11 -06:00
shockey
a5cab61d99 Merge pull request #3196 from gwynjudd/filter
Added maxRows and filter support
2017-07-11 22:14:38 -07:00
Kyle Shockey
66c8778a29 Remove obsolete prop from validation 2017-07-11 22:05:38 -07:00
Kyle Shockey
28f7a15fe9 Use state instead of component hand-down for managing filter 2017-07-11 21:54:56 -07:00
Kyle Shockey
cf12091d93 Add filter to layout state 2017-07-11 21:33:14 -07:00
shockey
7cfc7cb4fc Merge branch 'master' into filter 2017-07-11 21:20:22 -07:00
Owen Conti
87bb4420e2 Add main.scss as an entry point for the dev build 2017-07-11 20:30:52 -06: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
Owen Conti
bd31d3dedf Reimplemented changes after merge with master 2017-07-11 17:02:53 -06:00
Owen Conti
fce8b7275b Merge branch 'master' of github.com:swagger-api/swagger-ui into feature/2926-click-model-name-to-toggle
# Conflicts:
#	src/core/components/model.jsx
2017-07-11 16:58:17 -06:00
Raphaël MARQUES
d27962c0da Merge branch 'master' into feature/apisSorter 2017-07-11 21:13:45 +02:00
Raphaël MARQUES
297ee61038 Update index.js 2017-07-11 21:13:30 +02:00
Owen Conti
10aae17c82 Merge branch 'master' of github.com:swagger-api/swagger-ui into bug/3329-duplicate-css 2017-07-10 19:53:53 -06:00
Owen Conti
6beaaca6e6 Fixes #3361 - Check for null and undefined values in validateParam 2017-07-10 19:46:32 -06:00
shockey
4a66219782 Merge pull request #3331 from owenconti/bug/3102-unguarded-expressions
Separate model.jsx components to their own files
2017-07-10 18:45:45 -07:00
shockey
025ec662c0 Merge branch 'master' into bug/3102-unguarded-expressions 2017-07-10 18:42:18 -07:00
Owen Conti
914b21f228 Revert back to the 'breaks' fix for newlines in markdown content 2017-07-10 19:23:18 -06:00
Owen Conti
b11399a57e Revert original fix and implement fix from @1Map 2017-07-10 17:39:05 -06:00
Minasokoni
fe200f8616 styling updates 2017-07-11 09:46:44 +12: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
Owen Conti
d8400f8729 Fixes #3300 - Updates to versions.swaggerUi information 2017-07-09 14:17:18 -06:00
Owen Conti
14b63c5bf9 Fixes #2926 - Add optional title prop to Collapse so collapse elements can render titles to be clickable 2017-07-09 13:59:59 -06:00
Owen Conti
5d9ab6a0a2 Fixes #3078 - Added breaks: true to Remarkable so newlines are rendered as line breaks. Remove margin-top from <p> tags within .model elements to fix the alignment in the model's description text. 2017-07-08 10:48:52 -06:00