Repository navigation
v1.1.128
Fixed
- The server-rendered
<title>is the one the browser shows (completing lab finding
K21). The client formats a title as "Log in — Fancy", but the SSR entry passed no title
callback, so the first byte said only "Log in" and a crawler or link preview read that.
resources/js/title.tsnow holds the onepageTitlecallback, and bothapp.tsxand
ssr.tsxpass it (createFancyServer({ title }), new in fancy-inertia 0.16.0).
tests/Feature/DocumentTitleTest.phpasserts the exact title on the first byte. In an
app made from an earlier kit: pass yourcreateInertiaApptitle callback to
createFancyServerastitletoo.
Changed
-
fancy-inertia 0.16.0 (was 0.15.0), for the
titleoption above. The range moves
from>=0.15.0 <2.0to>=0.16.0 <2.0. -
react-fancy 6.25.0 (was 6.21.0). The range moves from
^6.21.0to>=6.25.0 <7.0,
the form the kit's other first-party packages already use. That only widens it, so
any version an app already has still resolves. What arrives is mostly accessibility
fixes:- Modal and Drawer name their dialog, and the page behind an open Modal or viewport
Drawer isinertuntil it closes. - Popover and Dropdown triggers sit on their child, with no wrapper
<span>. - ColorPicker, StickyNote, Kanban and CodeView have accessible names.
- Table gains
Table.Foot.
The kit's own pages use none of the changed components, so an app made from an
earlier kit has nothing to do unless its own code does:- Change a selector such as
[data-react-fancy-dropdown-trigger] > buttonto
button[data-react-fancy-dropdown-trigger]. - Change
[data-react-fancy-color-picker] > buttonto
[data-react-fancy-color-picker-swatch]. - Pass
haspopup="menu"to a Popover that is really a menu.
The details are in react-fancy's CHANGELOG, 6.22.0 to 6.25.0.
- Modal and Drawer name their dialog, and the page behind an open Modal or viewport