Add dashboard widget to show the latest notes. Issue #51

p.s: I would like to be able to select a particular tag to show, but
none of the dashboard widgets are configurable.

I hate increasing the app size from 300k to almost 3 mb for something
so simple, but we must adapt to the majority and use vue here.
This commit is contained in:
Matias De lellis
2022-05-25 10:29:20 -03:00
parent e6d52bfa5a
commit b6db15d8d2
14 changed files with 21727 additions and 308 deletions

View File

@@ -26,8 +26,8 @@ package_name=$(app_name)
cert_dir=$(HOME)/.nextcloud/certificates
# building the javascript
all: build
build: deps
# L10N Rules
@@ -77,9 +77,19 @@ depsmin:
cp node_modules/medium-editor-autolist/dist/autolist.min.js vendor/autolist.js
cp node_modules/lozad/dist/lozad.min.js vendor/lozad.js
# Build Rules
build-vue:
npm run build
js-templates:
node_modules/handlebars/bin/handlebars js/templates -f js/templates.js
build: depsmin js-templates build-vue
@echo ""
@echo "Build done. You can enable the application in Nextcloud."
# Clean
clean:
rm -rf $(build_dir)
@@ -91,7 +101,7 @@ distclean: clean
dist: appstore
appstore: distclean depsmin
appstore: distclean build
mkdir -p $(sign_dir)
rsync -a \
--exclude='.*' \
@@ -107,8 +117,11 @@ appstore: distclean depsmin
--exclude=vendor/bin \
--exclude=node_modules \
--exclude=js/templates \
--exclude=src \
--exclude=templates/fake.php \
--exclude=translation* \
--exclude=webpack*.js \
--exclude=psalm.xml \
$(project_dir) $(sign_dir)
@echo "Signing…"
php ../../occ integrity:sign-app \