diff --git a/.gitignore b/.gitignore index cc00b1dee..b463a5cee 100644 --- a/.gitignore +++ b/.gitignore @@ -98,3 +98,9 @@ sw.* # File explorer .directory + +# Tests screenshots +tests/*/screenshots + +# Tests videos +tests/*/videos diff --git a/.travis.yml b/.travis.yml index 92275152d..ebaa8f2f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,6 +40,7 @@ install: - "npm install" before_script: + - "npm run build" # use nuxt build and start to run tests - "npm run test" script: diff --git a/CHANGELOG.md b/CHANGELOG.md index 118c5e3be..7775dfe68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,85 @@ # Changelog +## [v1.9.0](https://github.com/liyasthomas/postwoman/tree/v1.9.0) (2020-02-24) + +[Full Changelog](https://github.com/liyasthomas/postwoman/compare/v1.8.0...v1.9.0) + +**Implemented enhancements:** + +- Disable SSL cert for websockets [\#557](https://github.com/liyasthomas/postwoman/issues/557) +- Feature request: Keyboard shortcuts for folder creation [\#539](https://github.com/liyasthomas/postwoman/issues/539) +- Friendly minded GraphQL [\#468](https://github.com/liyasthomas/postwoman/issues/468) +- multipart/form-data support [\#434](https://github.com/liyasthomas/postwoman/issues/434) +- Implement pre-request and post-request scripts \(and request chaining\) [\#218](https://github.com/liyasthomas/postwoman/issues/218) +- Environment management and configuration [\#147](https://github.com/liyasthomas/postwoman/issues/147) +- POST request body editor reacts to the content type [\#594](https://github.com/liyasthomas/postwoman/pull/594) ([AndrewBastin](https://github.com/AndrewBastin)) +- Environment Mangement [\#591](https://github.com/liyasthomas/postwoman/pull/591) ([JacobAnavisca](https://github.com/JacobAnavisca)) +- GraphQL Query Autocompletion [\#590](https://github.com/liyasthomas/postwoman/pull/590) ([AndrewBastin](https://github.com/AndrewBastin)) +- Postman collection parsing [\#574](https://github.com/liyasthomas/postwoman/pull/574) ([JacobAnavisca](https://github.com/JacobAnavisca)) +- Added toggle to decide whether extensions should be used [\#551](https://github.com/liyasthomas/postwoman/pull/551) ([AndrewBastin](https://github.com/AndrewBastin)) +- Show Ctrl instead of Command for shortcuts non-Apple platforms [\#549](https://github.com/liyasthomas/postwoman/pull/549) ([AndrewBastin](https://github.com/AndrewBastin)) +- Updated GraphQL Query Variable Editor [\#534](https://github.com/liyasthomas/postwoman/pull/534) ([AndrewBastin](https://github.com/AndrewBastin)) + +**Fixed bugs:** + +- Auto Theme Selection is kinda difficult to see [\#563](https://github.com/liyasthomas/postwoman/issues/563) +- Can't send request to localhost via Chrome extention [\#560](https://github.com/liyasthomas/postwoman/issues/560) +- Validation for duplicate collection ignores letter case [\#547](https://github.com/liyasthomas/postwoman/issues/547) +- Build failed [\#327](https://github.com/liyasthomas/postwoman/issues/327) +- Fixed typo in translation file for Auto theme [\#556](https://github.com/liyasthomas/postwoman/pull/556) ([AndrewBastin](https://github.com/AndrewBastin)) + +**Closed issues:** + +- don't run [\#577](https://github.com/liyasthomas/postwoman/issues/577) +- Get correct response data but occurs with error "Cannot read property 'value' of undefined" [\#575](https://github.com/liyasthomas/postwoman/issues/575) +- firebase\_app\_\_WEBPACK\_IMPORTED\_MODULE\_2\_\_\_default.a.firestore is not a function [\#558](https://github.com/liyasthomas/postwoman/issues/558) +- relative module not found during start [\#552](https://github.com/liyasthomas/postwoman/issues/552) +- Feature Request: Subfolders [\#540](https://github.com/liyasthomas/postwoman/issues/540) +- Add max-height and overflow: auto to "parameter list" textarea [\#532](https://github.com/liyasthomas/postwoman/issues/532) +- IE Support [\#386](https://github.com/liyasthomas/postwoman/issues/386) +- ⏬ Import a Postman's Collection [\#333](https://github.com/liyasthomas/postwoman/issues/333) + +**Merged pull requests:** + +- Fix variablesJSONString store default for GraphQL page [\#593](https://github.com/liyasthomas/postwoman/pull/593) ([dmitryyankowski](https://github.com/dmitryyankowski)) +- Refactor/lint [\#589](https://github.com/liyasthomas/postwoman/pull/589) ([liyasthomas](https://github.com/liyasthomas)) +- Even [\#588](https://github.com/liyasthomas/postwoman/pull/588) ([liyasthomas](https://github.com/liyasthomas)) +- chore\(deps\): bump firebase from 7.9.0 to 7.9.1 [\#587](https://github.com/liyasthomas/postwoman/pull/587) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- Even [\#586](https://github.com/liyasthomas/postwoman/pull/586) ([liyasthomas](https://github.com/liyasthomas)) +- chore\(deps\): bump firebase from 7.8.2 to 7.9.0 [\#585](https://github.com/liyasthomas/postwoman/pull/585) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- chore\(deps\): bump vue-virtual-scroll-list from 1.4.5 to 1.4.6 [\#584](https://github.com/liyasthomas/postwoman/pull/584) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- Adapt extension check to new extensions [\#583](https://github.com/liyasthomas/postwoman/pull/583) ([levrik](https://github.com/levrik)) +- Update link to extension repo in README [\#582](https://github.com/liyasthomas/postwoman/pull/582) ([levrik](https://github.com/levrik)) +- Even [\#579](https://github.com/liyasthomas/postwoman/pull/579) ([liyasthomas](https://github.com/liyasthomas)) +- Refactor/lint [\#578](https://github.com/liyasthomas/postwoman/pull/578) ([liyasthomas](https://github.com/liyasthomas)) +- chore\(deps\): bump vue-virtual-scroll-list from 1.4.4 to 1.4.5 [\#576](https://github.com/liyasthomas/postwoman/pull/576) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- Unify Chrome and Firefox extensions [\#573](https://github.com/liyasthomas/postwoman/pull/573) ([levrik](https://github.com/levrik)) +- fix: drop the toast which doesn't show up [\#572](https://github.com/liyasthomas/postwoman/pull/572) ([jamesgeorge007](https://github.com/jamesgeorge007)) +- :sparkles: Native share + updated meta description [\#571](https://github.com/liyasthomas/postwoman/pull/571) ([liyasthomas](https://github.com/liyasthomas)) +- chore\(deps\): bump firebase from 7.8.1 to 7.8.2 [\#570](https://github.com/liyasthomas/postwoman/pull/570) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- chore\(deps-dev\): bump cypress from 4.0.1 to 4.0.2 [\#569](https://github.com/liyasthomas/postwoman/pull/569) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- Added create collection and save request syncs [\#568](https://github.com/liyasthomas/postwoman/pull/568) ([JacobAnavisca](https://github.com/JacobAnavisca)) +- Moved common headers to a separate file [\#566](https://github.com/liyasthomas/postwoman/pull/566) ([AndrewBastin](https://github.com/AndrewBastin)) +- chore\(deps-dev\): bump cypress from 4.0.0 to 4.0.1 [\#565](https://github.com/liyasthomas/postwoman/pull/565) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- chore\(deps\): bump yargs-parser from 16.1.0 to 17.0.0 [\#564](https://github.com/liyasthomas/postwoman/pull/564) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- chore\(deps-dev\): bump cypress from 3.8.3 to 4.0.0 [\#562](https://github.com/liyasthomas/postwoman/pull/562) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- chore\(deps\): bump firebase from 7.8.0 to 7.8.1 [\#561](https://github.com/liyasthomas/postwoman/pull/561) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- chore: use typeof as an operator and make use of localizable strings [\#559](https://github.com/liyasthomas/postwoman/pull/559) ([jamesgeorge007](https://github.com/jamesgeorge007)) +- Support for Formdata [\#555](https://github.com/liyasthomas/postwoman/pull/555) ([liyasthomas](https://github.com/liyasthomas)) +- chore\(deps\): bump @nuxtjs/pwa from 3.0.0-beta.19 to 3.0.0-beta.20 [\#554](https://github.com/liyasthomas/postwoman/pull/554) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- chore\(deps\): bump @nuxtjs/axios from 5.9.4 to 5.9.5 [\#553](https://github.com/liyasthomas/postwoman/pull/553) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- fix\(chore\): Take letter casing into account while checking for duplicate collection [\#548](https://github.com/liyasthomas/postwoman/pull/548) ([jamesgeorge007](https://github.com/jamesgeorge007)) +- update e2e tests [\#546](https://github.com/liyasthomas/postwoman/pull/546) ([yubathom](https://github.com/yubathom)) +- chore\(deps\): bump @nuxtjs/axios from 5.9.3 to 5.9.4 [\#545](https://github.com/liyasthomas/postwoman/pull/545) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- Refactor [\#543](https://github.com/liyasthomas/postwoman/pull/543) ([liyasthomas](https://github.com/liyasthomas)) +- chore\(deps\): bump firebase from 7.7.0 to 7.8.0 [\#542](https://github.com/liyasthomas/postwoman/pull/542) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- chore\(deps\): bump graphql from 14.5.8 to 14.6.0 [\#541](https://github.com/liyasthomas/postwoman/pull/541) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) +- i18n [\#538](https://github.com/liyasthomas/postwoman/pull/538) ([liyasthomas](https://github.com/liyasthomas)) +- Modification of French translations [\#537](https://github.com/liyasthomas/postwoman/pull/537) ([thomasbnt](https://github.com/thomasbnt)) +- Even [\#535](https://github.com/liyasthomas/postwoman/pull/535) ([liyasthomas](https://github.com/liyasthomas)) +- Updating spanish translation [\#529](https://github.com/liyasthomas/postwoman/pull/529) ([liyasthomas](https://github.com/liyasthomas)) +- chore\(deps\): bump nuxt-i18n from 6.4.1 to 6.5.0 [\#522](https://github.com/liyasthomas/postwoman/pull/522) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) + ## [v1.8.0](https://github.com/liyasthomas/postwoman/tree/v1.8.0) (2020-01-28) [Full Changelog](https://github.com/liyasthomas/postwoman/compare/v1.5.0...v1.8.0) @@ -11,9 +91,12 @@ - ULR parsing and var auto creation [\#469](https://github.com/liyasthomas/postwoman/issues/469) - What about additional loaders: + Pug, TypeScript, SASS, material-vue ? [\#467](https://github.com/liyasthomas/postwoman/issues/467) - \[suggestion\] - Tests tab [\#465](https://github.com/liyasthomas/postwoman/issues/465) +- cookie not found support [\#443](https://github.com/liyasthomas/postwoman/issues/443) - Feature Request: Consumer Driven Contract Testing [\#420](https://github.com/liyasthomas/postwoman/issues/420) - Feature Request: Support OAuth2/OIDC [\#337](https://github.com/liyasthomas/postwoman/issues/337) - Add DB cache [\#26](https://github.com/liyasthomas/postwoman/issues/26) +- Update asset/\*. js to asset/\*. ts. [\#517](https://github.com/liyasthomas/postwoman/pull/517) ([Sn005](https://github.com/Sn005)) +- Auth [\#513](https://github.com/liyasthomas/postwoman/pull/513) ([liyasthomas](https://github.com/liyasthomas)) - Support for Google Chrome Extension [\#512](https://github.com/liyasthomas/postwoman/pull/512) ([AndrewBastin](https://github.com/AndrewBastin)) - GraphQL query validation based on schema [\#508](https://github.com/liyasthomas/postwoman/pull/508) ([AndrewBastin](https://github.com/AndrewBastin)) - Syntax Error marking in GraphQL query editor [\#505](https://github.com/liyasthomas/postwoman/pull/505) ([AndrewBastin](https://github.com/AndrewBastin)) @@ -46,8 +129,8 @@ - Enhancements [\#531](https://github.com/liyasthomas/postwoman/pull/531) ([jamesgeorge007](https://github.com/jamesgeorge007)) - Merge pull request \#530 from liyasthomas/feature/post-request-tests [\#530](https://github.com/liyasthomas/postwoman/pull/530) ([liyasthomas](https://github.com/liyasthomas)) +- even merge [\#528](https://github.com/liyasthomas/postwoman/pull/528) ([liyasthomas](https://github.com/liyasthomas)) - Refactor [\#523](https://github.com/liyasthomas/postwoman/pull/523) ([liyasthomas](https://github.com/liyasthomas)) -- chore\(deps\): bump nuxt-i18n from 6.4.1 to 6.5.0 [\#522](https://github.com/liyasthomas/postwoman/pull/522) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) - chore\(deps\): bump v-tooltip from 2.0.2 to 2.0.3 [\#521](https://github.com/liyasthomas/postwoman/pull/521) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) - chore\(deps-dev\): bump cypress from 3.8.2 to 3.8.3 [\#520](https://github.com/liyasthomas/postwoman/pull/520) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) - Feature/post request tests [\#518](https://github.com/liyasthomas/postwoman/pull/518) ([nickpalenchar](https://github.com/nickpalenchar)) @@ -69,7 +152,6 @@ - ⬆️ Bump sass-loader from 8.0.0 to 8.0.1 [\#482](https://github.com/liyasthomas/postwoman/pull/482) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) - ⬆️ Bump @nuxtjs/google-analytics from 2.2.2 to 2.2.3 [\#481](https://github.com/liyasthomas/postwoman/pull/481) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) - OAuth 2.0/OIDC Access Token Retrieval Support [\#476](https://github.com/liyasthomas/postwoman/pull/476) ([reefqi037](https://github.com/reefqi037)) -- ⬆️ Bump cypress from 3.8.0 to 3.8.1 [\#460](https://github.com/liyasthomas/postwoman/pull/460) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) ## [v1.5.0](https://github.com/liyasthomas/postwoman/tree/v1.5.0) (2020-01-04) @@ -79,7 +161,6 @@ - Can WSDL be implemented, similar to SoapUI? [\#461](https://github.com/liyasthomas/postwoman/issues/461) - Raw Request Body should be supported to format the JSON string [\#446](https://github.com/liyasthomas/postwoman/issues/446) -- cookie not found support [\#443](https://github.com/liyasthomas/postwoman/issues/443) - Ability to send Binary data using Postwoman [\#415](https://github.com/liyasthomas/postwoman/issues/415) - Custom request method [\#398](https://github.com/liyasthomas/postwoman/issues/398) - \[request\]: CLI possibilities [\#363](https://github.com/liyasthomas/postwoman/issues/363) @@ -112,7 +193,6 @@ - Two Way Data Binding \(v-model\) to Ace Editor component [\#379](https://github.com/liyasthomas/postwoman/pull/379) ([AndrewBastin](https://github.com/AndrewBastin)) - Basic i18n support [\#351](https://github.com/liyasthomas/postwoman/pull/351) ([liyasthomas](https://github.com/liyasthomas)) - Undo header/param/body param deletion [\#350](https://github.com/liyasthomas/postwoman/pull/350) ([AndrewBastin](https://github.com/AndrewBastin)) -- Added ability to run GraphQL queries [\#346](https://github.com/liyasthomas/postwoman/pull/346) ([AndrewBastin](https://github.com/AndrewBastin)) - refactor: minor improvements [\#343](https://github.com/liyasthomas/postwoman/pull/343) ([jamesgeorge007](https://github.com/jamesgeorge007)) **Fixed bugs:** @@ -174,6 +254,7 @@ - ⬆️ Bump @nuxtjs/axios from 5.9.0 to 5.9.2 [\#472](https://github.com/liyasthomas/postwoman/pull/472) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) - Added variables to graphql page. [\#464](https://github.com/liyasthomas/postwoman/pull/464) ([pushrbx](https://github.com/pushrbx)) - i18n [\#463](https://github.com/liyasthomas/postwoman/pull/463) ([liyasthomas](https://github.com/liyasthomas)) +- ⬆️ Bump cypress from 3.8.0 to 3.8.1 [\#460](https://github.com/liyasthomas/postwoman/pull/460) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) - i18n\(de-DE\): improve some translations [\#459](https://github.com/liyasthomas/postwoman/pull/459) ([gabschne](https://github.com/gabschne)) - bn-BD i18n [\#455](https://github.com/liyasthomas/postwoman/pull/455) ([hmtanbir](https://github.com/hmtanbir)) - API documentation page [\#451](https://github.com/liyasthomas/postwoman/pull/451) ([liyasthomas](https://github.com/liyasthomas)) @@ -360,6 +441,7 @@ - ⬆️ Bump nuxt from 2.10.0 to 2.10.1 [\#192](https://github.com/liyasthomas/postwoman/pull/192) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) - ⬆️ Bump yargs-parser from 14.0.0 to 15.0.0 [\#191](https://github.com/liyasthomas/postwoman/pull/191) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) - Add quotation marks for generated code [\#187](https://github.com/liyasthomas/postwoman/pull/187) ([johnhenry](https://github.com/johnhenry)) +- updated threshold and rootMargin for IntersectionObserver [\#182](https://github.com/liyasthomas/postwoman/pull/182) ([edisonaugusthy](https://github.com/edisonaugusthy)) - Add basic e2e tests [\#181](https://github.com/liyasthomas/postwoman/pull/181) ([yubathom](https://github.com/yubathom)) - ⬆️ Bump nuxt from 2.9.2 to 2.10.0 [\#179](https://github.com/liyasthomas/postwoman/pull/179) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview)) - 🐛 Fixed sitemap configuration [\#177](https://github.com/liyasthomas/postwoman/pull/177) ([NicoPennec](https://github.com/NicoPennec)) diff --git a/README.md b/README.md index a77f29440..111eff342 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

