Skip to content

Automate the grant application open/closed window#828

Merged
dergigi merged 11 commits into
masterfrom
close-applications-fix
Jun 2, 2026
Merged

Automate the grant application open/closed window#828
dergigi merged 11 commits into
masterfrom
close-applications-fix

Conversation

@dergigi
Copy link
Copy Markdown
Member

@dergigi dergigi commented Jun 2, 2026

This drives the grant application window from a single date-based helper instead of hardcoding the closed state across the apply pages. Applications now open and close automatically following the quarterly schedule (closed in March, June, September, and December), so no manual toggling is needed and the page content adapts on its own.

  • Adds areApplicationsOpen() in utils/applicationWindow.ts as the single source of truth, consumed by ClosedNotice, the apply pages, and the grant form.
  • When open, /apply shows the program sections with working buttons and the prerequisites live as page one of /apply/grant.
  • When closed, /apply hides the program sections and instead shows the prerequisite links and template download, while /apply/grant and /apply/lts show only the closed notice.

Build preview:

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
os-website Ready Ready Preview, Comment Jun 2, 2026 7:13am

Request Review

@BoltTouring
Copy link
Copy Markdown
Contributor

BoltTouring commented Jun 2, 2026

Closed state looks correct
image

image

@BoltTouring
Copy link
Copy Markdown
Contributor

Forced open state as well - looks good
image

Can go through both flows but the submit buttons are inactive.
image

Copy link
Copy Markdown
Contributor

@BoltTouring BoltTouring left a comment

Choose a reason for hiding this comment

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

LGTM

@dergigi dergigi merged commit 74b2ff0 into master Jun 2, 2026
3 checks passed
@dergigi dergigi deleted the close-applications-fix branch June 2, 2026 09:47
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.

3 participants