feat: Implement push notifications in Budget Manager PWA

- Added functionality for subscribing to push notifications in Settings.vue.
- Integrated service worker registration and notification permission requests.
- Enhanced Vite configuration for PWA with manifest and caching strategies.
- Created a script for generating PDF reports.
- Added project report markdown file detailing the PWA implementation and features.
This commit is contained in:
2025-05-23 23:54:46 +02:00
parent 26e3b76b11
commit 8681aa88af
37 changed files with 7034 additions and 85 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
if [ -z "$1" ]; then
echo -e "\e[32;7;1mREAD THE CODE:\e[0m"
echo
if command -v bat &>/dev/null; then
bat -Pp "$0"
else
cat "$0"
fi
echo
echo -e "\e[32;7;1mEND OF CODE\e[0m"
exit 1
fi
IN="$1" # input file, if empty prints scripts itself
OUT="${2:-$(basename "$IN" .md).pdf}" # if second argument is empty, use first argument without extension
REST="${*:3}" # pass rest of arguments to pandoc
COMMAND="pandoc \"$IN\" -o \"$OUT\" --pdf-engine=lualatex --pdf-engine-opt=\"--shell-escape\" $REST"
eval "$COMMAND"