Added a link from each opportunity to its latest Find a Tender notice

Opportunities from Find a Tender have a link icon before their title.
Clicking it fetches the opportunity with its releases (the list leaves
them out) and opens its newest release's notice,
www.find-tender.service.gov.uk/notice/<release_id>, in a new tab. The
tab is opened on the click and pointed at the notice when the request
returns, so it isn't blocked as a popup; if the request fails, or there
are no releases, it's closed and a toast says why. Opportunities from
other sources have no link for now, but keep its space so the titles
line up.

The icon is lucide-solid's, added for it at 1.52.0.
This commit is contained in:
bwilliams committed 2026-10-19 09:38:14 +01:00
1 parent a6630f112f
commit e98f18b790
8 files changed
+186 -10

No files matched your search

+10
View File
@@ -8,6 +8,7 @@
"name": "job-search-frontend",
"version": "0.1.0",
"dependencies": {
"lucide-solid": "^1.52.0",
"solid-js": "^1.9.3"
},
"devDependencies": {
@@ -4033,6 +4034,15 @@
"yallist": "^3.0.2"
}
},
"node_modules/lucide-solid": {
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/lucide-solid/-/lucide-solid-1.52.0.tgz",
"integrity": "sha512-uesU2FyxqeSmPNxdMkbjL20ZpTEu1U0WS3kXXsuPrd3aku8vVyPmz9+/d1PO8G6PvKKVaVH3MDZmL5gLO6kYSg==",
"license": "ISC",
"peerDependencies": {
"solid-js": "^1.4.7"
}
},
"node_modules/magic-string": {
"version": "0.30.21",
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",