Skip to content

Add links to award paper titles#42

Merged
gatheluck merged 1 commit into
developfrom
feature/awards-page-copy
Oct 21, 2025
Merged

Add links to award paper titles#42
gatheluck merged 1 commit into
developfrom
feature/awards-page-copy

Conversation

@gatheluck

Copy link
Copy Markdown
Contributor

Summary

  • wrap award paper titles with an anchor tag when a link is available
  • keep existing styling and accessibility cues for external links

Testing

  • npm test
  • Not run (UI-only change)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/app/routes/Awards.tsx
Comment on lines 58 to +66
<CardTitle className="text-xl leading-tight">
{award.paperTitle}
{award.paperLink ? (
<a
href={award.paperLink}
target="_blank"
rel="noreferrer"
className="inline-flex items-center gap-2 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary"
>
{award.paperTitle}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Allow linked award titles to wrap

The new anchor uses inline-flex items-center gap-2, which turns the title into a single flex item with flex-wrap: nowrap. When award.paperLink is present, long paper titles (e.g., the existing best paper title) no longer wrap and instead overflow the card on narrow viewports, whereas the previous plain text wrapped normally. Dropping the flex display or explicitly enabling wrapping (flex-wrap or min-w-0) would preserve responsiveness while keeping the external-link styling.

Useful? React with 👍 / 👎.

@gatheluck gatheluck self-assigned this Oct 21, 2025
@gatheluck gatheluck merged commit 5a02508 into develop Oct 21, 2025
1 check passed
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.

1 participant