Skip to content

settings: add a link to the source code in plugin details - #3690

Merged
bbedward merged 4 commits into
duxlabs-dev:masterfrom
apollo79:plugin-source-link
Oct 5, 2026
Merged

bbedward merged 4 commits into
duxlabs-dev:masterfrom
apollo79:plugin-source-link

Conversation

@apollo79

@apollo79 apollo79 commented Oct 4, 2026

Copy link
Copy Markdown
Member

Description

This adds a link to the plugin source code (if available) to the plugin details page. This is useful to quickly access the source code or create issues on github instead of going through the danklinux.com website.

Questions

  • I don't know if the strings follow the correct case ("Plugin Source Code")
  • I don't know if both the external-link-icon on the right and the subtitle are necessary. Perhaps the subtitle can be rephrased to not be as repetitive

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Closes #3607

Screenshots / video

image

Checklist

@apollo79
apollo79 force-pushed the plugin-source-link branch from 87db378 to 2c2c6ad Compare October 4, 2026 21:53
@bbedward

bbedward commented Oct 4, 2026

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Claude review

One bug: the source-code row also shows for plugins that have no repo.

  • pluginRepo is a string, so !== undefined is always true. Plugins without a repo get a row that says "Opens " and opens nothing. quickshell/Modules/Settings/PluginSettingsPage.qml:248
    Checked: where pluginRepo comes from (DMSService.installedPlugins, the Go repo,omitempty field), visibility and click handling, I18n contexts, Theme tokens. Model: claude-opus-5-5.

@apollo79
apollo79 force-pushed the plugin-source-link branch from 2c2c6ad to dbf1ea4 Compare October 4, 2026 22:57
@apollo79

apollo79 commented Oct 4, 2026 •

Copy link
Copy Markdown
Member Author

I fixed the bug claude found and confirmed the fix with a local plugin.

@apollo79
apollo79 requested a review from bbedward October 5, 2026 01:00
@hthienloc

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: the earlier finding is fixed (?.repo ?? "" plus visible: root.pluginRepo !== ""), where pluginRepo comes from (DMSService.installedPlugins, the Go repo,omitempty field), the trailing icon goes through the SettingsRow default slot, click and keyboard activation, the I18n contexts and Theme tokens. Model: claude-opus-5-5.

@bbedward
bbedward merged commit 2b01926 into duxlabs-dev:master Oct 5, 2026
2 checks passed
ignacypekala pushed a commit to ignacypekala/dux-shell that referenced this pull request Oct 5, 2026
…v#3690)

* settings: add a link to the source code in plugin details

* style: remove unnecessary whitespace, add empty line

* show link to the plugin source instead of explanation

* fix: check for empty string instead of undefined
@apollo79
apollo79 deleted the plugin-source-link branch November 10, 2026 23:46
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.

settings: add a link to the source code of plugins

3 participants