Repository navigation
Releases
@marktiderman/genesis@0.11.9
Patch Changes
- Updated dependencies [982cf53]
- @marktiderman/genesis-ui-native@3.17.1
@marktiderman/genesis@0.11.11
Patch Changes
- Updated dependencies [bffbb84]
- @marktiderman/genesis-ui-native@3.18.1
@marktiderman/genesis@0.11.10
@marktiderman/genesis-ui-native@3.18.1
Patch Changes
-
bffbb84: Review fixes to the swipe row's press guard and the Messages look.
- ui-native,
NativeSwipeRow:- A plain tap presses at once, as before; only while a drag is still reported does a press wait a frame (gesture-handler can report one just after the release). Synchronous press tests pass again.
- The guard applies only to a row that swipes: a row with no actions on a side, or without gesture-handler, is untouched.
- The touch's start is read from a wrapper view around the row,
<testID>-touch, which never takes the touch. - The row element (NativeSwipeRow's child, or the element a menu wrapper holds, within five levels) carries the
onPress; in development a hint says when none is found.
- chat:
- A bubble's tail is drawn behind it (
ChatBubbleShape,MessageBubble), so it never covers the first letters at the bottom corner (the peek's "It did" read "!t did"). - The reply arrow hides again when a drag is cancelled (
onSwipeableWillClose).
- A bubble's tail is drawn behind it (
- ui-native,
@marktiderman/genesis-ui-native@3.18.0
Minor Changes
-
22f3199: genesis-chat's native screens draw the platform's Messages pattern (iOS 26) by default, with Messages' colors in their own layer (ADR 0029). Apps must install genesis-design-system.
- core: row actions take an
indigoaccent (RowActionAccent,ROW_ACTION_ACCENTS). - design-system:
- Chat roles, additive and namespaced under chat:
resolveChatRoles({ target, scheme, platformColor }),CHAT_ROLES,CHAT_ACCENTS. Every role has an iOS system color where Messages uses one and a light and dark value for Android, the web and the rest. Brand tokens don't change. - The native barrel (
index.native.ts) exports them too, and a test holds both barrels to the same names.
- Chat roles, additive and namespaced under chat:
- ui-native:
InboxPagevariant="plain"draws full-width rows on the page with no inset group, as Messages and Mail list theirs;backgroundsets the page."grouped"stays the default, and arowslot gets thevariant.- A long-press menu of a screen's own, in place of the sheet and the system menu:
renderMenuonNativeRowActionsanduseRowActions, InboxPage'srowMenuslot and NativeResourceView'srowMenu(its inbox rows). It getsRowActionsMenuProps(open,onClose,actions,title,preview,testID); the swipe and VoiceOver's actions don't change. NativeSwipeRowguards the row's press (the row, or the row inside the system menu): a press whose touch became a drag, or any press while the row is open, doesn't fire, and a tap on an open row closes it. A press it lets through runs a frame later, in case gesture-handler reports the drag just after the release. It reads the swipe's callbacks and the touch's start, and never takes the touch. Every swiped row gets it (NativeListItem, InboxPage's and NativeResourceView's rows).- The
indigoaccent (systemIndigo on iOS, a fallback that carries white at 4.5:1 elsewhere), andNativeSwipeRow roundLabels={false}: round buttons without the labels under them, each then named for VoiceOver. Defaults unchanged.
- chat:
ChatInboxScreen: on InboxPage'svariant="plain": plain rows with faces, the unread dot, two lines of the last message, the time and a chevron; pinned faces above; round, unlabelled row actions (Hide Alerts indigo); a long press shows the conversation over a glass menu of its actions (ChatConversationMenu, therowMenu); the glass search field at the bottom; the stack's large title with Back (onBack), the filter menu and Compose as native header items; no tab bar. New:filters,filter/onFilterChange,menuItems,onOpenArchived,onOpenScheduled,onSearchMessages,onCompose,title,search,pinned,nativeHeader,slotsandslotProps(row,pinned,searchField,listHeader,empty).pagePropsstill passes through to InboxPage (paging,formatTime, its slots).ChatThreadScreen: bubbles in the chat roles with round corners and a tail, tapbacks on the bubble's corner, "Today 9:41 AM" separators (buildThreadRows(…, { separators: "time" })), no time under a run (drag left for it), the long press as Messages' layer (ChatMessageMenu), a glass jump pill. New:plusItems,slots.bubble,slots.composer,slots.messageMenu,slots.plusList,slots.belowHeader,slotProps.ChatComposer: the glass + circle and "Message" pill, the mic inside it, the Send arrow (hold it to schedule); + opens a glass list with round colored icons (Camera, Photos, Audio, Video, Send Later, Paste). New:plusItems,slots.plusList.- Header and details:
useChatThreadStackOptionsdraws the face over a glass name pill (titleLayout,faceSize), the back button as the chevron alone;ChatDetailsScreenis new. - Pieces:
useChatColors,ChatFace,ChatGlassPanel,ChatGlassCircle,ChatGlassMenu,ChatContextOverlay,ChatSymbol,ChatBubbleShape,ChatConversationPreview,ChatConversationMenu,CHAT_METRICS,CHAT_TYPE, the times (timeSeparatorLabel) and the inbox's rules (defaultInboxFilters,applyInboxFilter,pinnedConversations,matchesInboxSearch,isSelfConversation);modules.keyboardStickyViewfor the search field. createMemoryChatClientis also exported from the root entry (@marktiderman/genesis-chat), so a native app (a showcase, a demo) reaches the in-memory client without/web.- Mentions: a mention's name is bounded (1 to 80 characters) in
displayBody,plainTextandpreviewText, so a hostile body can't make the regular expression backtrack. - Peers: genesis-design-system
>=1.14.0is now required: apps on genesis-chat native install it (pnpm add @marktiderman/genesis-design-system). genesis-ui-native>=3.18.0, the release withInboxPage'svariantandrowMenu.
What changes on upgrade
Every app on genesis-chat native changes look when it takes this release:
- The inbox is Messages' plain list on the page instead of the inset grouped list, sets its own header (the large title, the filter menu, Compose) when
GenesisModules.routeris set, and hides the tab bar while it shows (TabBarVisibilityProviderin the tabs layout). PassnativeHeader={false}to keep a header of the app's own. - A press on a swiped row no longer fires when its touch became a swipe or while the row is open, in every list with swipe actions, and a swiped row's press now runs a frame after the release (a test that presses one should wait for it).
- Its Hide Alerts is indigo and its round swipe buttons have no labels under them. A long press on a row or a pinned face shows the conversation on a card, its latest messages at the bottom (the screen behind hidden) over a glass menu of its actions instead of the action sheet; the screen reader's actions are unchanged.
- The inbox's and thread's headers and pages take the page color for the scheme as a plain string, so they follow dark mode and meet without a seam; the thread's back button is the chevron alone.
- The time and "Sending…" no longer show under the last bubble of a run (drag the thread left for every time; the status line under your last message still says Sending, Delivered or Read). Only a failed send, with Retry and Delete, and "Edited" still show there.
- Sent bubbles are Messages' blue and received ones its grey, whatever the brand; the thread's background is the page, not the grouped background.
- A bubble's long press opens Messages' layer instead of the actions sheet; the composer is the glass pill with a + list instead of
NativeComposerBar, and its emoji button is gone. - A thread title given an avatar, subtitle,
onPressTitleorconversationIdis the face over the name pill (titleLayout: "inline"keeps the old one).
To keep a piece of the app's own, replace that part through its slot (
slots.row,slots.bubble,slots.composer,slots.messageMenu,slots.plusList,pageProps.slots.rowMenu, …), add to the defaults throughfilters,menuItemsandplusItems, and put the app's own strip under the header withslots.belowHeader. An app's own Messages layer can be deleted. - core: row actions take an
Patch Changes
- bf7c4e8:
ScreenContainer: a screen with atestIDand a list as its body now collapses its iOS large title as the list scrolls. The static (non-scroll) body no longer carries a testID (<testID>-body): a View with a testID isn't flattened, and that extra native view between the safe area and the list stopped iOS finding the list's scroll view. The loading state's body keeps<testID>-body. A test that looked up<testID>-bodyon a static body should look up its own content instead.
@marktiderman/genesis-ui-native@3.17.1
Patch Changes
- 982cf53: - ui-native:
useThemeRoles().onPrimaryreads on every tint, a named colour too:tint: "white"now gives black text, resolved throughprocessColor. Before, it fell back to the scheme's token, white on white. A fully transparent tint still takes the token.- ui-native:
InboxPagebuilds a row's swipe, long press and screen-reader actions from the row after the page'sslotProps.row, so actions given there reach all three; anactionPropsgiven there is laid over the generated one, key by key, so a long press of its own keeps the row's screen-reader actions. - chat:
useConfirmDialoggives focus back to the control that asked when its dialog closes (a second question asked while it is open keeps the first control). It takes a second, optional argument,fallbackFocus, for when that control is gone.ChatInboxpasses the row whose menu asked, so Cancel goes back to that row, else the list's tab stop. Its row stays until the delete and the refetch come back, soChatInboxalso moves focus to the list's tab stop when that row goes, and a confirmed Delete leaves focus in the list (on the list itself once the last conversation is gone).
- ui-native:
@marktiderman/genesis-design-system@1.14.0
Minor Changes
-
22f3199: genesis-chat's native screens draw the platform's Messages pattern (iOS 26) by default, with Messages' colors in their own layer (ADR 0029). Apps must install genesis-design-system.
- core: row actions take an
indigoaccent (RowActionAccent,ROW_ACTION_ACCENTS). - design-system:
- Chat roles, additive and namespaced under chat:
resolveChatRoles({ target, scheme, platformColor }),CHAT_ROLES,CHAT_ACCENTS. Every role has an iOS system color where Messages uses one and a light and dark value for Android, the web and the rest. Brand tokens don't change. - The native barrel (
index.native.ts) exports them too, and a test holds both barrels to the same names.
- Chat roles, additive and namespaced under chat:
- ui-native:
InboxPagevariant="plain"draws full-width rows on the page with no inset group, as Messages and Mail list theirs;backgroundsets the page."grouped"stays the default, and arowslot gets thevariant.- A long-press menu of a screen's own, in place of the sheet and the system menu:
renderMenuonNativeRowActionsanduseRowActions, InboxPage'srowMenuslot and NativeResourceView'srowMenu(its inbox rows). It getsRowActionsMenuProps(open,onClose,actions,title,preview,testID); the swipe and VoiceOver's actions don't change. NativeSwipeRowguards the row's press (the row, or the row inside the system menu): a press whose touch became a drag, or any press while the row is open, doesn't fire, and a tap on an open row closes it. A press it lets through runs a frame later, in case gesture-handler reports the drag just after the release. It reads the swipe's callbacks and the touch's start, and never takes the touch. Every swiped row gets it (NativeListItem, InboxPage's and NativeResourceView's rows).- The
indigoaccent (systemIndigo on iOS, a fallback that carries white at 4.5:1 elsewhere), andNativeSwipeRow roundLabels={false}: round buttons without the labels under them, each then named for VoiceOver. Defaults unchanged.
- chat:
ChatInboxScreen: on InboxPage'svariant="plain": plain rows with faces, the unread dot, two lines of the last message, the time and a chevron; pinned faces above; round, unlabelled row actions (Hide Alerts indigo); a long press shows the conversation over a glass menu of its actions (ChatConversationMenu, therowMenu); the glass search field at the bottom; the stack's large title with Back (onBack), the filter menu and Compose as native header items; no tab bar. New:filters,filter/onFilterChange,menuItems,onOpenArchived,onOpenScheduled,onSearchMessages,onCompose,title,search,pinned,nativeHeader,slotsandslotProps(row,pinned,searchField,listHeader,empty).pagePropsstill passes through to InboxPage (paging,formatTime, its slots).ChatThreadScreen: bubbles in the chat roles with round corners and a tail, tapbacks on the bubble's corner, "Today 9:41 AM" separators (buildThreadRows(…, { separators: "time" })), no time under a run (drag left for it), the long press as Messages' layer (ChatMessageMenu), a glass jump pill. New:plusItems,slots.bubble,slots.composer,slots.messageMenu,slots.plusList,slots.belowHeader,slotProps.ChatComposer: the glass + circle and "Message" pill, the mic inside it, the Send arrow (hold it to schedule); + opens a glass list with round colored icons (Camera, Photos, Audio, Video, Send Later, Paste). New:plusItems,slots.plusList.- Header and details:
useChatThreadStackOptionsdraws the face over a glass name pill (titleLayout,faceSize), the back button as the chevron alone;ChatDetailsScreenis new. - Pieces:
useChatColors,ChatFace,ChatGlassPanel,ChatGlassCircle,ChatGlassMenu,ChatContextOverlay,ChatSymbol,ChatBubbleShape,ChatConversationPreview,ChatConversationMenu,CHAT_METRICS,CHAT_TYPE, the times (timeSeparatorLabel) and the inbox's rules (defaultInboxFilters,applyInboxFilter,pinnedConversations,matchesInboxSearch,isSelfConversation);modules.keyboardStickyViewfor the search field. createMemoryChatClientis also exported from the root entry (@marktiderman/genesis-chat), so a native app (a showcase, a demo) reaches the in-memory client without/web.- Mentions: a mention's name is bounded (1 to 80 characters) in
displayBody,plainTextandpreviewText, so a hostile body can't make the regular expression backtrack. - Peers: genesis-design-system
>=1.14.0is now required: apps on genesis-chat native install it (pnpm add @marktiderman/genesis-design-system). genesis-ui-native>=3.18.0, the release withInboxPage'svariantandrowMenu.
What changes on upgrade
Every app on genesis-chat native changes look when it takes this release:
- The inbox is Messages' plain list on the page instead of the inset grouped list, sets its own header (the large title, the filter menu, Compose) when
GenesisModules.routeris set, and hides the tab bar while it shows (TabBarVisibilityProviderin the tabs layout). PassnativeHeader={false}to keep a header of the app's own. - A press on a swiped row no longer fires when its touch became a swipe or while the row is open, in every list with swipe actions, and a swiped row's press now runs a frame after the release (a test that presses one should wait for it).
- Its Hide Alerts is indigo and its round swipe buttons have no labels under them. A long press on a row or a pinned face shows the conversation on a card, its latest messages at the bottom (the screen behind hidden) over a glass menu of its actions instead of the action sheet; the screen reader's actions are unchanged.
- The inbox's and thread's headers and pages take the page color for the scheme as a plain string, so they follow dark mode and meet without a seam; the thread's back button is the chevron alone.
- The time and "Sending…" no longer show under the last bubble of a run (drag the thread left for every time; the status line under your last message still says Sending, Delivered or Read). Only a failed send, with Retry and Delete, and "Edited" still show there.
- Sent bubbles are Messages' blue and received ones its grey, whatever the brand; the thread's background is the page, not the grouped background.
- A bubble's long press opens Messages' layer instead of the actions sheet; the composer is the glass pill with a + list instead of
NativeComposerBar, and its emoji button is gone. - A thread title given an avatar, subtitle,
onPressTitleorconversationIdis the face over the name pill (titleLayout: "inline"keeps the old one).
To keep a piece of the app's own, replace that part through its slot (
slots.row,slots.bubble,slots.composer,slots.messageMenu,slots.plusList,pageProps.slots.rowMenu, …), add to the defaults throughfilters,menuItemsandplusItems, and put the app's own strip under the header withslots.belowHeader. An app's own Messages layer can be deleted. - core: row actions take an
@marktiderman/genesis-core@2.22.0
Minor Changes
-
22f3199: genesis-chat's native screens draw the platform's Messages pattern (iOS 26) by default, with Messages' colors in their own layer (ADR 0029). Apps must install genesis-design-system.
- core: row actions take an
indigoaccent (RowActionAccent,ROW_ACTION_ACCENTS). - design-system:
- Chat roles, additive and namespaced under chat:
resolveChatRoles({ target, scheme, platformColor }),CHAT_ROLES,CHAT_ACCENTS. Every role has an iOS system color where Messages uses one and a light and dark value for Android, the web and the rest. Brand tokens don't change. - The native barrel (
index.native.ts) exports them too, and a test holds both barrels to the same names.
- Chat roles, additive and namespaced under chat:
- ui-native:
InboxPagevariant="plain"draws full-width rows on the page with no inset group, as Messages and Mail list theirs;backgroundsets the page."grouped"stays the default, and arowslot gets thevariant.- A long-press menu of a screen's own, in place of the sheet and the system menu:
renderMenuonNativeRowActionsanduseRowActions, InboxPage'srowMenuslot and NativeResourceView'srowMenu(its inbox rows). It getsRowActionsMenuProps(open,onClose,actions,title,preview,testID); the swipe and VoiceOver's actions don't change. NativeSwipeRowguards the row's press (the row, or the row inside the system menu): a press whose touch became a drag, or any press while the row is open, doesn't fire, and a tap on an open row closes it. A press it lets through runs a frame later, in case gesture-handler reports the drag just after the release. It reads the swipe's callbacks and the touch's start, and never takes the touch. Every swiped row gets it (NativeListItem, InboxPage's and NativeResourceView's rows).- The
indigoaccent (systemIndigo on iOS, a fallback that carries white at 4.5:1 elsewhere), andNativeSwipeRow roundLabels={false}: round buttons without the labels under them, each then named for VoiceOver. Defaults unchanged.
- chat:
ChatInboxScreen: on InboxPage'svariant="plain": plain rows with faces, the unread dot, two lines of the last message, the time and a chevron; pinned faces above; round, unlabelled row actions (Hide Alerts indigo); a long press shows the conversation over a glass menu of its actions (ChatConversationMenu, therowMenu); the glass search field at the bottom; the stack's large title with Back (onBack), the filter menu and Compose as native header items; no tab bar. New:filters,filter/onFilterChange,menuItems,onOpenArchived,onOpenScheduled,onSearchMessages,onCompose,title,search,pinned,nativeHeader,slotsandslotProps(row,pinned,searchField,listHeader,empty).pagePropsstill passes through to InboxPage (paging,formatTime, its slots).ChatThreadScreen: bubbles in the chat roles with round corners and a tail, tapbacks on the bubble's corner, "Today 9:41 AM" separators (buildThreadRows(…, { separators: "time" })), no time under a run (drag left for it), the long press as Messages' layer (ChatMessageMenu), a glass jump pill. New:plusItems,slots.bubble,slots.composer,slots.messageMenu,slots.plusList,slots.belowHeader,slotProps.ChatComposer: the glass + circle and "Message" pill, the mic inside it, the Send arrow (hold it to schedule); + opens a glass list with round colored icons (Camera, Photos, Audio, Video, Send Later, Paste). New:plusItems,slots.plusList.- Header and details:
useChatThreadStackOptionsdraws the face over a glass name pill (titleLayout,faceSize), the back button as the chevron alone;ChatDetailsScreenis new. - Pieces:
useChatColors,ChatFace,ChatGlassPanel,ChatGlassCircle,ChatGlassMenu,ChatContextOverlay,ChatSymbol,ChatBubbleShape,ChatConversationPreview,ChatConversationMenu,CHAT_METRICS,CHAT_TYPE, the times (timeSeparatorLabel) and the inbox's rules (defaultInboxFilters,applyInboxFilter,pinnedConversations,matchesInboxSearch,isSelfConversation);modules.keyboardStickyViewfor the search field. createMemoryChatClientis also exported from the root entry (@marktiderman/genesis-chat), so a native app (a showcase, a demo) reaches the in-memory client without/web.- Mentions: a mention's name is bounded (1 to 80 characters) in
displayBody,plainTextandpreviewText, so a hostile body can't make the regular expression backtrack. - Peers: genesis-design-system
>=1.14.0is now required: apps on genesis-chat native install it (pnpm add @marktiderman/genesis-design-system). genesis-ui-native>=3.18.0, the release withInboxPage'svariantandrowMenu.
What changes on upgrade
Every app on genesis-chat native changes look when it takes this release:
- The inbox is Messages' plain list on the page instead of the inset grouped list, sets its own header (the large title, the filter menu, Compose) when
GenesisModules.routeris set, and hides the tab bar while it shows (TabBarVisibilityProviderin the tabs layout). PassnativeHeader={false}to keep a header of the app's own. - A press on a swiped row no longer fires when its touch became a swipe or while the row is open, in every list with swipe actions, and a swiped row's press now runs a frame after the release (a test that presses one should wait for it).
- Its Hide Alerts is indigo and its round swipe buttons have no labels under them. A long press on a row or a pinned face shows the conversation on a card, its latest messages at the bottom (the screen behind hidden) over a glass menu of its actions instead of the action sheet; the screen reader's actions are unchanged.
- The inbox's and thread's headers and pages take the page color for the scheme as a plain string, so they follow dark mode and meet without a seam; the thread's back button is the chevron alone.
- The time and "Sending…" no longer show under the last bubble of a run (drag the thread left for every time; the status line under your last message still says Sending, Delivered or Read). Only a failed send, with Retry and Delete, and "Edited" still show there.
- Sent bubbles are Messages' blue and received ones its grey, whatever the brand; the thread's background is the page, not the grouped background.
- A bubble's long press opens Messages' layer instead of the actions sheet; the composer is the glass pill with a + list instead of
NativeComposerBar, and its emoji button is gone. - A thread title given an avatar, subtitle,
onPressTitleorconversationIdis the face over the name pill (titleLayout: "inline"keeps the old one).
To keep a piece of the app's own, replace that part through its slot (
slots.row,slots.bubble,slots.composer,slots.messageMenu,slots.plusList,pageProps.slots.rowMenu, …), add to the defaults throughfilters,menuItemsandplusItems, and put the app's own strip under the header withslots.belowHeader. An app's own Messages layer can be deleted. - core: row actions take an
@marktiderman/genesis-cli@1.36.1
Patch Changes
- c75aa4b: The release lane leaves a platform out of a run while its eas.json
submitblock (resolved alongextends) still has a template placeholder, instead of stopping the whole run: no runtime job, build, submit or update for that platform, with a warning on the run, and the other platform goes on. An app releasing iOS and Android before its Google Play key is in keeps its iOS releases and updates.prove-ios.mjsreads a[api]table with a comment after its header. The Google Play placeholder's advice (genesis init,genesis doctor) now says to release iOS only (release.platforms: ["ios"]) until the Play key is in.
@marktiderman/genesis-cli@1.36.0
Minor Changes
-
200f4a5: Native workbench, proof runs, and a release lane that refuses to start half set up.
genesis init --template nativeinto the Genesis workspace'sapps/keeps the new app linked to the packages: itsworkspace:dependencies and the monorepo Metro config stay, it writes no pnpm-workspace.yaml of its own, and it adds apostinstall(scripts/eas-build-packages.mjs) that builds the workspace packages the app depends on when it runs on EAS, where their git-ignoreddist/doesn't exist and the app's config loads it. Outside the monorepo nothing changes.genesis init --supabase-ports <base>moves the new app's local Supabase stack off the default ports (API on base+1, database on base+2, and so on), so it can run beside another app's stack. It fails when the app has nosupabase/config.toml.templates/maestro/prove-ios.mjs(pnpm prove:iosin a new app) proves the app on an iOS Simulator:- against its own local Supabase stack, refusing to start one whose
[api]port is 54321 or unset, and any API that isn't on 127.0.0.1, with a test login made through the stack's admin API; - or with
--no-stack, for an app on sample data, with no stack, no login and no Supabase URL in the build; - from a cached development build: each new build starts from empty derived data and deletes
ios/itself beforeexpo prebuild --clean, and refuses when the app commitsios/unless--force; - running every flow in
.maestro/flows(or--flows <folder>), with the evidence (screenshots, logs, summary.md) in.e2e/artifacts/<run>/.
- against its own local Supabase stack, refusing to start one whose
- The release lane's
sourcecheck (native-release.mjs submit) stops a release before anything is built when a released platform's eas.jsonsubmitblock still has a template placeholder, so a first release can't build, fail at submit, and then only ship updates. - The starter passes
swipeable,menuandrouterto GenesisModules, wraps the root inGestureHandlerRootViewand its tabs inTabBarVisibilityProvider(the iOS standards, ADR 0028), its sign-in subflow closes the keyboard before each tap, and its.gitignoreleaves out the Supabase CLI's local state.
Patch Changes
- 5763687:
genesis doctor'srelease-lane-liveno longer reports "nothing starts a release" when the repository's own GitHub workflow (notnative-release.yml) starts the release on a push to main. It is read as GitHub's trigger: quiet onrelease.trigger: "github", the drift warning on"eas".