- A free, fast & beautiful API request builder + A free, fast and beautiful API request builder

Web alternative to Postman - Helps you create requests faster, saving precious time on development - Subscribe @@ -204,7 +204,7 @@ _**All `i18n` contributions are welcome to `i18n` [branch](https://github.com/li - **[CLI β](https://github.com/postwoman-io/postwoman-cli)** - A CLI solution for Postwoman - **Browser Extensions** - Browser extensions that simplifies access to Postwoman - [![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_16x16.png) **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/postwoman) ([GitHub](https://github.com/AndrewBastin/postwoman-firefox))  |  [![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_16x16.png) **Chrome**](https://chrome.google.com/webstore/detail/postwoman-extension-for-c/amknoiejhlmhancpahfcfcfhllgkpbld) ([GitHub](https://github.com/AndrewBastin/postwoman-chrome)) + [![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_16x16.png) **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/postwoman)  |  [![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_16x16.png) **Chrome**](https://chrome.google.com/webstore/detail/postwoman-extension-for-c/amknoiejhlmhancpahfcfcfhllgkpbld) ([GitHub](https://github.com/AndrewBastin/postwoman-extension)) >**Extensions fixes `CORS` issues.** @@ -315,7 +315,10 @@ See the [CHANGELOG](CHANGELOG.md) file for details. ### Lead Developers * **[Liyas Thomas](https://github.com/liyasthomas)** - *Author* -* **[Caneco](https://twitter.com/caneco)** - *Designer* +* **[John Harker](https://github.com/NBTX)** - *Lead developer* +* **[Andrew Bastin](https://github.com/andrewbastin)** - *Lead developer* +* **[James George](https://github.com/jamesgeorge007)** - *Lead maintainer* +* **[Caneco](https://twitter.com/caneco)** - *Logo and banner designer* ### Testing and Debugging diff --git a/assets/css/fonts.scss b/assets/css/fonts.scss index 0c714f199..ecb70d187 100644 --- a/assets/css/fonts.scss +++ b/assets/css/fonts.scss @@ -6,7 +6,9 @@ font-family: "Material Icons"; font-style: normal; font-weight: 400; - font-display: swap; + // Do not use font-display: swap for the icon font - it looks really bad when the page + // loads. + font-display: block; src: url("~static/fonts/material-icons-v48.woff2") format("woff2"); } diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 5906ac886..1325f1a5f 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -22,13 +22,11 @@ $responsiveWidth: 768px; ::-webkit-scrollbar { width: 4px; height: 4px; - border-radius: 4px; - background-color: var(--bg-light-color); + background-color: var(--bg-dark-color); } ::-webkit-scrollbar-thumb { background-color: var(--fg-light-color); - border-radius: 8px; &:hover { background-color: var(--fg-color); @@ -60,9 +58,9 @@ body { padding: 0; margin: 0; scroll-behavior: smooth; + transition: all 0.2s ease-in-out; } -// Make theme transition smoother. body.afterLoad { transition: background-color 0.2s ease-in-out; } @@ -76,6 +74,10 @@ a { color: inherit; text-decoration: none; transition: all 0.2s ease-in-out; + + &.link { + color: var(--ac-color); + } } header, @@ -92,7 +94,7 @@ footer { .wrapper { min-height: 100vh; display: flex; - flex-direction: column; + flex-flow: column nowrap; } .wrapper .page { @@ -146,7 +148,8 @@ footer { z-index: 1; height: 100vh; padding: 0 8px; - background-color: var(--bg-light-color); + background-color: var(--bg-dark-color); + transition: all 0.2s ease-in-out; } .main { @@ -173,6 +176,7 @@ nav.primary-nav { svg { fill: var(--fg-light-color); + transition: all 0.2s ease-in-out; } a { @@ -186,7 +190,7 @@ nav.primary-nav { color: var(--fg-light-color); fill: var(--fg-light-color); margin: 8px 0; - transition: all 0.2s ease-in-out; + height: 52px; &:hover { color: var(--fg-color); @@ -246,7 +250,7 @@ nav.secondary-nav { } .footer { - flex-direction: column; + flex-flow: column nowrap; } h1, @@ -263,11 +267,16 @@ hr { border-bottom: 1px dashed var(--brd-color); } +p { + transition: all 0.2s ease-in-out; +} + .tooltip { $bgcolor: var(--tt-color); $fgcolor: var(--fg-color); display: block !important; z-index: 10000; + transition: all 0.2s ease-in-out; .tooltip-inner { background: $bgcolor; @@ -422,7 +431,6 @@ button { color: var(--act-color); fill: var(--act-color); box-shadow: inset 0 0 0 2px var(--fg-color); - transition: all 0.2s ease-in-out; } &.icon { @@ -437,7 +445,6 @@ button { color: var(--fg-color); fill: var(--fg-color); box-shadow: none; - transition: all 0.2s ease-in-out; } } @@ -472,8 +479,19 @@ button { fieldset { margin: 16px 0; border-radius: 16px; - transition: all 0.2s ease-in-out; background-color: var(--bg-dark-color); + transition: all 0.2s ease-in-out; +} + +fieldset:target, +section:target { + animation: highlight 2s ease; +} + +@keyframes highlight { + 50% { + box-shadow: 0 0 0 2px var(--ac-color); + } } legend { @@ -483,6 +501,7 @@ legend { color: var(--fg-color); font-weight: 700; cursor: pointer; + transition: all 0.2s ease-in-out; * { vertical-align: middle; @@ -538,6 +557,7 @@ input[type="radio"], display: none; } +.method, kbd, select, input, @@ -564,7 +584,16 @@ code { &:not([readonly]):not(.ace_editor):active, &:not([readonly]):not(.ace_editor):focus { box-shadow: inset 0 0 0 2px var(--fg-light-color); - transition: all 0.2s ease-in-out; + } +} + +.method { + cursor: pointer; + + &:hover, + &:active, + &:focus { + box-shadow: inset 0 0 0 2px var(--fg-light-color); } } @@ -587,6 +616,14 @@ pre { .select-wrapper { position: relative; + input { + text-transform: uppercase; + } + + .trigger { + width: 100%; + } + &:after { display: inline-block; position: absolute; @@ -661,6 +698,7 @@ input[type="checkbox"] { label { padding: 4px; color: var(--fg-light-color); + transition: all 0.2s ease-in-out; } ul, @@ -679,7 +717,7 @@ ol { ul li, ol li { display: inline-flex; - flex-direction: column; + flex-flow: column nowrap; flex-grow: 1; justify-content: center; } @@ -693,7 +731,7 @@ ol li { * { display: inline-flex; - flex-wrap: wrap; + flex-flow: row wrap; align-items: center; justify-content: center; } @@ -773,27 +811,19 @@ ol li { } #send { - // #hidden-message { - // display: none; - // } - &.show { display: flex; position: fixed; top: 12px; right: 12px; z-index: 2; - - // #hidden-message { - // display: block; - // margin-left: 4px; - // } } } section { display: flex; flex-wrap: wrap; + border-radius: 16px; } .tab { @@ -873,18 +903,19 @@ input[type="radio"]:checked + label + .tab { padding: 0; width: 100%; background-color: var(--bg-color); - transition: all 0.2s ease-in-out; box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.45); } nav.primary-nav { flex-flow: row nowrap; overflow: auto; - justify-content: space-around; + justify-content: space-between; + background-color: var(--bg-dark-color); a { background-color: transparent; margin: 8px; + flex: 1; &.nuxt-link-exact-active { background-color: transparent; @@ -908,7 +939,7 @@ input[type="radio"]:checked + label + .tab { ul, ol { - flex-direction: column; + flex-flow: column nowrap; } ul li, diff --git a/components/ace-editor.vue b/components/ace-editor.vue index 3f2745147..be1917c08 100644 --- a/components/ace-editor.vue +++ b/components/ace-editor.vue @@ -1,7 +1,23 @@ + + diff --git a/components/collections/addCollection.vue b/components/collections/addCollection.vue index 39b7a7675..fd9202ab2 100644 --- a/components/collections/addCollection.vue +++ b/components/collections/addCollection.vue @@ -21,6 +21,7 @@ type="text" v-model="name" :placeholder="$t('my_new_collection')" + @keyup.enter="addNewCollection" /> @@ -42,6 +43,8 @@ diff --git a/components/collections/saveRequestAs.vue b/components/collections/saveRequestAs.vue index 6cf3d6491..2ded742eb 100644 --- a/components/collections/saveRequestAs.vue +++ b/components/collections/saveRequestAs.vue @@ -104,6 +104,8 @@ diff --git a/components/environments/editEnvironment.vue b/components/environments/editEnvironment.vue new file mode 100644 index 000000000..9c15b33e2 --- /dev/null +++ b/components/environments/editEnvironment.vue @@ -0,0 +1,221 @@ + + + diff --git a/components/environments/environment.vue b/components/environments/environment.vue new file mode 100644 index 000000000..8fda53198 --- /dev/null +++ b/components/environments/environment.vue @@ -0,0 +1,65 @@ + + + + + diff --git a/components/environments/importExportEnvironment.vue b/components/environments/importExportEnvironment.vue new file mode 100644 index 000000000..9b834c376 --- /dev/null +++ b/components/environments/importExportEnvironment.vue @@ -0,0 +1,173 @@ + + + diff --git a/components/environments/index.vue b/components/environments/index.vue new file mode 100644 index 000000000..9ea171410 --- /dev/null +++ b/components/environments/index.vue @@ -0,0 +1,147 @@ + + + + + diff --git a/components/firebase/feeds.vue b/components/firebase/feeds.vue index 076dcdf97..cf3144f47 100644 --- a/components/firebase/feeds.vue +++ b/components/firebase/feeds.vue @@ -3,28 +3,25 @@ v-if="fb.currentFeeds.length !== 0" class="virtual-list" :class="{ filled: fb.currentFeeds.length }" - :size="56" - :remain="Math.min(8, fb.currentFeeds.length)" + :size="90" + :remain="Math.min(5, fb.currentFeeds.length)" > -