Makefile fixes
Build LinkLog Development Image / development-image (push) Successful in 8s

This commit is contained in:
2026-08-26 10:42:24 +02:00
parent c748241291
commit c012f1edfa
9 changed files with 15 additions and 3 deletions
+7 -2
View File
@@ -15,15 +15,20 @@ XPI_UNSIGNED_DIR := XPI/unsigned
XPI_SIGNED_DIR := XPI/signed
XPI_OUTPUT := $(XPI_UNSIGNED_DIR)/$(XPI_FILE)
EXTENSION_FILES := manifest.json logo.svg icon-16.png icon-32.png icon-48.png icon-96.png options.css options.html options.js popup.css popup.html popup.js
EXTENSION_SOURCES := $(addprefix webextension/,$(EXTENSION_FILES))
XPI_VALIDATOR := scripts/release/validate_xpi.py
.PHONY: all logos xpi check-tools clean-generated
all: logos
all: logos
logos: check-tools $(GENERATED_LOGOS)
xpi: logos
xpi: $(XPI_OUTPUT)
$(XPI_OUTPUT): $(EXTENSION_SOURCES) $(GENERATED_LOGOS) $(XPI_VALIDATOR)
@test -n "$(EXTENSION_VERSION)" || { echo "Error: extension version is missing from webextension/manifest.json" >&2; exit 1; }
@mkdir -p $(XPI_UNSIGNED_DIR) $(XPI_SIGNED_DIR)
@rm -f $(XPI_OUTPUT)
+6
View File
@@ -659,6 +659,12 @@ Put the Mastodon button on the lower-right corner of the log entry.
### Assistant outcome
Split the Mastodon control from the Edit/Delete action group and positioned it at the lower-right corner of user-specific link entries. Reserved bottom space in each entry to prevent overlap.
### User
Make sure that the Makefile also rebuilds the XPI if any of its source files are changed.
### Assistant outcome
Changed the unsigned XPI into a dependency-aware Make target with explicit dependencies on all packaged extension sources and the XPI validator. Confirmed a forced build succeeds and the real archive target reports up to date when unchanged.
### User
Change the Mastodon button location to immediately below the Edit and Delete buttons.
+1
View File
@@ -120,6 +120,7 @@
114. In the frontend do not show edit buttons on the home page even when a user is logged in. On the /<user>/ page show the edit button on the right of the entry. Also add a delete button.
115. Put the buttons on the right hand side of the link item, make the buttons smaller and same color scheme
116. Put the mastodon button on the lower right corner of the log entry
117. Make sure that the makefile also rebuilds XPI if any of its source files are changed
117. Change that location to be immediately below the edit and delete button
116. When the user is authorized and on its /<user>/ page show a Mastodon post button with logo; after posting keep it functional but change its color.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

+1 -1
View File
@@ -32,7 +32,7 @@
<label>
Password
<input id="password" type="password" placeholder="********" />
<input id="password" type="password" />
</label>
<button type="submit">Save and log in</button>