Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
1e4b916
refs #1045: fix prev/next button visibility when landing on multistep…
theteknocat Jun 18, 2026
a12bb7e
chore: enable twig debugging in development services
theteknocat Jun 18, 2026
50d71bd
fix: unroll tabs in diff view
theteknocat Jun 18, 2026
c5b6091
fix: add click to call button to campaign page template
theteknocat Jun 19, 2026
461cb08
refs YCAROADMAP-115: unify footer to single bg-tiber colour
theteknocat Jun 19, 2026
a5e08ed
refs YCAROADMAP-116: remove aurora background image from footer
theteknocat Jun 19, 2026
12c3129
refs YCAROADMAP-114: remove aurora graphic from header on all pages
theteknocat Jun 19, 2026
f6ebcfa
refs YCAROADMAP-117: remove aurora--mini graphic from all pages
theteknocat Jun 19, 2026
3a6a350
chore: strict typing and type comments to satisfy IDEs
theteknocat Jun 19, 2026
4b304f1
chore: update @var notation so call to loadRevision() doesn't show a …
theteknocat Jun 19, 2026
166c735
fix: clear field_translation_status value when translations are publi…
theteknocat Jun 19, 2026
1965030
docs: add a readme explaining content and translation workflow
theteknocat Jun 19, 2026
29dea4d
chore: update hook to implement and propagate new department taxonomy…
theteknocat Jun 19, 2026
da16f69
chore: update date_recur to latest version in attempt to address the …
theteknocat Jun 19, 2026
d0723c0
fix: remove field_event_start_time default value that doesn't work an…
theteknocat Jun 19, 2026
36f260a
chore: remove stray devel menu config that shouldn't be committed
theteknocat Jun 19, 2026
66f506d
chore: updated config artifacts to match active config from the database
theteknocat Jun 19, 2026
69d7b96
fix: form alter for multi-step nodes to limit paragraphs to 6
theteknocat Jun 19, 2026
8e60069
fix: adjust element widths and padding for mobile devices
theteknocat Jun 20, 2026
ced2555
fix: update FA module settings to use webfonts method and provide CDN…
theteknocat Jun 22, 2026
8a75ae9
chore: strip local FA4 from theme, update theme files for FA6
theteknocat Jun 22, 2026
876f1ca
Remove Drupal deploy Github workflow
leeomara Jun 25, 2026
026b7d7
Deleting Pantheon code and references
leeomara Jun 25, 2026
fbf253e
Remove pantheon-systems/drupal-integrations
leeomara Jun 25, 2026
d1ec775
Remove evolvingweb/drupal-ci
leeomara Jun 25, 2026
3b576e5
Remove documentation references to Pantheon
leeomara Jun 25, 2026
85e410c
Merge remote-tracking branch 'origin/1098-remove-pantheon' into kelle…
willsstrong Jun 26, 2026
5af85ef
Merge pull request #1088 from ytgov/964-visual-inline-view-issue-when…
willsstrong Jun 26, 2026
f3fc5a8
Merge pull request #1089 from ytgov/1080-click-to-call-button-not-app…
willsstrong Jun 26, 2026
bc161a2
Merge pull request #1092 from ytgov/1082-translation-workflow-issue
willsstrong Jun 26, 2026
3b5f77c
Merge pull request #1087 from ytgov/1045-previous-button-missing-from…
willsstrong Jun 26, 2026
67f3a31
Merge pull request #1094 from ytgov/970-event-upload-feature-image-no…
willsstrong Jun 26, 2026
51d17c4
Merge pull request #1091 from ytgov/1090-remove-aurora-graphics-and-u…
willsstrong Jun 26, 2026
869aa18
Merge pull request #1095 from ytgov/1083-multistep-page-restrict-numb…
willsstrong Jun 26, 2026
5aabfe6
Merge pull request #1096 from ytgov/1085-campaign-mobile-page-title-o…
willsstrong Jun 26, 2026
5e6c6c0
Merge pull request #1097 from ytgov/1084-campaign-page-social-media-i…
willsstrong Jun 26, 2026
e0afc78
Merge pull request #1093 from ytgov/1081-implement-new-dept-name-thro…
willsstrong Jun 26, 2026
023ed41
chore(theme): deploy yukonca_glider compiled assets via git
theteknocat Jun 29, 2026
c749bf4
chore: add php/phpcs wrapper scripts for ddev
theteknocat Jul 3, 2026
209de06
fix: hide duplicate button for multi-step paragraphs once max is reached
theteknocat Jul 3, 2026
b8ccc12
Revert "Kellett - refs #1081: implement new Economic Development, Tou…
willsstrong Jul 7, 2026
7bf7928
Merge pull request #1103 from ytgov/revert-1093-1081-implement-new-de…
willsstrong Jul 7, 2026
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
32 changes: 32 additions & 0 deletions .ddev/run-php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/bin/bash

