From 347ac6bc296c508ce8999acc06274cbf735bda3f Mon Sep 17 00:00:00 2001 From: machiko Date: Mon, 18 Dec 2023 16:31:04 -0800 Subject: [PATCH 1/5] Update new_resource.yml --- .github/ISSUE_TEMPLATE/new_resource.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/new_resource.yml b/.github/ISSUE_TEMPLATE/new_resource.yml index df7a3bd8..921eb0cd 100644 --- a/.github/ISSUE_TEMPLATE/new_resource.yml +++ b/.github/ISSUE_TEMPLATE/new_resource.yml @@ -23,6 +23,25 @@ body: description: The title is used in list views on the home page and [https://calitp.org/resources](https://calitp.org/resources) validations: required: true + - type: checkboxes + id: file-name-check-1 + attributes: Did you start the filename with `Cal-ITP`? + options: + - label: Yes + required: true + - type: checkboxes + id: file-name-check-2 + attributes: There are no spaces between words in the filename. The only characters in the filename are: letters, numbers, `-`, `.` and `_`. + options: + - label: Yes + required: true + - type: checkboxes + id: file-name-check-3 + attributes: There are no revision dates in filenames. Limit usage of revision numbers unless commonly understood and expected by audience. + description: Avoid: `report-june-2024.pdf`, `file-v1.3.pdf` (random files with versions devoid of context). OK: `GTFS-guidelines-v3.pdf` (v3 of the GTFS Guidelines, a well-know and ever-evolving document) + options: + - label: Yes + required: true - type: input id: link attributes: From dd3d72c0cd92004b5ca174da480d8a05a88ef779 Mon Sep 17 00:00:00 2001 From: machiko Date: Mon, 18 Dec 2023 18:54:42 -0800 Subject: [PATCH 2/5] Update new_resource.yml --- .github/ISSUE_TEMPLATE/new_resource.yml | 30 ++++++++++--------------- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/new_resource.yml b/.github/ISSUE_TEMPLATE/new_resource.yml index 921eb0cd..4395841c 100644 --- a/.github/ISSUE_TEMPLATE/new_resource.yml +++ b/.github/ISSUE_TEMPLATE/new_resource.yml @@ -24,24 +24,17 @@ body: validations: required: true - type: checkboxes - id: file-name-check-1 - attributes: Did you start the filename with `Cal-ITP`? - options: - - label: Yes - required: true - - type: checkboxes - id: file-name-check-2 - attributes: There are no spaces between words in the filename. The only characters in the filename are: letters, numbers, `-`, `.` and `_`. - options: - - label: Yes - required: true - - type: checkboxes - id: file-name-check-3 - attributes: There are no revision dates in filenames. Limit usage of revision numbers unless commonly understood and expected by audience. - description: Avoid: `report-june-2024.pdf`, `file-v1.3.pdf` (random files with versions devoid of context). OK: `GTFS-guidelines-v3.pdf` (v3 of the GTFS Guidelines, a well-know and ever-evolving document) - options: - - label: Yes - required: true + id: cat-preferences + attributes: + label: Is the document correctly named and formatted? + description: Ensure each of the following requirements are met for your file. + options: + - label: Did you start the filename with `Cal-ITP`? + required: true + - label: Did you remove all spaces between words in the filename? The only acceptable characters in the filename are letters, numbers, `-`, `.` and `_`. + required: true + - label: Did you ensure there are no revision dates or numbers in the filename. Limit usage of revision numbers or dates unless commonly understood and expected by the audience. Avoid `report-june-2024.pdf`, `file-v1.2.pdf`. Allowed `GTFS-guidlines-v3.pdf`, as version 3 is an official version number. + required: true - type: input id: link attributes: @@ -77,6 +70,7 @@ body: description: What year did this resource get published? multiple: false options: + - 2024 - 2023 - 2022 - 2021 From 226fc1708dd34a0e8c94c69edf247078dfa3bf01 Mon Sep 17 00:00:00 2001 From: machiko Date: Mon, 18 Dec 2023 18:55:01 -0800 Subject: [PATCH 3/5] Update new_resource.yml From 84c3031dd28254fe3c099586ec5fddd6e693dfdf Mon Sep 17 00:00:00 2001 From: machiko Date: Mon, 18 Dec 2023 18:58:11 -0800 Subject: [PATCH 4/5] Update new_resource.yml --- .github/ISSUE_TEMPLATE/new_resource.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/new_resource.yml b/.github/ISSUE_TEMPLATE/new_resource.yml index 4395841c..c6a46f4b 100644 --- a/.github/ISSUE_TEMPLATE/new_resource.yml +++ b/.github/ISSUE_TEMPLATE/new_resource.yml @@ -33,7 +33,7 @@ body: required: true - label: Did you remove all spaces between words in the filename? The only acceptable characters in the filename are letters, numbers, `-`, `.` and `_`. required: true - - label: Did you ensure there are no revision dates or numbers in the filename. Limit usage of revision numbers or dates unless commonly understood and expected by the audience. Avoid `report-june-2024.pdf`, `file-v1.2.pdf`. Allowed `GTFS-guidlines-v3.pdf`, as version 3 is an official version number. + - label: Did you ensure there are no revision dates or numbers in the filename? Limit usage of revision numbers or dates unless commonly understood and expected by the audience. Avoid `report-june-2024.pdf`, `file-v1.2.pdf`. Allowed `GTFS-guidlines-v3.pdf`, as version 3 is an official version number. required: true - type: input id: link From f72db465ba4fe72517bb801df76469e33c4109b6 Mon Sep 17 00:00:00 2001 From: machiko Date: Thu, 4 Jan 2024 20:52:46 -0800 Subject: [PATCH 5/5] Update new_resource.yml --- .github/ISSUE_TEMPLATE/new_resource.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/new_resource.yml b/.github/ISSUE_TEMPLATE/new_resource.yml index c6a46f4b..0f740ee6 100644 --- a/.github/ISSUE_TEMPLATE/new_resource.yml +++ b/.github/ISSUE_TEMPLATE/new_resource.yml @@ -35,6 +35,8 @@ body: required: true - label: Did you ensure there are no revision dates or numbers in the filename? Limit usage of revision numbers or dates unless commonly understood and expected by the audience. Avoid `report-june-2024.pdf`, `file-v1.2.pdf`. Allowed `GTFS-guidlines-v3.pdf`, as version 3 is an official version number. required: true + - label: Did you run this PDF through Adobe Acrobat's Accessibility Checker, and ensure the PDF passes all accessibility checks? + required: true - type: input id: link attributes: