diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 12cc322a..b04d0a7c 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -1,8 +1,34 @@ # Changelog +## ✨ 1.5.8 - Multi-Tasking Support in Workspace View [PR #146](https://github.com/Lissy93/dashy/pull/146) +- Adds option to keep launched apps open in the background, to reduce friction when switching between websites, Re: #144 +- This can be enabled by setting `appConfig.enableMultiTasking: true` +- Note that having many apps opened simultaneously, will have an impact on performance + +## ✨ 1.5.7 - Adds Support for Material Design Icons [PR #141](https://github.com/Lissy93/dashy/pull/141) +- Enables user to use any icon from [materialdesignicons.com](https://dev.materialdesignicons.com/icons), Re: #139 +- Also adds support for [simpleicons.org](https://simpleicons.org/) +- Assets only loaded when needed +- Adds docs for using MDI icons + +## ⚡️ 1.5.6 - Refactor + Couple of small things [PR #135](https://github.com/Lissy93/dashy/pull/135) +- The main Dockerfile now uses yarn.lock instead of package-lock.json +- Adds a check to verify password is not empty in cloud backup screen +- Improves responsiveness of config modals for mobile devices +- Enables the user to use their own self-hosted Sentry instance +- Removes the View Config tab of the Config menu, as not needed +- Updates and fixes some typos in the readme + +## 🌐 1.5.5 - Adds Missing Translations + Small UI Issues [PR #129](https://github.com/Lissy93/dashy/pull/129) +- Adds missing translations to several UI elements, Re: #126 +- Fixes login translations not being picked up on page load, Re: #127 +- Fixes small text overflow glitch in config icon, Re: #123 +- Several small UI improvements: height of config editor, scrollbar on theme dropdown, page height, white-on-white on material theme, etc +- Adds an action to auto-assign reviewer based on ./.github/CODEOWNERS file + ## 🐳 1.5.4 - Docker ARM Support [PR #122](https://github.com/Lissy93/dashy/pull/122) -- Adds Docker files for `arm64v8` and `arm32v7` in order to support Raspberry Pi and other modern ARM-based devices -- Publishes these images on DockerHub and sets up a workflow to submit a new container every time a release is made +- Adds a Dockerfile for `arm64v8` and `arm32v7`, to support Raspberry Pi and other modern ARM-based devices +- Sets up automated workflow to publish ARM containers to DockerHub after every new release - Adds documentation for running Dashy on RPi/ ARM-based devices, Re: #117 ## 🩹 1.5.3 - UI Quick Fix [PR #121](https://github.com/Lissy93/dashy/pull/121) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..e653ca6a --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,16 @@ +# Code Owners helps give greater control to those who developed a feature +# PR's which modify files that you own will be marked as trusted +# After developing a feature, you can add yourself as it's owner +# Each line starts with file pattern, followed by one or more owners +# Codeowners Docs: https://github.blog/2017-07-06-introducing-code-owners/ + +# Repo Owner +* @lissy93 + +# Translations +src/assets/locales/de.json @niklashere +src/assets/locales/nl.json @evroon + +# Bot PR Permissions +docs/assets/CONTRIBUTORS.svg @liss-bot +docs/*.md @liss-bot diff --git a/Dockerfile b/Dockerfile index 034d3a49..3539bd9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,16 @@ -FROM node:lts-alpine +FROM node:lts-alpine3.14 # Define some ENV Vars -ENV PORT 80 -ENV DIRECTORY /app -ENV IS_DOCKER true +ENV PORT=80 \ + DIRECTORY=/app \ + IS_DOCKER=true # Create and set the working directory WORKDIR ${DIRECTORY} # Copy over both 'package.json' and 'package-lock.json' (if available) COPY package*.json ./ +COPY yarn.lock ./ # Install project dependencies RUN yarn diff --git a/Dockerfile-arm32v7 b/Dockerfile-arm32v7 index 2c49e078..cb50da2b 100644 --- a/Dockerfile-arm32v7 +++ b/Dockerfile-arm32v7 @@ -1,30 +1,43 @@ -FROM arm32v7/node:latest - -# Define some ENV Vars -ENV PORT 80 -ENV DIRECTORY /app -ENV IS_DOCKER true - -# Create and set the working directory -WORKDIR ${DIRECTORY} - -# Copy over both 'package.json' and 'package-lock.json' (if available) -COPY package*.json ./ - -# Install project dependencies -RUN yarn - -# Copy over all project files and folders to the working directory -COPY . . - -# Build initial app for production -RUN yarn build - -# Expose given port -EXPOSE ${PORT} - -# Finally, run start command to serve up the built application -CMD [ "yarn", "build-and-start"] - -# Run simple healthchecks every 5 mins, to check the Dashy's everythings great -HEALTHCHECK --interval=5m --timeout=2s --start-period=30s CMD yarn health-check +FROM alpine:3.12 AS builder + +# Download QEMU, see https://github.com/docker/hub-feedback/issues/1261 +RUN QEMU_URL=https://github.com/balena-io/qemu/releases/download/v5.2.0%2Bbalena4/qemu-5.2.0.balena4-arm.tar.gz \ + && apk add curl && curl -L $QEMU_URL | tar zxvf - -C . --strip-components 1 + +# Start second (arm32v7) stage +FROM arm32v7/alpine:3.12 + +# Add QEMU from build stage +COPY --from=builder qemu-arm-static /usr/bin + +# Install Node and Yarn +RUN apk add --update --no-cache nodejs npm yarn + +# Define some ENV Vars +ENV PORT=80 \ + DIRECTORY=/app \ + IS_DOCKER=true + +# Create and set the working directory +WORKDIR ${DIRECTORY} + +# Copy over both 'package.json' and 'package-lock.json' (if available) +COPY package*.json ./ + +# Install project dependencies +RUN yarn + +# Copy over all project files and folders to the working directory +COPY . . + +# Build initial app for production +RUN yarn build + +# Expose given port +EXPOSE ${PORT} + +# Finally, run start command to serve up the built application +CMD [ "yarn", "build-and-start"] + +# Run simple healthchecks every 5 mins, to check the Dashy's everythings great +HEALTHCHECK --interval=5m --timeout=2s --start-period=30s CMD yarn health-check diff --git a/Dockerfile-arm64v8 b/Dockerfile-arm64v8 index 3cd8f48f..1d85444b 100644 --- a/Dockerfile-arm64v8 +++ b/Dockerfile-arm64v8 @@ -1,9 +1,22 @@ -FROM arm64v8/node:latest +FROM alpine:3.12 AS builder + +# Download QEMU, see https://github.com/docker/hub-feedback/issues/1261 +RUN QEMU_URL=https://github.com/balena-io/qemu/releases/download/v5.2.0%2Bbalena4/qemu-5.2.0.balena4-aarch64.tar.gz \ + && apk add curl && curl -L $QEMU_URL | tar zxvf - -C . --strip-components 1 + +# Start second (arm64v8) stage +FROM arm64v8/alpine:3.12 + +# Add QEMU from build stage +COPY --from=builder qemu-aarch64-static /usr/bin + +# Install Node and Yarn +RUN apk add --update --no-cache nodejs npm yarn # Define some ENV Vars -ENV PORT 80 -ENV DIRECTORY /app -ENV IS_DOCKER true +ENV PORT=80 \ + DIRECTORY=/app \ + IS_DOCKER=true # Create and set the working directory WORKDIR ${DIRECTORY} diff --git a/README.md b/README.md index 548fe21c..ee7eb85f 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@
  • Community