diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index f74f6fca..27ba5d75 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -1,7 +1,15 @@ # Changelog +## 🩹 1.5.3 - UI Quick Fix [PR #121](https://github.com/Lissy93/dashy/pull/121) +- Downgrades and pins vue-material-tabs to 0.1.5, to prevent breaking changes. Fixes #118 p1 +- Sets auto-width for theme selector, so text doesn't wrap for long theme names. Fixes #119 +- Uses flex layout for config menu, so note doesn't overlap menu on small screens. Fixes #118 p2 + +## 🌐 1.5.2 - Adds Dutch Translations [PR #120](https://github.com/Lissy93/dashy/pull/120) +- Dutch language support, contributed by @evroon + ## 🩹 1.5.1 - UI Quick Fix [PR #116](https://github.com/Lissy93/dashy/pull/116) -- Fixes #115 - Some longer languages (e.g. French) cause text to break to the next line +- Uses min-max width parent layout, to prevent longer languages (e.g. French) text overflow. Fixes #115 ## 🔒 1.5.0 - Improve Robustness of Auth [PR #113](https://github.com/Lissy93/dashy/pull/113) - Use both username + password for generating token, so that a change in either will log the user out diff --git a/.github/pr-badge.yml b/.github/pr-badge.yml new file mode 100644 index 00000000..3aed393d --- /dev/null +++ b/.github/pr-badge.yml @@ -0,0 +1,45 @@ +# Config file for pull-request-badge. Enables badges to be assigned to certain PRs. + +# Checks if the required sections are missing +- label: "Missing" + message: "Category" + color: "#f25265" + when: "$payload.pull_request.body.includes('Category') === false" +- label: "Missing" + message: "Overview" + color: "#f25265" + when: "$payload.pull_request.body.includes('Overview') === false" +- label: "Missing" + message: "Quality Checklist" + color: "#f25265" + when: "$payload.pull_request.body.includes('Code Quality Checklist') === false" +- label: "Description" + when: "$payload.pull_request.body.length < 25" + message: "Incomplete" + color: "#f25265" + +# Add size label based on very large or tiny PRs +- label: "PR Size" + message: "Large" + color: "#f79c47" + when: "$additions > 600" +- label: "PR Size" + message: "Quick" + color: "#3eef8b" + when: "$additions < 5" + +# Show PR number, to destination and from destination +- label: "#$prNumber" + message: "$payload.pull_request.user.login /$payload.pull_request.head.ref → $payload.repository.full_name" + color: "#ab5afc" + +# Show total code added minus deleted +- label: "New Code" + message: "Commits: $payload.pull_request.commits | Files Changed: $payload.pull_request.changed_files | Additions: $payload.pull_request.additions-$payload.pull_request.deletions" + color: "#dddd00" + +# Show submitting user's username +- label: Submitted by + message: "$payload.pull_request.user.login" + color: "#fc7bf1" + when: "$payload.pull_request.author_association !== 'OWNER'" diff --git a/package.json b/package.json index e3f69789..22f2b65d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Dashy", - "version": "1.5.1", + "version": "1.5.3", "license": "MIT", "main": "server", "scripts": { @@ -35,7 +35,7 @@ "vue-cli-plugin-yaml": "^1.0.2", "vue-i18n": "^8.25.0", "vue-js-modal": "^2.0.0-rc.6", - "vue-material-tabs": "^0.1.2", + "vue-material-tabs": "0.1.5", "vue-prism-editor": "^1.2.2", "vue-router": "^3.0.3", "vue-select": "^3.11.2", diff --git a/src/components/Configuration/ConfigContainer.vue b/src/components/Configuration/ConfigContainer.vue index 369af458..29b70467 100644 --- a/src/components/Configuration/ConfigContainer.vue +++ b/src/components/Configuration/ConfigContainer.vue @@ -2,46 +2,48 @@
-

Configuration Options

- - + + - - - - - - - - - -

{{ getLanguage() }}

- + + + + + + + +

{{ getLanguage() }}

+ +
{{ $t('config.backup-note') }}
@@ -305,6 +307,13 @@ div.code-container { } .main-options-container { + height: 100%; + display: flex; + flex-direction: column; + justify-content: space-between; +} + +.config-buttons { display: flex; flex-direction: column; background: var(--config-settings-background); @@ -320,7 +329,6 @@ div.code-container { .config-note { width: 80%; - position: absolute; bottom: 1rem; left: 10%; margin: 0.5rem auto; diff --git a/src/components/Settings/ThemeSelector.vue b/src/components/Settings/ThemeSelector.vue index 75d452d7..3b6dc3ea 100644 --- a/src/components/Settings/ThemeSelector.vue +++ b/src/components/Settings/ThemeSelector.vue @@ -131,7 +131,8 @@ export default { div.vs__dropdown-toggle { border-color: var(--settings-text-color); border-radius: var(--curve-factor); - width: 8rem; + min-width: 8rem; + max-width: 16rem; height: 1.8rem; font-size: 0.85rem; cursor: pointer; diff --git a/yarn.lock b/yarn.lock index a5408341..e7fba661 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9768,7 +9768,7 @@ vue-loader@^15.9.2: vue-hot-reload-api "^2.3.0" vue-style-loader "^4.1.0" -vue-material-tabs@^0.1.2: +vue-material-tabs@0.1.5: version "0.1.5" resolved "https://registry.yarnpkg.com/vue-material-tabs/-/vue-material-tabs-0.1.5.tgz#255fc0beb27c005eaae61c1534d782a94c30c525" integrity sha512-ZLFRCxaCS3TM8IwnxQA4S2CVj+tBaILb8fQZDg+Ix+9Zu+k16udrdhLU2GWvJEVPLspuCzKhCEXW4cIg59YkVw==