Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 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
de0a102
First draft select a featured librarian
djanelle-mit Sep 9, 2026
a9aded2
Casting ID as int
djanelle-mit Sep 9, 2026
c2f8d50
Changes to featured expert copy and logic
djanelle-mit Sep 11, 2026
9184c27
Calculate string for alt text alongside other variable declarations
djanelle-mit Sep 11, 2026
2e3345c
Merge pull request #224 from MITLibraries/featured-staff
djanelle-mit Sep 14, 2026
f219c89
Remove unused view.js
matt-bernhardt Sep 8, 2026
3a78843
Remove "main" entry from package.json
matt-bernhardt Sep 8, 2026
87f6238
Declare dependencies with versions
matt-bernhardt Sep 8, 2026
07e3c2e
npm run format
matt-bernhardt Sep 8, 2026
e1b39dd
replace class with className in javascript files
matt-bernhardt Sep 9, 2026
c57021d
Use HTML entities rather than bare characters
matt-bernhardt Sep 9, 2026
dfb3a3a
Remove useBlockProps
matt-bernhardt Sep 9, 2026
d1922fe
Remove __ import
matt-bernhardt Sep 9, 2026
d30df79
composer lint web/app/plugins/mitlib-blocks
matt-bernhardt Sep 14, 2026
460674c
Update package-lock.json
matt-bernhardt Sep 9, 2026
bb20d8f
Re-run build
matt-bernhardt Sep 8, 2026
dd1eeb2
Merge pull request #222 from MITLibraries/cleanup
matt-bernhardt Sep 14, 2026
a3793e9
Catch up to content changes from base branch
matt-bernhardt Sep 14, 2026
9641237
Merge branch 'master' into block-remix
matt-bernhardt Sep 14, 2026
3a6ada0
Updated block content to be current to homepage on master
djanelle-mit Sep 14, 2026
eec58f8
Updated h1 of hero section to accept header prop
djanelle-mit Sep 15, 2026
899300a
Respond to code review feedback
matt-bernhardt Sep 15, 2026
b31f891
Re-run build
matt-bernhardt Sep 15, 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