From 007ca20e11b014f266845ee9536c856333f1277e Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 23 May 2025 13:00:14 +0100 Subject: [PATCH] Add a pill for vacant positions --- community/project/Vacant Positions.tid | 3 ++ .../project/teams/Infrastructure Team.tid | 13 +++++++++ community/project/teams/tagCommunityTeam.tid | 2 +- .../tools/cards/DefaultColourMappings.multids | 2 ++ community/tools/cards/Procedures.tid | 28 +++++++++++++++++-- community/tools/cards/Styles.tid | 8 ++++-- 6 files changed, 51 insertions(+), 5 deletions(-) create mode 100644 community/project/Vacant Positions.tid create mode 100644 community/project/teams/Infrastructure Team.tid diff --git a/community/project/Vacant Positions.tid b/community/project/Vacant Positions.tid new file mode 100644 index 000000000..fcecfd029 --- /dev/null +++ b/community/project/Vacant Positions.tid @@ -0,0 +1,3 @@ +title: Vacant Positions + +If you are interested in volunteering to help the project please get in touch with <>. \ No newline at end of file diff --git a/community/project/teams/Infrastructure Team.tid b/community/project/teams/Infrastructure Team.tid new file mode 100644 index 000000000..6f5f5e92f --- /dev/null +++ b/community/project/teams/Infrastructure Team.tid @@ -0,0 +1,13 @@ +title: Infrastructure Team +tags: Community/Team +modified: 20250522155415023 +created: 20250522155415023 + +The Infrastructure Team is responsible for maintaining and improving the infrastructure that supports the TiddlyWiki project. This includes the hosting, deployment, and management of the TiddlyWiki websites and services, as well as the tools and systems used by the TiddlyWiki community. + +The infrastructure includes: + +* talk.tiddlywiki.org +* github.com/TiddlyWiki +* tiddlywiki.com DNS +* Netlify account for PR previews diff --git a/community/project/teams/tagCommunityTeam.tid b/community/project/teams/tagCommunityTeam.tid index 81cb376d0..c9a8b72d0 100644 --- a/community/project/teams/tagCommunityTeam.tid +++ b/community/project/teams/tagCommunityTeam.tid @@ -1,5 +1,5 @@ title: Community/Team modified: 20250522155415023 created: 20250522155415023 -list: [[Project Team]] [[Core Team]] [[Documentation Team]] [[MultiWikiServer Team]] [[Succession Team]] +list: [[Project Team]] [[Core Team]] [[Documentation Team]] [[MultiWikiServer Team]] [[Infrastructure Team]] [[Succession Team]] diff --git a/community/tools/cards/DefaultColourMappings.multids b/community/tools/cards/DefaultColourMappings.multids index faa60e49a..6cab7fdc8 100644 --- a/community/tools/cards/DefaultColourMappings.multids +++ b/community/tools/cards/DefaultColourMappings.multids @@ -8,6 +8,8 @@ community-card-header-background: #9e3060 community-card-header-foreground: #ddddee community-card-team-header-background: #306090 community-card-team-header-foreground: #ddeedd +community-card-vacancy-header-background: #609030 +community-card-vacancy-header-foreground: #eedddd community-card-info-background: #f3f38b community-card-info-foreground: #444411 community-card-field-name-foreground: #888844 diff --git a/community/tools/cards/Procedures.tid b/community/tools/cards/Procedures.tid index 3baeaf4cd..6d8589ed2 100644 --- a/community/tools/cards/Procedures.tid +++ b/community/tools/cards/Procedures.tid @@ -73,7 +73,13 @@ tags: $:/tags/Global
leader - <$transclude $variable="community-card-pill-person" title={{!!leader}}/> + + <%if [has[leader]] %> + <$transclude $variable="community-card-pill-person" title={{!!leader}}/> + <%else%> + <$transclude $variable="community-card-vacancy"/> + <%endif%> +
team @@ -99,7 +105,25 @@ tags: $:/tags/Global \procedure community-card-pill-stack-person(personFilter:"[tag[Community/Person]]")
<$list filter=<>> - <$transclude $variable="community-card-pill-person" title=<> mode="block"/> + <$list-template> + <$transclude $variable="community-card-pill-person" title=<> mode="block"/> + + <$list-empty> + <$transclude $variable="community-card-vacancy"/> +
\end community-card-pill-stack-person + +\procedure community-card-vacancy() + <$link to="Vacant Positions" class="tc-community-card-pill tc-community-card-pill-vacancy"> + + {{$:/core/images/help}} + + + + Vacant + + + +\end community-card-vacancy diff --git a/community/tools/cards/Styles.tid b/community/tools/cards/Styles.tid index 18d9ee4d2..48322922c 100644 --- a/community/tools/cards/Styles.tid +++ b/community/tools/cards/Styles.tid @@ -34,8 +34,6 @@ tags: $:/tags/Stylesheet fill: <>; } - - .tc-community-card .tc-community-card-header-link:hover { text-decoration: none; background-color: <>; @@ -123,6 +121,12 @@ a.tc-community-card-pill { transition: box-shadow 0.3s ease,transform .3s ease; } +a.tc-community-card-pill.tc-community-card-pill-vacancy { + background: <>; + color: <>; + fill: <>; +} + a.tc-community-card-pill:hover { text-decoration: none; box-shadow: 0 1px 6px 0 <>, 0 0 0 1px <>;