diff --git a/README.md b/README.md index c715cb2d0..f960aee01 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ _Customized themes are also synced with local session storage_ - Send and receive data -🔐 **Authentication**: Allows to identity the end user. +🔐 **Authentication**: Allows to identify the end user. **Types:** - None diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 2df537e55..831a86e0e 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -348,6 +348,10 @@ h3 { } &.popover { + .wrapper { + min-height: auto; + } + .popover-inner { background: $bgcolor; color: $fgcolor; @@ -616,6 +620,10 @@ ol li { display: flex; } +.hide-on-large-screen { + display: none; +} + @media (max-width: $responsiveWidth) { ul, @@ -632,6 +640,10 @@ ol li { display: none; } + .hide-on-large-screen { + display: inline-flex; + } + .show-on-small-screen { display: inline-flex; } @@ -748,6 +760,7 @@ div.tab { order: 1; } +input[type="file"], input[type="radio"], div.tab { display: none; diff --git a/components/autocomplete.vue b/components/autocomplete.vue index da412defe..b97fed63a 100644 --- a/components/autocomplete.vue +++ b/components/autocomplete.vue @@ -49,7 +49,7 @@ padding: 0; border-radius: 0 0 4px 4px; z-index: 9999; - transition: transform 200ms ease-out; + transition: transform 0.2s ease-out; li { width: 100%; @@ -57,7 +57,6 @@ padding: 8px 16px; font-size: 18px; font-family: "Roboto Mono", monospace; - white-space: pre-wrap; &:last-child { border-radius: 0 0 4px 4px; diff --git a/components/collections/collection.vue b/components/collections/collection.vue index 8778ff895..34652dbe6 100644 --- a/components/collections/collection.vue +++ b/components/collections/collection.vue @@ -9,7 +9,7 @@ {{ collection.name }} -
+
+ + + +
diff --git a/components/collections/folder.vue b/components/collections/folder.vue index 18c791edc..0aeea9aae 100644 --- a/components/collections/folder.vue +++ b/components/collections/folder.vue @@ -9,7 +9,7 @@ {{ folder.name }}
-
+
@@ -17,6 +17,25 @@ edit
+ + + +
diff --git a/components/collections/request.vue b/components/collections/request.vue index 22a9c51e9..59b8cae33 100644 --- a/components/collections/request.vue +++ b/components/collections/request.vue @@ -6,7 +6,7 @@ {{ request.name }}
-
+
@@ -18,6 +18,29 @@ edit
+ + + +
diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 000000000..873915fdf --- /dev/null +++ b/docs/index.html @@ -0,0 +1,12 @@ + + + + + + + Postwoman + + + Redirecting to postwoman.io + + diff --git a/layouts/default.vue b/layouts/default.vue index 24002f1b2..8819ed2da 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -41,6 +41,7 @@ href="https://opencollective.com/postwoman" target="_blank" rel="noopener" + v-close-popover > + + + +
@@ -1903,6 +1913,25 @@ export default { this.contentType = ["POST", "PUT", "PATCH"].includes(this.method) ? "application/json" : ""; + }, + uploadPayload() { + this.rawInput = true; + let file = this.$refs.payload.files[0]; + if (file != null) { + let reader = new FileReader(); + reader.onload = (e) => { + this.rawParams = e.target.result; + }; + reader.readAsText(file); + this.$toast.info("File imported", { + icon: "attach_file" + }); + } + else { + this.$toast.error("Choose a file", { + icon: "attach_file" + }); + } } }, mounted() {