Skip to content

Hide closed patches section for draft commitfests#104

Open
niteash wants to merge 1 commit intopostgres:mainfrom
niteash:hide-closed-patches-draft-cf
Open

Hide closed patches section for draft commitfests#104
niteash wants to merge 1 commit intopostgres:mainfrom
niteash:hide-closed-patches-draft-cf

Conversation

@niteash
Copy link

@niteash niteash commented Feb 25, 2026

Fixes #91

Currently, draft commitfests still render the "Closed patches" section in the template, even though backend logic already excludes the "Moved to other CF" status.

This change updates the template to hide the entire "Closed patches" section when the commitfest is marked as draft.

As a result:

  • Draft commitfests only display active patches.
  • Non-draft commitfests continue to display both active and closed patches.

Tested locally with:

  • Draft commitfest → only active patches visible
  • Regular commitfest → both active and closed sections visible

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.

The closed issues list in Draft CFs should maybe be removed or at least revisited

1 participant