Skip to content

Commit 721ce33

Browse files
kanekoshoyuclaude
andcommitted
Add candidate profile links in Space Data table
- Added clickable links to candidate names in Candidate Profiles table - Links open candidate profile pages in new tab (/role-fit-index/candidate-profile?id=X) - Fixed job description links to use relative URLs instead of hardcoded localhost - Consistent styling with blue hover effects for both job descriptions and candidate profiles 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 565995d commit 721ce33

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src/components/interactive/SpaceEdit.tsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -802,8 +802,8 @@ export default function SpaceEdit({ spaceId }: SpaceEditProps) {
802802
<tr key={jd.id} className="border-b hover:bg-gray-50">
803803
<td className="py-3 px-4 text-gray-600">#{jd.id}</td>
804804
<td className="py-3 px-4">
805-
<a
806-
href={`http://localhost:4321/role-fit-index/job-description?id=${jd.id}`}
805+
<a
806+
href={`/role-fit-index/job-description?id=${jd.id}`}
807807
className="text-blue-600 hover:text-blue-800 hover:underline font-medium"
808808
target="_blank"
809809
rel="noopener noreferrer"
@@ -849,7 +849,16 @@ export default function SpaceEdit({ spaceId }: SpaceEditProps) {
849849
{candidateProfiles.map((cp) => (
850850
<tr key={cp.id} className="border-b hover:bg-gray-50">
851851
<td className="py-3 px-4 text-gray-600">#{cp.id}</td>
852-
<td className="py-3 px-4 text-gray-900">{cp.name || 'Unknown'}</td>
852+
<td className="py-3 px-4">
853+
<a
854+
href={`/role-fit-index/candidate-profile?id=${cp.id}`}
855+
className="text-blue-600 hover:text-blue-800 hover:underline font-medium"
856+
target="_blank"
857+
rel="noopener noreferrer"
858+
>
859+
{cp.name || 'Unknown'}
860+
</a>
861+
</td>
853862
<td className="py-3 px-4 text-gray-600">{cp.email || '-'}</td>
854863
<td className="py-3 px-4 text-gray-600">{cp.phone || '-'}</td>
855864
<td className="py-3 px-4 text-gray-600">

0 commit comments

Comments
 (0)