Skip to content

luci-app-lldpd: remove broken CSS version suffix - #8967

Open
BKPepe wants to merge 1 commit into
openwrt:masterfrom
BKPepe:fix/lldpd-css-version
Open

luci-app-lldpd: remove broken CSS version suffix#8967
BKPepe wants to merge 1 commit into
openwrt:masterfrom
BKPepe:fix/lldpd-css-version

Conversation

@BKPepe

@BKPepe BKPepe commented Aug 23, 2026

Copy link
Copy Markdown
Member

The stylesheet link ends with ?v=#PKG_VERSION, a placeholder from the original Tano Systems build system that nothing in this repository replaces. Remove it and link the stylesheet directly, like other applications do.

Copilot AI lite review requested due to automatic review settings August 23, 2026 09:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@openwrt-ai openwrt-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 new commit.

Confirmed the premise: SubstituteVersion in luci.mk only walks *.htm and *.ut files and only matches the <%# … PKG_VERSION %> / {# … PKG_VERSION #} forms, so a literal #PKG_VERSION inside a .js view was never substituted. luci-app-lldpd/Makefile sets no PKG_VERSION either, and these two lines were the only PKG_VERSION occurrences in any JS/template file in the tree. Removing the suffix is correct.

One formatting nit inline.


Generated by Claude Code

Comment thread applications/luci-app-lldpd/htdocs/luci-static/resources/view/lldpd/config.js Outdated
The stylesheet link ends with '?v=#PKG_VERSION'. Nothing in this
repository replaces that placeholder, so it does nothing. Remove it
and link the stylesheet directly, like other applications do.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
@BKPepe
BKPepe force-pushed the fix/lldpd-css-version branch from 429bd8a to d713bbe Compare August 23, 2026 16:58

@openwrt-ai openwrt-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 new commit; no new issues found.

The force-push applied the previous formatting nit to both config.js:64 and status.js:71 — both now read as a single line, matching the rest of the tree. Commit subject scope and body still match the diff, and CI is green on d713bbe (eslint, build, CodeQL, FormalityCheck).


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants