Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c124fe2
Hero image block with editable h1 and search widget area
djanelle-mit Aug 27, 2026
53359a5
Tweaks to hero block and scaffold for hours
djanelle-mit Aug 27, 2026
8b4d1e4
Using the libraries block
djanelle-mit Aug 27, 2026
8f3991b
First drafts of Featured and Featured collections blocks
djanelle-mit Aug 31, 2026
6c02733
updated plugins
djanelle-mit Aug 31, 2026
17aec28
Updated hours plugin for basic editing
djanelle-mit Aug 31, 2026
37afeca
Tweaked editing display of hours plugin
djanelle-mit Aug 31, 2026
55f12a6
Updated using the libraries section to have basic editing
djanelle-mit Aug 31, 2026
6f2b903
Updating names, featured block editing, and icons
djanelle-mit Aug 31, 2026
08b9f0a
Collapse .editorconfig
matt-bernhardt Aug 31, 2026
34664ed
Streamline NPM tooling
matt-bernhardt Aug 31, 2026
76a9b2d
Add new CI workflow to check for build status
matt-bernhardt Aug 31, 2026
86c6e20
re-run build
matt-bernhardt Aug 31, 2026
bf8abe2
Move hours block plugin into existing plugin
matt-bernhardt Sep 3, 2026
f921e97
Updating block materials from code review
matt-bernhardt Sep 3, 2026
c1180e4
Update CI
matt-bernhardt Sep 3, 2026
f5434b5
Re-run build
matt-bernhardt Sep 3, 2026
6e6b9cc
Conditional rendering for when page content is empty
djanelle-mit Sep 4, 2026
2b2e486
Updated featured librarian in featured block content
djanelle-mit Sep 4, 2026
8d47326
First draft of single blocks plugin
djanelle-mit Sep 8, 2026
2771ec7
Merge pull request #220 from MITLibraries/single-block-plugin
djanelle-mit Sep 8, 2026
aa9900b
Rename src/ to blocks/ in mitlib-blocks
matt-bernhardt Sep 8, 2026
776915a
Move hours block into new plugin
matt-bernhardt Sep 8, 2026
12ec026
Cleaning up after block rehoming
matt-bernhardt Sep 8, 2026
833c95f
Re-run build
matt-bernhardt Sep 8, 2026
3acb7db
Merge pull request #221 from MITLibraries/hours-block
matt-bernhardt Sep 9, 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
12 changes: 9 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
Expand All @@ -8,8 +14,8 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.php]
indent_size = 4

[*.md]
trim_trailing_whitespace = false

[*.php]
indent_style = tab
28 changes: 28 additions & 0 deletions .github/workflows/ensure-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Ensure block build artifacts are current

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v7

- name: Setup Node
uses: actions/setup-node@v7
with:
node-version: '22'
cache: 'npm'

- run: npm ci

- run: npm list

- run: npm run build --workspaces

- uses: CatChen/check-git-status-action@v1
with:
fail-if-not-clean: true
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ web/app/mu-plugins/*/
web/app/plugins/*
!web/app/plugins/.gitkeep
!web/app/plugins/mitlib-analytics
!web/app/plugins/mitlib-block-hours-section
!web/app/plugins/mitlib-blocks
!web/app/plugins/mitlib-cf7-elements
!web/app/plugins/mitlib-home-page-news
!web/app/plugins/mitlib-multisearch-widget
Expand Down Expand Up @@ -189,3 +191,32 @@ Thumbs.db
##########
.vscode
auth.json

# NPM examples
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Coverage directory used by tools like istanbul
coverage

# Dependency directories
node_modules/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Output of `npm pack`
*.tgz

# Output of `wp-scripts plugin-zip`
*.zip

# dotenv environment variables file
.env
Loading
Loading