Skip to content

Show a link to plugin web interfaces on the Plugins page, closes #1770 - #1771

Merged
MrBurrBurr merged 1 commit into
JustArchiNET:mainfrom
owenunda:plugin-web-links
Oct 26, 2026
Merged

MrBurrBurr merged 1 commit into
JustArchiNET:mainfrom
owenunda:plugin-web-links

Conversation

@owenunda

Copy link
Copy Markdown
Contributor

Description

Closes #1770.

Shows an "Open web interface" link on the Plugins page for plugins that implement IWebInterface. It uses the WebPath that GET /Api/Plugins returns since JustArchiNET/ArchiSteamFarm#3631 (next monthly ASF release); with older ASF versions the field isn't there and nothing changes.

  • The link always ends with a slash (/drift/), otherwise ASF-ui's router catches the address instead of the plugin.
  • It respects __BASE_PATH__, like the rest of ASF-ui.
  • Plugins with WebPath / replace ASF-ui itself, so they get no link.

Screenshots

image image

Additional information

Tested with ASF built from main (with the JustArchiNET/ArchiSteamFarm#3631 fix) and my plugin AchievementDrift (WebPath /drift): the API returns "WebPath":"/drift", the link shows up and opens the plugin's page.

Written with AI help, reviewed and tested by me.

Checklist

  • My pull request is not a duplicate
  • I added a descriptive title to this pull request
  • I added a concise description or a self-explanatory screenshot to this pull request
  • My code follows the code style of this project
  • I have performed a self-review of my own code

@MrBurrBurr

Copy link
Copy Markdown
Member

Thank you 🎉

@MrBurrBurr
MrBurrBurr merged commit e9caa7a into JustArchiNET:main Oct 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Link to web interfaces of custom plugins (IWebInterface)

2 participants