mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-15 02:23:07 +00:00
- Add QUICK_ACTIONS_SNAP_FULL; drawer expands on search focus and hides action strip - Tighten dock bottom gap; restore dock/collapsed on blur per scroll position (B100) - Widen CampaignHomeActionButton to w-[5.5rem] for two-line labels - Client-side filter excludes current page entity from drawer search hits - Unit + e2e coverage for full snap, exclusion, and label readability
15 lines
455 B
TypeScript
15 lines
455 B
TypeScript
/**
|
|
* Client-safe quick-action context — routes and B80+ providers fill this so
|
|
* `resolveQuickActionsForPath` can prefill wizard/list hrefs.
|
|
*/
|
|
export type CampaignQuickActionContext = {
|
|
municipalitySlug?: string
|
|
municipalityId?: number
|
|
leadershipId?: number
|
|
organizationSlug?: string
|
|
activitySlug?: string
|
|
demandSlug?: string
|
|
advisorId?: number
|
|
}
|
|
|
|
export const emptyCampaignQuickActionContext = (): CampaignQuickActionContext => ({})
|