@remit/web-client 0.0.297 → 0.0.299
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/calendar/CalendarEventPane.stories.tsx +16 -0
- package/src/components/calendar/OpenCalendarEvent.tsx +23 -6
- package/src/components/calendar/WriteCalendarEvent.tsx +8 -4
- package/src/components/calendar/calendar-write-flow.render.test.ts +39 -22
- package/src/components/compose/ComposeForm.tsx +116 -0
- package/src/components/compose/attachment-only-source.render.test.ts +1 -0
- package/src/components/compose/compose-send-stops-autosave.render.test.ts +1 -0
- package/src/components/compose/compose-starts-a-second-message.render.test.ts +1 -0
- package/src/components/compose/forward-autosave-is-not-fatal.render.test.ts +1 -0
- package/src/components/compose/quote-leaves-with-the-send.render.test.ts +1 -0
- package/src/components/compose/reopened-draft-writes-nothing.render.test.ts +1 -0
- package/src/components/compose/reply-all-on-resumed-draft.render.test.ts +1 -0
- package/src/hooks/calendar/calendar-collections.render.test.ts +23 -1
- package/src/hooks/calendar/draft.test.ts +179 -30
- package/src/hooks/calendar/draft.ts +59 -33
- package/src/hooks/calendar/index.ts +5 -1
- package/src/hooks/calendar/instance.test.ts +70 -0
- package/src/hooks/calendar/instance.ts +28 -15
- package/src/hooks/calendar/recurrence-rule.test.ts +43 -1
- package/src/hooks/calendar/recurrence-rule.ts +44 -0
- package/src/hooks/calendar/resource.test.ts +44 -1
- package/src/hooks/calendar/resource.ts +30 -0
- package/src/hooks/calendar/selection.ts +7 -4
- package/src/hooks/calendar/useDraftClashes.ts +3 -1
- package/src/hooks/calendar/window.test.ts +28 -0
- package/src/hooks/calendar/window.ts +20 -0
- package/src/hooks/useComposeAttachments.ts +103 -0
- package/src/hooks/useIntelligenceCalendar.ts +2 -0
- package/src/hooks/useIntelligenceData.ts +2 -2
- package/src/lib/calendar-format.ts +7 -2
- package/src/lib/compose-attachment-controller.test.ts +242 -0
- package/src/lib/compose-attachment-controller.ts +415 -0
- package/src/routes/settings/-accounts.test.ts +18 -0
- package/src/routes/settings/accounts.tsx +8 -1
- package/src/test-support/fixtures.ts +1 -0
|
@@ -64,6 +64,10 @@ export function mapOauthError(code: string): string {
|
|
|
64
64
|
return "You cancelled the sign-in.";
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
if (lower === "scope_not_granted") {
|
|
68
|
+
return "Microsoft did not grant access to every service you picked. Sign in again and accept each permission Microsoft asks for.";
|
|
69
|
+
}
|
|
70
|
+
|
|
67
71
|
if (
|
|
68
72
|
lower === "consent_required" ||
|
|
69
73
|
lower.includes("admin_consent") ||
|
|
@@ -440,7 +444,10 @@ function AccountsSettings() {
|
|
|
440
444
|
onClick: () => {
|
|
441
445
|
setReconnectingAccountId(account.accountId);
|
|
442
446
|
reconnectMutation.mutate({
|
|
443
|
-
body: {
|
|
447
|
+
body: {
|
|
448
|
+
email: account.email,
|
|
449
|
+
services: account.syncedServices,
|
|
450
|
+
},
|
|
444
451
|
});
|
|
445
452
|
},
|
|
446
453
|
}
|