# phpsab/VS Code may spawn us without the login-shell PATH, so `ddev` can be
# missing. Recover PATH from the developer's own login shell — works on any
# OS (macOS/Linux/WSL) regardless of where ddev is installed. Miss-path only.
if ! command -v ddev >/dev/null 2>&1; then
_p=$("${SHELL:-/bin/sh}" -lic 'printf "\037%s\037" "$PATH"' 2>/dev/null)
_p=${_p#*$'\037'}; _p=${_p%%$'\037'*}
[ -n "$_p" ] && export PATH="$_p"
fi

current_dir=$(pwd)

# If the $current_dir ends with "/.ddev" then we need to remove the ".ddev".
if [[ $current_dir == */.ddev ]]; then
current_dir=${current_dir%/.ddev}
fi

# Loop through all the arguments and replace any part of any argument that
# matches current_dir with /var/www/html. This is necessary because the vscode
# extension will pass in a full path to the file on the local system, rather
# than the path to the file inside the ddev container.
for i in "$@"
do
if [[ $i =~ $current_dir ]]; then
new_arg=$(echo "$i" | sed "s#$current_dir#/var/www/html#")
# Replace the argument in the list of arguments
set -- "${@/$i/$new_arg}"
fi
done

ddev exec php "$@"
64 changes: 64 additions & 0 deletions .ddev/run-phpcbf
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#!/bin/bash

# phpsab/VS Code may spawn us without the login-shell PATH, so `ddev` can be
# missing. Recover PATH from the developer's own login shell — works on any
# OS (macOS/Linux/WSL) regardless of where ddev is installed. Miss-path only.
if ! command -v ddev >/dev/null 2>&1; then
_p=$("${SHELL:-/bin/sh}" -lic 'printf "\037%s\037" "$PATH"' 2>/dev/null)
_p=${_p#*$'\037'}; _p=${_p%%$'\037'*}
[ -n "$_p" ] && export PATH="$_p"
fi

current_dir=$(pwd)

# If the $current_dir ends with "/.ddev" then we need to remove the ".ddev".
if [[ $current_dir == */.ddev ]]; then
current_dir=${current_dir%/.ddev}
fi

# Loop through all the arguments and replace any part of any argument that
# matches current_dir with /var/www/html. This is necessary because the vscode
# extension will pass in a full path to the file on the local system, rather
# than the path to the file inside the ddev container.
for i in "$@"
do
if [[ $i =~ $current_dir ]]; then
new_arg=$(echo "$i" | sed "s#$current_dir#/var/www/html#")
# Replace the argument in the list of arguments
set -- "${@/$i/$new_arg}"
fi
done

if [ "$#" -gt 0 ]; then
# Run phpcbf inside the ddev container, suppress ddev exec's error message, and capture stdout and exit code.
stderr_file=$(mktemp)
output=$(ddev exec vendor/bin/phpcbf "$@" 2> "$stderr_file")
exit_code=$?

phpcbf_exit_code=0
# Check if the command failed and capture the exit code.
if [ $exit_code -ne 0 ]; then
# If the command failed, get the exit code from the stderr file.
phpcbf_exit_code=$(grep -m 1 "exit status" "$stderr_file" | sed -E 's/.*exit status ([0-9]+).*/\1/')
# If the exit code is not found, set it to 1 (indicating an error).
if [ -z "$phpcbf_exit_code" ]; then
phpcbf_exit_code=1
fi
fi

# Output the JSON result from phpcbf (stdout).
echo "$output"

# Dump out the output from stderr for debugging.
# This is useful for debugging, but you may want to comment it out in production.
# echo "stderr output: $(cat "$stderr_file")"
# echo "phpcbf exit code: $phpcbf_exit_code"
# Clean up the temporary file.
rm -f "$stderr_file"

# Pass the correct exit code from phpcbf back to the caller.
exit $phpcbf_exit_code
else
echo "No arguments provided for phpcbf."
exit 1
fi
64 changes: 64 additions & 0 deletions .ddev/run-phpcs
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#!/bin/bash

# phpsab/VS Code may spawn us without the login-shell PATH, so `ddev` can be
# missing. Recover PATH from the developer's own login shell — works on any
# OS (macOS/Linux/WSL) regardless of where ddev is installed. Miss-path only.
if ! command -v ddev >/dev/null 2>&1; then
_p=$("${SHELL:-/bin/sh}" -lic 'printf "\037%s\037" "$PATH"' 2>/dev/null)
_p=${_p#*$'\037'}; _p=${_p%%$'\037'*}
[ -n "$_p" ] && export PATH="$_p"
fi

current_dir=$(pwd)

# If the $current_dir ends with "/.ddev" then we need to remove the ".ddev".
if [[ $current_dir == */.ddev ]]; then
current_dir=${current_dir%/.ddev}
fi

# Loop through all the arguments and replace any part of any argument that
# matches current_dir with /var/www/html. This is necessary because the vscode
# extension will pass in a full path to the file on the local system, rather
# than the path to the file inside the ddev container.
for i in "$@"
do
if [[ $i =~ $current_dir ]]; then
new_arg=$(echo "$i" | sed "s#$current_dir#/var/www/html#")
# Replace the argument in the list of arguments
set -- "${@/$i/$new_arg}"
fi
done

if [ "$#" -gt 0 ]; then
# Run phpcs inside the ddev container, suppress ddev exec's error message, and capture stdout and exit code.
stderr_file=$(mktemp)
output=$(ddev exec vendor/bin/phpcs "$@" 2> "$stderr_file")
exit_code=$?

phpcs_exit_code=0
# Check if the command failed and capture the exit code.
if [ $exit_code -ne 0 ]; then
# If the command failed, get the exit code from the stderr file.
phpcs_exit_code=$(grep -m 1 "exit status" "$stderr_file" | sed -E 's/.*exit status ([0-9]+).*/\1/')
# If the exit code is not found, set it to 1 (indicating an error).
if [ -z "$phpcs_exit_code" ]; then
phpcs_exit_code=1
fi
fi

# Output the JSON result from phpcs (stdout).
echo "$output"

# Dump out the output from stderr for debugging.
# This is useful for debugging, but you may want to comment it out in production.
# echo "stderr output: $(cat "$stderr_file")"
# echo "phpcs exit code: $phpcs_exit_code"
# Clean up the temporary file.
rm -f "$stderr_file"

# Pass the correct exit code from phpcs back to the caller.
exit $phpcs_exit_code
else
echo "No arguments provided for phpcs."
exit 1
fi
71 changes: 0 additions & 71 deletions .github/workflows/drupal-deploy.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ docroot/profiles/contrib
docroot/libraries
drush/Commands

# Ignore custom theme build artifacts
# Ignore custom theme tooling, but track compiled dist assets (deployed via git).
docroot/themes/custom/*/node_modules
docroot/themes/custom/*/styleguide
docroot/themes/custom/*/patterns/*/*/css
docroot/themes/custom/*/css
docroot/themes/custom/**/dist
dist/
# Build cruft we don't deploy, even inside tracked dist/.
docroot/themes/custom/**/*.map
docroot/themes/custom/**/maps/

# Ignore build artifacts
deployment_identifier
Expand Down
6 changes: 1 addition & 5 deletions LocalSetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ To use composer and drush within the container (recommended):

## Local Dev Environment Setup

### Pantheon access

This setup uses Drush to synchronize DB, make sure you have access to the Yukon D10 Pantheon site.

### Install Docksal

This setup uses docksal, ensure docksal is installed on you development machine. You can find instructions in https://docksal.io/installation
Expand Down Expand Up @@ -63,7 +59,7 @@ Installs front end dependencies using yarn.

Compiles SCSS and JS using gulp.

Downloads and imports database from Pantheon.
Downloads and imports database.

And finally opens the application in web browser.

Expand Down
18 changes: 3 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Yukon.ca

Drupal 10 Drupal build for Yukon.ca. This repository was prepared so it's sources can be built via CI to deploy to Pantheon.
Drupal 10 Drupal build for Yukon.ca.

[[_TOC_]]

Expand All @@ -23,9 +23,9 @@ Layout Builder: The current standard choice for components implementation is Lay

## Development workflow

Every new development should be pushed to a development branch. The advice is to keep the names short: due to Pantheon's limitation, multidev cannot use longer branch names, so in case we want to use it, we should avoid the long names.
Every new development should be pushed to a development branch.

Upon pushing to a branch, you can create a Pull Request for EW to review. Branches are pushed to Pantheon so you can also spin a Multidev environment to demonstrate before merging.
Upon pushing to a branch, you can create a Pull Request for EW to review.

## Resources

Expand Down Expand Up @@ -109,29 +109,17 @@ npm run build
```bash
drush locale-export fr --type=customized > config/translations/fr.customized.po
```
- Pantheon
```bash
drush locale-export fr --type=customized > /code/config/translations/fr.customized.po
```

##### Import:
- Local
```bash
drush locale-import fr --type=customized /var/www/html/config/translations/fr.customized.po
```
- Pantheon
```bash
drush locale-import fr --type=customized /code/config/translations/fr.customized.po
```

##### Import with override:
- Local
```bash
drush locale-import fr --type=customized --override=customized /var/www/html/config/translations/fr.customized.po
```
- Pantheon
```bash
drush locale-import fr --type=customized --override=customized /code/config/translations/fr.customized.po
```


3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,8 @@
"enshrined/svg-sanitize": "^0.22.0",
"evolvingweb/blinker_addons": "^2.4",
"evolvingweb/blinker_core": "^2.0",
"evolvingweb/drupal-ci": "^2.0",
"evolvingweb/glider": "^3.6",
"oomphinc/composer-installers-extender": "^2.0",
"pantheon-systems/drupal-integrations": "^10.0",
"wikimedia/composer-merge-plugin": "^2.1"
},
"extra": {
Expand Down Expand Up @@ -198,7 +196,6 @@
"locations": {
"web-root": "./docroot"
},
"allowed-packages": ["pantheon-systems/drupal-integrations", "evolvingweb/drupal-ci"],
"file-mapping": {
"[web-root]/sites/default/default.services.yml": {
"mode": "replace",
Expand Down
Loading