From 1b9db42114df16ea33ae28159800c2d4d6bfceab Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Mon, 21 Oct 2019 15:50:05 +0530 Subject: [PATCH] :zap: Better Proxy toast prompt --- README.md | 6 +++--- pages/index.vue | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 34095e808..1c3b2ccb6 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ _History entries are synced with local session storage_ _Customized themes are also synced with local session storage_ -🔥 **PWA**: Install as a **[PWA](https://developers.google.com/web/progressive-web-apps)** on your device. +🔥 **PWA**: Install as a [PWA](https://developers.google.com/web/progressive-web-apps) on your device. **Features:** - Instant loading with [Service Workers](https://developers.google.com/web/fundamentals/primers/service-workers) @@ -70,7 +70,7 @@ _Customized themes are also synced with local session storage_ - Low RAM/memory and CPU usage - [Add to Home Screen](https://developers.google.com/web/fundamentals/app-install-banners) (button in footer) - [Desktop PWA](https://developers.google.com/web/progressive-web-apps/desktop) support (button in footer) - - [Full features](https://developers.google.com/web/progressive-web-apps) + - ([full features](https://developers.google.com/web/progressive-web-apps)) 🚀 **Request**: Retrieve data from a URL without having to do a full page refresh. @@ -118,7 +118,7 @@ _HTML responses have "Preview HTML" feature_ ⏰ **History**: Request entries are synced with local session storage to reuse with a single click. -**Fields** +**Field:s** - Label - Timestamp - Method diff --git a/pages/index.vue b/pages/index.vue index a7e32a1a3..4cd2c4539 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -847,7 +847,9 @@ icon: 'error' }); if(!this.$store.state.postwoman.settings.PROXY_ENABLED) { - this.$toast.info('Enable proxy mode?', { + this.$toast.info('Try enabling Proxy', { + icon: 'help', + duration: 5000, action: { text: 'Settings', onClick: (e, toastObject) => {