Skip to content

Boards 0.8.0: Boards open over the page, PDF export and a separate admin permission

Boards 0.8.0 opens a PhoenixKit whiteboard over the page you are working on instead of taking you away from it, adds PDF export, and splits who may use boards from who may manage all of them.

Boards open over the page

Opening a board from the boards widget now shows it in a window over the current page, with a button to open it in a new tab and a close button (Close (Esc)). Escape closes it from inside the board too, unless the board itself needs that key (to cancel a stroke or close a menu) or you are typing in a field. Closing leaves you exactly where you were on the page. A host can keep the old behaviour with open={:navigate}, or open boards in a new tab with open={:new_tab}.

A board opened over the page in PhoenixKit Boards: its name at the top with open-in-new-tab and close, the board with pasted screenshots and the drawing tools A board opened over the page in PhoenixKit Boards: its name at the top with open-in-new-tab and close, the board with pasted screenshots and the drawing tools

A board now opens over the page it belongs to.

If the board is deleted, made private or closed to you while it is open, the window says Board not found. instead of loading another page, and a failed save now shows its Could not save the board. message inside the window.

Export as PDF and the new viewer controls

Export as PDF is on the board page and in every tile’s ⋯ menu. From a tile, the board is drawn out of sight, exported and taken down again, and the file is named after the board. The board page now uses the same controls as PhoenixKit’s media viewer: one dark nav bar, a View / Annotate switch, the zoom readout and slider, and an actual-size button. With config :phoenix_kit, laser_measure: true, the same switch as the media viewer’s, readings from a Bosch laser meter become labels on shapes.

Two permissions

The Boards permission now covers the widget and the board page, where your app’s authorize hook still decides which places a person may see. A new Manage boards permission opens the admin list at /admin/boards and every board in every place, private ones included. Taking Manage boards away closes the admin list and an open board at once.

Other fixes

  • The first click on an empty widget no longer misses its buttons.
  • Moving the widget to another place closes an open board and cancels an export.
  • An export no longer stays stuck when the browser never answers, and a slow export is no longer reported as failed while it runs.

Upgrading

Boards 0.8 needs PhoenixKit 3.6.0 or later, fresco 0.16 and etcher 0.25. There is no new migration. On the first start with the module enabled, every role that had Boards is also given Manage boards, so nobody loses the admin pages. Users with no Boards permission lose the widget and the board page, which used to need no permission at all: grant Boards to the roles that should keep them. A site whose Content-Security-Policy forbids framing its own pages (frame-ancestors 'none') sees an empty window, and should pass open={:navigate}.

Full release notes: Boards 0.8.0

0.8.0 · 15 November 2026

Needs phoenix_kit 3.6.0 or later, the first core that admits fresco 0.16 and etcher 0.25.

Changed (breaking)

  • Two permissions: boards for users, boards.manage for admins. The base boards key now covers the widget and /dashboard/boards/:id, where your :authorize hook still decides which places. The new boards.manage sub-key covers /admin/boards and every board in every place, and the hook is not asked. On the first boot with the module enabled, every role that held boards is also given boards.manage, so nobody loses the admin pages. The boards_manage_backfilled setting records that this ran. Users with no boards permission lose the widget and the board page, which used to need no permission at all. Grant them the base key.
  • The widget opens boards over the page by default (open: :overlay). It frames the board page in an <iframe> with a close button and an open-in-new-tab link, and leaves the person where they were. A host whose Content-Security-Policy forbids framing its own pages (frame-ancestors 'none') gets an empty overlay. Pass open={:navigate} for the old behaviour.
  • The phoenix_kit floor is now 3.6.0, and fresco 0.16 / etcher 0.25 are the new minimums.

Added

  • Export as PDF on the board page and in every tile’s menu. From a tile, the board is drawn off screen with the board page’s own viewer, exported, and taken down again.
  • The board page uses the media viewer’s controls: one dark nav bar, Etcher’s View | Annotate switch, the zoom readout and slider, and the 1:1 button.
  • Laser measure, opt-in with config :phoenix_kit, laser_measure: true (the same switch as PhoenixKit’s media viewer): a Bosch meter’s readings become shape labels. Only while it is on does the overlay’s frame get the bluetooth permission.
  • The boards.manage label and description are translated (en, et, ru).

Fixed

  • The first click on an empty widget was lost. The “Paste text or an image” hint appeared on focus and moved the buttons between mousedown and mouseup, so the click missed them.
  • The overlay no longer loads the site’s home page. That happened when the open board was deleted, made private or closed to the viewer. The frame now says “Board not found.” and loads nothing.
  • A failed save now shows in the overlay. The framed page has no host layout, so its “Could not save the board.” message was never shown.
  • “Export as PDF” no longer stays disabled for good when the browser never answers (the export script failed to load). The server gives up after 45 seconds, a late answer from an abandoned export can’t end the next one, and an export taken down early stops polling for the drawing layer.
  • Moving the widget to another place closes an open board and cancels an export, instead of leaving the old place’s board over the new one.
  • A PDF exported from a tile is named like one from the board page. The download is <name>.pdf, and \ / : * ? " < > | are replaced. The status line still shows the board’s real name.
  • A slow PDF export is no longer reported as failed while it is still running. The 45 second limit applies until the browser starts the export. After that the server waits three minutes. A copy taken down in that window does not start the download.
  • Taking boards.manage away closes the admin list and an open board immediately, including when the person still holds boards. The widget drops rename and delete for boards the person does not own on its next refresh.
  • Escape closes the overlay from inside the board too. Key presses inside the frame never reached the page around it. An Escape that Etcher uses (to cancel a stroke, deselect or close a menu) and one typed into a field still stay with the board.
  • A board closed when access was lost no longer reopens when access comes back, and an export interrupted that way does not restart on its own.

Boards 0.8.0. Install or update: {:phoenix_kit_boards, "~> 0.8"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.