Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# Have a bit shorter line length for text docs
[*.{txt,md,qmd}]
max_line_length = 72
indent_size = 4
27 changes: 7 additions & 20 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- opened
- reopened
- transferred
pull_request:
pull_request:
types:
- reopened
- opened
Expand All @@ -16,22 +16,9 @@ permissions:

jobs:
add-to-project:
name: Add to project
runs-on: ubuntu-latest
steps:
- name: Add issue or PR to project board
uses: actions/[email protected]
with:
project-url: https://github.com/orgs/seedcase-project/projects/18
github-token: ${{ secrets.ADD_TO_BOARD }}

- name: Assign PR to creator
if: ${{ github.event_name == 'pull_request' }}
run: |
gh pr edit $PR --add-assignee $AUTHOR
env:
AUTHOR: ${{ github.event.pull_request.user.login }}
PR: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}


uses: seedcase-project/.github/.github/workflows/reusable-add-to-project.yml@main
with:
board-number: 18
secrets:
add-to-board-token: ${{ secrets.ADD_TO_BOARD }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[files]
extend-exclude = [
"*.css",
".quarto/*",
"_site/*",
]

28 changes: 14 additions & 14 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"donjayamanne.githistory",
"felipecaputo.git-project-manager",
"GitHub.vscode-pull-request-github",
"quarto.quarto",
"streetsidesoftware.code-spell-checker",
"vivaxy.vscode-conventional-commits",
"pshaddel.conventional-branch"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"donjayamanne.githistory",
"felipecaputo.git-project-manager",
"GitHub.vscode-pull-request-github",
"quarto.quarto",
"vivaxy.vscode-conventional-commits",
"pshaddel.conventional-branch",
"tekumara.typos-vscode"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
}
270 changes: 135 additions & 135 deletions .vscode/json.code-snippets
Original file line number Diff line number Diff line change
@@ -1,137 +1,137 @@
{
// Place your snippets for Quarto here.
// Each snippet is defined under a snippet name and has a prefix, body and description.
// The prefix is what is used to trigger the snippet and the body will be expanded and inserted.
// Possible variables are:
//
// - $1 and $2 for tab stops,
// - $0 for the final cursor position, and
// - ${1:label}, ${2:another} for placeholders
//
// Placeholders with the same ids are connected.
//
// How to use the code snippets:
// After you have set the above settings, a suggestion for one of the code snippets below will pop up automatically, when
// you start writing the prefix. Press "Enter" or "Tab" to insert the code snippet.
"Insert TODO formatting": {
"scope": "quarto,markdown",
"prefix": "TODO",
"body": [
"<!-- TODO: ${0:Write text here} -->"
],
"description": "Insert TODO formatting"
},
"Insert bash formatted text": {
"scope": "quarto,markdown",
"prefix": "bash",
"body": [
"``` bash",
"${0:Write text here}",
"```"
],
"description": "Insert bash formatted text"
},
"Insert YAML header for blogs": {
"scope": "quarto,markdown",
"prefix": "post_yaml",
"body": [
"---",
"title: \"\"",
"description: \"Our reasons for ...\"",
"author: \"\"",
"date: last-modified",
"categories:",
" ${0:Type 'category_keywords' to insert categories}",
"---"
],
"description": "Insert YAML header for Quarto blog posts."
},
"Insert a hidden comment section": {
"scope": "quarto,markdown",
"prefix": "hidden",
"body": [
"::: content-hidden",
"${0:Write comments here}",
":::"
],
"description": "Insert a hidden content section"
},
"Insert a 2 col table": {
"scope": "quarto,markdown",
"prefix": "tbl2",
"body": [
"|${1:title} |${0:title} |",
"| --- | --- |",
"| | |"
],
"description": "Insert a 2 col table"
},
"Insert a 3 col table": {
"scope": "quarto,markdown",
"prefix": "tbl3",
"body": [
"|${1:title} |${2:title} |${0:title} |",
"| --- | --- | --- |",
"| | | |"
],
"description": "Insert a 3 col table"
},
"Insert video": {
"scope": "quarto,markdown",
"prefix": "video",
"body": [
"{{< video ${0:Insert link here} >}}"
],
"description": "Insert video that will be shown"
},
"Insert paneltab": {
"scope": "quarto,markdown",
"prefix": "paneltab",
"body": [
"::: panel-tabset",
"### ${0:Header}",
"",
"${1:Text body}",
"",
"### ${2:Header}",
"",
"${3:Text body}",
":::"
],
"description": "Insert paneltab (including two tabs here). If you want additional tabs, just include more headers."
},
// All our category words are included in this code snippet
// The idea is that we can insert this section and then delete the words we aren't interested in
// If words are missing then they can be added to the document, and then also added to the code snippet
// Much the same way that words can be added to the spell-check extension.
"Insert list of category words": {
"scope": "quarto,markdown,yaml",
"prefix": "decision_categories",
"body": [
"- backend",
"- code snippets",
"- communicate",
"- container",
"- contribute",
"- collaborate",
"- database",
"- deploy",
"- dependencies",
"- develop",
"- document",
"- front end",
"- framework",
"- git",
"- install",
"- license",
"- manage",
"- organise",
"- standardise",
"- style",
"- web",
"- workflow",
"- write"
],
"description": "Insert list of category words"
}
// Place your snippets for Quarto here.
// Each snippet is defined under a snippet name and has a prefix, body and description.
// The prefix is what is used to trigger the snippet and the body will be expanded and inserted.
// Possible variables are:
//
// - $1 and $2 for tab stops,
// - $0 for the final cursor position, and
// - ${1:label}, ${2:another} for placeholders
//
// Placeholders with the same ids are connected.
//
// How to use the code snippets:
// After you have set the above settings, a suggestion for one of the code snippets below will pop up automatically, when
// you start writing the prefix. Press "Enter" or "Tab" to insert the code snippet.
"Insert TODO formatting": {
"scope": "quarto,markdown",
"prefix": "TODO",
"body": [
"<!-- TODO: ${0:Write text here} -->"
],
"description": "Insert TODO formatting"
},
"Insert bash formatted text": {
"scope": "quarto,markdown",
"prefix": "bash",
"body": [
"``` bash",
"${0:Write text here}",
"```"
],
"description": "Insert bash formatted text"
},
"Insert YAML header for blogs": {
"scope": "quarto,markdown",
"prefix": "post_yaml",
"body": [
"---",
"title: \"\"",
"description: \"Our reasons for ...\"",
"author: \"\"",
"date: last-modified",
"categories:",
" ${0:Type 'category_keywords' to insert categories}",
"---"
],
"description": "Insert YAML header for Quarto blog posts."
},
"Insert a hidden comment section": {
"scope": "quarto,markdown",
"prefix": "hidden",
"body": [
"::: content-hidden",
"${0:Write comments here}",
":::"
],
"description": "Insert a hidden content section"
},
"Insert a 2 col table": {
"scope": "quarto,markdown",
"prefix": "tbl2",
"body": [
"|${1:title} |${0:title} |",
"| --- | --- |",
"| | |"
],
"description": "Insert a 2 col table"
},
"Insert a 3 col table": {
"scope": "quarto,markdown",
"prefix": "tbl3",
"body": [
"|${1:title} |${2:title} |${0:title} |",
"| --- | --- | --- |",
"| | | |"
],
"description": "Insert a 3 col table"
},
"Insert video": {
"scope": "quarto,markdown",
"prefix": "video",
"body": [
"{{< video ${0:Insert link here} >}}"
],
"description": "Insert video that will be shown"
},
"Insert paneltab": {
"scope": "quarto,markdown",
"prefix": "paneltab",
"body": [
"::: panel-tabset",
"### ${0:Header}",
"",
"${1:Text body}",
"",
"### ${2:Header}",
"",
"${3:Text body}",
":::"
],
"description": "Insert paneltab (including two tabs here). If you want additional tabs, just include more headers."
},
// All our category words are included in this code snippet
// The idea is that we can insert this section and then delete the words we aren't interested in
// If words are missing then they can be added to the document, and then also added to the code snippet
// Much the same way that words can be added to the spell-check extension.
"Insert list of category words": {
"scope": "quarto,markdown,yaml",
"prefix": "decision_categories",
"body": [
"- backend",
"- code snippets",
"- communicate",
"- container",
"- contribute",
"- collaborate",
"- database",
"- deploy",
"- dependencies",
"- develop",
"- document",
"- front end",
"- framework",
"- git",
"- install",
"- license",
"- manage",
"- organise",
"- standardise",
"- style",
"- web",
"- workflow",
"- write"
],
"description": "Insert list of category words"
}
}
Loading