Skip to content

More print settings #66

Description

@coder13

The full spec for the groupifier "Competition" is as follows:

{
"$id": "https://groupifier.jonatanklosko.com/wcif-extensions/CompetitionConfig.json",
"title": "CompetitionConfig",
"description": "WCIF extension with additional competition configuration.",
"type": "object",
"properties": {
"localNamesFirst": {
"description": "A flag indicating whether to swap competitor latin names with local ones in generated PDF documents.",
"type": "boolean"
},
"printOneName": {
"description": "A flag indicating whether the local/latin name should be printed in parentheses.",
"type": "boolean"
},
"scorecardsBackgroundUrl": {
"description": "URL of an image to be placed in the background of scorecards.",
"type": "string"
},
"competitorsSortingRule": {
"description": "Indicates how competitors should be assigned to groups.",
"type": "string",
"enum": [
"ranks",
"balanced",
"symmetric",
"name-optimised"
]
},
"noTasksForNewcomers": {
"description": "A flag indicating whether newcomers should be assigned any tasks.",
"type": "boolean"
},
"tasksForOwnEventsOnly": {
"description": "A flag indicating whether competitors should be assigned tasks only in events they registered for.",
"type": "boolean"
},
"noRunningForForeigners": {
"description": "A flag indicating whether foreigners should be assigned running.",
"type": "boolean"
},
"printStations": {
"description": "A flag indicating whether competitors should have printed stations on their scorecards in generated PDF documents.",
"type": "boolean"
},
"scorecardPaperSize": {
"description": "The size of paper that should be used for printing scorecards.",
"type": "string",
"enum": [
"a4",
"a6",
"letter"
]
},
"scorecardOrder": {
"description": "Whether scorecards should be printed in overall ascending order (1-2-3-4 5-6-7-8 9-10-11-12), or ascending order within each section of the page (1-4-7-10 2-5-8-11 3-6-9-12)",
"type": "string",
"enum": [
"natural",
"stacked"
]
},
"printScorecardsCoverSheets": {
"description": "A flag indicating whether score cards should have printed cover sheets in generated PDF documents.",
"type": "boolean"
},
"printScrambleCheckerForTopRankedCompetitors": {
"description": "A flag indicating whether the box for scramble checker signature should be printed for top-ranked competitors (WR100 in single or WR50/NR15 in average).",
"type": "boolean"
},
"printScrambleCheckerForFinalRounds": {
"description": "A flag indicating whether the box for scrambler checker signature should be printed for final rounds.",
"type": "boolean"
},
"printScrambleCheckerForBlankScorecards": {
"description": "A flag indicating whether the box for scrambler checker signature should be printed for blank scorecards.",
"type": "boolean"
}
}

Currently, we have a page, "GroupifierPrinting.tsx" which modifies just scorecardPaperSize in this extension.

Please create additional config options for printStations, printScrambleCheckerForTopRankedCompetitors, printScrambleCheckerForFinalRounds, printScrambleCheckerForBlankScorecards,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions