PR: #758: feat(onboarding): add Drive discovery ask [Story-3129] by @ankitmaheshwari-com
View PR →

Files changed

30 file(s), +848 / -5 lines

Path Role + -
messages/en.jsonConfig+5-0
messages/hi.jsonConfig+5-0
openapi/app-api.jsonConfig+131-0
openapi/permission-map.jsonConfig+7-0
src/components/onboarding/onboarding-hello-bar-fixtures.tsComponent+13-2
src/components/onboarding/onboarding-hello-bar-view.stories.tsxComponent+6-0
src/components/onboarding/onboarding-hello-bar.test.tsComponent+4-3
src/components/onboarding/onboarding-nudge-art.stories.tsxComponent+7-0
src/components/onboarding/onboarding-nudge-art.tsxComponent+11-0
src/components/onboarding/presentation.tsComponent+3-0
src/gen/client/appListChannelCommands.tsGenerated contract+54-0
src/gen/client/index.tsGenerated contract+1-0
src/gen/hooks/index.tsGenerated contract+8-0
src/gen/hooks/useAppListChannelCommands.tsGenerated contract+115-0
src/gen/hooks/useAppListChannelCommandsSuspense.tsGenerated contract+113-0
src/gen/index.tsGenerated contract+32-0
src/gen/schemas/channelCommandListResponse.jsonGenerated contract+42-0
src/gen/schemas/channelCommandView.jsonGenerated contract+28-0
src/gen/schemas/onboardingNudgeListItem.jsonGenerated contract+1-0
src/gen/schemas/onboardingNudgeListResponse.jsonGenerated contract+1-0
src/gen/types/AppListChannelCommands.tsGenerated contract+54-0
src/gen/types/ChannelCommandListResponse.tsGenerated contract+19-0
src/gen/types/ChannelCommandView.tsGenerated contract+31-0
src/gen/types/OnboardingNudgeListItem.tsGenerated contract+1-0
src/gen/types/index.tsGenerated contract+12-0
src/gen/zod/appListChannelCommandsSchema.tsGenerated contract+73-0
src/gen/zod/channelCommandListResponseSchema.tsGenerated contract+28-0
src/gen/zod/channelCommandViewSchema.tsGenerated contract+31-0
src/gen/zod/index.tsGenerated contract+11-0
src/gen/zod/onboardingNudgeListItemSchema.tsGenerated contract+1-0

Story-3129: Drive onboarding ask

The existing workspace hello bar now recognises the backend's import_from_drive ask and helps counsel discover the Google Drive door without changing the bar's selection or dismissal mechanics.

What counsel sees

Why the CTA is deliberately two-step

This ask is discovery, not a one-click import command. Every imported document needs a target matter, while the firm-wide hello bar has no honest matter to choose. A pre-opened drawer would have to guess. The matters register is therefore the truthful handoff: pick the matter, then import.

Contract and regression proof