New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve plugin card hyperlinks #1918
Improve plugin card hyperlinks #1918
Conversation
</p> | ||
<p class="card-text mb-2"> | ||
<a href="javascript:void(0)" class="card-link pink-text" *ngIf="plugin.verifiedPlugin && plugin.funding" | ||
(click)="openFundingModal(plugin)"> | ||
<i class="fas fa-fw fa-heart fa-lg"></i> | ||
<span *ngIf="!plugin.verifiedPlugin || !plugin.funding"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work here.
The condition on the <a
is that *ngIf="plugin.verifiedPlugin && plugin.funding"
so having the <span *ngIf="!plugin.verifiedPlugin || !plugin.funding">
inside will not work
In this case the span needs to be kept outside the
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I've fixed it and will update shortly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed with the commit from today, Dec 9, 2023.
@jsiegenthaler I didn't notice this PR and added PR myself with many fixes to the plugin card, including this one. |
### UI Changes - Add plugin log download button - Improve plugin card hyperlinks (#1918) (@jsiegenthaler) - Download logs option for when a plugin install/update/uninstall fails - revise system information icons (os/node) - accessory title fix (lights + windows) (#1933) (@mkz212) - improve spacing in plugin card - more items in homebridge settings - confirm restart after updating Homebridge instead of automatically restarting - improve child bridge sing/plu in dropdown - move backup/restore + users to hb settings - move hb/ui settings to main menu - create standard settings page + link at top - small changes to plugin card (based on feedback) - fix overflow in markdown changelog - plugin card updates - added credits link in status footer and modal for credits - added more `aria-label` attributes to buttons to improve accessibility - add link to homebridge wiki in logs on plugin action error - allow fan/fanv2 rotation speed to be a different unit than percentage - improve plugin sorting, with actionable plugins at the top - fix footer paddings for mobile and desktop (#1956) (@mkz212) - no need to restart if updating disabled plugin - standardise update modal header ### Translation Changes - updates to pl.json language file (#1929) (@mkz212) - updates to de.json language file (@Staubgeborener) - updates to fr.json language file (@SonnyT72) - updates to de.json language file (#1953) (@Staubgeborener) - updates to pl.json language file (#1954) (@mkz212) ### Other Changes - add `passport` as dependency to BE - revert ngx-monaco-editor dependency update - ui: update to angular v15 - improve github actions - Fix for backup service including npm's cache (#1949) (@sapireli) - updated dependencies - ignore `.venv` in hb backup files - updated Discord Webhooks so notifications are seperated for `release` and `pre-release` - update maximum file upload size to 25mb
♻️ Current situation
The current Info, Verified and Funding icons are very small as clickable icons on a small iPhone display. This makes them difficult to hit, especially for users with larger fingers.
💡 Proposed solution
The changes expand the hyperlink anchor to the icon and text, so the user can tap the text or icon to access the feature.
The name of the plugin goes to the same hyperlink destination as the Info icon. Colour could be better though
➕ Additional Information
Can someone improve the colour of the now clickable plugin name?