Adds user-defined quick links to the dashboard, closing raucao/dashtab#2.
A custom link is added from Settings → Site Links → Add site link → Custom Link. The URL is normalized to http(s) with embedded credentials stripped, its favicon is discovered with the existing icon pipeline, and an uploaded icon can override it and stay pinned until "Use site's icon" is chosen again.
Custom links are stored in the integrations store as a custom type, so they flow through the existing sites/integrations/settings pipeline and render in a new "Links" group. resolveIcons and refreshIcon skip pinned sites and re-check the live list before writing back, so an in-flight discovery can never clobber a freshly uploaded icon.
Uploads are validated, size-capped at 1 MB and downscaled to 192 px (SVGs kept as-is), and only ever rendered through an img element. URLs are restricted to http(s), so a value can never reach an anchor's href as javascript: or data:.
Adds app/utils/site-url.js and app/utils/image-file.js, a custom registry entry/group and adapter, a custom-link form, and tests. pnpm lint and pnpm test (517 tests) pass.
Adds user-defined quick links to the dashboard, closing raucao/dashtab#2.
A custom link is added from Settings → Site Links → Add site link → Custom Link. The URL is normalized to http(s) with embedded credentials stripped, its favicon is discovered with the existing icon pipeline, and an uploaded icon can override it and stay pinned until "Use site's icon" is chosen again.
Custom links are stored in the integrations store as a `custom` type, so they flow through the existing sites/integrations/settings pipeline and render in a new "Links" group. `resolveIcons` and `refreshIcon` skip pinned sites and re-check the live list before writing back, so an in-flight discovery can never clobber a freshly uploaded icon.
Uploads are validated, size-capped at 1 MB and downscaled to 192 px (SVGs kept as-is), and only ever rendered through an `img` element. URLs are restricted to http(s), so a value can never reach an anchor's `href` as `javascript:` or `data:`.
Adds `app/utils/site-url.js` and `app/utils/image-file.js`, a `custom` registry entry/group and adapter, a custom-link form, and tests. `pnpm lint` and `pnpm test` (517 tests) pass.
Closes #2.
Users can add any website as a dashboard quick link from Settings → Site
Links. The link is stored in the integrations namespace as a `custom`
type so it flows through the existing sites/integrations/settings
pipeline, and appears in a new "Links" group.
Its icon is discovered with the existing favicon pipeline; an uploaded
icon overrides it and stays pinned until the user chooses "Use site's
icon" again. resolveIcons and refreshIcon skip pinned sites (and
re-check the live list before writing back) so an in-flight discovery
can never clobber a freshly uploaded icon.
URLs are normalized to http(s) only, with embedded credentials stripped,
so a value can never reach an anchor's href as javascript:/data:.
Uploads are validated, size-capped and downscaled to 192px (SVGs kept
as-is), and only ever rendered through an <img>.
Adds app/utils/site-url.js and app/utils/image-file.js, a custom-link
form, a `custom` registry entry/group and adapter, and tests.
Sort the generic "Custom Link" entry last in the add-integration dialog so
it reads as an "add anything" action after the concrete integrations, and
move the icon controls below the URL and name fields in the custom link
form so the form flows from link details to its optional icon.
raucao
added the feature label 2026-11-13 17:20:01 +00:00
raucao
merged commit 88b25d620c into master2026-11-13 17:20:08 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds user-defined quick links to the dashboard, closing raucao/dashtab#2.
A custom link is added from Settings → Site Links → Add site link → Custom Link. The URL is normalized to http(s) with embedded credentials stripped, its favicon is discovered with the existing icon pipeline, and an uploaded icon can override it and stay pinned until "Use site's icon" is chosen again.
Custom links are stored in the integrations store as a
customtype, so they flow through the existing sites/integrations/settings pipeline and render in a new "Links" group.resolveIconsandrefreshIconskip pinned sites and re-check the live list before writing back, so an in-flight discovery can never clobber a freshly uploaded icon.Uploads are validated, size-capped at 1 MB and downscaled to 192 px (SVGs kept as-is), and only ever rendered through an
imgelement. URLs are restricted to http(s), so a value can never reach an anchor'shrefasjavascript:ordata:.Adds
app/utils/site-url.jsandapp/utils/image-file.js, acustomregistry entry/group and adapter, a custom-link form, and tests.pnpm lintandpnpm test(517 tests) pass.Closes #2.