Skip to content

Show bundled dependencies and record slots in Hello World - #5

Merged
gdarko merged 5 commits into
mainfrom
feat/bundled-dependencies
Oct 24, 2026
Merged

gdarko merged 5 commits into
mainfrom
feat/bundled-dependencies

Conversation

@gdarko

@gdarko gdarko commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Hello World 2.0.0, the reference for bundled dependencies and record slots (module API 1.4):

  • Bundles chillerlan/php-qrcode, which InvoiceShelf does not ship; a module route draws a QR code with it on the dashboard. bundle.lock is committed, bundle/ is generated and kept out of Pint.
  • A panel and a Say hello action on invoices and customers, and a New-menu entry.
  • The README explains local development with a bundle and dependency management end to end.

Waits for SDK 3.5.0 (composer install cannot resolve ^3.5 until it is tagged) and for the first host release with module API 1.4 (host-version: 3.0.0-alpha.12 in the release workflow). Stacked on the modernization PR.

Version 2.0.0 targets module API 1.4. It bundles chillerlan/php-qrcode, which
InvoiceShelf does not ship, and uses it in a module route that draws a QR
code for the dashboard; bundle.lock is committed and bundle/ is generated
(and kept out of Pint). The page, invoices and customers show what the new
record slots look like: a panel, a Say hello action in list menus and on
the invoice page, and a New-menu entry.

The README now explains local development with a bundle and dependency
management end to end. CI builds the bundle from bundle.lock against the
host's 3.x lock, and releases build it against 3.0.0-alpha.12 through the
SDK 3.5 workflow. SDK 3.5.0 is not tagged yet, so composer install fails
until it is.
BasePage already spaces the header from the content and BaseCard already
pads its body, so the page's own margin and padding doubled both. The layout
now also uses only utilities the host's stylesheet has, since the module
ships no CSS of its own.
@gdarko
gdarko changed the base branch from chore/modernize to main October 24, 2026 00:38
SDK 3.5.0 is tagged, so the temporary preview step goes. composer.lock is
committed (resolved for PHP 8.4, the module's minimum) because the bundle
build checks that the versions the tests use match the ones that ship.
@gdarko
gdarko marked this pull request as ready for review October 24, 2026 00:52
@gdarko
gdarko merged commit 85d34ef into main Oct 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant