diff --git a/.travis.yml b/.travis.yml index 46a545351..8aa80c5b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,10 +35,10 @@ notifications: deploy: provider: pages - skip_cleanup: true + skip-cleanup: true # Refer to: https://docs.travis-ci.com/user/deployment/pages/#Setting-the-GitHub-token - github_token: $GITHUB_ACCESS_TOKEN + github-token: $GITHUB_ACCESS_TOKEN target-branch: gh-pages - local_dir: dist + local-dir: dist on: - branch: master \ No newline at end of file + branch: master diff --git a/README.md b/README.md index 01e211e30..95402d899 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ When I wrote this, only God and I understood what I was doing. Now, only God kno --- -[](https://travis-ci.org/liyasthomas/postwoman) [](https://github.com/liyasthomas/postwoman/releases/latest) [](https://github.com/liyasthomas/postwoman/archive/master.zip) [](https://github.com/liyasthomas/postwoman/blob/master/LICENSE) [](https://github.com/liyasthomas/postwoman/issues) [](https://liyas-thomas.firebaseapp.com) [](https://www.paypal.me/liyascthomas) [](https://www.buymeacoffee.com/liyasthomas) +[](https://travis-ci.com/liyasthomas/postwoman) [](https://github.com/liyasthomas/postwoman/releases/latest) [](https://github.com/liyasthomas/postwoman/archive/master.zip) [](https://github.com/liyasthomas/postwoman/blob/master/LICENSE) [](https://github.com/liyasthomas/postwoman/issues) [](https://liyas-thomas.firebaseapp.com) [](https://www.paypal.me/liyascthomas) [](https://www.buymeacoffee.com/liyasthomas) # Postwoman @@ -88,7 +88,7 @@ Please read [CONTRIBUTING](CONTRIBUTING.md) for details on our [CODE OF CONDUCT] ## Continuous Integration -We use [Travis CI](https://travis-ci.com) for continuous integration. Check out our [Travis CI Status](https://travis-ci.org/liyasthomas/postwoman). +We use [Travis CI](https://travis-ci.com) for continuous integration. Check out our [Travis CI Status](https://travis-ci.com/liyasthomas/postwoman). --- @@ -113,8 +113,13 @@ See the [CHANGELOG](CHANGELOG.md) file for details. * [Liyas Thomas](https://github.com/liyasthomas) ### Contributors +* [NBTX](https://github.com/NBTX) * [Andrew Bastin](https://github.com/AndrewBastin) +* [Nick Palenchar](https://github.com/nickpalenchar) * [Abraham Williams](https://github.com/abraham) +* [Nicholas La Roux](https://github.com/larouxn) +* [RifqiAlAbqary](https://github.com/reefqi037) +* [izerozlu](https://github.com/izerozlu) ### Thanks * [Dribbble](https://dribbble.com) diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 6fc3f46ab..4774b393e 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -234,6 +234,16 @@ ol li { flex-direction: column; flex-grow: 1; } +.flex-wrap{ + display: flex; + justify-content: space-between; +} +.btn-copy{ + padding: 6px 14px; + font-size: 11px; + margin-right: 15px; + +} @media (max-width: $responsiveWidth) { ul, @@ -252,21 +262,34 @@ ol li { } .info-response { - background-color: #ffeb3b; + background-color: #FFEB3B; } .success-response { - background-color: #66BB6A; + background-color: #4BB543; } .redir-response { - background-color: #ff5722; + background-color: #FF5722; } .cl-error-response { - background-color: #ef5350; + background-color: #A63232; } .sv-error-response { - background-color: #b71c1c; -} \ No newline at end of file + background-color: #B71C1C; +} + +fieldset#history { + .method-list-item { + position: relative; + + span { + position: absolute; + top: 44px; + right: 20px; + font-family: monospace, monospace; + } + } +} diff --git a/components/section.vue b/components/section.vue index 4d2af5b5e..5f290c4e1 100644 --- a/components/section.vue +++ b/components/section.vue @@ -1,5 +1,5 @@ - + {{ label }} ↕ @@ -44,4 +44,4 @@ } } - \ No newline at end of file + diff --git a/layouts/default.vue b/layouts/default.vue index 10af963b6..7f439597a 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -5,7 +5,7 @@ Postwoman - Lightweight API request builder + API request builder diff --git a/nuxt.config.js b/nuxt.config.js index 02338d04d..e3a904c38 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -3,7 +3,7 @@ // TODO: Use these when rendering the pages (rather than just for head/meta tags...) export const meta = { name: "Postwoman", - shortDescription: "Lightweight API request builder", + shortDescription: "API request builder", description: "The Postwoman API request builder helps you create your requests faster, saving you precious time on your development." }; @@ -34,6 +34,7 @@ export default { { charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1, minimum-scale=1, shrink-to-fit=no, minimal-ui' }, { hid: 'description', name: 'description', content: meta.description || '' }, + { name: 'keywords', content: 'postwoman, api, request, testing, tool, rest, websocket'}, { name: 'X-UA-Compatible', content: "IE=edge, chrome=1" }, { itemprop: "name", content: `${meta.name} \u2022 ${meta.shortDescription}` }, diff --git a/pages/index.vue b/pages/index.vue index bc1c3f052..5348feda2 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -36,34 +36,42 @@ application/json www-form/urlencoded + + + Raw Input + - - - Key {{index + 1}} - - - - Value {{index + 1}} - - - - - Remove - - - - - Action - Add - - - - - Parameter List - {{rawRequestBody || '(add at least one parameter)'}} - - + + + + Key {{index + 1}} + + + + Value {{index + 1}} + + + + + Remove + + + + + Action + Add + + + + + Parameter List + {{rawRequestBody || '(add at least one parameter)'}} + + + + + @@ -138,9 +146,12 @@ - + + response - {{response.body || '(waiting to send request)'}} + Copy Response + + {{response.body || '(waiting to send request)'}} @@ -156,17 +167,19 @@ Time - - Method - + + Method + + {{entry.status}} - URL - + URL + - Path - + Path + @@ -183,22 +196,33 @@