Skip to content

chore: disable CFP submit button until CFP opens on May 15#145

Merged
fredleger merged 2 commits intomainfrom
copilot/fix-cfp-link-display
Mar 20, 2026
Merged

chore: disable CFP submit button until CFP opens on May 15#145
fredleger merged 2 commits intomainfrom
copilot/fix-cfp-link-display

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 20, 2026

The CFP section was showing an active link to conference-hall.io despite the CFP not being open yet, creating an inconsistency with the "Opens May 15" status badge already displayed.

Changes

  • Data (fr.ts, en.ts) — Added ctaDisabled: true to the cfp object in both locale data files
  • Template (_content.astro) — Added ctaDisabled?: boolean to the cfp Props interface; CTA now conditionally renders a non-interactive <span> (gray, cursor-not-allowed, opacity-60) instead of an <a> when disabled
{cfp.ctaDisabled ? (
  <span role="button" aria-disabled="true" class="... cursor-not-allowed opacity-60">
    {cfp.cta}
  </span>
) : (
  <a href={cfp.ctaHref} ...>{cfp.cta}</a>
)}

To re-enable the button when the CFP opens, remove ctaDisabled: true from both locale data files — no template changes needed.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • api.fontsource.org
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/landing-page/landing-page/application/node_modules/.bin/astro build (dns block)
  • telemetry.astro.build
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/landing-page/landing-page/application/node_modules/.bin/astro build (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Fix the inconsistence about the CFP opening</issue_title>
<issue_description>We should not display yet the link to conference-hall.io since CFP is not opened.

We should replace it by "Open the 15th May" or similar. Both for FR and EN versions. And also disable the CTA button.

CF : https://cloudnative-provence.fr/fr/#cfp

</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Co-authored-by: fredleger <2778741+fredleger@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix inconsistency about the CFP opening Disable CFP submit button until CFP opens on May 15 Mar 20, 2026
Copilot AI requested a review from fredleger March 20, 2026 09:04
@fredleger fredleger changed the title Disable CFP submit button until CFP opens on May 15 chore: disable CFP submit button until CFP opens on May 15 Mar 20, 2026
@github-actions
Copy link
Copy Markdown

Code Coverage Report

Coverage Results

Test Results

Status Count
✅ Passed 72
❌ Failed 0
⏭️ Skipped 0
Total 72

Pass Rate: 100.0%

Coverage

Metric Covered Total Percentage
Lines 483 509 94.89%
Branches 379 450 84.22%
Functions 118 120 98.33%

Overall: 94.89% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜

@fredleger fredleger marked this pull request as ready for review March 20, 2026 10:04
@fredleger fredleger merged commit de1c0f1 into main Mar 20, 2026
10 of 13 checks passed
@fredleger fredleger deleted the copilot/fix-cfp-link-display branch March 20, 2026 10:05
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.

Fix the inconsistence about the CFP opening

3 participants