NobGit
public imalexnord read

Slot

Calendar-first scheduling powered by Cloudflare Workers and Google Calendar.

Languages

Repository composition by tracked source files.

TypeScript
TypeScript 79% CSS 19% SQL 2% HTML 0%
Create file Wiki Documentation
Clone
https://nobgit.com/user/imalexnord/slot.git
ssh://[email protected]:2222/user/imalexnord/slot.git

Trace

src/App.tsx

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

App.tsx on main
Author Date Commit Line Code
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1
import {
Open commit View diff
1 import {
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2
  Activity,
Open commit View diff
2 Activity,
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
3
  ArrowLeft,
Open commit View diff
3 ArrowLeft,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
4
  ArrowRight,
Open commit View diff
4 ArrowRight,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
5
  CalendarDays,
Open commit View diff
5 CalendarDays,
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
6
  CalendarPlus,
Open commit View diff
6 CalendarPlus,
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
7
  Check,
Open commit View diff
7 Check,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
8
  ChevronLeft,
Open commit View diff
8 ChevronLeft,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
9
  ChevronRight,
Open commit View diff
9 ChevronRight,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
10
  Clock3,
Open commit View diff
10 Clock3,
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
11
  Copy,
Open commit View diff
11 Copy,
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
12
  CreditCard,
Open commit View diff
12 CreditCard,
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
13
  ExternalLink,
Open commit View diff
13 ExternalLink,
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
14
  Inbox,
Open commit View diff
14 Inbox,
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
15
  Loader2,
Open commit View diff
15 Loader2,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
16
  LogOut,
Open commit View diff
16 LogOut,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
17
  MapPin,
Open commit View diff
17 MapPin,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
18
  MonitorUp,
Open commit View diff
18 MonitorUp,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
19
  Phone,
Open commit View diff
19 Phone,
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
20
  Search,
Open commit View diff
20 Search,
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
21
  Settings2,
Open commit View diff
21 Settings2,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
22
  Sparkles,
Open commit View diff
22 Sparkles,
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
23
  Users,
Open commit View diff
23 Users,
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
24
  Video,
Open commit View diff
24 Video,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
25
} from 'lucide-react';
Open commit View diff
25 } from 'lucide-react';
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
26
import { FormEvent, useEffect, useMemo, useRef, useState } from 'react';
Open commit View diff
26 import { FormEvent, useEffect, useMemo, useRef, useState } from 'react';
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
27
Open commit View diff
27
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
28
type MeetingMode = 'google_meet' | 'phone' | 'in_person' | 'decide_later';
Open commit View diff
28 type MeetingMode = 'google_meet' | 'phone' | 'in_person' | 'decide_later';
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
29
Open commit View diff
29
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
30
type PublicConfig = {
Open commit View diff
30 type PublicConfig = {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
31
  title: string;
Open commit View diff
31 title: string;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
32
  subtitle: string;
Open commit View diff
32 subtitle: string;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
33
  timezone: string;
Open commit View diff
33 timezone: string;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
34
  bookingWindowDays: number;
Open commit View diff
34 bookingWindowDays: number;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
35
  durations: number[];
Open commit View diff
35 durations: number[];
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
36
  defaultMeetingMode: MeetingMode;
Open commit View diff
36 defaultMeetingMode: MeetingMode;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
37
  allowMeetingModes: MeetingMode[];
Open commit View diff
37 allowMeetingModes: MeetingMode[];
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
38
  availableWeekdays: number[];
Open commit View diff
38 availableWeekdays: number[];
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
39
  connected: boolean;
Open commit View diff
39 connected: boolean;
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
40
  payment?: PaymentOption;
Open commit View diff
40 payment?: PaymentOption;
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
41
};
Open commit View diff
41 };
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
42
Open commit View diff
42
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
43
type PaymentOption = {
Open commit View diff
43 type PaymentOption = {
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
44
  enabled: true;
Open commit View diff
44 enabled: true;
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
45
  required: boolean;
Open commit View diff
45 required: boolean;
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
46
  ready: boolean;
Open commit View diff
46 ready: boolean;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
47
  ratePerMinute: number;
Open commit View diff
47 ratePerMinute: number;
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
48
  freeDurations: number[];
Open commit View diff
48 freeDurations: number[];
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
49
  currency: string;
Open commit View diff
49 currency: string;
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
50
  label: string;
Open commit View diff
50 label: string;
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
51
};
Open commit View diff
51 };
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
52
Open commit View diff
52
Alex Nord 1 day ago f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
53
type DurationBlockReason = 'outside_hours' | 'unavailable';
Open commit View diff
53 type DurationBlockReason = 'outside_hours' | 'unavailable';
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
54
type Slot = {
Open commit View diff
54 type Slot = {
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
55
  start: string;
Open commit View diff
55 start: string;
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
56
  time: string;
Open commit View diff
56 time: string;
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
57
  durations: number[];
Open commit View diff
57 durations: number[];
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
58
  blockedDurations?: Record<string, DurationBlockReason>;
Open commit View diff
58 blockedDurations?: Record<string, DurationBlockReason>;
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
59
};
Open commit View diff
59 };
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
60
Open commit View diff
60
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
61
type Confirmation = {
Open commit View diff
61 type Confirmation = {
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
62
  id: string;
Open commit View diff
62 id: string;
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
63
  bookingId?: string | null;
Open commit View diff
63 bookingId?: string | null;
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
64
  start: string;
Open commit View diff
64 start: string;
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
65
  end: string;
Open commit View diff
65 end: string;
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
66
  duration: number;
Open commit View diff
66 duration: number;
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
67
  timezone: string;
Open commit View diff
67 timezone: string;
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
68
  meetingMode: MeetingMode;
Open commit View diff
68 meetingMode: MeetingMode;
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
69
  meetUrl?: string | null;
Open commit View diff
69 meetUrl?: string | null;
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
70
  receiptUrl?: string | null;
Open commit View diff
70 receiptUrl?: string | null;
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
71
};
Open commit View diff
71 };
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
72
Open commit View diff
72
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
73
type AppSettings = {
Open commit View diff
73 type AppSettings = {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
74
  title: string;
Open commit View diff
74 title: string;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
75
  subtitle: string;
Open commit View diff
75 subtitle: string;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
76
  timezone: string;
Open commit View diff
76 timezone: string;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
77
  bookingWindowDays: number;
Open commit View diff
77 bookingWindowDays: number;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
78
  minimumNoticeMinutes: number;
Open commit View diff
78 minimumNoticeMinutes: number;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
79
  bufferBeforeMinutes: number;
Open commit View diff
79 bufferBeforeMinutes: number;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
80
  bufferAfterMinutes: number;
Open commit View diff
80 bufferAfterMinutes: number;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
81
  slotIncrementMinutes: number;
Open commit View diff
81 slotIncrementMinutes: number;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
82
  durations: number[];
Open commit View diff
82 durations: number[];
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
83
  calendarId: string;
Open commit View diff
83 calendarId: string;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
84
  busyCalendarIds: string[];
Open commit View diff
84 busyCalendarIds: string[];
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
85
  defaultMeetingMode: MeetingMode;
Open commit View diff
85 defaultMeetingMode: MeetingMode;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
86
  allowMeetingModes: MeetingMode[];
Open commit View diff
86 allowMeetingModes: MeetingMode[];
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
87
  inPersonLocation: string;
Open commit View diff
87 inPersonLocation: string;
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
88
  paymentEnabled: boolean;
Open commit View diff
88 paymentEnabled: boolean;
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
89
  paymentRatePerMinute: number;
Open commit View diff
89 paymentRatePerMinute: number;
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
90
  paymentFreeDurations: number[];
Open commit View diff
90 paymentFreeDurations: number[];
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
91
  paymentCurrency: string;
Open commit View diff
91 paymentCurrency: string;
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
92
  paymentLabel: string;
Open commit View diff
92 paymentLabel: string;
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
93
  availability: Record<string, Array<{ start: string; end: string }>>;
Open commit View diff
93 availability: Record<string, Array<{ start: string; end: string }>>;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
94
};
Open commit View diff
94 };
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
95
Open commit View diff
95
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
96
type BookingRow = {
Open commit View diff
96 type BookingRow = {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
97
  id: string;
Open commit View diff
97 id: string;
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
98
  public_booking_id?: string | null;
Open commit View diff
98 public_booking_id?: string | null;
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
99
  name: string;
Open commit View diff
99 name: string;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
100
  email: string;
Open commit View diff
100 email: string;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
101
  start_time: string;
Open commit View diff
101 start_time: string;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
102
  end_time: string;
Open commit View diff
102 end_time: string;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
103
  duration_minutes: number;
Open commit View diff
103 duration_minutes: number;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
104
  meeting_mode: MeetingMode;
Open commit View diff
104 meeting_mode: MeetingMode;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
105
  status: string;
Open commit View diff
105 status: string;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
106
  meet_url?: string;
Open commit View diff
106 meet_url?: string;
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
107
  calendar_provider?: string;
Open commit View diff
107 calendar_provider?: string;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
108
  calendar_sync_status?: string;
Open commit View diff
108 calendar_sync_status?: string;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
109
  calendar_sync_error?: string;
Open commit View diff
109 calendar_sync_error?: string;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
110
  calendar_sync_updated_at?: string;
Open commit View diff
110 calendar_sync_updated_at?: string;
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
111
  payment_status?: string;
Open commit View diff
111 payment_status?: string;
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
112
  payment_amount?: number;
Open commit View diff
112 payment_amount?: number;
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
113
  payment_currency?: string;
Open commit View diff
113 payment_currency?: string;
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
114
  stripe_checkout_session_id?: string;
Open commit View diff
114 stripe_checkout_session_id?: string;
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
115
  stripe_payment_intent_id?: string;
Open commit View diff
115 stripe_payment_intent_id?: string;
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
116
  paid_at?: string;
Open commit View diff
116 paid_at?: string;
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
117
  cancelled_at?: string;
Open commit View diff
117 cancelled_at?: string;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
118
  created_at?: string;
Open commit View diff
118 created_at?: string;
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
119
  rescheduled_at?: string;
Open commit View diff
119 rescheduled_at?: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
120
  reschedule_count?: number;
Open commit View diff
120 reschedule_count?: number;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
121
  proposed_start_time?: string;
Open commit View diff
121 proposed_start_time?: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
122
  proposed_end_time?: string;
Open commit View diff
122 proposed_end_time?: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
123
  proposed_at?: string;
Open commit View diff
123 proposed_at?: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
124
  proposal_status?: string;
Open commit View diff
124 proposal_status?: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
125
  refund_status?: string;
Open commit View diff
125 refund_status?: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
126
  stripe_refund_id?: string;
Open commit View diff
126 stripe_refund_id?: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
127
  refunded_amount?: number;
Open commit View diff
127 refunded_amount?: number;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
128
  refunded_at?: string;
Open commit View diff
128 refunded_at?: string;
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
129
};
Open commit View diff
129 };
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
130
Open commit View diff
130
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
131
type ActivityStats = {
Open commit View diff
131 type ActivityStats = {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
132
  total_bookings: number;
Open commit View diff
132 total_bookings: number;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
133
  upcoming: number;
Open commit View diff
133 upcoming: number;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
134
  completed: number;
Open commit View diff
134 completed: number;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
135
  cancelled: number;
Open commit View diff
135 cancelled: number;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
136
  reschedules: number;
Open commit View diff
136 reschedules: number;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
137
  paid_bookings: number;
Open commit View diff
137 paid_bookings: number;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
138
  average_minutes: number;
Open commit View diff
138 average_minutes: number;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
139
  open_payment_holds: number;
Open commit View diff
139 open_payment_holds: number;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
140
};
Open commit View diff
140 };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
141
Open commit View diff
141
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
142
type ActivityMoney = {
Open commit View diff
142 type ActivityMoney = {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
143
  currency: string;
Open commit View diff
143 currency: string;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
144
  revenue: number;
Open commit View diff
144 revenue: number;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
145
  refunds: number;
Open commit View diff
145 refunds: number;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
146
  net: number;
Open commit View diff
146 net: number;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
147
};
Open commit View diff
147 };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
148
Open commit View diff
148
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
149
type ActivityEvent = {
Open commit View diff
149 type ActivityEvent = {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
150
  id: string;
Open commit View diff
150 id: string;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
151
  booking_id?: string | null;
Open commit View diff
151 booking_id?: string | null;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
152
  type: string;
Open commit View diff
152 type: string;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
153
  occurred_at: string;
Open commit View diff
153 occurred_at: string;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
154
  metadata: Record<string, unknown>;
Open commit View diff
154 metadata: Record<string, unknown>;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
155
  name?: string | null;
Open commit View diff
155 name?: string | null;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
156
  email?: string | null;
Open commit View diff
156 email?: string | null;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
157
  start_time?: string | null;
Open commit View diff
157 start_time?: string | null;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
158
  end_time?: string | null;
Open commit View diff
158 end_time?: string | null;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
159
  duration_minutes?: number | null;
Open commit View diff
159 duration_minutes?: number | null;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
160
  payment_amount?: number | null;
Open commit View diff
160 payment_amount?: number | null;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
161
  payment_currency?: string | null;
Open commit View diff
161 payment_currency?: string | null;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
162
};
Open commit View diff
162 };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
163
Open commit View diff
163
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
164
type ActivityData = {
Open commit View diff
164 type ActivityData = {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
165
  paymentsEnabled: boolean;
Open commit View diff
165 paymentsEnabled: boolean;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
166
  stats: ActivityStats;
Open commit View diff
166 stats: ActivityStats;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
167
  money: ActivityMoney[];
Open commit View diff
167 money: ActivityMoney[];
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
168
  events: ActivityEvent[];
Open commit View diff
168 events: ActivityEvent[];
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
169
};
Open commit View diff
169 };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
170
Open commit View diff
170
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
171
type AttendeeRow = {
Open commit View diff
171 type AttendeeRow = {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
172
  email: string;
Open commit View diff
172 email: string;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
173
  name: string;
Open commit View diff
173 name: string;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
174
  total_bookings: number;
Open commit View diff
174 total_bookings: number;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
175
  upcoming: number;
Open commit View diff
175 upcoming: number;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
176
  completed: number;
Open commit View diff
176 completed: number;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
177
  cancelled: number;
Open commit View diff
177 cancelled: number;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
178
  reschedules: number;
Open commit View diff
178 reschedules: number;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
179
  paid_bookings: number;
Open commit View diff
179 paid_bookings: number;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
180
  refunded_bookings: number;
Open commit View diff
180 refunded_bookings: number;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
181
  total_minutes: number;
Open commit View diff
181 total_minutes: number;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
182
  average_minutes: number;
Open commit View diff
182 average_minutes: number;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
183
  first_booked_at?: string | null;
Open commit View diff
183 first_booked_at?: string | null;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
184
  last_booked_at?: string | null;
Open commit View diff
184 last_booked_at?: string | null;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
185
};
Open commit View diff
185 };
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
186
Open commit View diff
186
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
187
type AttendeeData = {
Open commit View diff
187 type AttendeeData = {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
188
  paymentsEnabled: boolean;
Open commit View diff
188 paymentsEnabled: boolean;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
189
  attendees: AttendeeRow[];
Open commit View diff
189 attendees: AttendeeRow[];
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
190
};
Open commit View diff
190 };
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
191
Open commit View diff
191
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
192
type RescheduleProposal = {
Open commit View diff
192 type RescheduleProposal = {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
193
  title: string;
Open commit View diff
193 title: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
194
  name: string;
Open commit View diff
194 name: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
195
  currentStart: string;
Open commit View diff
195 currentStart: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
196
  currentEnd: string;
Open commit View diff
196 currentEnd: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
197
  proposedStart: string;
Open commit View diff
197 proposedStart: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
198
  proposedEnd: string;
Open commit View diff
198 proposedEnd: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
199
  duration: number;
Open commit View diff
199 duration: number;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
200
  timezone: string;
Open commit View diff
200 timezone: string;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
201
  meetingMode: MeetingMode;
Open commit View diff
201 meetingMode: MeetingMode;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
202
};
Open commit View diff
202 };
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
203
Open commit View diff
203
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
204
type ManagedBooking = {
Open commit View diff
204 type ManagedBooking = {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
205
  bookingId: string;
Open commit View diff
205 bookingId: string;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
206
  name: string;
Open commit View diff
206 name: string;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
207
  start: string;
Open commit View diff
207 start: string;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
208
  end: string;
Open commit View diff
208 end: string;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
209
  duration: number;
Open commit View diff
209 duration: number;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
210
  timezone: string;
Open commit View diff
210 timezone: string;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
211
  meetingMode: MeetingMode;
Open commit View diff
211 meetingMode: MeetingMode;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
212
  status: string;
Open commit View diff
212 status: string;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
213
  paymentStatus: string;
Open commit View diff
213 paymentStatus: string;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
214
  refundStatus: string;
Open commit View diff
214 refundStatus: string;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
215
  canCancel: boolean;
Open commit View diff
215 canCancel: boolean;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
216
  canReschedule: boolean;
Open commit View diff
216 canReschedule: boolean;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
217
};
Open commit View diff
217 };
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
218
Open commit View diff
218
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
219
type ManageAction = 'none' | 'cancel' | 'reschedule';
Open commit View diff
219 type ManageAction = 'none' | 'cancel' | 'reschedule';
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
220
Open commit View diff
220
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
221
type BookingScheduleAction = 'reschedule' | 'suggest';
Open commit View diff
221 type BookingScheduleAction = 'reschedule' | 'suggest';
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
222
Open commit View diff
222
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
223
type RecurringUnavailableRule = {
Open commit View diff
223 type RecurringUnavailableRule = {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
224
  id: string;
Open commit View diff
224 id: string;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
225
  weekdays: number[];
Open commit View diff
225 weekdays: number[];
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
226
  start: string;
Open commit View diff
226 start: string;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
227
  end: string;
Open commit View diff
227 end: string;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
228
  label?: string | null;
Open commit View diff
228 label?: string | null;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
229
};
Open commit View diff
229 };
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
230
Open commit View diff
230
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
231
type AvailabilityBlock = {
Open commit View diff
231 type AvailabilityBlock = {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
232
  id: string;
Open commit View diff
232 id: string;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
233
  date: string;
Open commit View diff
233 date: string;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
234
  start?: string | null;
Open commit View diff
234 start?: string | null;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
235
  end?: string | null;
Open commit View diff
235 end?: string | null;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
236
  allDay: boolean;
Open commit View diff
236 allDay: boolean;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
237
  label?: string | null;
Open commit View diff
237 label?: string | null;
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
238
};
Open commit View diff
238 };
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
239
Open commit View diff
239
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
240
type AdminSession = { authenticated: boolean; email: string; connected: boolean };
Open commit View diff
240 type AdminSession = { authenticated: boolean; email: string; connected: boolean };
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
241
type ThemeId = 'light' | 'paper' | 'beige' | 'dark' | 'midnight' | 'rosewood' | 'forest' | 'true-black';
Open commit View diff
241 type ThemeId = 'light' | 'paper' | 'beige' | 'dark' | 'midnight' | 'rosewood' | 'forest' | 'true-black';
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
242
Open commit View diff
242
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
243
const modeMeta: Record<MeetingMode, { label: string; icon: typeof Video; help: string }> = {
Open commit View diff
243 const modeMeta: Record<MeetingMode, { label: string; icon: typeof Video; help: string }> = {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
244
  google_meet: { label: 'Google Meet', icon: Video, help: 'A Meet link is created automatically.' },
Open commit View diff
244 google_meet: { label: 'Google Meet', icon: Video, help: 'A Meet link is created automatically.' },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
245
  phone: { label: 'Phone', icon: Phone, help: 'Add a number for the call.' },
Open commit View diff
245 phone: { label: 'Phone', icon: Phone, help: 'Add a number for the call.' },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
246
  in_person: { label: 'In person', icon: MapPin, help: 'The location will be included in the invite.' },
Open commit View diff
246 in_person: { label: 'In person', icon: MapPin, help: 'The location will be included in the invite.' },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
247
  decide_later: { label: 'Decide later', icon: Sparkles, help: 'Book the time first and sort out the place later.' },
Open commit View diff
247 decide_later: { label: 'Decide later', icon: Sparkles, help: 'Book the time first and sort out the place later.' },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
248
};
Open commit View diff
248 };
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
249
Open commit View diff
249
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
250
const dayNames = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
Open commit View diff
250 const dayNames = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
251
const shortDayNames = ['MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT', 'SUN'];
Open commit View diff
251 const shortDayNames = ['MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT', 'SUN'];
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
252
const timezoneOptions = [
Open commit View diff
252 const timezoneOptions = [
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
253
  'Europe/Stockholm',
Open commit View diff
253 'Europe/Stockholm',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
254
  'Europe/London',
Open commit View diff
254 'Europe/London',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
255
  'Europe/Berlin',
Open commit View diff
255 'Europe/Berlin',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
256
  'Europe/Paris',
Open commit View diff
256 'Europe/Paris',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
257
  'Europe/Madrid',
Open commit View diff
257 'Europe/Madrid',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
258
  'Europe/Amsterdam',
Open commit View diff
258 'Europe/Amsterdam',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
259
  'Europe/Helsinki',
Open commit View diff
259 'Europe/Helsinki',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
260
  'UTC',
Open commit View diff
260 'UTC',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
261
  'America/New_York',
Open commit View diff
261 'America/New_York',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
262
  'America/Chicago',
Open commit View diff
262 'America/Chicago',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
263
  'America/Denver',
Open commit View diff
263 'America/Denver',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
264
  'America/Los_Angeles',
Open commit View diff
264 'America/Los_Angeles',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
265
  'America/Toronto',
Open commit View diff
265 'America/Toronto',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
266
  'Asia/Tokyo',
Open commit View diff
266 'Asia/Tokyo',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
267
  'Asia/Singapore',
Open commit View diff
267 'Asia/Singapore',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
268
  'Australia/Sydney',
Open commit View diff
268 'Australia/Sydney',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
269
];
Open commit View diff
269 ];
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
270
const themes: Array<{ id: ThemeId; name: string; description: string; contrast: string }> = [
Open commit View diff
270 const themes: Array<{ id: ThemeId; name: string; description: string; contrast: string }> = [
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
271
  { id: 'light', name: 'Light', description: 'Bright surfaces with dark text and clear contrast.', contrast: 'Light contrast' },
Open commit View diff
271 { id: 'light', name: 'Light', description: 'Bright surfaces with dark text and clear contrast.', contrast: 'Light contrast' },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
272
  { id: 'paper', name: 'Paper', description: 'Cool, document-like surfaces with crisp separation.', contrast: 'Crisp contrast' },
Open commit View diff
272 { id: 'paper', name: 'Paper', description: 'Cool, document-like surfaces with crisp separation.', contrast: 'Crisp contrast' },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
273
  { id: 'beige', name: 'Beige', description: 'Warm neutral surfaces for a softer reading experience.', contrast: 'Warm contrast' },
Open commit View diff
273 { id: 'beige', name: 'Beige', description: 'Warm neutral surfaces for a softer reading experience.', contrast: 'Warm contrast' },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
274
  { id: 'dark', name: 'Dark', description: 'Dark grey surfaces that reduce glare while keeping depth.', contrast: 'Soft contrast' },
Open commit View diff
274 { id: 'dark', name: 'Dark', description: 'Dark grey surfaces that reduce glare while keeping depth.', contrast: 'Soft contrast' },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
275
  { id: 'midnight', name: 'Midnight', description: 'Deep navy surfaces for calm late-night work.', contrast: 'Cool contrast' },
Open commit View diff
275 { id: 'midnight', name: 'Midnight', description: 'Deep navy surfaces for calm late-night work.', contrast: 'Cool contrast' },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
276
  { id: 'rosewood', name: 'Rosewood', description: 'Warm dark surfaces with copper and walnut tones.', contrast: 'Warm dark' },
Open commit View diff
276 { id: 'rosewood', name: 'Rosewood', description: 'Warm dark surfaces with copper and walnut tones.', contrast: 'Warm dark' },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
277
  { id: 'forest', name: 'Forest', description: 'Muted pine surfaces with restrained natural contrast.', contrast: 'Natural dark' },
Open commit View diff
277 { id: 'forest', name: 'Forest', description: 'Muted pine surfaces with restrained natural contrast.', contrast: 'Natural dark' },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
278
  { id: 'true-black', name: 'True black', description: 'Pure black backgrounds with maximum dark-mode contrast.', contrast: 'High contrast' },
Open commit View diff
278 { id: 'true-black', name: 'True black', description: 'Pure black backgrounds with maximum dark-mode contrast.', contrast: 'High contrast' },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
279
];
Open commit View diff
279 ];
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
280
Open commit View diff
280
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
281
async function api<T>(url: string, init?: RequestInit): Promise<T> {
Open commit View diff
281 async function api<T>(url: string, init?: RequestInit): Promise<T> {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
282
  const response = await fetch(url, {
Open commit View diff
282 const response = await fetch(url, {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
283
    ...init,
Open commit View diff
283 ...init,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
284
    headers: {
Open commit View diff
284 headers: {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
285
      ...(init?.body ? { 'Content-Type': 'application/json' } : {}),
Open commit View diff
285 ...(init?.body ? { 'Content-Type': 'application/json' } : {}),
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
286
      ...(init?.headers ?? {}),
Open commit View diff
286 ...(init?.headers ?? {}),
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
287
    },
Open commit View diff
287 },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
288
  });
Open commit View diff
288 });
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
289
  const data = (await response.json().catch(() => ({}))) as T & { error?: string };
Open commit View diff
289 const data = (await response.json().catch(() => ({}))) as T & { error?: string };
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
290
  if (!response.ok) throw new Error(data.error || `Request failed (${response.status})`);
Open commit View diff
290 if (!response.ok) throw new Error(data.error || `Request failed (${response.status})`);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
291
  return data;
Open commit View diff
291 return data;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
292
}
Open commit View diff
292 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
293
Open commit View diff
293
Alex Nord 1 day ago f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
294
function checkoutSessionMode(sessionId?: string): 'test' | 'live' | 'unknown' {
Open commit View diff
294 function checkoutSessionMode(sessionId?: string): 'test' | 'live' | 'unknown' {
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
295
  if (sessionId?.startsWith('cs_test_')) return 'test';
Open commit View diff
295 if (sessionId?.startsWith('cs_test_')) return 'test';
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
296
  if (sessionId?.startsWith('cs_live_')) return 'live';
Open commit View diff
296 if (sessionId?.startsWith('cs_live_')) return 'live';
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
297
  return 'unknown';
Open commit View diff
297 return 'unknown';
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
298
}
Open commit View diff
298 }
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
299
Open commit View diff
299
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
300
function dateKey(date: Date): string {
Open commit View diff
300 function dateKey(date: Date): string {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
301
  const year = date.getFullYear();
Open commit View diff
301 const year = date.getFullYear();
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
302
  const month = String(date.getMonth() + 1).padStart(2, '0');
Open commit View diff
302 const month = String(date.getMonth() + 1).padStart(2, '0');
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
303
  const day = String(date.getDate()).padStart(2, '0');
Open commit View diff
303 const day = String(date.getDate()).padStart(2, '0');
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
304
  return `${year}-${month}-${day}`;
Open commit View diff
304 return `${year}-${month}-${day}`;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
305
}
Open commit View diff
305 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
306
Open commit View diff
306
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
307
function parseDateKey(value: string): Date {
Open commit View diff
307 function parseDateKey(value: string): Date {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
308
  const [y, m, d] = value.split('-').map(Number);
Open commit View diff
308 const [y, m, d] = value.split('-').map(Number);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
309
  return new Date(y, m - 1, d, 12, 0, 0);
Open commit View diff
309 return new Date(y, m - 1, d, 12, 0, 0);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
310
}
Open commit View diff
310 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
311
Open commit View diff
311
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
312
function addDays(date: Date, amount: number): Date {
Open commit View diff
312 function addDays(date: Date, amount: number): Date {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
313
  const copy = new Date(date);
Open commit View diff
313 const copy = new Date(date);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
314
  copy.setDate(copy.getDate() + amount);
Open commit View diff
314 copy.setDate(copy.getDate() + amount);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
315
  return copy;
Open commit View diff
315 return copy;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
316
}
Open commit View diff
316 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
317
Open commit View diff
317
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
318
function todayInZone(timezone: string): string {
Open commit View diff
318 function todayInZone(timezone: string): string {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
319
  const parts = new Intl.DateTimeFormat('en-CA', {
Open commit View diff
319 const parts = new Intl.DateTimeFormat('en-CA', {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
320
    timeZone: timezone,
Open commit View diff
320 timeZone: timezone,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
321
    year: 'numeric',
Open commit View diff
321 year: 'numeric',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
322
    month: '2-digit',
Open commit View diff
322 month: '2-digit',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
323
    day: '2-digit',
Open commit View diff
323 day: '2-digit',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
324
  }).formatToParts(new Date());
Open commit View diff
324 }).formatToParts(new Date());
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
325
  const map = Object.fromEntries(parts.filter((p) => p.type !== 'literal').map((p) => [p.type, p.value]));
Open commit View diff
325 const map = Object.fromEntries(parts.filter((p) => p.type !== 'literal').map((p) => [p.type, p.value]));
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
326
  return `${map.year}-${map.month}-${map.day}`;
Open commit View diff
326 return `${map.year}-${map.month}-${map.day}`;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
327
}
Open commit View diff
327 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
328
Open commit View diff
328
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
329
function dateKeyForInstant(iso: string, timezone: string): string {
Open commit View diff
329 function dateKeyForInstant(iso: string, timezone: string): string {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
330
  const parts = new Intl.DateTimeFormat('en-CA', {
Open commit View diff
330 const parts = new Intl.DateTimeFormat('en-CA', {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
331
    timeZone: timezone,
Open commit View diff
331 timeZone: timezone,
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
332
    year: 'numeric',
Open commit View diff
332 year: 'numeric',
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
333
    month: '2-digit',
Open commit View diff
333 month: '2-digit',
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
334
    day: '2-digit',
Open commit View diff
334 day: '2-digit',
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
335
  }).formatToParts(new Date(iso));
Open commit View diff
335 }).formatToParts(new Date(iso));
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
336
  const map = Object.fromEntries(parts.filter((part) => part.type !== 'literal').map((part) => [part.type, part.value]));
Open commit View diff
336 const map = Object.fromEntries(parts.filter((part) => part.type !== 'literal').map((part) => [part.type, part.value]));
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
337
  return `${map.year}-${map.month}-${map.day}`;
Open commit View diff
337 return `${map.year}-${map.month}-${map.day}`;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
338
}
Open commit View diff
338 }
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
339
Open commit View diff
339
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
340
function prettyDate(key: string, timezone: string): string {
Open commit View diff
340 function prettyDate(key: string, timezone: string): string {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
341
  return new Intl.DateTimeFormat('en-US', {
Open commit View diff
341 return new Intl.DateTimeFormat('en-US', {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
342
    timeZone: timezone,
Open commit View diff
342 timeZone: timezone,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
343
    weekday: 'long',
Open commit View diff
343 weekday: 'long',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
344
    month: 'long',
Open commit View diff
344 month: 'long',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
345
    day: 'numeric',
Open commit View diff
345 day: 'numeric',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
346
  }).format(new Date(`${key}T12:00:00Z`));
Open commit View diff
346 }).format(new Date(`${key}T12:00:00Z`));
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
347
}
Open commit View diff
347 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
348
Open commit View diff
348
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
349
function dayAriaLabel(date: Date): string {
Open commit View diff
349 function dayAriaLabel(date: Date): string {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
350
  return new Intl.DateTimeFormat('en-US', {
Open commit View diff
350 return new Intl.DateTimeFormat('en-US', {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
351
    weekday: 'long',
Open commit View diff
351 weekday: 'long',
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
352
    month: 'long',
Open commit View diff
352 month: 'long',
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
353
    day: 'numeric',
Open commit View diff
353 day: 'numeric',
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
354
    year: 'numeric',
Open commit View diff
354 year: 'numeric',
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
355
  }).format(date);
Open commit View diff
355 }).format(date);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
356
}
Open commit View diff
356 }
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
357
Open commit View diff
357
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
358
function formatInstant(iso: string, timezone: string): string {
Open commit View diff
358 function formatInstant(iso: string, timezone: string): string {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
359
  return new Intl.DateTimeFormat('en-US', {
Open commit View diff
359 return new Intl.DateTimeFormat('en-US', {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
360
    timeZone: timezone,
Open commit View diff
360 timeZone: timezone,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
361
    weekday: 'short',
Open commit View diff
361 weekday: 'short',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
362
    month: 'short',
Open commit View diff
362 month: 'short',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
363
    day: 'numeric',
Open commit View diff
363 day: 'numeric',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
364
    hour: '2-digit',
Open commit View diff
364 hour: '2-digit',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
365
    minute: '2-digit',
Open commit View diff
365 minute: '2-digit',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
366
    hourCycle: 'h23',
Open commit View diff
366 hourCycle: 'h23',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
367
  }).format(new Date(iso));
Open commit View diff
367 }).format(new Date(iso));
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
368
}
Open commit View diff
368 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
369
Open commit View diff
369
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
370
function formatDateShort(iso: string, timezone: string): string {
Open commit View diff
370 function formatDateShort(iso: string, timezone: string): string {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
371
  return new Intl.DateTimeFormat('en-US', {
Open commit View diff
371 return new Intl.DateTimeFormat('en-US', {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
372
    timeZone: timezone,
Open commit View diff
372 timeZone: timezone,
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
373
    weekday: 'short',
Open commit View diff
373 weekday: 'short',
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
374
    month: 'short',
Open commit View diff
374 month: 'short',
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
375
    day: 'numeric',
Open commit View diff
375 day: 'numeric',
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
376
  }).format(new Date(iso));
Open commit View diff
376 }).format(new Date(iso));
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
377
}
Open commit View diff
377 }
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
378
Open commit View diff
378
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
379
function formatClock(iso: string, timezone: string): string {
Open commit View diff
379 function formatClock(iso: string, timezone: string): string {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
380
  return new Intl.DateTimeFormat('en-US', {
Open commit View diff
380 return new Intl.DateTimeFormat('en-US', {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
381
    timeZone: timezone,
Open commit View diff
381 timeZone: timezone,
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
382
    hour: '2-digit',
Open commit View diff
382 hour: '2-digit',
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
383
    minute: '2-digit',
Open commit View diff
383 minute: '2-digit',
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
384
    hourCycle: 'h23',
Open commit View diff
384 hourCycle: 'h23',
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
385
  }).format(new Date(iso));
Open commit View diff
385 }).format(new Date(iso));
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
386
}
Open commit View diff
386 }
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
387
Open commit View diff
387
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
388
function formatMoneyMinor(amountMinor: number, currency: string): string {
Open commit View diff
388 function formatMoneyMinor(amountMinor: number, currency: string): string {
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
389
  try {
Open commit View diff
389 try {
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
390
    const formatter = new Intl.NumberFormat('en-US', {
Open commit View diff
390 const formatter = new Intl.NumberFormat('en-US', {
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
391
      style: 'currency',
Open commit View diff
391 style: 'currency',
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
392
      currency: currency.toUpperCase(),
Open commit View diff
392 currency: currency.toUpperCase(),
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
393
    });
Open commit View diff
393 });
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
394
    const digits = formatter.resolvedOptions().maximumFractionDigits ?? 2;
Open commit View diff
394 const digits = formatter.resolvedOptions().maximumFractionDigits ?? 2;
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
395
    return formatter.format(amountMinor / (10 ** digits));
Open commit View diff
395 return formatter.format(amountMinor / (10 ** digits));
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
396
  } catch {
Open commit View diff
396 } catch {
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
397
    return `${amountMinor} ${currency.toUpperCase()}`;
Open commit View diff
397 return `${amountMinor} ${currency.toUpperCase()}`;
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
398
  }
Open commit View diff
398 }
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
399
}
Open commit View diff
399 }
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
400
Open commit View diff
400
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
401
function formatMoneyMajor(amount: number, currency: string): string {
Open commit View diff
401 function formatMoneyMajor(amount: number, currency: string): string {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
402
  try {
Open commit View diff
402 try {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
403
    return new Intl.NumberFormat('en-US', {
Open commit View diff
403 return new Intl.NumberFormat('en-US', {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
404
      style: 'currency',
Open commit View diff
404 style: 'currency',
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
405
      currency: currency.toUpperCase(),
Open commit View diff
405 currency: currency.toUpperCase(),
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
406
      maximumFractionDigits: 2,
Open commit View diff
406 maximumFractionDigits: 2,
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
407
    }).format(amount);
Open commit View diff
407 }).format(amount);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
408
  } catch {
Open commit View diff
408 } catch {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
409
    return `${amount.toFixed(2)} ${currency.toUpperCase()}`;
Open commit View diff
409 return `${amount.toFixed(2)} ${currency.toUpperCase()}`;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
410
  }
Open commit View diff
410 }
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
411
}
Open commit View diff
411 }
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
412
Open commit View diff
412
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
413
function databaseInstant(value: string): string {
Open commit View diff
413 function databaseInstant(value: string): string {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
414
  if (/Z$|[+-]\d{2}:?\d{2}$/.test(value)) return value;
Open commit View diff
414 if (/Z$|[+-]\d{2}:?\d{2}$/.test(value)) return value;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
415
  return `${value.replace(' ', 'T')}Z`;
Open commit View diff
415 return `${value.replace(' ', 'T')}Z`;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
416
}
Open commit View diff
416 }
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
417
Open commit View diff
417
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
418
function activityMoneyText(money: ActivityMoney[], field: 'revenue' | 'refunds' | 'net', preferredCurrency: string): string {
Open commit View diff
418 function activityMoneyText(money: ActivityMoney[], field: 'revenue' | 'refunds' | 'net', preferredCurrency: string): string {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
419
  if (!money.length) return formatMoneyMinor(0, preferredCurrency);
Open commit View diff
419 if (!money.length) return formatMoneyMinor(0, preferredCurrency);
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
420
  const sorted = [...money].sort((a, b) => {
Open commit View diff
420 const sorted = [...money].sort((a, b) => {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
421
    if (a.currency === preferredCurrency.toLowerCase()) return -1;
Open commit View diff
421 if (a.currency === preferredCurrency.toLowerCase()) return -1;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
422
    if (b.currency === preferredCurrency.toLowerCase()) return 1;
Open commit View diff
422 if (b.currency === preferredCurrency.toLowerCase()) return 1;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
423
    return a.currency.localeCompare(b.currency);
Open commit View diff
423 return a.currency.localeCompare(b.currency);
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
424
  });
Open commit View diff
424 });
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
425
  return sorted.map((row) => formatMoneyMinor(row[field], row.currency)).join(' · ');
Open commit View diff
425 return sorted.map((row) => formatMoneyMinor(row[field], row.currency)).join(' · ');
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
426
}
Open commit View diff
426 }
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
427
Open commit View diff
427
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
428
function activityEventCopy(event: ActivityEvent, timezone: string): { title: string; detail: string } {
Open commit View diff
428 function activityEventCopy(event: ActivityEvent, timezone: string): { title: string; detail: string } {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
429
  const name = event.name || 'A visitor';
Open commit View diff
429 const name = event.name || 'A visitor';
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
430
  const meta = event.metadata ?? {};
Open commit View diff
430 const meta = event.metadata ?? {};
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
431
  const amount = typeof meta.amount === 'number' ? meta.amount : event.payment_amount;
Open commit View diff
431 const amount = typeof meta.amount === 'number' ? meta.amount : event.payment_amount;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
432
  const currency = typeof meta.currency === 'string' ? meta.currency : event.payment_currency;
Open commit View diff
432 const currency = typeof meta.currency === 'string' ? meta.currency : event.payment_currency;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
433
  const money = amount != null && currency ? formatMoneyMinor(amount, currency) : null;
Open commit View diff
433 const money = amount != null && currency ? formatMoneyMinor(amount, currency) : null;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
434
  const duration = typeof meta.duration === 'number' ? meta.duration : event.duration_minutes;
Open commit View diff
434 const duration = typeof meta.duration === 'number' ? meta.duration : event.duration_minutes;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
435
  const eventStart = typeof meta.newStart === 'string'
Open commit View diff
435 const eventStart = typeof meta.newStart === 'string'
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
436
    ? meta.newStart
Open commit View diff
436 ? meta.newStart
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
437
    : typeof meta.proposedStart === 'string'
Open commit View diff
437 : typeof meta.proposedStart === 'string'
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
438
      ? meta.proposedStart
Open commit View diff
438 ? meta.proposedStart
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
439
      : typeof meta.start === 'string'
Open commit View diff
439 : typeof meta.start === 'string'
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
440
        ? meta.start
Open commit View diff
440 ? meta.start
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
441
        : event.start_time;
Open commit View diff
441 : event.start_time;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
442
  const oldStart = typeof meta.oldStart === 'string' ? meta.oldStart : null;
Open commit View diff
442 const oldStart = typeof meta.oldStart === 'string' ? meta.oldStart : null;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
443
Open commit View diff
443
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
444
  switch (event.type) {
Open commit View diff
444 switch (event.type) {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
445
    case 'booking_confirmed':
Open commit View diff
445 case 'booking_confirmed':
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
446
      return { title: `${name} booked a meeting`, detail: `${duration ?? ''}${duration ? ' min · ' : ''}${eventStart ? `${formatDateShort(eventStart, timezone)} at ${formatClock(eventStart, timezone)}` : 'Confirmed'}` };
Open commit View diff
446 return { title: `${name} booked a meeting`, detail: `${duration ?? ''}${duration ? ' min · ' : ''}${eventStart ? `${formatDateShort(eventStart, timezone)} at ${formatClock(eventStart, timezone)}` : 'Confirmed'}` };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
447
    case 'payment_checkout_started':
Open commit View diff
447 case 'payment_checkout_started':
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
448
      return { title: `${name} started checkout`, detail: `${money ? `${money} · ` : ''}${eventStart ? `${formatDateShort(eventStart, timezone)} at ${formatClock(eventStart, timezone)}` : 'Payment pending'}` };
Open commit View diff
448 return { title: `${name} started checkout`, detail: `${money ? `${money} · ` : ''}${eventStart ? `${formatDateShort(eventStart, timezone)} at ${formatClock(eventStart, timezone)}` : 'Payment pending'}` };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
449
    case 'payment_received':
Open commit View diff
449 case 'payment_received':
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
450
      return { title: `Payment received from ${name}`, detail: money ?? 'Stripe payment completed' };
Open commit View diff
450 return { title: `Payment received from ${name}`, detail: money ?? 'Stripe payment completed' };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
451
    case 'payment_hold_released':
Open commit View diff
451 case 'payment_hold_released':
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
452
      return { title: `${name}'s payment hold was released`, detail: eventStart ? `${formatDateShort(eventStart, timezone)} at ${formatClock(eventStart, timezone)} is available again` : 'The held time is available again' };
Open commit View diff
452 return { title: `${name}'s payment hold was released`, detail: eventStart ? `${formatDateShort(eventStart, timezone)} at ${formatClock(eventStart, timezone)} is available again` : 'The held time is available again' };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
453
    case 'booking_rescheduled':
Open commit View diff
453 case 'booking_rescheduled':
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
454
      return { title: `${name}'s meeting was rescheduled`, detail: `${oldStart ? `${formatDateShort(oldStart, timezone)} ${formatClock(oldStart, timezone)} → ` : ''}${eventStart ? `${formatDateShort(eventStart, timezone)} ${formatClock(eventStart, timezone)}` : 'New time saved'}` };
Open commit View diff
454 return { title: `${name}'s meeting was rescheduled`, detail: `${oldStart ? `${formatDateShort(oldStart, timezone)} ${formatClock(oldStart, timezone)} → ` : ''}${eventStart ? `${formatDateShort(eventStart, timezone)} ${formatClock(eventStart, timezone)}` : 'New time saved'}` };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
455
    case 'time_suggested':
Open commit View diff
455 case 'time_suggested':
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
456
      return { title: `New time suggested to ${name}`, detail: eventStart ? `${formatDateShort(eventStart, timezone)} at ${formatClock(eventStart, timezone)}` : 'Waiting for the guest' };
Open commit View diff
456 return { title: `New time suggested to ${name}`, detail: eventStart ? `${formatDateShort(eventStart, timezone)} at ${formatClock(eventStart, timezone)}` : 'Waiting for the guest' };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
457
    case 'time_suggestion_accepted':
Open commit View diff
457 case 'time_suggestion_accepted':
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
458
      return { title: `${name} accepted the suggested time`, detail: eventStart ? `${formatDateShort(eventStart, timezone)} at ${formatClock(eventStart, timezone)}` : 'Meeting rescheduled' };
Open commit View diff
458 return { title: `${name} accepted the suggested time`, detail: eventStart ? `${formatDateShort(eventStart, timezone)} at ${formatClock(eventStart, timezone)}` : 'Meeting rescheduled' };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
459
    case 'refund_started':
Open commit View diff
459 case 'refund_started':
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
460
      return { title: `Refund started for ${name}`, detail: money ?? 'Stripe is processing the refund' };
Open commit View diff
460 return { title: `Refund started for ${name}`, detail: money ?? 'Stripe is processing the refund' };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
461
    case 'refund_succeeded':
Open commit View diff
461 case 'refund_succeeded':
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
462
      return { title: `Refund completed for ${name}`, detail: money ?? 'Stripe refund completed' };
Open commit View diff
462 return { title: `Refund completed for ${name}`, detail: money ?? 'Stripe refund completed' };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
463
    case 'refund_failed':
Open commit View diff
463 case 'refund_failed':
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
464
      return { title: `Refund failed for ${name}`, detail: money ? `${money} · Check Stripe` : 'Check Stripe for the failure details' };
Open commit View diff
464 return { title: `Refund failed for ${name}`, detail: money ? `${money} · Check Stripe` : 'Check Stripe for the failure details' };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
465
    case 'booking_cancelled':
Open commit View diff
465 case 'booking_cancelled':
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
466
      return { title: `${name}'s meeting was cancelled`, detail: eventStart ? `${formatDateShort(eventStart, timezone)} at ${formatClock(eventStart, timezone)}` : 'Booking cancelled' };
Open commit View diff
466 return { title: `${name}'s meeting was cancelled`, detail: eventStart ? `${formatDateShort(eventStart, timezone)} at ${formatClock(eventStart, timezone)}` : 'Booking cancelled' };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
467
    default:
Open commit View diff
467 default:
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
468
      return { title: event.type.replaceAll('_', ' '), detail: event.email ?? 'Slot activity' };
Open commit View diff
468 return { title: event.type.replaceAll('_', ' '), detail: event.email ?? 'Slot activity' };
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
469
  }
Open commit View diff
469 }
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
470
}
Open commit View diff
470 }
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
471
Open commit View diff
471
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
472
function monthCells(month: Date): Array<{ date: Date; current: boolean }> {
Open commit View diff
472 function monthCells(month: Date): Array<{ date: Date; current: boolean }> {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
473
  const first = new Date(month.getFullYear(), month.getMonth(), 1, 12);
Open commit View diff
473 const first = new Date(month.getFullYear(), month.getMonth(), 1, 12);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
474
  const mondayIndex = (first.getDay() + 6) % 7;
Open commit View diff
474 const mondayIndex = (first.getDay() + 6) % 7;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
475
  const start = addDays(first, -mondayIndex);
Open commit View diff
475 const start = addDays(first, -mondayIndex);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
476
  return Array.from({ length: 42 }, (_, index) => {
Open commit View diff
476 return Array.from({ length: 42 }, (_, index) => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
477
    const date = addDays(start, index);
Open commit View diff
477 const date = addDays(start, index);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
478
    return { date, current: date.getMonth() === month.getMonth() };
Open commit View diff
478 return { date, current: date.getMonth() === month.getMonth() };
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
479
  });
Open commit View diff
479 });
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
480
}
Open commit View diff
480 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
481
Open commit View diff
481
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
482
function googleCalendarUrl(title: string, conf: Confirmation): string {
Open commit View diff
482 function googleCalendarUrl(title: string, conf: Confirmation): string {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
483
  const stamp = (iso: string) => iso.replace(/[-:]/g, '').replace(/\.\d{3}/, '');
Open commit View diff
483 const stamp = (iso: string) => iso.replace(/[-:]/g, '').replace(/\.\d{3}/, '');
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
484
  const params = new URLSearchParams({
Open commit View diff
484 const params = new URLSearchParams({
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
485
    action: 'TEMPLATE',
Open commit View diff
485 action: 'TEMPLATE',
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
486
    text: title,
Open commit View diff
486 text: title,
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
487
    dates: `${stamp(conf.start)}/${stamp(conf.end)}`,
Open commit View diff
487 dates: `${stamp(conf.start)}/${stamp(conf.end)}`,
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
488
  });
Open commit View diff
488 });
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
489
  if (conf.meetUrl) params.set('details', `Google Meet: ${conf.meetUrl}`);
Open commit View diff
489 if (conf.meetUrl) params.set('details', `Google Meet: ${conf.meetUrl}`);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
490
  return `https://calendar.google.com/calendar/render?${params.toString()}`;
Open commit View diff
490 return `https://calendar.google.com/calendar/render?${params.toString()}`;
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
491
}
Open commit View diff
491 }
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
492
Open commit View diff
492
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
493
function useCopy(): [boolean, (value: string) => void] {
Open commit View diff
493 function useCopy(): [boolean, (value: string) => void] {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
494
  const [copied, setCopied] = useState(false);
Open commit View diff
494 const [copied, setCopied] = useState(false);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
495
  const timer = useRef<ReturnType<typeof setTimeout> | undefined>(undefined);
Open commit View diff
495 const timer = useRef<ReturnType<typeof setTimeout> | undefined>(undefined);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
496
  useEffect(() => () => clearTimeout(timer.current), []);
Open commit View diff
496 useEffect(() => () => clearTimeout(timer.current), []);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
497
  function copy(value: string) {
Open commit View diff
497 function copy(value: string) {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
498
    navigator.clipboard?.writeText(value).then(() => {
Open commit View diff
498 navigator.clipboard?.writeText(value).then(() => {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
499
      setCopied(true);
Open commit View diff
499 setCopied(true);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
500
      clearTimeout(timer.current);
Open commit View diff
500 clearTimeout(timer.current);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
501
      timer.current = setTimeout(() => setCopied(false), 1800);
Open commit View diff
501 timer.current = setTimeout(() => setCopied(false), 1800);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
502
    });
Open commit View diff
502 });
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
503
  }
Open commit View diff
503 }
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
504
  return [copied, copy];
Open commit View diff
504 return [copied, copy];
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
505
}
Open commit View diff
505 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
506
Open commit View diff
506
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
507
function PublicBooking() {
Open commit View diff
507 function PublicBooking() {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
508
  const [config, setConfig] = useState<PublicConfig | null>(null);
Open commit View diff
508 const [config, setConfig] = useState<PublicConfig | null>(null);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
509
  const [month, setMonth] = useState(() => new Date());
Open commit View diff
509 const [month, setMonth] = useState(() => new Date());
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
510
  const [selectedDate, setSelectedDate] = useState<string>('');
Open commit View diff
510 const [selectedDate, setSelectedDate] = useState<string>('');
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
511
  const [slots, setSlots] = useState<Slot[]>([]);
Open commit View diff
511 const [slots, setSlots] = useState<Slot[]>([]);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
512
  const [selectedSlot, setSelectedSlot] = useState<Slot | null>(null);
Open commit View diff
512 const [selectedSlot, setSelectedSlot] = useState<Slot | null>(null);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
513
  const [duration, setDuration] = useState<number | null>(null);
Open commit View diff
513 const [duration, setDuration] = useState<number | null>(null);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
514
  const [meetingMode, setMeetingMode] = useState<MeetingMode>('google_meet');
Open commit View diff
514 const [meetingMode, setMeetingMode] = useState<MeetingMode>('google_meet');
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
515
  const [loadingSlots, setLoadingSlots] = useState(false);
Open commit View diff
515 const [loadingSlots, setLoadingSlots] = useState(false);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
516
  const [booking, setBooking] = useState(false);
Open commit View diff
516 const [booking, setBooking] = useState(false);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
517
  const [error, setError] = useState('');
Open commit View diff
517 const [error, setError] = useState('');
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
518
  const [fieldErrors, setFieldErrors] = useState<{ name?: string; email?: string }>({});
Open commit View diff
518 const [fieldErrors, setFieldErrors] = useState<{ name?: string; email?: string }>({});
Alex Nord 3 days ago 7bda237

Brand app as Slot and sanitize calendar errors

Full commit hash
7bda2375c94992d8bd86dc0ea0b320d0f23dfa86
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
519
  const [availabilityNotice, setAvailabilityNotice] = useState('');
Open commit View diff
519 const [availabilityNotice, setAvailabilityNotice] = useState('');
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
520
  const [confirmation, setConfirmation] = useState<Confirmation | null>(null);
Open commit View diff
520 const [confirmation, setConfirmation] = useState<Confirmation | null>(null);
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
521
  const [paymentReturnState, setPaymentReturnState] = useState<{ kind: 'checking' | 'cancelled' | 'error'; message: string } | null>(null);
Open commit View diff
521 const [paymentReturnState, setPaymentReturnState] = useState<{ kind: 'checking' | 'cancelled' | 'error'; message: string } | null>(null);
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
522
  const [manageOpen, setManageOpen] = useState(false);
Open commit View diff
522 const [manageOpen, setManageOpen] = useState(false);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
523
  const [manageBookingId, setManageBookingId] = useState('');
Open commit View diff
523 const [manageBookingId, setManageBookingId] = useState('');
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
524
  const [managedBooking, setManagedBooking] = useState<ManagedBooking | null>(null);
Open commit View diff
524 const [managedBooking, setManagedBooking] = useState<ManagedBooking | null>(null);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
525
  const [manageAction, setManageAction] = useState<ManageAction>('none');
Open commit View diff
525 const [manageAction, setManageAction] = useState<ManageAction>('none');
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
526
  const [manageDate, setManageDate] = useState('');
Open commit View diff
526 const [manageDate, setManageDate] = useState('');
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
527
  const [manageSlots, setManageSlots] = useState<Array<{ start: string; time: string }>>([]);
Open commit View diff
527 const [manageSlots, setManageSlots] = useState<Array<{ start: string; time: string }>>([]);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
528
  const [manageStart, setManageStart] = useState('');
Open commit View diff
528 const [manageStart, setManageStart] = useState('');
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
529
  const [manageSlotsLoading, setManageSlotsLoading] = useState(false);
Open commit View diff
529 const [manageSlotsLoading, setManageSlotsLoading] = useState(false);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
530
  const [manageState, setManageState] = useState<{ kind: 'idle' | 'loading' | 'success' | 'error'; message: string }>({ kind: 'idle', message: '' });
Open commit View diff
530 const [manageState, setManageState] = useState<{ kind: 'idle' | 'loading' | 'success' | 'error'; message: string }>({ kind: 'idle', message: '' });
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
531
Open commit View diff
531
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
532
  useEffect(() => {
Open commit View diff
532 useEffect(() => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
533
    api<PublicConfig>('/api/config')
Open commit View diff
533 api<PublicConfig>('/api/config')
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
534
      .then((data) => {
Open commit View diff
534 .then((data) => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
535
        setConfig(data);
Open commit View diff
535 setConfig(data);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
536
        setMeetingMode(data.defaultMeetingMode);
Open commit View diff
536 setMeetingMode(data.defaultMeetingMode);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
537
        document.title = data.title;
Open commit View diff
537 document.title = data.title;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
538
      })
Open commit View diff
538 })
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
539
      .catch((err) => setError(err.message));
Open commit View diff
539 .catch((err) => setError(err.message));
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
540
  }, []);
Open commit View diff
540 }, []);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
541
Open commit View diff
541
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
542
Open commit View diff
542
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
543
  useEffect(() => {
Open commit View diff
543 useEffect(() => {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
544
    const params = new URLSearchParams(window.location.search);
Open commit View diff
544 const params = new URLSearchParams(window.location.search);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
545
    const payment = params.get('payment');
Open commit View diff
545 const payment = params.get('payment');
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
546
    const sessionId = params.get('session_id');
Open commit View diff
546 const sessionId = params.get('session_id');
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
547
    const bookingId = params.get('booking_id');
Open commit View diff
547 const bookingId = params.get('booking_id');
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
548
    const released = params.get('released');
Open commit View diff
548 const released = params.get('released');
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
549
    let cancelled = false;
Open commit View diff
549 let cancelled = false;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
550
    let timer: ReturnType<typeof setTimeout> | undefined;
Open commit View diff
550 let timer: ReturnType<typeof setTimeout> | undefined;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
551
Open commit View diff
551
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
552
    function cleanReturnUrl() {
Open commit View diff
552 function cleanReturnUrl() {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
553
      window.history.replaceState({}, '', window.location.pathname);
Open commit View diff
553 window.history.replaceState({}, '', window.location.pathname);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
554
    }
Open commit View diff
554 }
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
555
Open commit View diff
555
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
556
    async function pollStatus(attempt = 0) {
Open commit View diff
556 async function pollStatus(attempt = 0) {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
557
      if (!sessionId || cancelled) return;
Open commit View diff
557 if (!sessionId || cancelled) return;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
558
      setPaymentReturnState({ kind: 'checking', message: attempt === 0 ? 'Payment received. Confirming your booking…' : 'Payment received. Finalizing your calendar invitation…' });
Open commit View diff
558 setPaymentReturnState({ kind: 'checking', message: attempt === 0 ? 'Payment received. Confirming your booking…' : 'Payment received. Finalizing your calendar invitation…' });
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
559
      try {
Open commit View diff
559 try {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
560
        const data = await api<{ state: string; message?: string; booking?: Confirmation }>(`/api/payments/status?session_id=${encodeURIComponent(sessionId)}`);
Open commit View diff
560 const data = await api<{ state: string; message?: string; booking?: Confirmation }>(`/api/payments/status?session_id=${encodeURIComponent(sessionId)}`);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
561
        if (cancelled) return;
Open commit View diff
561 if (cancelled) return;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
562
        if (data.state === 'confirmed' && data.booking) {
Open commit View diff
562 if (data.state === 'confirmed' && data.booking) {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
563
          setConfirmation(data.booking);
Open commit View diff
563 setConfirmation(data.booking);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
564
          setMeetingMode(data.booking.meetingMode);
Open commit View diff
564 setMeetingMode(data.booking.meetingMode);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
565
          setPaymentReturnState(null);
Open commit View diff
565 setPaymentReturnState(null);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
566
          cleanReturnUrl();
Open commit View diff
566 cleanReturnUrl();
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
567
          return;
Open commit View diff
567 return;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
568
        }
Open commit View diff
568 }
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
569
        if ((data.state === 'confirming' || data.state === 'processing') && attempt < 20) {
Open commit View diff
569 if ((data.state === 'confirming' || data.state === 'processing') && attempt < 20) {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
570
          setPaymentReturnState({ kind: 'checking', message: data.message || 'Finalizing your booking…' });
Open commit View diff
570 setPaymentReturnState({ kind: 'checking', message: data.message || 'Finalizing your booking…' });
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
571
          timer = setTimeout(() => void pollStatus(attempt + 1), 1000);
Open commit View diff
571 timer = setTimeout(() => void pollStatus(attempt + 1), 1000);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
572
          return;
Open commit View diff
572 return;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
573
        }
Open commit View diff
573 }
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
574
        setPaymentReturnState({ kind: 'error', message: data.message || 'Payment did not complete, so no booking was confirmed.' });
Open commit View diff
574 setPaymentReturnState({ kind: 'error', message: data.message || 'Payment did not complete, so no booking was confirmed.' });
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
575
        cleanReturnUrl();
Open commit View diff
575 cleanReturnUrl();
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
576
      } catch (err) {
Open commit View diff
576 } catch (err) {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
577
        if (cancelled) return;
Open commit View diff
577 if (cancelled) return;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
578
        if (attempt < 8) {
Open commit View diff
578 if (attempt < 8) {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
579
          timer = setTimeout(() => void pollStatus(attempt + 1), 1200);
Open commit View diff
579 timer = setTimeout(() => void pollStatus(attempt + 1), 1200);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
580
          return;
Open commit View diff
580 return;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
581
        }
Open commit View diff
581 }
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
582
        setPaymentReturnState({ kind: 'error', message: err instanceof Error ? err.message : 'Could not verify the payment.' });
Open commit View diff
582 setPaymentReturnState({ kind: 'error', message: err instanceof Error ? err.message : 'Could not verify the payment.' });
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
583
      }
Open commit View diff
583 }
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
584
    }
Open commit View diff
584 }
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
585
Open commit View diff
585
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
586
    async function releaseCancelledCheckout() {
Open commit View diff
586 async function releaseCancelledCheckout() {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
587
      if (!bookingId || cancelled) return;
Open commit View diff
587 if (!bookingId || cancelled) return;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
588
      setPaymentReturnState({ kind: 'checking', message: 'Cancelling payment and releasing the time…' });
Open commit View diff
588 setPaymentReturnState({ kind: 'checking', message: 'Cancelling payment and releasing the time…' });
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
589
      try {
Open commit View diff
589 try {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
590
        const data = await api<{ state: string; booking?: Confirmation }>('/api/payments/cancel', {
Open commit View diff
590 const data = await api<{ state: string; booking?: Confirmation }>('/api/payments/cancel', {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
591
          method: 'POST',
Open commit View diff
591 method: 'POST',
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
592
          body: JSON.stringify({ bookingId }),
Open commit View diff
592 body: JSON.stringify({ bookingId }),
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
593
        });
Open commit View diff
593 });
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
594
        if (cancelled) return;
Open commit View diff
594 if (cancelled) return;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
595
        if (data.state === 'confirmed' && data.booking) {
Open commit View diff
595 if (data.state === 'confirmed' && data.booking) {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
596
          setConfirmation(data.booking);
Open commit View diff
596 setConfirmation(data.booking);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
597
          setMeetingMode(data.booking.meetingMode);
Open commit View diff
597 setMeetingMode(data.booking.meetingMode);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
598
          setPaymentReturnState(null);
Open commit View diff
598 setPaymentReturnState(null);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
599
        } else if (data.state === 'processing') {
Open commit View diff
599 } else if (data.state === 'processing') {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
600
          setPaymentReturnState({ kind: 'checking', message: 'Stripe is processing the payment. Please wait…' });
Open commit View diff
600 setPaymentReturnState({ kind: 'checking', message: 'Stripe is processing the payment. Please wait…' });
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
601
        } else {
Open commit View diff
601 } else {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
602
          setPaymentReturnState({ kind: 'cancelled', message: 'Payment cancelled. No booking was confirmed and the time has been released.' });
Open commit View diff
602 setPaymentReturnState({ kind: 'cancelled', message: 'Payment cancelled. No booking was confirmed and the time has been released.' });
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
603
        }
Open commit View diff
603 }
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
604
        cleanReturnUrl();
Open commit View diff
604 cleanReturnUrl();
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
605
      } catch (err) {
Open commit View diff
605 } catch (err) {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
606
        if (!cancelled) setPaymentReturnState({ kind: 'error', message: err instanceof Error ? err.message : 'Could not cancel the checkout cleanly.' });
Open commit View diff
606 if (!cancelled) setPaymentReturnState({ kind: 'error', message: err instanceof Error ? err.message : 'Could not cancel the checkout cleanly.' });
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
607
      }
Open commit View diff
607 }
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
608
    }
Open commit View diff
608 }
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
609
Open commit View diff
609
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
610
    if (payment === 'success' && sessionId) void pollStatus();
Open commit View diff
610 if (payment === 'success' && sessionId) void pollStatus();
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
611
    else if (payment === 'cancelled' && released === '1') {
Open commit View diff
611 else if (payment === 'cancelled' && released === '1') {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
612
      setPaymentReturnState({ kind: 'cancelled', message: 'Payment cancelled. No booking was confirmed and the time has been released.' });
Open commit View diff
612 setPaymentReturnState({ kind: 'cancelled', message: 'Payment cancelled. No booking was confirmed and the time has been released.' });
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
613
      cleanReturnUrl();
Open commit View diff
613 cleanReturnUrl();
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
614
    } else if (payment === 'cancelled' && bookingId) void releaseCancelledCheckout();
Open commit View diff
614 } else if (payment === 'cancelled' && bookingId) void releaseCancelledCheckout();
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
615
Open commit View diff
615
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
616
    return () => {
Open commit View diff
616 return () => {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
617
      cancelled = true;
Open commit View diff
617 cancelled = true;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
618
      if (timer) clearTimeout(timer);
Open commit View diff
618 if (timer) clearTimeout(timer);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
619
    };
Open commit View diff
619 };
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
620
  }, []);
Open commit View diff
620 }, []);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
621
Open commit View diff
621
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
622
  const cells = useMemo(() => monthCells(month), [month]);
Open commit View diff
622 const cells = useMemo(() => monthCells(month), [month]);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
623
  const today = config ? todayInZone(config.timezone) : dateKey(new Date());
Open commit View diff
623 const today = config ? todayInZone(config.timezone) : dateKey(new Date());
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
624
  const maxDate = config ? dateKey(addDays(parseDateKey(today), config.bookingWindowDays)) : today;
Open commit View diff
624 const maxDate = config ? dateKey(addDays(parseDateKey(today), config.bookingWindowDays)) : today;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
625
Open commit View diff
625
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
626
  const isSelectable = (key: string, weekday: number, current: boolean) =>
Open commit View diff
626 const isSelectable = (key: string, weekday: number, current: boolean) =>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
627
    Boolean(config) && current && key >= today && key <= maxDate && config!.availableWeekdays.includes(weekday);
Open commit View diff
627 Boolean(config) && current && key >= today && key <= maxDate && config!.availableWeekdays.includes(weekday);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
628
Open commit View diff
628
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
629
  async function chooseDate(key: string) {
Open commit View diff
629 async function chooseDate(key: string) {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
630
    if (!config || key < today || key > maxDate) return;
Open commit View diff
630 if (!config || key < today || key > maxDate) return;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
631
    setSelectedDate(key);
Open commit View diff
631 setSelectedDate(key);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
632
    setSelectedSlot(null);
Open commit View diff
632 setSelectedSlot(null);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
633
    setDuration(null);
Open commit View diff
633 setDuration(null);
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
634
    setConfirmation(null);
Open commit View diff
634 setConfirmation(null);
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
635
    setSlots([]);
Open commit View diff
635 setSlots([]);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
636
    setError('');
Open commit View diff
636 setError('');
Alex Nord 3 days ago 7bda237

Brand app as Slot and sanitize calendar errors

Full commit hash
7bda2375c94992d8bd86dc0ea0b320d0f23dfa86
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
637
    setAvailabilityNotice('');
Open commit View diff
637 setAvailabilityNotice('');
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
638
    setLoadingSlots(true);
Open commit View diff
638 setLoadingSlots(true);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
639
    try {
Open commit View diff
639 try {
Alex Nord 3 days ago 7bda237

Brand app as Slot and sanitize calendar errors

Full commit hash
7bda2375c94992d8bd86dc0ea0b320d0f23dfa86
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
640
      const data = await api<{ slots: Slot[]; calendarError?: string }>(`/api/availability?date=${encodeURIComponent(key)}`);
Open commit View diff
640 const data = await api<{ slots: Slot[]; calendarError?: string }>(`/api/availability?date=${encodeURIComponent(key)}`);
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
641
      setSlots(data.slots);
Open commit View diff
641 setSlots(data.slots);
Alex Nord 3 days ago 7bda237

Brand app as Slot and sanitize calendar errors

Full commit hash
7bda2375c94992d8bd86dc0ea0b320d0f23dfa86
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
642
      setAvailabilityNotice(data.calendarError ?? '');
Open commit View diff
642 setAvailabilityNotice(data.calendarError ?? '');
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
643
    } catch (err) {
Open commit View diff
643 } catch (err) {
Alex Nord 3 days ago 7bda237

Brand app as Slot and sanitize calendar errors

Full commit hash
7bda2375c94992d8bd86dc0ea0b320d0f23dfa86
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
644
      const message = err instanceof Error ? err.message : 'Could not load availability';
Open commit View diff
644 const message = err instanceof Error ? err.message : 'Could not load availability';
same change 7bda237

Brand app as Slot and sanitize calendar errors

Full commit hash
7bda2375c94992d8bd86dc0ea0b320d0f23dfa86
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
645
      if (message.startsWith('Calendar setup needs attention')) setAvailabilityNotice(message);
Open commit View diff
645 if (message.startsWith('Calendar setup needs attention')) setAvailabilityNotice(message);
same change 7bda237

Brand app as Slot and sanitize calendar errors

Full commit hash
7bda2375c94992d8bd86dc0ea0b320d0f23dfa86
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
646
      else setError(message);
Open commit View diff
646 else setError(message);
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
647
    } finally {
Open commit View diff
647 } finally {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
648
      setLoadingSlots(false);
Open commit View diff
648 setLoadingSlots(false);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
649
    }
Open commit View diff
649 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
650
  }
Open commit View diff
650 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
651
Open commit View diff
651
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
652
  async function submitBooking(event: FormEvent<HTMLFormElement>) {
Open commit View diff
652 async function submitBooking(event: FormEvent<HTMLFormElement>) {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
653
    event.preventDefault();
Open commit View diff
653 event.preventDefault();
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
654
    if (!config || !selectedSlot || !duration) return;
Open commit View diff
654 if (!config || !selectedSlot || !duration) return;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
655
    const form = new FormData(event.currentTarget);
Open commit View diff
655 const form = new FormData(event.currentTarget);
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
656
    const name = String(form.get('name') ?? '').trim();
Open commit View diff
656 const name = String(form.get('name') ?? '').trim();
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
657
    const email = String(form.get('email') ?? '').trim();
Open commit View diff
657 const email = String(form.get('email') ?? '').trim();
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
658
    const nextErrors: { name?: string; email?: string } = {};
Open commit View diff
658 const nextErrors: { name?: string; email?: string } = {};
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
659
    if (!name) nextErrors.name = 'Please add your name.';
Open commit View diff
659 if (!name) nextErrors.name = 'Please add your name.';
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
660
    if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) nextErrors.email = 'Enter a valid email address.';
Open commit View diff
660 if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) nextErrors.email = 'Enter a valid email address.';
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
661
    setFieldErrors(nextErrors);
Open commit View diff
661 setFieldErrors(nextErrors);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
662
    if (Object.keys(nextErrors).length) return;
Open commit View diff
662 if (Object.keys(nextErrors).length) return;
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
663
Open commit View diff
663
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
664
    setBooking(true);
Open commit View diff
664 setBooking(true);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
665
    setError('');
Open commit View diff
665 setError('');
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
666
    try {
Open commit View diff
666 try {
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
667
      const data = await api<{ requiresPayment: boolean; checkoutUrl?: string; booking?: Confirmation }>('/api/book', {
Open commit View diff
667 const data = await api<{ requiresPayment: boolean; checkoutUrl?: string; booking?: Confirmation }>('/api/book', {
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
668
        method: 'POST',
Open commit View diff
668 method: 'POST',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
669
        body: JSON.stringify({
Open commit View diff
669 body: JSON.stringify({
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
670
          start: selectedSlot.start,
Open commit View diff
670 start: selectedSlot.start,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
671
          duration,
Open commit View diff
671 duration,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
672
          meetingMode,
Open commit View diff
672 meetingMode,
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
673
          name,
Open commit View diff
673 name,
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
674
          email,
Open commit View diff
674 email,
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
675
          phone: form.get('phone'),
Open commit View diff
675 phone: form.get('phone'),
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
676
          message: form.get('message'),
Open commit View diff
676 message: form.get('message'),
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
677
          website: form.get('website'),
Open commit View diff
677 website: form.get('website'),
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
678
        }),
Open commit View diff
678 }),
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
679
      });
Open commit View diff
679 });
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
680
      if (data.requiresPayment) {
Open commit View diff
680 if (data.requiresPayment) {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
681
        if (!data.checkoutUrl) throw new Error('Stripe did not return a secure checkout link.');
Open commit View diff
681 if (!data.checkoutUrl) throw new Error('Stripe did not return a secure checkout link.');
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
682
        window.location.assign(data.checkoutUrl);
Open commit View diff
682 window.location.assign(data.checkoutUrl);
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
683
        return;
Open commit View diff
683 return;
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
684
      }
Open commit View diff
684 }
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
685
      if (!data.booking) throw new Error('The booking response was incomplete.');
Open commit View diff
685 if (!data.booking) throw new Error('The booking response was incomplete.');
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
686
      setConfirmation(data.booking);
Open commit View diff
686 setConfirmation(data.booking);
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
687
    } catch (err) {
Open commit View diff
687 } catch (err) {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
688
      const message = err instanceof Error ? err.message : 'Booking failed';
Open commit View diff
688 const message = err instanceof Error ? err.message : 'Booking failed';
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
689
      setError(message);
Open commit View diff
689 setError(message);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
690
      if (message.toLowerCase().includes('slot') || message.toLowerCase().includes('time')) {
Open commit View diff
690 if (message.toLowerCase().includes('slot') || message.toLowerCase().includes('time')) {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
691
        await chooseDate(selectedDate);
Open commit View diff
691 await chooseDate(selectedDate);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
692
      }
Open commit View diff
692 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
693
    } finally {
Open commit View diff
693 } finally {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
694
      setBooking(false);
Open commit View diff
694 setBooking(false);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
695
    }
Open commit View diff
695 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
696
  }
Open commit View diff
696 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
697
Open commit View diff
697
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
698
  async function submitManageLookup(event: FormEvent<HTMLFormElement>) {
Open commit View diff
698 async function submitManageLookup(event: FormEvent<HTMLFormElement>) {
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
699
    event.preventDefault();
Open commit View diff
699 event.preventDefault();
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
700
    const bookingId = manageBookingId.trim();
Open commit View diff
700 const bookingId = manageBookingId.trim();
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
701
    if (!bookingId) {
Open commit View diff
701 if (!bookingId) {
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
702
      setManageState({ kind: 'error', message: 'Enter the booking ID from your confirmation or calendar invitation.' });
Open commit View diff
702 setManageState({ kind: 'error', message: 'Enter the booking ID from your confirmation or calendar invitation.' });
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
703
      return;
Open commit View diff
703 return;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
704
    }
Open commit View diff
704 }
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
705
    setManageState({ kind: 'loading', message: 'Loading booking…' });
Open commit View diff
705 setManageState({ kind: 'loading', message: 'Loading booking…' });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
706
    setManagedBooking(null);
Open commit View diff
706 setManagedBooking(null);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
707
    setManageAction('none');
Open commit View diff
707 setManageAction('none');
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
708
    setManageSlots([]);
Open commit View diff
708 setManageSlots([]);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
709
    setManageStart('');
Open commit View diff
709 setManageStart('');
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
710
    try {
Open commit View diff
710 try {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
711
      const result = await api<{ booking: ManagedBooking }>('/api/bookings/manage', {
Open commit View diff
711 const result = await api<{ booking: ManagedBooking }>('/api/bookings/manage', {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
712
        method: 'POST',
Open commit View diff
712 method: 'POST',
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
713
        body: JSON.stringify({ bookingId }),
Open commit View diff
713 body: JSON.stringify({ bookingId }),
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
714
      });
Open commit View diff
714 });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
715
      setManagedBooking(result.booking);
Open commit View diff
715 setManagedBooking(result.booking);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
716
      setManageBookingId(result.booking.bookingId);
Open commit View diff
716 setManageBookingId(result.booking.bookingId);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
717
      setManageDate(dateKeyForInstant(result.booking.start, result.booking.timezone));
Open commit View diff
717 setManageDate(dateKeyForInstant(result.booking.start, result.booking.timezone));
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
718
      setManageState({ kind: 'idle', message: '' });
Open commit View diff
718 setManageState({ kind: 'idle', message: '' });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
719
    } catch (err) {
Open commit View diff
719 } catch (err) {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
720
      setManageState({ kind: 'error', message: err instanceof Error ? err.message : 'Could not find this booking.' });
Open commit View diff
720 setManageState({ kind: 'error', message: err instanceof Error ? err.message : 'Could not find this booking.' });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
721
    }
Open commit View diff
721 }
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
722
  }
Open commit View diff
722 }
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
723
Open commit View diff
723
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
724
  async function loadManageAvailability(date: string) {
Open commit View diff
724 async function loadManageAvailability(date: string) {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
725
    if (!managedBooking || !date) return;
Open commit View diff
725 if (!managedBooking || !date) return;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
726
    setManageDate(date);
Open commit View diff
726 setManageDate(date);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
727
    setManageStart('');
Open commit View diff
727 setManageStart('');
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
728
    setManageSlots([]);
Open commit View diff
728 setManageSlots([]);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
729
    setManageSlotsLoading(true);
Open commit View diff
729 setManageSlotsLoading(true);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
730
    setManageState({ kind: 'idle', message: '' });
Open commit View diff
730 setManageState({ kind: 'idle', message: '' });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
731
    try {
Open commit View diff
731 try {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
732
      const result = await api<{ slots: Array<{ start: string; time: string }> }>('/api/bookings/manage/availability', {
Open commit View diff
732 const result = await api<{ slots: Array<{ start: string; time: string }> }>('/api/bookings/manage/availability', {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
733
        method: 'POST',
Open commit View diff
733 method: 'POST',
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
734
        body: JSON.stringify({ bookingId: managedBooking.bookingId, date }),
Open commit View diff
734 body: JSON.stringify({ bookingId: managedBooking.bookingId, date }),
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
735
      });
Open commit View diff
735 });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
736
      setManageSlots(result.slots);
Open commit View diff
736 setManageSlots(result.slots);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
737
    } catch (err) {
Open commit View diff
737 } catch (err) {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
738
      setManageState({ kind: 'error', message: err instanceof Error ? err.message : 'Could not load available times.' });
Open commit View diff
738 setManageState({ kind: 'error', message: err instanceof Error ? err.message : 'Could not load available times.' });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
739
    } finally {
Open commit View diff
739 } finally {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
740
      setManageSlotsLoading(false);
Open commit View diff
740 setManageSlotsLoading(false);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
741
    }
Open commit View diff
741 }
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
742
  }
Open commit View diff
742 }
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
743
Open commit View diff
743
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
744
  async function cancelManagedBooking() {
Open commit View diff
744 async function cancelManagedBooking() {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
745
    if (!managedBooking) return;
Open commit View diff
745 if (!managedBooking) return;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
746
    setManageState({ kind: 'loading', message: 'Cancelling booking…' });
Open commit View diff
746 setManageState({ kind: 'loading', message: 'Cancelling booking…' });
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
747
    try {
Open commit View diff
747 try {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
748
      const result = await api<{ ok: boolean; refunded?: boolean; refundStatus?: string; alreadyCancelled?: boolean; warning?: string }>('/api/bookings/cancel', {
Open commit View diff
748 const result = await api<{ ok: boolean; refunded?: boolean; refundStatus?: string; alreadyCancelled?: boolean; warning?: string }>('/api/bookings/cancel', {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
749
        method: 'POST',
Open commit View diff
749 method: 'POST',
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
750
        body: JSON.stringify({ bookingId: managedBooking.bookingId }),
Open commit View diff
750 body: JSON.stringify({ bookingId: managedBooking.bookingId }),
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
751
      });
Open commit View diff
751 });
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
752
      let message = result.alreadyCancelled
Open commit View diff
752 let message = result.alreadyCancelled
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
753
        ? 'This booking was already cancelled.'
Open commit View diff
753 ? 'This booking was already cancelled.'
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
754
        : result.refunded
Open commit View diff
754 : result.refunded
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
755
          ? result.refundStatus === 'pending'
Open commit View diff
755 ? result.refundStatus === 'pending'
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
756
            ? 'Booking cancelled. Stripe accepted the refund and it is currently pending.'
Open commit View diff
756 ? 'Booking cancelled. Stripe accepted the refund and it is currently pending.'
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
757
            : 'Booking cancelled. The Stripe payment has been refunded.'
Open commit View diff
757 : 'Booking cancelled. The Stripe payment has been refunded.'
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
758
          : 'Booking cancelled. The calendar invitation has been cancelled.';
Open commit View diff
758 : 'Booking cancelled. The calendar invitation has been cancelled.';
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
759
      if (result.warning) message += ` ${result.warning}`;
Open commit View diff
759 if (result.warning) message += ` ${result.warning}`;
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
760
      setManagedBooking({ ...managedBooking, status: 'cancelled', canCancel: false, canReschedule: false, refundStatus: result.refundStatus ?? managedBooking.refundStatus });
Open commit View diff
760 setManagedBooking({ ...managedBooking, status: 'cancelled', canCancel: false, canReschedule: false, refundStatus: result.refundStatus ?? managedBooking.refundStatus });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
761
      setManageAction('none');
Open commit View diff
761 setManageAction('none');
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
762
      setManageState({ kind: 'success', message });
Open commit View diff
762 setManageState({ kind: 'success', message });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
763
      if (confirmation?.bookingId && confirmation.bookingId.toUpperCase() === managedBooking.bookingId.toUpperCase()) setConfirmation(null);
Open commit View diff
763 if (confirmation?.bookingId && confirmation.bookingId.toUpperCase() === managedBooking.bookingId.toUpperCase()) setConfirmation(null);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
764
      if (selectedDate) await chooseDate(selectedDate);
Open commit View diff
764 if (selectedDate) await chooseDate(selectedDate);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
765
    } catch (err) {
Open commit View diff
765 } catch (err) {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
766
      setManageState({ kind: 'error', message: err instanceof Error ? err.message : 'Could not cancel this booking.' });
Open commit View diff
766 setManageState({ kind: 'error', message: err instanceof Error ? err.message : 'Could not cancel this booking.' });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
767
    }
Open commit View diff
767 }
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
768
  }
Open commit View diff
768 }
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
769
Open commit View diff
769
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
770
  async function rescheduleManagedBooking() {
Open commit View diff
770 async function rescheduleManagedBooking() {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
771
    if (!managedBooking || !manageStart) return;
Open commit View diff
771 if (!managedBooking || !manageStart) return;
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
772
    setManageState({ kind: 'loading', message: 'Rescheduling booking…' });
Open commit View diff
772 setManageState({ kind: 'loading', message: 'Rescheduling booking…' });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
773
    try {
Open commit View diff
773 try {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
774
      const result = await api<{ ok: boolean; booking: ManagedBooking }>('/api/bookings/reschedule', {
Open commit View diff
774 const result = await api<{ ok: boolean; booking: ManagedBooking }>('/api/bookings/reschedule', {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
775
        method: 'POST',
Open commit View diff
775 method: 'POST',
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
776
        body: JSON.stringify({ bookingId: managedBooking.bookingId, start: manageStart }),
Open commit View diff
776 body: JSON.stringify({ bookingId: managedBooking.bookingId, start: manageStart }),
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
777
      });
Open commit View diff
777 });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
778
      setManagedBooking(result.booking);
Open commit View diff
778 setManagedBooking(result.booking);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
779
      setManageDate(dateKeyForInstant(result.booking.start, result.booking.timezone));
Open commit View diff
779 setManageDate(dateKeyForInstant(result.booking.start, result.booking.timezone));
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
780
      setManageStart('');
Open commit View diff
780 setManageStart('');
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
781
      setManageSlots([]);
Open commit View diff
781 setManageSlots([]);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
782
      setManageAction('none');
Open commit View diff
782 setManageAction('none');
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
783
      setManageState({ kind: 'success', message: 'Booking rescheduled. Google Calendar sent an updated invitation.' });
Open commit View diff
783 setManageState({ kind: 'success', message: 'Booking rescheduled. Google Calendar sent an updated invitation.' });
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
784
      if (selectedDate) await chooseDate(selectedDate);
Open commit View diff
784 if (selectedDate) await chooseDate(selectedDate);
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
785
    } catch (err) {
Open commit View diff
785 } catch (err) {
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
786
      setManageState({ kind: 'error', message: err instanceof Error ? err.message : 'Could not reschedule this booking.' });
Open commit View diff
786 setManageState({ kind: 'error', message: err instanceof Error ? err.message : 'Could not reschedule this booking.' });
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
787
    }
Open commit View diff
787 }
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
788
  }
Open commit View diff
788 }
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
789
Open commit View diff
789
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
790
  if (!config) {
Open commit View diff
790 if (!config) {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
791
    return <div className="center-screen"><Loader2 className="spin" /> Loading calendar…</div>;
Open commit View diff
791 return <div className="center-screen"><Loader2 className="spin" /> Loading calendar…</div>;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
792
  }
Open commit View diff
792 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
793
Open commit View diff
793
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
794
  const activeConfig = config;
Open commit View diff
794 const activeConfig = config;
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
795
  const bookingStep = confirmation
Open commit View diff
795 const bookingStep = confirmation
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
796
    ? 'confirmed'
Open commit View diff
796 ? 'confirmed'
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
797
    : !selectedSlot
Open commit View diff
797 : !selectedSlot
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
798
      ? 'time'
Open commit View diff
798 ? 'time'
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
799
      : !duration
Open commit View diff
799 : !duration
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
800
        ? 'duration'
Open commit View diff
800 ? 'duration'
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
801
        : 'details';
Open commit View diff
801 : 'details';
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
802
Open commit View diff
802
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
803
  function changeTime() {
Open commit View diff
803 function changeTime() {
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
804
    setSelectedSlot(null);
Open commit View diff
804 setSelectedSlot(null);
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
805
    setDuration(null);
Open commit View diff
805 setDuration(null);
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
806
    setConfirmation(null);
Open commit View diff
806 setConfirmation(null);
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
807
  }
Open commit View diff
807 }
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
808
Open commit View diff
808
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
809
  function changeDuration() {
Open commit View diff
809 function changeDuration() {
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
810
    setDuration(null);
Open commit View diff
810 setDuration(null);
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
811
    setConfirmation(null);
Open commit View diff
811 setConfirmation(null);
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
812
  }
Open commit View diff
812 }
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
813
Open commit View diff
813
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
814
  function bookAnotherTime() {
Open commit View diff
814 function bookAnotherTime() {
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
815
    setSelectedSlot(null);
Open commit View diff
815 setSelectedSlot(null);
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
816
    setDuration(null);
Open commit View diff
816 setDuration(null);
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
817
    setConfirmation(null);
Open commit View diff
817 setConfirmation(null);
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
818
    setFieldErrors({});
Open commit View diff
818 setFieldErrors({});
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
819
    setError('');
Open commit View diff
819 setError('');
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
820
  }
Open commit View diff
820 }
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
821
Open commit View diff
821
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
822
  function renderTimesView() {
Open commit View diff
822 function renderTimesView() {
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
823
    const groups: Array<{ label: string; items: Slot[] }> = [
Open commit View diff
823 const groups: Array<{ label: string; items: Slot[] }> = [
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
824
      { label: 'Morning', items: [] },
Open commit View diff
824 { label: 'Morning', items: [] },
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
825
      { label: 'Afternoon', items: [] },
Open commit View diff
825 { label: 'Afternoon', items: [] },
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
826
      { label: 'Evening', items: [] },
Open commit View diff
826 { label: 'Evening', items: [] },
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
827
    ];
Open commit View diff
827 ];
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
828
    for (const slot of slots) {
Open commit View diff
828 for (const slot of slots) {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
829
      const hour = Number(slot.time.slice(0, 2));
Open commit View diff
829 const hour = Number(slot.time.slice(0, 2));
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
830
      const bucket = hour < 12 ? 0 : hour < 17 ? 1 : 2;
Open commit View diff
830 const bucket = hour < 12 ? 0 : hour < 17 ? 1 : 2;
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
831
      groups[bucket].items.push(slot);
Open commit View diff
831 groups[bucket].items.push(slot);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
832
    }
Open commit View diff
832 }
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
833
    const nonEmpty = groups.filter((group) => group.items.length);
Open commit View diff
833 const nonEmpty = groups.filter((group) => group.items.length);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
834
    const showLabels = slots.length > 6 && nonEmpty.length > 1;
Open commit View diff
834 const showLabels = slots.length > 6 && nonEmpty.length > 1;
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
835
Open commit View diff
835
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
836
    return (
Open commit View diff
836 return (
Alex Nord 3 days ago 3cb3ef6

Reset booking panel between steps

Full commit hash
3cb3ef6332acb2ff7943464a9c594067ec01f5c0
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
837
      <div className="panel-view" key="times">
Open commit View diff
837 <div className="panel-view" key="times">
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
838
        <div className="selection-heading">
Open commit View diff
838 <div className="selection-heading">
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
839
          <p className="step-label">02 · PICK A TIME</p>
Open commit View diff
839 <p className="step-label">02 · PICK A TIME</p>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
840
          <h2>{prettyDate(selectedDate, activeConfig.timezone)}</h2>
Open commit View diff
840 <h2>{prettyDate(selectedDate, activeConfig.timezone)}</h2>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
841
        </div>
Open commit View diff
841 </div>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
842
Open commit View diff
842
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
843
        {loadingSlots ? (
Open commit View diff
843 {loadingSlots ? (
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
844
          <>
Open commit View diff
844 <>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
845
            <div className="loading-row"><Loader2 className="spin" /> Checking availability…</div>
Open commit View diff
845 <div className="loading-row"><Loader2 className="spin" /> Checking availability…</div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
846
            <div className="slot-skeleton" aria-hidden="true">
Open commit View diff
846 <div className="slot-skeleton" aria-hidden="true">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
847
              {Array.from({ length: 9 }, (_, i) => <span key={i} />)}
Open commit View diff
847 {Array.from({ length: 9 }, (_, i) => <span key={i} />)}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
848
            </div>
Open commit View diff
848 </div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
849
          </>
Open commit View diff
849 </>
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
850
        ) : availabilityNotice ? (
Open commit View diff
850 ) : availabilityNotice ? (
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
851
          <div className="no-slots" role="status">{availabilityNotice}</div>
Open commit View diff
851 <div className="no-slots" role="status">{availabilityNotice}</div>
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
852
        ) : slots.length === 0 ? (
Open commit View diff
852 ) : slots.length === 0 ? (
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
853
          <div className="no-slots" role="status">Nothing open on this day. Try another date.</div>
Open commit View diff
853 <div className="no-slots" role="status">Nothing open on this day. Try another date.</div>
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
854
        ) : (
Open commit View diff
854 ) : (
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
855
          <div className="time-scroll">
Open commit View diff
855 <div className="time-scroll">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
856
            {nonEmpty.map((group) => (
Open commit View diff
856 {nonEmpty.map((group) => (
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
857
              <div className="time-group" key={group.label}>
Open commit View diff
857 <div className="time-group" key={group.label}>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
858
                {showLabels && <span className="time-group-label">{group.label}</span>}
Open commit View diff
858 {showLabels && <span className="time-group-label">{group.label}</span>}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
859
                <div className="time-grid">
Open commit View diff
859 <div className="time-grid">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
860
                  {group.items.map((slot) => (
Open commit View diff
860 {group.items.map((slot) => (
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
861
                    <button
Open commit View diff
861 <button
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
862
                      key={slot.start}
Open commit View diff
862 key={slot.start}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
863
                      type="button"
Open commit View diff
863 type="button"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
864
                      className={`time-button ${selectedSlot?.start === slot.start ? 'active' : ''}`}
Open commit View diff
864 className={`time-button ${selectedSlot?.start === slot.start ? 'active' : ''}`}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
865
                      aria-pressed={selectedSlot?.start === slot.start}
Open commit View diff
865 aria-pressed={selectedSlot?.start === slot.start}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
866
                      onClick={() => {
Open commit View diff
866 onClick={() => {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
867
                        setSelectedSlot(slot);
Open commit View diff
867 setSelectedSlot(slot);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
868
                        setDuration(null);
Open commit View diff
868 setDuration(null);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
869
                        setConfirmation(null);
Open commit View diff
869 setConfirmation(null);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
870
                      }}
Open commit View diff
870 }}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
871
                    >
Open commit View diff
871 >
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
872
                      {slot.time}
Open commit View diff
872 {slot.time}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
873
                    </button>
Open commit View diff
873 </button>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
874
                  ))}
Open commit View diff
874 ))}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
875
                </div>
Open commit View diff
875 </div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
876
              </div>
Open commit View diff
876 </div>
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
877
            ))}
Open commit View diff
877 ))}
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
878
          </div>
Open commit View diff
878 </div>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
879
        )}
Open commit View diff
879 )}
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
880
      </div>
Open commit View diff
880 </div>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
881
    );
Open commit View diff
881 );
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
882
  }
Open commit View diff
882 }
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
883
Open commit View diff
883
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
884
  function renderDurationView() {
Open commit View diff
884 function renderDurationView() {
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
885
    if (!selectedSlot) return null;
Open commit View diff
885 if (!selectedSlot) return null;
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
886
    const available = new Set(selectedSlot.durations);
Open commit View diff
886 const available = new Set(selectedSlot.durations);
Alex Nord 1 day ago f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
887
    const disabledDurations = activeConfig.durations.filter((minutes) => !available.has(minutes));
Open commit View diff
887 const disabledDurations = activeConfig.durations.filter((minutes) => !available.has(minutes));
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
888
    const hasDisabled = disabledDurations.length > 0;
Open commit View diff
888 const hasDisabled = disabledDurations.length > 0;
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
889
    const disabledReasons = new Set(disabledDurations.map((minutes) => selectedSlot.blockedDurations?.[String(minutes)] ?? 'unavailable'));
Open commit View diff
889 const disabledReasons = new Set(disabledDurations.map((minutes) => selectedSlot.blockedDurations?.[String(minutes)] ?? 'unavailable'));
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
890
    const disabledHint = disabledReasons.size === 1 && disabledReasons.has('outside_hours')
Open commit View diff
890 const disabledHint = disabledReasons.size === 1 && disabledReasons.has('outside_hours')
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
891
      ? "Greyed-out lengths extend past today's booking hours."
Open commit View diff
891 ? "Greyed-out lengths extend past today's booking hours."
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
892
      : disabledReasons.size === 1 && disabledReasons.has('unavailable')
Open commit View diff
892 : disabledReasons.size === 1 && disabledReasons.has('unavailable')
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
893
        ? 'Greyed-out lengths run into unavailable calendar time, an availability block, or a configured buffer.'
Open commit View diff
893 ? 'Greyed-out lengths run into unavailable calendar time, an availability block, or a configured buffer.'
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
894
        : "Greyed-out lengths either extend past today's booking hours or run into unavailable time.";
Open commit View diff
894 : "Greyed-out lengths either extend past today's booking hours or run into unavailable time.";
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
895
    return (
Open commit View diff
895 return (
Alex Nord 3 days ago 3cb3ef6

Reset booking panel between steps

Full commit hash
3cb3ef6332acb2ff7943464a9c594067ec01f5c0
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
896
      <div className="panel-view" key="duration">
Open commit View diff
896 <div className="panel-view" key="duration">
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
897
        <button className="panel-back" type="button" onClick={changeTime}>
Open commit View diff
897 <button className="panel-back" type="button" onClick={changeTime}>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
898
          <ArrowLeft size={16} /> Change time
Open commit View diff
898 <ArrowLeft size={16} /> Change time
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
899
        </button>
Open commit View diff
899 </button>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
900
        <div className="selected-summary">
Open commit View diff
900 <div className="selected-summary">
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
901
          <span>{prettyDate(selectedDate, activeConfig.timezone)}</span>
Open commit View diff
901 <span>{prettyDate(selectedDate, activeConfig.timezone)}</span>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
902
          <strong>{selectedSlot.time}</strong>
Open commit View diff
902 <strong>{selectedSlot.time}</strong>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
903
        </div>
Open commit View diff
903 </div>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
904
        <div className="duration-picker-view">
Open commit View diff
904 <div className="duration-picker-view">
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
905
          <p className="step-label">03 · HOW LONG?</p>
Open commit View diff
905 <p className="step-label">03 · HOW LONG?</p>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
906
          <div className="duration-grid">
Open commit View diff
906 <div className="duration-grid">
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
907
            {activeConfig.durations.map((minutes) => {
Open commit View diff
907 {activeConfig.durations.map((minutes) => {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
908
              const enabled = available.has(minutes);
Open commit View diff
908 const enabled = available.has(minutes);
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
909
              return (
Open commit View diff
909 return (
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
910
                <button
Open commit View diff
910 <button
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
911
                  key={minutes}
Open commit View diff
911 key={minutes}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
912
                  type="button"
Open commit View diff
912 type="button"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
913
                  className={`duration-button ${duration === minutes ? 'active' : ''}`}
Open commit View diff
913 className={`duration-button ${duration === minutes ? 'active' : ''}`}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
914
                  disabled={!enabled}
Open commit View diff
914 disabled={!enabled}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
915
                  aria-pressed={duration === minutes}
Open commit View diff
915 aria-pressed={duration === minutes}
Alex Nord 1 day ago f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
916
                  title={enabled ? undefined : (selectedSlot.blockedDurations?.[String(minutes)] === 'outside_hours' ? "Extends past today's booking hours" : 'Runs into unavailable calendar time or a configured block')}
Open commit View diff
916 title={enabled ? undefined : (selectedSlot.blockedDurations?.[String(minutes)] === 'outside_hours' ? "Extends past today's booking hours" : 'Runs into unavailable calendar time or a configured block')}
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
917
                  onClick={() => setDuration(minutes)}
Open commit View diff
917 onClick={() => setDuration(minutes)}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
918
                >
Open commit View diff
918 >
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
919
                  <strong>{minutes}</strong>
Open commit View diff
919 <strong>{minutes}</strong>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
920
                  <span>min</span>
Open commit View diff
920 <span>min</span>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
921
                </button>
Open commit View diff
921 </button>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
922
              );
Open commit View diff
922 );
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
923
            })}
Open commit View diff
923 })}
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
924
          </div>
Open commit View diff
924 </div>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
925
          {hasDisabled && (
Open commit View diff
925 {hasDisabled && (
Alex Nord 1 day ago f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
926
            <p className="duration-hint">{disabledHint}</p>
Open commit View diff
926 <p className="duration-hint">{disabledHint}</p>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
927
          )}
Open commit View diff
927 )}
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
928
        </div>
Open commit View diff
928 </div>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
929
      </div>
Open commit View diff
929 </div>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
930
    );
Open commit View diff
930 );
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
931
  }
Open commit View diff
931 }
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
932
Open commit View diff
932
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
933
  function renderDetailsView() {
Open commit View diff
933 function renderDetailsView() {
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
934
    if (!selectedSlot || !duration) return null;
Open commit View diff
934 if (!selectedSlot || !duration) return null;
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
935
    const paymentRequiredForSelection = Boolean(activeConfig.payment && !activeConfig.payment.freeDurations.includes(duration));
Open commit View diff
935 const paymentRequiredForSelection = Boolean(activeConfig.payment && !activeConfig.payment.freeDurations.includes(duration));
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
936
    return (
Open commit View diff
936 return (
Alex Nord 3 days ago 3cb3ef6

Reset booking panel between steps

Full commit hash
3cb3ef6332acb2ff7943464a9c594067ec01f5c0
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
937
      <div className="panel-view panel-view-scroll" key="details">
Open commit View diff
937 <div className="panel-view panel-view-scroll" key="details">
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
938
        <button className="panel-back" type="button" onClick={changeDuration}>
Open commit View diff
938 <button className="panel-back" type="button" onClick={changeDuration}>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
939
          <ArrowLeft size={16} /> Change duration
Open commit View diff
939 <ArrowLeft size={16} /> Change duration
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
940
        </button>
Open commit View diff
940 </button>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
941
        <div className="selected-summary">
Open commit View diff
941 <div className="selected-summary">
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
942
          <span>{prettyDate(selectedDate, activeConfig.timezone)}</span>
Open commit View diff
942 <span>{prettyDate(selectedDate, activeConfig.timezone)}</span>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
943
          <strong>{selectedSlot.time} · {duration} min</strong>
Open commit View diff
943 <strong>{selectedSlot.time} · {duration} min</strong>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
944
        </div>
Open commit View diff
944 </div>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
945
        <form className="details-form compact-details" onSubmit={submitBooking} noValidate>
Open commit View diff
945 <form className="details-form compact-details" onSubmit={submitBooking} noValidate>
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
946
          <p className="step-label">04 · YOUR DETAILS</p>
Open commit View diff
946 <p className="step-label">04 · YOUR DETAILS</p>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
947
          <div className="form-row">
Open commit View diff
947 <div className="form-row">
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
948
            <label>Name
Open commit View diff
948 <label>Name
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
949
              <input
Open commit View diff
949 <input
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
950
                name="name"
Open commit View diff
950 name="name"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
951
                required
Open commit View diff
951 required
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
952
                autoComplete="name"
Open commit View diff
952 autoComplete="name"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
953
                placeholder="Your name"
Open commit View diff
953 placeholder="Your name"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
954
                aria-invalid={fieldErrors.name ? 'true' : undefined}
Open commit View diff
954 aria-invalid={fieldErrors.name ? 'true' : undefined}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
955
                aria-describedby={fieldErrors.name ? 'name-error' : undefined}
Open commit View diff
955 aria-describedby={fieldErrors.name ? 'name-error' : undefined}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
956
                onInput={() => fieldErrors.name && setFieldErrors((e) => ({ ...e, name: undefined }))}
Open commit View diff
956 onInput={() => fieldErrors.name && setFieldErrors((e) => ({ ...e, name: undefined }))}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
957
              />
Open commit View diff
957 />
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
958
              {fieldErrors.name && <span className="field-error" id="name-error">{fieldErrors.name}</span>}
Open commit View diff
958 {fieldErrors.name && <span className="field-error" id="name-error">{fieldErrors.name}</span>}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
959
            </label>
Open commit View diff
959 </label>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
960
            <label>Email
Open commit View diff
960 <label>Email
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
961
              <input
Open commit View diff
961 <input
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
962
                name="email"
Open commit View diff
962 name="email"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
963
                type="email"
Open commit View diff
963 type="email"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
964
                required
Open commit View diff
964 required
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
965
                autoComplete="email"
Open commit View diff
965 autoComplete="email"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
966
                placeholder="[email protected]"
Open commit View diff
966 placeholder="[email protected]"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
967
                aria-invalid={fieldErrors.email ? 'true' : undefined}
Open commit View diff
967 aria-invalid={fieldErrors.email ? 'true' : undefined}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
968
                aria-describedby={fieldErrors.email ? 'email-error' : undefined}
Open commit View diff
968 aria-describedby={fieldErrors.email ? 'email-error' : undefined}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
969
                onInput={() => fieldErrors.email && setFieldErrors((e) => ({ ...e, email: undefined }))}
Open commit View diff
969 onInput={() => fieldErrors.email && setFieldErrors((e) => ({ ...e, email: undefined }))}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
970
              />
Open commit View diff
970 />
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
971
              {fieldErrors.email && <span className="field-error" id="email-error">{fieldErrors.email}</span>}
Open commit View diff
971 {fieldErrors.email && <span className="field-error" id="email-error">{fieldErrors.email}</span>}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
972
            </label>
Open commit View diff
972 </label>
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
973
          </div>
Open commit View diff
973 </div>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
974
Open commit View diff
974
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
975
          {activeConfig.allowMeetingModes.length > 1 && (
Open commit View diff
975 {activeConfig.allowMeetingModes.length > 1 && (
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
976
            <div className="mode-picker">
Open commit View diff
976 <div className="mode-picker">
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
977
              <span className="field-label">Meeting</span>
Open commit View diff
977 <span className="field-label">Meeting</span>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
978
              <div className="mode-options" role="radiogroup" aria-label="Meeting method">
Open commit View diff
978 <div className="mode-options" role="radiogroup" aria-label="Meeting method">
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
979
                {activeConfig.allowMeetingModes.map((mode) => {
Open commit View diff
979 {activeConfig.allowMeetingModes.map((mode) => {
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
980
                  const Icon = modeMeta[mode].icon;
Open commit View diff
980 const Icon = modeMeta[mode].icon;
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
981
                  return (
Open commit View diff
981 return (
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
982
                    <button
Open commit View diff
982 <button
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
983
                      key={mode}
Open commit View diff
983 key={mode}
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
984
                      type="button"
Open commit View diff
984 type="button"
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
985
                      role="radio"
Open commit View diff
985 role="radio"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
986
                      aria-checked={meetingMode === mode}
Open commit View diff
986 aria-checked={meetingMode === mode}
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
987
                      className={`mode-option ${meetingMode === mode ? 'active' : ''}`}
Open commit View diff
987 className={`mode-option ${meetingMode === mode ? 'active' : ''}`}
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
988
                      onClick={() => setMeetingMode(mode)}
Open commit View diff
988 onClick={() => setMeetingMode(mode)}
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
989
                    >
Open commit View diff
989 >
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
990
                      <Icon size={18} />
Open commit View diff
990 <Icon size={18} />
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
991
                      <span><strong>{modeMeta[mode].label}</strong><small>{modeMeta[mode].help}</small></span>
Open commit View diff
991 <span><strong>{modeMeta[mode].label}</strong><small>{modeMeta[mode].help}</small></span>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
992
                    </button>
Open commit View diff
992 </button>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
993
                  );
Open commit View diff
993 );
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
994
                })}
Open commit View diff
994 })}
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
995
              </div>
Open commit View diff
995 </div>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
996
            </div>
Open commit View diff
996 </div>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
997
          )}
Open commit View diff
997 )}
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
998
Open commit View diff
998
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
999
          {meetingMode === 'phone' && (
Open commit View diff
999 {meetingMode === 'phone' && (
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1000
            <label>Phone number<input name="phone" required autoComplete="tel" placeholder="+46 ..." /></label>
Open commit View diff
1000 <label>Phone number<input name="phone" required autoComplete="tel" placeholder="+46 ..." /></label>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1001
          )}
Open commit View diff
1001 )}
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1002
          <label>Anything I should know? <span className="optional">Optional</span>
Open commit View diff
1002 <label>Anything I should know? <span className="optional">Optional</span>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1003
            <textarea name="message" rows={3} placeholder="Context, topic, links..." />
Open commit View diff
1003 <textarea name="message" rows={3} placeholder="Context, topic, links..." />
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1004
          </label>
Open commit View diff
1004 </label>
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1005
          {activeConfig.payment && paymentRequiredForSelection && (
Open commit View diff
1005 {activeConfig.payment && paymentRequiredForSelection && (
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1006
            <div className={`payment-note ${activeConfig.payment.ready ? '' : 'payment-unavailable'}`}>
Open commit View diff
1006 <div className={`payment-note ${activeConfig.payment.ready ? '' : 'payment-unavailable'}`}>
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1007
              <CreditCard size={17} />
Open commit View diff
1007 <CreditCard size={17} />
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1008
              <div>
Open commit View diff
1008 <div>
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1009
                <strong>{activeConfig.payment.ready ? 'Payment required to confirm' : 'Payments are temporarily unavailable'}</strong>
Open commit View diff
1009 <strong>{activeConfig.payment.ready ? 'Payment required to confirm' : 'Payments are temporarily unavailable'}</strong>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1010
                <span>
Open commit View diff
1010 <span>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1011
                  {activeConfig.payment.ready
Open commit View diff
1011 {activeConfig.payment.ready
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1012
                    ? <>{formatMoneyMajor(activeConfig.payment.ratePerMinute, activeConfig.payment.currency)} per minute · {duration} min = <strong>{formatMoneyMajor(activeConfig.payment.ratePerMinute * duration, activeConfig.payment.currency)}</strong>. Your calendar invitation is sent only after Stripe confirms payment.</>
Open commit View diff
1012 ? <>{formatMoneyMajor(activeConfig.payment.ratePerMinute, activeConfig.payment.currency)} per minute · {duration} min = <strong>{formatMoneyMajor(activeConfig.payment.ratePerMinute * duration, activeConfig.payment.currency)}</strong>. Your calendar invitation is sent only after Stripe confirms payment.</>
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1013
                    : <>This session requires payment, but its Stripe connection is not ready. Please contact the owner.</>}
Open commit View diff
1013 : <>This session requires payment, but its Stripe connection is not ready. Please contact the owner.</>}
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1014
                </span>
Open commit View diff
1014 </span>
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1015
              </div>
Open commit View diff
1015 </div>
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1016
            </div>
Open commit View diff
1016 </div>
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1017
          )}
Open commit View diff
1017 )}
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1018
          {activeConfig.payment && !paymentRequiredForSelection && (
Open commit View diff
1018 {activeConfig.payment && !paymentRequiredForSelection && (
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1019
            <div className="payment-note free-session-note">
Open commit View diff
1019 <div className="payment-note free-session-note">
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1020
              <Check size={17} />
Open commit View diff
1020 <Check size={17} />
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1021
              <div><strong>No payment required</strong><span>{duration}-minute sessions are configured as free.</span></div>
Open commit View diff
1021 <div><strong>No payment required</strong><span>{duration}-minute sessions are configured as free.</span></div>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1022
            </div>
Open commit View diff
1022 </div>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1023
          )}
Open commit View diff
1023 )}
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1024
          <label className="honeypot" aria-hidden="true">Website<input name="website" tabIndex={-1} autoComplete="off" /></label>
Open commit View diff
1024 <label className="honeypot" aria-hidden="true">Website<input name="website" tabIndex={-1} autoComplete="off" /></label>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1025
Open commit View diff
1025
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1026
          {error && <div className="error-banner" role="alert">{error}</div>}
Open commit View diff
1026 {error && <div className="error-banner" role="alert">{error}</div>}
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1027
          <button className="primary-button" type="submit" disabled={booking || Boolean(paymentRequiredForSelection && activeConfig.payment && !activeConfig.payment.ready)}>
Open commit View diff
1027 <button className="primary-button" type="submit" disabled={booking || Boolean(paymentRequiredForSelection && activeConfig.payment && !activeConfig.payment.ready)}>
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1028
            {booking
Open commit View diff
1028 {booking
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1029
              ? <><Loader2 className="spin" size={18} /> {paymentRequiredForSelection ? 'Opening payment…' : 'Booking…'}</>
Open commit View diff
1029 ? <><Loader2 className="spin" size={18} /> {paymentRequiredForSelection ? 'Opening payment…' : 'Booking…'}</>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1030
              : <>{paymentRequiredForSelection ? (activeConfig.payment?.ready ? 'Continue to secure payment' : 'Payment unavailable') : 'Book this slot'} <ArrowRight size={18} /></>}
Open commit View diff
1030 : <>{paymentRequiredForSelection ? (activeConfig.payment?.ready ? 'Continue to secure payment' : 'Payment unavailable') : 'Book this slot'} <ArrowRight size={18} /></>}
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1031
          </button>
Open commit View diff
1031 </button>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1032
        </form>
Open commit View diff
1032 </form>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1033
      </div>
Open commit View diff
1033 </div>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1034
    );
Open commit View diff
1034 );
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1035
  }
Open commit View diff
1035 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1036
Open commit View diff
1036
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1037
  function renderConfirmationView() {
Open commit View diff
1037 function renderConfirmationView() {
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1038
    if (!confirmation) return null;
Open commit View diff
1038 if (!confirmation) return null;
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1039
    return <ConfirmationView title={activeConfig.title} confirmation={confirmation} onBookAnother={bookAnotherTime} />;
Open commit View diff
1039 return <ConfirmationView title={activeConfig.title} confirmation={confirmation} onBookAnother={bookAnotherTime} />;
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1040
  }
Open commit View diff
1040 }
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1041
Open commit View diff
1041
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1042
  function renderRightPanel() {
Open commit View diff
1042 function renderRightPanel() {
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1043
    if (confirmation) return renderConfirmationView();
Open commit View diff
1043 if (confirmation) return renderConfirmationView();
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1044
    if (paymentReturnState) {
Open commit View diff
1044 if (paymentReturnState) {
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1045
      return (
Open commit View diff
1045 return (
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1046
        <div className="panel-view payment-return-panel" key="payment-return">
Open commit View diff
1046 <div className="panel-view payment-return-panel" key="payment-return">
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1047
          {paymentReturnState.kind === 'checking' ? <Loader2 className="spin" size={28} /> : paymentReturnState.kind === 'cancelled' ? <CreditCard size={28} /> : <Inbox size={28} />}
Open commit View diff
1047 {paymentReturnState.kind === 'checking' ? <Loader2 className="spin" size={28} /> : paymentReturnState.kind === 'cancelled' ? <CreditCard size={28} /> : <Inbox size={28} />}
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1048
          <p className="eyebrow">PAYMENT</p>
Open commit View diff
1048 <p className="eyebrow">PAYMENT</p>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1049
          <h2>{paymentReturnState.kind === 'checking' ? 'Almost done.' : paymentReturnState.kind === 'cancelled' ? 'Payment cancelled.' : 'Booking not confirmed.'}</h2>
Open commit View diff
1049 <h2>{paymentReturnState.kind === 'checking' ? 'Almost done.' : paymentReturnState.kind === 'cancelled' ? 'Payment cancelled.' : 'Booking not confirmed.'}</h2>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1050
          <p className="muted">{paymentReturnState.message}</p>
Open commit View diff
1050 <p className="muted">{paymentReturnState.message}</p>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1051
          {paymentReturnState.kind !== 'checking' && <button className="text-button" type="button" onClick={() => setPaymentReturnState(null)}>Choose another time</button>}
Open commit View diff
1051 {paymentReturnState.kind !== 'checking' && <button className="text-button" type="button" onClick={() => setPaymentReturnState(null)}>Choose another time</button>}
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1052
        </div>
Open commit View diff
1052 </div>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1053
      );
Open commit View diff
1053 );
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1054
    }
Open commit View diff
1054 }
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1055
    if (!activeConfig.connected) {
Open commit View diff
1055 if (!activeConfig.connected) {
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1056
      return (
Open commit View diff
1056 return (
Alex Nord 3 days ago 3cb3ef6

Reset booking panel between steps

Full commit hash
3cb3ef6332acb2ff7943464a9c594067ec01f5c0
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1057
        <div className="empty-state" key="disconnected">
Open commit View diff
1057 <div className="empty-state" key="disconnected">
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1058
          <MonitorUp size={28} />
Open commit View diff
1058 <MonitorUp size={28} />
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1059
          <h3>Calendar is not connected yet</h3>
Open commit View diff
1059 <h3>Calendar is not connected yet</h3>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1060
          <p>The owner needs to connect Google Calendar before times can be booked.</p>
Open commit View diff
1060 <p>The owner needs to connect Google Calendar before times can be booked.</p>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1061
        </div>
Open commit View diff
1061 </div>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1062
      );
Open commit View diff
1062 );
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1063
    }
Open commit View diff
1063 }
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1064
    if (!selectedDate) {
Open commit View diff
1064 if (!selectedDate) {
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1065
      return (
Open commit View diff
1065 return (
Alex Nord 3 days ago 3cb3ef6

Reset booking panel between steps

Full commit hash
3cb3ef6332acb2ff7943464a9c594067ec01f5c0
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1066
        <div className="empty-state subtle-empty" key="empty">
Open commit View diff
1066 <div className="empty-state subtle-empty" key="empty">
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1067
          <ArrowLeft size={28} />
Open commit View diff
1067 <ArrowLeft size={28} />
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1068
          <h3>Start with the calendar</h3>
Open commit View diff
1068 <h3>Start with the calendar</h3>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1069
          <p>Pick a date and available times will appear here.</p>
Open commit View diff
1069 <p>Pick a date and available times will appear here.</p>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1070
        </div>
Open commit View diff
1070 </div>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1071
      );
Open commit View diff
1071 );
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1072
    }
Open commit View diff
1072 }
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1073
    if (bookingStep === 'duration') return renderDurationView();
Open commit View diff
1073 if (bookingStep === 'duration') return renderDurationView();
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1074
    if (bookingStep === 'details') return renderDetailsView();
Open commit View diff
1074 if (bookingStep === 'details') return renderDetailsView();
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1075
    return renderTimesView();
Open commit View diff
1075 return renderTimesView();
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1076
  }
Open commit View diff
1076 }
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1077
Open commit View diff
1077
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1078
  return (
Open commit View diff
1078 return (
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1079
    <main className="booking-page">
Open commit View diff
1079 <main className="booking-page">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1080
      <header className="topbar">
Open commit View diff
1080 <header className="topbar">
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1081
        <span className="timezone-pill"><Clock3 size={14} /> {activeConfig.timezone}</span>
Open commit View diff
1081 <span className="timezone-pill"><Clock3 size={14} /> {activeConfig.timezone}</span>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1082
      </header>
Open commit View diff
1082 </header>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1083
Open commit View diff
1083
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1084
      <section className="booking-shell">
Open commit View diff
1084 <section className="booking-shell">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1085
        <aside className="intro-panel">
Open commit View diff
1085 <aside className="intro-panel">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1086
          <div>
Open commit View diff
1086 <div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1087
            <p className="eyebrow">SCHEDULE A MEETING</p>
Open commit View diff
1087 <p className="eyebrow">SCHEDULE A MEETING</p>
Alex Nord 3 days ago b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1088
            <h1>{activeConfig.title}</h1>
Open commit View diff
1088 <h1>{activeConfig.title}</h1>
same change b8c34b1

Make booking frame stateful

Full commit hash
b8c34b1bc62ca5ef11717992ce1486a0a62e4792
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1089
            <p className="intro-copy">{activeConfig.subtitle}</p>
Open commit View diff
1089 <p className="intro-copy">{activeConfig.subtitle}</p>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1090
          </div>
Open commit View diff
1090 </div>
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1091
          <div className="intro-bottom">
Open commit View diff
1091 <div className="intro-bottom">
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1092
            <div className="intro-note">
Open commit View diff
1092 <div className="intro-note">
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1093
              <CalendarDays size={18} />
Open commit View diff
1093 <CalendarDays size={18} />
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1094
              <div>
Open commit View diff
1094 <div>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1095
                <strong>Your calendar, not a form maze.</strong>
Open commit View diff
1095 <strong>Your calendar, not a form maze.</strong>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1096
                <span>Choose the day first. Everything else follows.</span>
Open commit View diff
1096 <span>Choose the day first. Everything else follows.</span>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1097
              </div>
Open commit View diff
1097 </div>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1098
            </div>
Open commit View diff
1098 </div>
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1099
            <div className={`public-manage ${manageOpen ? 'open' : ''}`}>
Open commit View diff
1099 <div className={`public-manage ${manageOpen ? 'open' : ''}`}>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1100
              {!manageOpen ? (
Open commit View diff
1100 {!manageOpen ? (
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1101
                <button
Open commit View diff
1101 <button
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1102
                  className="public-manage-link"
Open commit View diff
1102 className="public-manage-link"
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1103
                  type="button"
Open commit View diff
1103 type="button"
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1104
                  onClick={() => {
Open commit View diff
1104 onClick={() => {
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1105
                    setManageOpen(true);
Open commit View diff
1105 setManageOpen(true);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1106
                    setManageState({ kind: 'idle', message: '' });
Open commit View diff
1106 setManageState({ kind: 'idle', message: '' });
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1107
                  }}
Open commit View diff
1107 }}
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1108
                >Manage a booking</button>
Open commit View diff
1108 >Manage a booking</button>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1109
              ) : !managedBooking ? (
Open commit View diff
1109 ) : !managedBooking ? (
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1110
                <form className="public-manage-form" onSubmit={submitManageLookup}>
Open commit View diff
1110 <form className="public-manage-form" onSubmit={submitManageLookup}>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1111
                  <div className="public-manage-heading">
Open commit View diff
1111 <div className="public-manage-heading">
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1112
                    <strong>Manage booking</strong>
Open commit View diff
1112 <strong>Manage booking</strong>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1113
                    <button className="text-button" type="button" onClick={() => setManageOpen(false)}>Close</button>
Open commit View diff
1113 <button className="text-button" type="button" onClick={() => setManageOpen(false)}>Close</button>
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1114
                  </div>
Open commit View diff
1114 </div>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1115
                  <label>
Open commit View diff
1115 <label>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1116
                    Booking ID
Open commit View diff
1116 Booking ID
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1117
                    <input
Open commit View diff
1117 <input
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1118
                      value={manageBookingId}
Open commit View diff
1118 value={manageBookingId}
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1119
                      onChange={(event) => {
Open commit View diff
1119 onChange={(event) => {
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1120
                        setManageBookingId(event.target.value.toUpperCase());
Open commit View diff
1120 setManageBookingId(event.target.value.toUpperCase());
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1121
                        if (manageState.kind !== 'loading') setManageState({ kind: 'idle', message: '' });
Open commit View diff
1121 if (manageState.kind !== 'loading') setManageState({ kind: 'idle', message: '' });
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1122
                      }}
Open commit View diff
1122 }}
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1123
                      autoComplete="off"
Open commit View diff
1123 autoComplete="off"
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1124
                      spellCheck={false}
Open commit View diff
1124 spellCheck={false}
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1125
                      placeholder="SLT-7K4Q-9M2P-W8RX-3FJN"
Open commit View diff
1125 placeholder="SLT-7K4Q-9M2P-W8RX-3FJN"
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1126
                      aria-label="Booking ID"
Open commit View diff
1126 aria-label="Booking ID"
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1127
                    />
Open commit View diff
1127 />
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1128
                  </label>
Open commit View diff
1128 </label>
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1129
                  <button className="secondary-button public-manage-submit" type="submit" disabled={manageState.kind === 'loading'}>
Open commit View diff
1129 <button className="secondary-button public-manage-submit" type="submit" disabled={manageState.kind === 'loading'}>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1130
                    {manageState.kind === 'loading' ? <><Loader2 className="spin" size={15} /> Loading…</> : 'Manage booking'}
Open commit View diff
1130 {manageState.kind === 'loading' ? <><Loader2 className="spin" size={15} /> Loading…</> : 'Manage booking'}
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1131
                  </button>
Open commit View diff
1131 </button>
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1132
                  <small>Your booking ID is shown on the confirmation screen and in the calendar invitation.</small>
Open commit View diff
1132 <small>Your booking ID is shown on the confirmation screen and in the calendar invitation.</small>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1133
                  {manageState.kind === 'error' && <p className="public-manage-message error" role="alert">{manageState.message}</p>}
Open commit View diff
1133 {manageState.kind === 'error' && <p className="public-manage-message error" role="alert">{manageState.message}</p>}
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1134
                </form>
Open commit View diff
1134 </form>
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1135
              ) : (
Open commit View diff
1135 ) : (
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1136
                <div className="public-manage-form">
Open commit View diff
1136 <div className="public-manage-form">
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1137
                  <div className="public-manage-heading">
Open commit View diff
1137 <div className="public-manage-heading">
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1138
                    <strong>Manage booking</strong>
Open commit View diff
1138 <strong>Manage booking</strong>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1139
                    <button className="text-button" type="button" onClick={() => {
Open commit View diff
1139 <button className="text-button" type="button" onClick={() => {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1140
                      setManagedBooking(null);
Open commit View diff
1140 setManagedBooking(null);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1141
                      setManageAction('none');
Open commit View diff
1141 setManageAction('none');
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1142
                      setManageState({ kind: 'idle', message: '' });
Open commit View diff
1142 setManageState({ kind: 'idle', message: '' });
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1143
                    }}>Another ID</button>
Open commit View diff
1143 }}>Another ID</button>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1144
                  </div>
Open commit View diff
1144 </div>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1145
                  <div className="public-manage-summary">
Open commit View diff
1145 <div className="public-manage-summary">
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1146
                    <code>{managedBooking.bookingId}</code>
Open commit View diff
1146 <code>{managedBooking.bookingId}</code>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1147
                    <strong>{managedBooking.name}</strong>
Open commit View diff
1147 <strong>{managedBooking.name}</strong>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1148
                    <span>{formatDateShort(managedBooking.start, managedBooking.timezone)} · {formatClock(managedBooking.start, managedBooking.timezone)} · {managedBooking.duration} min</span>
Open commit View diff
1148 <span>{formatDateShort(managedBooking.start, managedBooking.timezone)} · {formatClock(managedBooking.start, managedBooking.timezone)} · {managedBooking.duration} min</span>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1149
                    {managedBooking.status !== 'confirmed' && <span className="public-manage-status">{managedBooking.status === 'cancelled' ? 'Cancelled' : managedBooking.status}</span>}
Open commit View diff
1149 {managedBooking.status !== 'confirmed' && <span className="public-manage-status">{managedBooking.status === 'cancelled' ? 'Cancelled' : managedBooking.status}</span>}
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1150
                  </div>
Open commit View diff
1150 </div>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1151
Open commit View diff
1151
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1152
                  {manageAction === 'none' && managedBooking.status === 'confirmed' && (
Open commit View diff
1152 {manageAction === 'none' && managedBooking.status === 'confirmed' && (
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1153
                    <div className="public-manage-actions">
Open commit View diff
1153 <div className="public-manage-actions">
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1154
                      <button type="button" className="secondary-button" disabled={!managedBooking.canReschedule} onClick={() => {
Open commit View diff
1154 <button type="button" className="secondary-button" disabled={!managedBooking.canReschedule} onClick={() => {
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1155
                        setManageAction('reschedule');
Open commit View diff
1155 setManageAction('reschedule');
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1156
                        const date = dateKeyForInstant(managedBooking.start, managedBooking.timezone);
Open commit View diff
1156 const date = dateKeyForInstant(managedBooking.start, managedBooking.timezone);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1157
                        void loadManageAvailability(date);
Open commit View diff
1157 void loadManageAvailability(date);
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1158
                      }}>Reschedule</button>
Open commit View diff
1158 }}>Reschedule</button>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1159
                      <button type="button" className="danger-button" disabled={!managedBooking.canCancel} onClick={() => setManageAction('cancel')}>Cancel</button>
Open commit View diff
1159 <button type="button" className="danger-button" disabled={!managedBooking.canCancel} onClick={() => setManageAction('cancel')}>Cancel</button>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1160
                    </div>
Open commit View diff
1160 </div>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1161
                  )}
Open commit View diff
1161 )}
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1162
Open commit View diff
1162
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1163
                  {manageAction === 'cancel' && (
Open commit View diff
1163 {manageAction === 'cancel' && (
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1164
                    <div className="public-manage-action-panel">
Open commit View diff
1164 <div className="public-manage-action-panel">
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1165
                      <strong>Cancel this booking?</strong>
Open commit View diff
1165 <strong>Cancel this booking?</strong>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1166
                      <small>{managedBooking.paymentStatus === 'paid' ? 'The Stripe payment will be refunded to the original payment method before the meeting is cancelled.' : 'The calendar invitation will be cancelled and the time will become available again.'}</small>
Open commit View diff
1166 <small>{managedBooking.paymentStatus === 'paid' ? 'The Stripe payment will be refunded to the original payment method before the meeting is cancelled.' : 'The calendar invitation will be cancelled and the time will become available again.'}</small>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1167
                      <div className="public-manage-actions">
Open commit View diff
1167 <div className="public-manage-actions">
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1168
                        <button type="button" className="secondary-button" onClick={() => setManageAction('none')} disabled={manageState.kind === 'loading'}>Keep booking</button>
Open commit View diff
1168 <button type="button" className="secondary-button" onClick={() => setManageAction('none')} disabled={manageState.kind === 'loading'}>Keep booking</button>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1169
                        <button type="button" className="danger-button" onClick={cancelManagedBooking} disabled={manageState.kind === 'loading'}>{manageState.kind === 'loading' ? 'Cancelling…' : managedBooking.paymentStatus === 'paid' ? 'Cancel & refund' : 'Confirm cancellation'}</button>
Open commit View diff
1169 <button type="button" className="danger-button" onClick={cancelManagedBooking} disabled={manageState.kind === 'loading'}>{manageState.kind === 'loading' ? 'Cancelling…' : managedBooking.paymentStatus === 'paid' ? 'Cancel & refund' : 'Confirm cancellation'}</button>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1170
                      </div>
Open commit View diff
1170 </div>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1171
                    </div>
Open commit View diff
1171 </div>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1172
                  )}
Open commit View diff
1172 )}
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1173
Open commit View diff
1173
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1174
                  {manageAction === 'reschedule' && (
Open commit View diff
1174 {manageAction === 'reschedule' && (
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1175
                    <div className="public-manage-action-panel">
Open commit View diff
1175 <div className="public-manage-action-panel">
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1176
                      <label>New date<input type="date" value={manageDate} onChange={(event) => void loadManageAvailability(event.target.value)} /></label>
Open commit View diff
1176 <label>New date<input type="date" value={manageDate} onChange={(event) => void loadManageAvailability(event.target.value)} /></label>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1177
                      {manageSlotsLoading ? <div className="public-manage-loading"><Loader2 className="spin" size={14} /> Checking times…</div> : manageSlots.length ? (
Open commit View diff
1177 {manageSlotsLoading ? <div className="public-manage-loading"><Loader2 className="spin" size={14} /> Checking times…</div> : manageSlots.length ? (
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1178
                        <div className="public-manage-times">
Open commit View diff
1178 <div className="public-manage-times">
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1179
                          {manageSlots.map((slot) => <button type="button" key={slot.start} className={manageStart === slot.start ? 'active' : ''} onClick={() => setManageStart(slot.start)}>{slot.time}</button>)}
Open commit View diff
1179 {manageSlots.map((slot) => <button type="button" key={slot.start} className={manageStart === slot.start ? 'active' : ''} onClick={() => setManageStart(slot.start)}>{slot.time}</button>)}
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1180
                        </div>
Open commit View diff
1180 </div>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1181
                      ) : <small>No matching {managedBooking.duration}-minute times are open on this date.</small>}
Open commit View diff
1181 ) : <small>No matching {managedBooking.duration}-minute times are open on this date.</small>}
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1182
                      <div className="public-manage-actions">
Open commit View diff
1182 <div className="public-manage-actions">
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1183
                        <button type="button" className="secondary-button" onClick={() => { setManageAction('none'); setManageStart(''); }} disabled={manageState.kind === 'loading'}>Back</button>
Open commit View diff
1183 <button type="button" className="secondary-button" onClick={() => { setManageAction('none'); setManageStart(''); }} disabled={manageState.kind === 'loading'}>Back</button>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1184
                        <button type="button" className="primary-button" onClick={rescheduleManagedBooking} disabled={!manageStart || manageState.kind === 'loading'}>{manageState.kind === 'loading' ? 'Rescheduling…' : 'Reschedule booking'}</button>
Open commit View diff
1184 <button type="button" className="primary-button" onClick={rescheduleManagedBooking} disabled={!manageStart || manageState.kind === 'loading'}>{manageState.kind === 'loading' ? 'Rescheduling…' : 'Reschedule booking'}</button>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1185
                      </div>
Open commit View diff
1185 </div>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1186
                    </div>
Open commit View diff
1186 </div>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1187
                  )}
Open commit View diff
1187 )}
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1188
Open commit View diff
1188
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1189
                  {manageState.kind === 'success' && <p className="public-manage-message success" role="status">{manageState.message}</p>}
Open commit View diff
1189 {manageState.kind === 'success' && <p className="public-manage-message success" role="status">{manageState.message}</p>}
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1190
                  {manageState.kind === 'error' && <p className="public-manage-message error" role="alert">{manageState.message}</p>}
Open commit View diff
1190 {manageState.kind === 'error' && <p className="public-manage-message error" role="alert">{manageState.message}</p>}
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1191
                </div>
Open commit View diff
1191 </div>
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1192
              )}
Open commit View diff
1192 )}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1193
            </div>
Open commit View diff
1193 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1194
          </div>
Open commit View diff
1194 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1195
        </aside>
Open commit View diff
1195 </aside>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1196
Open commit View diff
1196
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1197
        <section className="calendar-panel" aria-label="Choose a date">
Open commit View diff
1197 <section className="calendar-panel" aria-label="Choose a date">
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1198
          <div className="calendar-toolbar">
Open commit View diff
1198 <div className="calendar-toolbar">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1199
            <div>
Open commit View diff
1199 <div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1200
              <p className="step-label">01 · PICK A DAY</p>
Open commit View diff
1200 <p className="step-label">01 · PICK A DAY</p>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1201
              <h2 aria-live="polite">{month.toLocaleDateString('en-US', { month: 'long', year: 'numeric' })}</h2>
Open commit View diff
1201 <h2 aria-live="polite">{month.toLocaleDateString('en-US', { month: 'long', year: 'numeric' })}</h2>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1202
            </div>
Open commit View diff
1202 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1203
            <div className="month-buttons">
Open commit View diff
1203 <div className="month-buttons">
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1204
              <button type="button" aria-label="Previous month" onClick={() => setMonth(new Date(month.getFullYear(), month.getMonth() - 1, 1))}><ChevronLeft /></button>
Open commit View diff
1204 <button type="button" aria-label="Previous month" onClick={() => setMonth(new Date(month.getFullYear(), month.getMonth() - 1, 1))}><ChevronLeft /></button>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1205
              <button type="button" aria-label="Next month" onClick={() => setMonth(new Date(month.getFullYear(), month.getMonth() + 1, 1))}><ChevronRight /></button>
Open commit View diff
1205 <button type="button" aria-label="Next month" onClick={() => setMonth(new Date(month.getFullYear(), month.getMonth() + 1, 1))}><ChevronRight /></button>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1206
            </div>
Open commit View diff
1206 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1207
          </div>
Open commit View diff
1207 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1208
Open commit View diff
1208
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1209
          <div className="weekday-grid" aria-hidden="true">
Open commit View diff
1209 <div className="weekday-grid" aria-hidden="true">
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1210
            {shortDayNames.map((name) => <span key={name}>{name}</span>)}
Open commit View diff
1210 {shortDayNames.map((name) => <span key={name}>{name}</span>)}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1211
          </div>
Open commit View diff
1211 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1212
          <div className="calendar-grid">
Open commit View diff
1212 <div className="calendar-grid">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1213
            {cells.map(({ date, current }) => {
Open commit View diff
1213 {cells.map(({ date, current }) => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1214
              const key = dateKey(date);
Open commit View diff
1214 const key = dateKey(date);
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1215
              const selectable = isSelectable(key, date.getDay(), current);
Open commit View diff
1215 const selectable = isSelectable(key, date.getDay(), current);
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1216
              const selected = key === selectedDate;
Open commit View diff
1216 const selected = key === selectedDate;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1217
              const isToday = key === today;
Open commit View diff
1217 const isToday = key === today;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1218
              return (
Open commit View diff
1218 return (
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1219
                <button
Open commit View diff
1219 <button
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1220
                  key={key}
Open commit View diff
1220 key={key}
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1221
                  type="button"
Open commit View diff
1221 type="button"
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1222
                  className={`day ${current ? '' : 'outside'} ${selected ? 'selected' : ''} ${isToday ? 'today' : ''}`}
Open commit View diff
1222 className={`day ${current ? '' : 'outside'} ${selected ? 'selected' : ''} ${isToday ? 'today' : ''}`}
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1223
                  disabled={!selectable}
Open commit View diff
1223 disabled={!selectable}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1224
                  aria-pressed={selected}
Open commit View diff
1224 aria-pressed={selected}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1225
                  aria-label={dayAriaLabel(date)}
Open commit View diff
1225 aria-label={dayAriaLabel(date)}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1226
                  onClick={() => chooseDate(key)}
Open commit View diff
1226 onClick={() => chooseDate(key)}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1227
                >
Open commit View diff
1227 >
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1228
                  <span>{date.getDate()}</span>
Open commit View diff
1228 <span>{date.getDate()}</span>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1229
                  {isToday && <small>Today</small>}
Open commit View diff
1229 {isToday && <small>Today</small>}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1230
                </button>
Open commit View diff
1230 </button>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1231
              );
Open commit View diff
1231 );
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1232
            })}
Open commit View diff
1232 })}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1233
          </div>
Open commit View diff
1233 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1234
        </section>
Open commit View diff
1234 </section>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1235
Open commit View diff
1235
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1236
        <aside className="selection-panel" aria-live="polite">{renderRightPanel()}</aside>
Open commit View diff
1236 <aside className="selection-panel" aria-live="polite">{renderRightPanel()}</aside>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1237
      </section>
Open commit View diff
1237 </section>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1238
Open commit View diff
1238
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1239
      {error && !(selectedSlot && duration) && <div className="floating-error" role="alert">{error}</div>}
Open commit View diff
1239 {error && !(selectedSlot && duration) && <div className="floating-error" role="alert">{error}</div>}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1240
      <footer>
Open commit View diff
1240 <footer>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1241
        <a className="powered-by" href="https://www.nobgit.com/user/imalexnord/slot" target="_blank" rel="noreferrer">Powered by Slot</a>
Open commit View diff
1241 <a className="powered-by" href="https://www.nobgit.com/user/imalexnord/slot" target="_blank" rel="noreferrer">Powered by Slot</a>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1242
      </footer>
Open commit View diff
1242 </footer>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1243
    </main>
Open commit View diff
1243 </main>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1244
  );
Open commit View diff
1244 );
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1245
}
Open commit View diff
1245 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1246
Open commit View diff
1246
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1247
function ConfirmationView({ title, confirmation, onBookAnother }: { title: string; confirmation: Confirmation; onBookAnother: () => void }) {
Open commit View diff
1247 function ConfirmationView({ title, confirmation, onBookAnother }: { title: string; confirmation: Confirmation; onBookAnother: () => void }) {
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1248
  const [copied, copy] = useCopy();
Open commit View diff
1248 const [copied, copy] = useCopy();
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1249
  const tz = confirmation.timezone;
Open commit View diff
1249 const tz = confirmation.timezone;
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1250
Open commit View diff
1250
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1251
  return (
Open commit View diff
1251 return (
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1252
    <div className="panel-view confirmation-panel panel-view-scroll" key="confirmed">
Open commit View diff
1252 <div className="panel-view confirmation-panel panel-view-scroll" key="confirmed">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1253
      <span className="success-icon"><Check /></span>
Open commit View diff
1253 <span className="success-icon"><Check /></span>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1254
      <p className="eyebrow">YOU'RE BOOKED</p>
Open commit View diff
1254 <p className="eyebrow">YOU'RE BOOKED</p>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1255
      <h2>See you then.</h2>
Open commit View diff
1255 <h2>See you then.</h2>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1256
Open commit View diff
1256
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1257
      <dl className="confirmation-details">
Open commit View diff
1257 <dl className="confirmation-details">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1258
        <div className="confirm-row"><dt>Date</dt><dd>{formatDateShort(confirmation.start, tz)}</dd></div>
Open commit View diff
1258 <div className="confirm-row"><dt>Date</dt><dd>{formatDateShort(confirmation.start, tz)}</dd></div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1259
        <div className="confirm-row"><dt>Time</dt><dd>{formatClock(confirmation.start, tz)} – {formatClock(confirmation.end, tz)}</dd></div>
Open commit View diff
1259 <div className="confirm-row"><dt>Time</dt><dd>{formatClock(confirmation.start, tz)} – {formatClock(confirmation.end, tz)}</dd></div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1260
        <div className="confirm-row"><dt>Length</dt><dd>{confirmation.duration} min</dd></div>
Open commit View diff
1260 <div className="confirm-row"><dt>Length</dt><dd>{confirmation.duration} min</dd></div>
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1261
        {confirmation.bookingId && <div className="confirm-row booking-id-row"><dt>Booking ID</dt><dd>{confirmation.bookingId}</dd></div>}
Open commit View diff
1261 {confirmation.bookingId && <div className="confirm-row booking-id-row"><dt>Booking ID</dt><dd>{confirmation.bookingId}</dd></div>}
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1262
        <div className="confirm-row"><dt>Timezone</dt><dd>{tz}</dd></div>
Open commit View diff
1262 <div className="confirm-row"><dt>Timezone</dt><dd>{tz}</dd></div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1263
        <div className="confirm-row"><dt>Meeting</dt><dd>{modeMeta[confirmation.meetingMode].label}</dd></div>
Open commit View diff
1263 <div className="confirm-row"><dt>Meeting</dt><dd>{modeMeta[confirmation.meetingMode].label}</dd></div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1264
      </dl>
Open commit View diff
1264 </dl>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1265
Open commit View diff
1265
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1266
      <p className="muted">Your booking is confirmed. A calendar invitation has been sent to your email.</p>
Open commit View diff
1266 <p className="muted">Your booking is confirmed. A calendar invitation has been sent to your email.</p>
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1267
Open commit View diff
1267
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1268
      <div className="confirm-actions">
Open commit View diff
1268 <div className="confirm-actions">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1269
        <a className="primary-button" href={googleCalendarUrl(title, confirmation)} target="_blank" rel="noreferrer">
Open commit View diff
1269 <a className="primary-button" href={googleCalendarUrl(title, confirmation)} target="_blank" rel="noreferrer">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1270
          <CalendarPlus size={16} /> Add to calendar
Open commit View diff
1270 <CalendarPlus size={16} /> Add to calendar
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1271
        </a>
Open commit View diff
1271 </a>
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1272
        {confirmation.receiptUrl && (
Open commit View diff
1272 {confirmation.receiptUrl && (
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1273
          <a className="secondary-button" href={confirmation.receiptUrl} target="_blank" rel="noreferrer">
Open commit View diff
1273 <a className="secondary-button" href={confirmation.receiptUrl} target="_blank" rel="noreferrer">
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1274
            View Stripe receipt <ExternalLink size={15} />
Open commit View diff
1274 View Stripe receipt <ExternalLink size={15} />
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1275
          </a>
Open commit View diff
1275 </a>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1276
        )}
Open commit View diff
1276 )}
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1277
        {confirmation.meetUrl && (
Open commit View diff
1277 {confirmation.meetUrl && (
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1278
          <>
Open commit View diff
1278 <>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1279
            <a className="secondary-button" href={confirmation.meetUrl} target="_blank" rel="noreferrer">
Open commit View diff
1279 <a className="secondary-button" href={confirmation.meetUrl} target="_blank" rel="noreferrer">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1280
              Open Google Meet <ExternalLink size={15} />
Open commit View diff
1280 Open Google Meet <ExternalLink size={15} />
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1281
            </a>
Open commit View diff
1281 </a>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1282
            <button
Open commit View diff
1282 <button
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1283
              type="button"
Open commit View diff
1283 type="button"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1284
              className={`copy-button ${copied ? 'copied' : ''}`}
Open commit View diff
1284 className={`copy-button ${copied ? 'copied' : ''}`}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1285
              onClick={() => copy(confirmation.meetUrl!)}
Open commit View diff
1285 onClick={() => copy(confirmation.meetUrl!)}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1286
            >
Open commit View diff
1286 >
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1287
              {copied ? <><Check size={15} /> Link copied</> : <><Copy size={15} /> Copy Meet link</>}
Open commit View diff
1287 {copied ? <><Check size={15} /> Link copied</> : <><Copy size={15} /> Copy Meet link</>}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1288
            </button>
Open commit View diff
1288 </button>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1289
          </>
Open commit View diff
1289 </>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1290
        )}
Open commit View diff
1290 )}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1291
        <button className="text-button" type="button" onClick={onBookAnother}>Book another time</button>
Open commit View diff
1291 <button className="text-button" type="button" onClick={onBookAnother}>Book another time</button>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1292
      </div>
Open commit View diff
1292 </div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1293
    </div>
Open commit View diff
1293 </div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1294
  );
Open commit View diff
1294 );
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1295
}
Open commit View diff
1295 }
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1296
Open commit View diff
1296
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1297
Open commit View diff
1297
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1298
function RescheduleSuggestionPage() {
Open commit View diff
1298 function RescheduleSuggestionPage() {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1299
  const token = decodeURIComponent(window.location.pathname.split('/').filter(Boolean)[1] ?? '');
Open commit View diff
1299 const token = decodeURIComponent(window.location.pathname.split('/').filter(Boolean)[1] ?? '');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1300
  const [proposal, setProposal] = useState<RescheduleProposal | null>(null);
Open commit View diff
1300 const [proposal, setProposal] = useState<RescheduleProposal | null>(null);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1301
  const [accepted, setAccepted] = useState<Confirmation | null>(null);
Open commit View diff
1301 const [accepted, setAccepted] = useState<Confirmation | null>(null);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1302
  const [loading, setLoading] = useState(true);
Open commit View diff
1302 const [loading, setLoading] = useState(true);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1303
  const [accepting, setAccepting] = useState(false);
Open commit View diff
1303 const [accepting, setAccepting] = useState(false);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1304
  const [error, setError] = useState('');
Open commit View diff
1304 const [error, setError] = useState('');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1305
Open commit View diff
1305
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1306
  useEffect(() => {
Open commit View diff
1306 useEffect(() => {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1307
    api<RescheduleProposal>(`/api/reschedule-suggestions/${encodeURIComponent(token)}`)
Open commit View diff
1307 api<RescheduleProposal>(`/api/reschedule-suggestions/${encodeURIComponent(token)}`)
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1308
      .then((data) => {
Open commit View diff
1308 .then((data) => {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1309
        setProposal(data);
Open commit View diff
1309 setProposal(data);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1310
        document.title = `Reschedule · ${data.title}`;
Open commit View diff
1310 document.title = `Reschedule · ${data.title}`;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1311
      })
Open commit View diff
1311 })
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1312
      .catch((err) => setError(err instanceof Error ? err.message : 'Could not load this suggestion.'))
Open commit View diff
1312 .catch((err) => setError(err instanceof Error ? err.message : 'Could not load this suggestion.'))
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1313
      .finally(() => setLoading(false));
Open commit View diff
1313 .finally(() => setLoading(false));
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1314
  }, [token]);
Open commit View diff
1314 }, [token]);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1315
Open commit View diff
1315
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1316
  async function acceptSuggestion() {
Open commit View diff
1316 async function acceptSuggestion() {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1317
    setAccepting(true);
Open commit View diff
1317 setAccepting(true);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1318
    setError('');
Open commit View diff
1318 setError('');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1319
    try {
Open commit View diff
1319 try {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1320
      const result = await api<{ booking: Confirmation }>(`/api/reschedule-suggestions/${encodeURIComponent(token)}/accept`, {
Open commit View diff
1320 const result = await api<{ booking: Confirmation }>(`/api/reschedule-suggestions/${encodeURIComponent(token)}/accept`, {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1321
        method: 'POST',
Open commit View diff
1321 method: 'POST',
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1322
      });
Open commit View diff
1322 });
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1323
      setAccepted(result.booking);
Open commit View diff
1323 setAccepted(result.booking);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1324
    } catch (err) {
Open commit View diff
1324 } catch (err) {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1325
      setError(err instanceof Error ? err.message : 'Could not accept the new time.');
Open commit View diff
1325 setError(err instanceof Error ? err.message : 'Could not accept the new time.');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1326
    } finally {
Open commit View diff
1326 } finally {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1327
      setAccepting(false);
Open commit View diff
1327 setAccepting(false);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1328
    }
Open commit View diff
1328 }
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1329
  }
Open commit View diff
1329 }
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1330
Open commit View diff
1330
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1331
  if (loading) return <div className="center-screen"><Loader2 className="spin" /> Loading suggestion…</div>;
Open commit View diff
1331 if (loading) return <div className="center-screen"><Loader2 className="spin" /> Loading suggestion…</div>;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1332
  if (accepted && proposal) {
Open commit View diff
1332 if (accepted && proposal) {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1333
    return (
Open commit View diff
1333 return (
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1334
      <main className="admin-login-shell">
Open commit View diff
1334 <main className="admin-login-shell">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1335
        <section className="admin-login-card reschedule-public-card">
Open commit View diff
1335 <section className="admin-login-card reschedule-public-card">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1336
          <ConfirmationView title={proposal.title} confirmation={accepted} onBookAnother={() => { window.location.href = '/'; }} />
Open commit View diff
1336 <ConfirmationView title={proposal.title} confirmation={accepted} onBookAnother={() => { window.location.href = '/'; }} />
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1337
        </section>
Open commit View diff
1337 </section>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1338
      </main>
Open commit View diff
1338 </main>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1339
    );
Open commit View diff
1339 );
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1340
  }
Open commit View diff
1340 }
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1341
  if (!proposal) {
Open commit View diff
1341 if (!proposal) {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1342
    return (
Open commit View diff
1342 return (
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1343
      <main className="admin-login-shell">
Open commit View diff
1343 <main className="admin-login-shell">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1344
        <section className="admin-login-card">
Open commit View diff
1344 <section className="admin-login-card">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1345
          <span className="admin-login-icon"><CalendarDays /></span>
Open commit View diff
1345 <span className="admin-login-icon"><CalendarDays /></span>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1346
          <p className="eyebrow">RESCHEDULE</p>
Open commit View diff
1346 <p className="eyebrow">RESCHEDULE</p>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1347
          <h1>Suggestion unavailable.</h1>
Open commit View diff
1347 <h1>Suggestion unavailable.</h1>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1348
          <p>{error || 'This reschedule link has expired or was already used.'}</p>
Open commit View diff
1348 <p>{error || 'This reschedule link has expired or was already used.'}</p>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1349
        </section>
Open commit View diff
1349 </section>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1350
      </main>
Open commit View diff
1350 </main>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1351
    );
Open commit View diff
1351 );
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1352
  }
Open commit View diff
1352 }
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1353
Open commit View diff
1353
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1354
  return (
Open commit View diff
1354 return (
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1355
    <main className="admin-login-shell">
Open commit View diff
1355 <main className="admin-login-shell">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1356
      <section className="admin-login-card reschedule-public-card">
Open commit View diff
1356 <section className="admin-login-card reschedule-public-card">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1357
        <span className="admin-login-icon"><CalendarDays /></span>
Open commit View diff
1357 <span className="admin-login-icon"><CalendarDays /></span>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1358
        <p className="eyebrow">NEW TIME SUGGESTED</p>
Open commit View diff
1358 <p className="eyebrow">NEW TIME SUGGESTED</p>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1359
        <h1>Does this time work?</h1>
Open commit View diff
1359 <h1>Does this time work?</h1>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1360
        <p>Hi {proposal.name}. The organizer suggested moving your meeting. Your current time stays booked until you accept.</p>
Open commit View diff
1360 <p>Hi {proposal.name}. The organizer suggested moving your meeting. Your current time stays booked until you accept.</p>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1361
        <div className="schedule-compare">
Open commit View diff
1361 <div className="schedule-compare">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1362
          <div>
Open commit View diff
1362 <div>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1363
            <span>Current</span>
Open commit View diff
1363 <span>Current</span>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1364
            <strong>{formatDateShort(proposal.currentStart, proposal.timezone)}</strong>
Open commit View diff
1364 <strong>{formatDateShort(proposal.currentStart, proposal.timezone)}</strong>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1365
            <small>{formatClock(proposal.currentStart, proposal.timezone)} – {formatClock(proposal.currentEnd, proposal.timezone)}</small>
Open commit View diff
1365 <small>{formatClock(proposal.currentStart, proposal.timezone)} – {formatClock(proposal.currentEnd, proposal.timezone)}</small>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1366
          </div>
Open commit View diff
1366 </div>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1367
          <ArrowRight size={18} />
Open commit View diff
1367 <ArrowRight size={18} />
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1368
          <div className="proposed">
Open commit View diff
1368 <div className="proposed">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1369
            <span>Suggested</span>
Open commit View diff
1369 <span>Suggested</span>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1370
            <strong>{formatDateShort(proposal.proposedStart, proposal.timezone)}</strong>
Open commit View diff
1370 <strong>{formatDateShort(proposal.proposedStart, proposal.timezone)}</strong>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1371
            <small>{formatClock(proposal.proposedStart, proposal.timezone)} – {formatClock(proposal.proposedEnd, proposal.timezone)}</small>
Open commit View diff
1371 <small>{formatClock(proposal.proposedStart, proposal.timezone)} – {formatClock(proposal.proposedEnd, proposal.timezone)}</small>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1372
          </div>
Open commit View diff
1372 </div>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1373
        </div>
Open commit View diff
1373 </div>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1374
        <p className="muted">{proposal.duration} min · {proposal.timezone} · {modeMeta[proposal.meetingMode].label}</p>
Open commit View diff
1374 <p className="muted">{proposal.duration} min · {proposal.timezone} · {modeMeta[proposal.meetingMode].label}</p>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1375
        {error && <div className="error-banner" role="alert">{error}</div>}
Open commit View diff
1375 {error && <div className="error-banner" role="alert">{error}</div>}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1376
        <button className="primary-button inline-button" type="button" onClick={acceptSuggestion} disabled={accepting}>
Open commit View diff
1376 <button className="primary-button inline-button" type="button" onClick={acceptSuggestion} disabled={accepting}>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1377
          {accepting ? <><Loader2 className="spin" size={17} /> Rescheduling…</> : <>Accept new time <ArrowRight size={17} /></>}
Open commit View diff
1377 {accepting ? <><Loader2 className="spin" size={17} /> Rescheduling…</> : <>Accept new time <ArrowRight size={17} /></>}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1378
        </button>
Open commit View diff
1378 </button>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1379
      </section>
Open commit View diff
1379 </section>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1380
    </main>
Open commit View diff
1380 </main>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1381
  );
Open commit View diff
1381 );
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1382
}
Open commit View diff
1382 }
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1383
Open commit View diff
1383
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1384
function BookingRowItem({
Open commit View diff
1384 function BookingRowItem({
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1385
  booking,
Open commit View diff
1385 booking,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1386
  timezone,
Open commit View diff
1386 timezone,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1387
  onOpen,
Open commit View diff
1387 onOpen,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1388
}: {
Open commit View diff
1388 }: {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1389
  booking: BookingRow;
Open commit View diff
1389 booking: BookingRow;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1390
  timezone: string;
Open commit View diff
1390 timezone: string;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1391
  onOpen: (booking: BookingRow) => void;
Open commit View diff
1391 onOpen: (booking: BookingRow) => void;
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1392
}) {
Open commit View diff
1392 }) {
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1393
  const [copied, copy] = useCopy();
Open commit View diff
1393 const [copied, copy] = useCopy();
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1394
  const isCancelled = booking.status === 'cancelled';
Open commit View diff
1394 const isCancelled = booking.status === 'cancelled';
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1395
  const isPaymentHold = booking.status === 'pending' && booking.payment_status !== 'paid';
Open commit View diff
1395 const isPaymentHold = booking.status === 'pending' && booking.payment_status !== 'paid';
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1396
  const isPast = Date.parse(booking.end_time) < Date.now() || isCancelled;
Open commit View diff
1396 const isPast = Date.parse(booking.end_time) < Date.now() || isCancelled;
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1397
  const Icon = modeMeta[booking.meeting_mode].icon;
Open commit View diff
1397 const Icon = modeMeta[booking.meeting_mode].icon;
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1398
  return (
Open commit View diff
1398 return (
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1399
    <div className={`booking-list-row ${isPast ? 'past' : ''} ${isCancelled ? 'cancelled' : ''}`}>
Open commit View diff
1399 <div className={`booking-list-row ${isPast ? 'past' : ''} ${isCancelled ? 'cancelled' : ''}`}>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1400
      <div className="booking-avatar" aria-hidden="true">{booking.name.slice(0, 1).toUpperCase()}</div>
Open commit View diff
1400 <div className="booking-avatar" aria-hidden="true">{booking.name.slice(0, 1).toUpperCase()}</div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1401
      <div className="booking-person">
Open commit View diff
1401 <div className="booking-person">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1402
        <strong>{booking.name}</strong>
Open commit View diff
1402 <strong>{booking.name}</strong>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1403
        <span>{booking.email}</span>
Open commit View diff
1403 <span>{booking.email}</span>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1404
      </div>
Open commit View diff
1404 </div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1405
      <div className="booking-when">
Open commit View diff
1405 <div className="booking-when">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1406
        <strong>{formatDateShort(booking.start_time, timezone)}</strong>
Open commit View diff
1406 <strong>{formatDateShort(booking.start_time, timezone)}</strong>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1407
        <span>{formatClock(booking.start_time, timezone)} – {formatClock(booking.end_time, timezone)}</span>
Open commit View diff
1407 <span>{formatClock(booking.start_time, timezone)} – {formatClock(booking.end_time, timezone)}</span>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1408
      </div>
Open commit View diff
1408 </div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1409
      <div className="booking-meta">
Open commit View diff
1409 <div className="booking-meta">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1410
        <span className="booking-method"><Icon size={13} /> {modeMeta[booking.meeting_mode].label}</span>
Open commit View diff
1410 <span className="booking-method"><Icon size={13} /> {modeMeta[booking.meeting_mode].label}</span>
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1411
        <span>{booking.duration_minutes} min{booking.payment_status === 'paid' ? booking.refund_status === 'succeeded' ? ' · Refunded' : booking.refund_status === 'pending' ? ' · Refund pending' : ' · Paid' : isPaymentHold ? ` · Awaiting payment · ${checkoutSessionMode(booking.stripe_checkout_session_id).toUpperCase()}` : ''}</span>
Open commit View diff
1411 <span>{booking.duration_minutes} min{booking.payment_status === 'paid' ? booking.refund_status === 'succeeded' ? ' · Refunded' : booking.refund_status === 'pending' ? ' · Refund pending' : ' · Paid' : isPaymentHold ? ` · Awaiting payment · ${checkoutSessionMode(booking.stripe_checkout_session_id).toUpperCase()}` : ''}</span>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1412
      </div>
Open commit View diff
1412 </div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1413
      <div className="booking-actions">
Open commit View diff
1413 <div className="booking-actions">
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1414
        <span className={`status-pill ${isCancelled ? 'cancelled' : isPast ? 'past' : 'upcoming'}`}>
Open commit View diff
1414 <span className={`status-pill ${isCancelled ? 'cancelled' : isPast ? 'past' : 'upcoming'}`}>
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1415
          {isCancelled ? 'Cancelled' : isPaymentHold ? 'Payment hold' : isPast ? 'Past' : 'Upcoming'}
Open commit View diff
1415 {isCancelled ? 'Cancelled' : isPaymentHold ? 'Payment hold' : isPast ? 'Past' : 'Upcoming'}
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1416
        </span>
Open commit View diff
1416 </span>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1417
        <button type="button" className="icon-button" aria-label="Open booking details" title="Open details" onClick={() => onOpen(booking)}>
Open commit View diff
1417 <button type="button" className="icon-button" aria-label="Open booking details" title="Open details" onClick={() => onOpen(booking)}>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1418
          <Inbox size={15} />
Open commit View diff
1418 <Inbox size={15} />
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1419
        </button>
Open commit View diff
1419 </button>
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1420
        {booking.status === 'confirmed' && booking.meet_url && (
Open commit View diff
1420 {booking.status === 'confirmed' && booking.meet_url && (
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1421
          <>
Open commit View diff
1421 <>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1422
            <button
Open commit View diff
1422 <button
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1423
              type="button"
Open commit View diff
1423 type="button"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1424
              className={`icon-button ${copied ? 'copied' : ''}`}
Open commit View diff
1424 className={`icon-button ${copied ? 'copied' : ''}`}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1425
              aria-label="Copy Meet link"
Open commit View diff
1425 aria-label="Copy Meet link"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1426
              title="Copy Meet link"
Open commit View diff
1426 title="Copy Meet link"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1427
              onClick={() => copy(booking.meet_url!)}
Open commit View diff
1427 onClick={() => copy(booking.meet_url!)}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1428
            >
Open commit View diff
1428 >
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1429
              {copied ? <Check size={15} /> : <Copy size={15} />}
Open commit View diff
1429 {copied ? <Check size={15} /> : <Copy size={15} />}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1430
            </button>
Open commit View diff
1430 </button>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1431
            <a className="icon-button" href={booking.meet_url} target="_blank" rel="noreferrer" aria-label="Open Google Meet" title="Open Google Meet">
Open commit View diff
1431 <a className="icon-button" href={booking.meet_url} target="_blank" rel="noreferrer" aria-label="Open Google Meet" title="Open Google Meet">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1432
              <Video size={15} />
Open commit View diff
1432 <Video size={15} />
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1433
            </a>
Open commit View diff
1433 </a>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1434
          </>
Open commit View diff
1434 </>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1435
        )}
Open commit View diff
1435 )}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1436
      </div>
Open commit View diff
1436 </div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1437
    </div>
Open commit View diff
1437 </div>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1438
  );
Open commit View diff
1438 );
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1439
}
Open commit View diff
1439 }
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1440
Open commit View diff
1440
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1441
function Admin() {
Open commit View diff
1441 function Admin() {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1442
  const [session, setSession] = useState<AdminSession | null>(null);
Open commit View diff
1442 const [session, setSession] = useState<AdminSession | null>(null);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1443
  const [settings, setSettings] = useState<AppSettings | null>(null);
Open commit View diff
1443 const [settings, setSettings] = useState<AppSettings | null>(null);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1444
  const [bookings, setBookings] = useState<BookingRow[]>([]);
Open commit View diff
1444 const [bookings, setBookings] = useState<BookingRow[]>([]);
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1445
  const [recurringUnavailable, setRecurringUnavailable] = useState<RecurringUnavailableRule[]>([]);
Open commit View diff
1445 const [recurringUnavailable, setRecurringUnavailable] = useState<RecurringUnavailableRule[]>([]);
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1446
  const [availabilityBlocks, setAvailabilityBlocks] = useState<AvailabilityBlock[]>([]);
Open commit View diff
1446 const [availabilityBlocks, setAvailabilityBlocks] = useState<AvailabilityBlock[]>([]);
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1447
  const [activity, setActivity] = useState<ActivityData | null>(null);
Open commit View diff
1447 const [activity, setActivity] = useState<ActivityData | null>(null);
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1448
  const [activityLoading, setActivityLoading] = useState(false);
Open commit View diff
1448 const [activityLoading, setActivityLoading] = useState(false);
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1449
  const [attendeeData, setAttendeeData] = useState<AttendeeData | null>(null);
Open commit View diff
1449 const [attendeeData, setAttendeeData] = useState<AttendeeData | null>(null);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1450
  const [attendeesLoading, setAttendeesLoading] = useState(false);
Open commit View diff
1450 const [attendeesLoading, setAttendeesLoading] = useState(false);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1451
  const [attendeeSearch, setAttendeeSearch] = useState('');
Open commit View diff
1451 const [attendeeSearch, setAttendeeSearch] = useState('');
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1452
  const [selectedAttendee, setSelectedAttendee] = useState<AttendeeRow | null>(null);
Open commit View diff
1452 const [selectedAttendee, setSelectedAttendee] = useState<AttendeeRow | null>(null);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1453
  const [attendeeBookings, setAttendeeBookings] = useState<BookingRow[]>([]);
Open commit View diff
1453 const [attendeeBookings, setAttendeeBookings] = useState<BookingRow[]>([]);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1454
  const [attendeeBookingsLoading, setAttendeeBookingsLoading] = useState(false);
Open commit View diff
1454 const [attendeeBookingsLoading, setAttendeeBookingsLoading] = useState(false);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1455
  const [tab, setTab] = useState<'settings' | 'bookings' | 'activity' | 'attendees'>('bookings');
Open commit View diff
1455 const [tab, setTab] = useState<'settings' | 'bookings' | 'activity' | 'attendees'>('bookings');
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1456
  const [bookingFilter, setBookingFilter] = useState<'upcoming' | 'past'>('upcoming');
Open commit View diff
1456 const [bookingFilter, setBookingFilter] = useState<'upcoming' | 'past'>('upcoming');
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1457
  const [bookingSearch, setBookingSearch] = useState('');
Open commit View diff
1457 const [bookingSearch, setBookingSearch] = useState('');
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1458
  const [bookingSearchResults, setBookingSearchResults] = useState<BookingRow[] | null>(null);
Open commit View diff
1458 const [bookingSearchResults, setBookingSearchResults] = useState<BookingRow[] | null>(null);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1459
  const [bookingSearchLoading, setBookingSearchLoading] = useState(false);
Open commit View diff
1459 const [bookingSearchLoading, setBookingSearchLoading] = useState(false);
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1460
  const [selectedBooking, setSelectedBooking] = useState<BookingRow | null>(null);
Open commit View diff
1460 const [selectedBooking, setSelectedBooking] = useState<BookingRow | null>(null);
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1461
  const [cancelTarget, setCancelTarget] = useState<BookingRow | null>(null);
Open commit View diff
1461 const [cancelTarget, setCancelTarget] = useState<BookingRow | null>(null);
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1462
  const [cancelling, setCancelling] = useState(false);
Open commit View diff
1462 const [cancelling, setCancelling] = useState(false);
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1463
  const [scheduleTarget, setScheduleTarget] = useState<BookingRow | null>(null);
Open commit View diff
1463 const [scheduleTarget, setScheduleTarget] = useState<BookingRow | null>(null);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1464
  const [scheduleAction, setScheduleAction] = useState<BookingScheduleAction>('reschedule');
Open commit View diff
1464 const [scheduleAction, setScheduleAction] = useState<BookingScheduleAction>('reschedule');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1465
  const [scheduleDate, setScheduleDate] = useState('');
Open commit View diff
1465 const [scheduleDate, setScheduleDate] = useState('');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1466
  const [scheduleSlots, setScheduleSlots] = useState<Slot[]>([]);
Open commit View diff
1466 const [scheduleSlots, setScheduleSlots] = useState<Slot[]>([]);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1467
  const [scheduleStart, setScheduleStart] = useState('');
Open commit View diff
1467 const [scheduleStart, setScheduleStart] = useState('');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1468
  const [loadingScheduleSlots, setLoadingScheduleSlots] = useState(false);
Open commit View diff
1468 const [loadingScheduleSlots, setLoadingScheduleSlots] = useState(false);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1469
  const [savingScheduleAction, setSavingScheduleAction] = useState(false);
Open commit View diff
1469 const [savingScheduleAction, setSavingScheduleAction] = useState(false);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1470
  const [suggestionUrl, setSuggestionUrl] = useState('');
Open commit View diff
1470 const [suggestionUrl, setSuggestionUrl] = useState('');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1471
  const [scheduleLinkCopied, copyScheduleLink] = useCopy();
Open commit View diff
1471 const [scheduleLinkCopied, copyScheduleLink] = useCopy();
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1472
  const [recurringForm, setRecurringForm] = useState({ weekdays: [1, 2, 3, 4, 5], start: '12:00', end: '13:00', label: 'Lunch' });
Open commit View diff
1472 const [recurringForm, setRecurringForm] = useState({ weekdays: [1, 2, 3, 4, 5], start: '12:00', end: '13:00', label: 'Lunch' });
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1473
  const [blockForm, setBlockForm] = useState({ date: '', start: '09:00', end: '12:00', allDay: false, label: '' });
Open commit View diff
1473 const [blockForm, setBlockForm] = useState({ date: '', start: '09:00', end: '12:00', allDay: false, label: '' });
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1474
  const [theme, setTheme] = useState<ThemeId>(() => {
Open commit View diff
1474 const [theme, setTheme] = useState<ThemeId>(() => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1475
    const stored = localStorage.getItem('meet-theme') as ThemeId | null;
Open commit View diff
1475 const stored = localStorage.getItem('meet-theme') as ThemeId | null;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1476
    return stored && themes.some((item) => item.id === stored) ? stored : 'true-black';
Open commit View diff
1476 return stored && themes.some((item) => item.id === stored) ? stored : 'true-black';
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1477
  });
Open commit View diff
1477 });
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1478
  const [saving, setSaving] = useState(false);
Open commit View diff
1478 const [saving, setSaving] = useState(false);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1479
  const [notice, setNotice] = useState('');
Open commit View diff
1479 const [notice, setNotice] = useState('');
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1480
  const [error, setError] = useState('');
Open commit View diff
1480 const [error, setError] = useState('');
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1481
  const [stripeConfigured, setStripeConfigured] = useState(false);
Open commit View diff
1481 const [stripeConfigured, setStripeConfigured] = useState(false);
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1482
  const [stripeMode, setStripeMode] = useState<'test' | 'live' | 'unknown'>('unknown');
Open commit View diff
1482 const [stripeMode, setStripeMode] = useState<'test' | 'live' | 'unknown'>('unknown');
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1483
Open commit View diff
1483
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1484
  useEffect(() => {
Open commit View diff
1484 useEffect(() => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1485
    document.title = 'Bookings';
Open commit View diff
1485 document.title = 'Bookings';
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1486
  }, []);
Open commit View diff
1486 }, []);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1487
Open commit View diff
1487
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1488
  useEffect(() => {
Open commit View diff
1488 useEffect(() => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1489
    document.documentElement.dataset.theme = theme;
Open commit View diff
1489 document.documentElement.dataset.theme = theme;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1490
    localStorage.setItem('meet-theme', theme);
Open commit View diff
1490 localStorage.setItem('meet-theme', theme);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1491
  }, [theme]);
Open commit View diff
1491 }, [theme]);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1492
Open commit View diff
1492
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1493
  useEffect(() => {
Open commit View diff
1493 useEffect(() => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1494
    fetch('/api/admin/session')
Open commit View diff
1494 fetch('/api/admin/session')
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1495
      .then(async (response) => {
Open commit View diff
1495 .then(async (response) => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1496
        if (!response.ok) throw new Error('unauthenticated');
Open commit View diff
1496 if (!response.ok) throw new Error('unauthenticated');
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1497
        return response.json() as Promise<AdminSession>;
Open commit View diff
1497 return response.json() as Promise<AdminSession>;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1498
      })
Open commit View diff
1498 })
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1499
      .then((data) => setSession(data))
Open commit View diff
1499 .then((data) => setSession(data))
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1500
      .catch(() => setSession({ authenticated: false, email: '', connected: false }));
Open commit View diff
1500 .catch(() => setSession({ authenticated: false, email: '', connected: false }));
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1501
  }, []);
Open commit View diff
1501 }, []);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1502
Open commit View diff
1502
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1503
  useEffect(() => {
Open commit View diff
1503 useEffect(() => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1504
    if (!session?.authenticated) return;
Open commit View diff
1504 if (!session?.authenticated) return;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1505
    Promise.all([
Open commit View diff
1505 Promise.all([
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1506
      api<{ settings: AppSettings; stripeConfigured: boolean; stripeMode: 'test' | 'live' | 'unknown' }>('/api/admin/settings'),
Open commit View diff
1506 api<{ settings: AppSettings; stripeConfigured: boolean; stripeMode: 'test' | 'live' | 'unknown' }>('/api/admin/settings'),
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1507
      api<{ bookings: BookingRow[] }>('/api/admin/bookings'),
Open commit View diff
1507 api<{ bookings: BookingRow[] }>('/api/admin/bookings'),
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1508
      api<{ recurring: RecurringUnavailableRule[]; blocks: AvailabilityBlock[] }>('/api/admin/availability-rules'),
Open commit View diff
1508 api<{ recurring: RecurringUnavailableRule[]; blocks: AvailabilityBlock[] }>('/api/admin/availability-rules'),
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1509
    ]).then(([settingsData, bookingData, availabilityData]) => {
Open commit View diff
1509 ]).then(([settingsData, bookingData, availabilityData]) => {
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1510
      setSettings(settingsData.settings);
Open commit View diff
1510 setSettings(settingsData.settings);
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1511
      setStripeConfigured(settingsData.stripeConfigured);
Open commit View diff
1511 setStripeConfigured(settingsData.stripeConfigured);
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1512
      setStripeMode(settingsData.stripeMode);
Open commit View diff
1512 setStripeMode(settingsData.stripeMode);
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1513
      setBookings(bookingData.bookings);
Open commit View diff
1513 setBookings(bookingData.bookings);
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1514
      setRecurringUnavailable(availabilityData.recurring);
Open commit View diff
1514 setRecurringUnavailable(availabilityData.recurring);
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1515
      setAvailabilityBlocks(availabilityData.blocks);
Open commit View diff
1515 setAvailabilityBlocks(availabilityData.blocks);
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1516
    }).catch((err) => setError(err.message));
Open commit View diff
1516 }).catch((err) => setError(err.message));
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1517
  }, [session]);
Open commit View diff
1517 }, [session]);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1518
Open commit View diff
1518
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1519
Open commit View diff
1519
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1520
  useEffect(() => {
Open commit View diff
1520 useEffect(() => {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1521
    if (!session?.authenticated || tab !== 'activity') return;
Open commit View diff
1521 if (!session?.authenticated || tab !== 'activity') return;
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1522
    void loadActivity();
Open commit View diff
1522 void loadActivity();
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1523
  }, [session?.authenticated, tab]);
Open commit View diff
1523 }, [session?.authenticated, tab]);
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1524
Open commit View diff
1524
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1525
  useEffect(() => {
Open commit View diff
1525 useEffect(() => {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1526
    if (!session?.authenticated || tab !== 'attendees') return;
Open commit View diff
1526 if (!session?.authenticated || tab !== 'attendees') return;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1527
    void loadAttendees();
Open commit View diff
1527 void loadAttendees();
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1528
  }, [session?.authenticated, tab]);
Open commit View diff
1528 }, [session?.authenticated, tab]);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1529
Open commit View diff
1529
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1530
  useEffect(() => {
Open commit View diff
1530 useEffect(() => {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1531
    if (!session?.authenticated || tab !== 'bookings') return;
Open commit View diff
1531 if (!session?.authenticated || tab !== 'bookings') return;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1532
    const query = bookingSearch.trim();
Open commit View diff
1532 const query = bookingSearch.trim();
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1533
    if (!query) {
Open commit View diff
1533 if (!query) {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1534
      setBookingSearchResults(null);
Open commit View diff
1534 setBookingSearchResults(null);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1535
      setBookingSearchLoading(false);
Open commit View diff
1535 setBookingSearchLoading(false);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1536
      return;
Open commit View diff
1536 return;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1537
    }
Open commit View diff
1537 }
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1538
    let cancelled = false;
Open commit View diff
1538 let cancelled = false;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1539
    setError('');
Open commit View diff
1539 setError('');
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1540
    setBookingSearchResults(null);
Open commit View diff
1540 setBookingSearchResults(null);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1541
    const timer = window.setTimeout(() => {
Open commit View diff
1541 const timer = window.setTimeout(() => {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1542
      setBookingSearchLoading(true);
Open commit View diff
1542 setBookingSearchLoading(true);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1543
      api<{ bookings: BookingRow[] }>(`/api/admin/bookings?q=${encodeURIComponent(query)}`)
Open commit View diff
1543 api<{ bookings: BookingRow[] }>(`/api/admin/bookings?q=${encodeURIComponent(query)}`)
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1544
        .then((data) => { if (!cancelled) setBookingSearchResults(data.bookings); })
Open commit View diff
1544 .then((data) => { if (!cancelled) setBookingSearchResults(data.bookings); })
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1545
        .catch((err) => { if (!cancelled) setError(err instanceof Error ? err.message : 'Could not search bookings.'); })
Open commit View diff
1545 .catch((err) => { if (!cancelled) setError(err instanceof Error ? err.message : 'Could not search bookings.'); })
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1546
        .finally(() => { if (!cancelled) setBookingSearchLoading(false); });
Open commit View diff
1546 .finally(() => { if (!cancelled) setBookingSearchLoading(false); });
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1547
    }, 180);
Open commit View diff
1547 }, 180);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1548
    return () => { cancelled = true; window.clearTimeout(timer); };
Open commit View diff
1548 return () => { cancelled = true; window.clearTimeout(timer); };
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1549
  }, [session?.authenticated, tab, bookingSearch]);
Open commit View diff
1549 }, [session?.authenticated, tab, bookingSearch]);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1550
Open commit View diff
1550
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1551
  useEffect(() => {
Open commit View diff
1551 useEffect(() => {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1552
    if (!scheduleTarget || !scheduleDate) {
Open commit View diff
1552 if (!scheduleTarget || !scheduleDate) {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1553
      setScheduleSlots([]);
Open commit View diff
1553 setScheduleSlots([]);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1554
      return;
Open commit View diff
1554 return;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1555
    }
Open commit View diff
1555 }
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1556
    let cancelled = false;
Open commit View diff
1556 let cancelled = false;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1557
    setLoadingScheduleSlots(true);
Open commit View diff
1557 setLoadingScheduleSlots(true);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1558
    setScheduleStart('');
Open commit View diff
1558 setScheduleStart('');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1559
    api<{ slots: Slot[] }>(`/api/admin/bookings/${scheduleTarget.id}/availability?date=${encodeURIComponent(scheduleDate)}`)
Open commit View diff
1559 api<{ slots: Slot[] }>(`/api/admin/bookings/${scheduleTarget.id}/availability?date=${encodeURIComponent(scheduleDate)}`)
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1560
      .then((data) => {
Open commit View diff
1560 .then((data) => {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1561
        if (!cancelled) setScheduleSlots(data.slots);
Open commit View diff
1561 if (!cancelled) setScheduleSlots(data.slots);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1562
      })
Open commit View diff
1562 })
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1563
      .catch((err) => {
Open commit View diff
1563 .catch((err) => {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1564
        if (!cancelled) {
Open commit View diff
1564 if (!cancelled) {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1565
          setScheduleSlots([]);
Open commit View diff
1565 setScheduleSlots([]);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1566
          setError(err instanceof Error ? err.message : 'Could not load available times.');
Open commit View diff
1566 setError(err instanceof Error ? err.message : 'Could not load available times.');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1567
        }
Open commit View diff
1567 }
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1568
      })
Open commit View diff
1568 })
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1569
      .finally(() => {
Open commit View diff
1569 .finally(() => {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1570
        if (!cancelled) setLoadingScheduleSlots(false);
Open commit View diff
1570 if (!cancelled) setLoadingScheduleSlots(false);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1571
      });
Open commit View diff
1571 });
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1572
    return () => { cancelled = true; };
Open commit View diff
1572 return () => { cancelled = true; };
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1573
  }, [scheduleTarget?.id, scheduleDate]);
Open commit View diff
1573 }, [scheduleTarget?.id, scheduleDate]);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1574
Open commit View diff
1574
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1575
  function openScheduleDialog(booking: BookingRow, action: BookingScheduleAction) {
Open commit View diff
1575 function openScheduleDialog(booking: BookingRow, action: BookingScheduleAction) {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1576
    if (!settings) return;
Open commit View diff
1576 if (!settings) return;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1577
    setScheduleTarget(booking);
Open commit View diff
1577 setScheduleTarget(booking);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1578
    setScheduleAction(action);
Open commit View diff
1578 setScheduleAction(action);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1579
    setScheduleDate(dateKeyForInstant(booking.start_time, settings.timezone));
Open commit View diff
1579 setScheduleDate(dateKeyForInstant(booking.start_time, settings.timezone));
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1580
    setScheduleStart('');
Open commit View diff
1580 setScheduleStart('');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1581
    setScheduleSlots([]);
Open commit View diff
1581 setScheduleSlots([]);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1582
    setSuggestionUrl('');
Open commit View diff
1582 setSuggestionUrl('');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1583
    setError('');
Open commit View diff
1583 setError('');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1584
  }
Open commit View diff
1584 }
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1585
Open commit View diff
1585
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1586
  async function submitScheduleAction() {
Open commit View diff
1586 async function submitScheduleAction() {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1587
    if (!scheduleTarget || !scheduleStart) return;
Open commit View diff
1587 if (!scheduleTarget || !scheduleStart) return;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1588
    setSavingScheduleAction(true);
Open commit View diff
1588 setSavingScheduleAction(true);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1589
    setError('');
Open commit View diff
1589 setError('');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1590
    try {
Open commit View diff
1590 try {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1591
      if (scheduleAction === 'reschedule') {
Open commit View diff
1591 if (scheduleAction === 'reschedule') {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1592
        await api(`/api/admin/bookings/${scheduleTarget.id}/reschedule`, {
Open commit View diff
1592 await api(`/api/admin/bookings/${scheduleTarget.id}/reschedule`, {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1593
          method: 'POST',
Open commit View diff
1593 method: 'POST',
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1594
          body: JSON.stringify({ start: scheduleStart }),
Open commit View diff
1594 body: JSON.stringify({ start: scheduleStart }),
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1595
        });
Open commit View diff
1595 });
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1596
        await refreshAdminData();
Open commit View diff
1596 await refreshAdminData();
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1597
        setScheduleTarget(null);
Open commit View diff
1597 setScheduleTarget(null);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1598
        setSelectedBooking(null);
Open commit View diff
1598 setSelectedBooking(null);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1599
        setNotice('Meeting rescheduled. Google Calendar sent the attendee an updated invitation.');
Open commit View diff
1599 setNotice('Meeting rescheduled. Google Calendar sent the attendee an updated invitation.');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1600
      } else {
Open commit View diff
1600 } else {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1601
        const result = await api<{ suggestionUrl: string }>(`/api/admin/bookings/${scheduleTarget.id}/suggest`, {
Open commit View diff
1601 const result = await api<{ suggestionUrl: string }>(`/api/admin/bookings/${scheduleTarget.id}/suggest`, {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1602
          method: 'POST',
Open commit View diff
1602 method: 'POST',
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1603
          body: JSON.stringify({ start: scheduleStart }),
Open commit View diff
1603 body: JSON.stringify({ start: scheduleStart }),
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1604
        });
Open commit View diff
1604 });
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1605
        await refreshAdminData();
Open commit View diff
1605 await refreshAdminData();
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1606
        setSuggestionUrl(result.suggestionUrl);
Open commit View diff
1606 setSuggestionUrl(result.suggestionUrl);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1607
        setNotice('New time suggested. Google Calendar notified the attendee and the current meeting remains booked until they accept.');
Open commit View diff
1607 setNotice('New time suggested. Google Calendar notified the attendee and the current meeting remains booked until they accept.');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1608
      }
Open commit View diff
1608 }
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1609
    } catch (err) {
Open commit View diff
1609 } catch (err) {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1610
      setError(err instanceof Error ? err.message : 'Could not update the meeting.');
Open commit View diff
1610 setError(err instanceof Error ? err.message : 'Could not update the meeting.');
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1611
    } finally {
Open commit View diff
1611 } finally {
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1612
      setSavingScheduleAction(false);
Open commit View diff
1612 setSavingScheduleAction(false);
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1613
    }
Open commit View diff
1613 }
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1614
  }
Open commit View diff
1614 }
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1615
Open commit View diff
1615
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1616
  async function loadActivity() {
Open commit View diff
1616 async function loadActivity() {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1617
    setActivityLoading(true);
Open commit View diff
1617 setActivityLoading(true);
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1618
    setError('');
Open commit View diff
1618 setError('');
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1619
    try {
Open commit View diff
1619 try {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1620
      setActivity(await api<ActivityData>('/api/admin/activity'));
Open commit View diff
1620 setActivity(await api<ActivityData>('/api/admin/activity'));
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1621
    } catch (err) {
Open commit View diff
1621 } catch (err) {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1622
      setError(err instanceof Error ? err.message : 'Could not load activity.');
Open commit View diff
1622 setError(err instanceof Error ? err.message : 'Could not load activity.');
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1623
    } finally {
Open commit View diff
1623 } finally {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1624
      setActivityLoading(false);
Open commit View diff
1624 setActivityLoading(false);
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1625
    }
Open commit View diff
1625 }
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1626
  }
Open commit View diff
1626 }
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1627
Open commit View diff
1627
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1628
  async function loadAttendees() {
Open commit View diff
1628 async function loadAttendees() {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1629
    setAttendeesLoading(true);
Open commit View diff
1629 setAttendeesLoading(true);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1630
    setError('');
Open commit View diff
1630 setError('');
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1631
    try {
Open commit View diff
1631 try {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1632
      setAttendeeData(await api<AttendeeData>('/api/admin/attendees'));
Open commit View diff
1632 setAttendeeData(await api<AttendeeData>('/api/admin/attendees'));
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1633
    } catch (err) {
Open commit View diff
1633 } catch (err) {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1634
      setError(err instanceof Error ? err.message : 'Could not load attendees.');
Open commit View diff
1634 setError(err instanceof Error ? err.message : 'Could not load attendees.');
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1635
    } finally {
Open commit View diff
1635 } finally {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1636
      setAttendeesLoading(false);
Open commit View diff
1636 setAttendeesLoading(false);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1637
    }
Open commit View diff
1637 }
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1638
  }
Open commit View diff
1638 }
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1639
Open commit View diff
1639
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1640
  async function openAttendee(attendee: AttendeeRow) {
Open commit View diff
1640 async function openAttendee(attendee: AttendeeRow) {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1641
    setSelectedAttendee(attendee);
Open commit View diff
1641 setSelectedAttendee(attendee);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1642
    setAttendeeBookings([]);
Open commit View diff
1642 setAttendeeBookings([]);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1643
    setAttendeeBookingsLoading(true);
Open commit View diff
1643 setAttendeeBookingsLoading(true);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1644
    setError('');
Open commit View diff
1644 setError('');
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1645
    try {
Open commit View diff
1645 try {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1646
      const data = await api<{ bookings: BookingRow[] }>(`/api/admin/attendee-bookings?email=${encodeURIComponent(attendee.email)}`);
Open commit View diff
1646 const data = await api<{ bookings: BookingRow[] }>(`/api/admin/attendee-bookings?email=${encodeURIComponent(attendee.email)}`);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1647
      setAttendeeBookings(data.bookings);
Open commit View diff
1647 setAttendeeBookings(data.bookings);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1648
    } catch (err) {
Open commit View diff
1648 } catch (err) {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1649
      setError(err instanceof Error ? err.message : 'Could not load attendee history.');
Open commit View diff
1649 setError(err instanceof Error ? err.message : 'Could not load attendee history.');
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1650
    } finally {
Open commit View diff
1650 } finally {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1651
      setAttendeeBookingsLoading(false);
Open commit View diff
1651 setAttendeeBookingsLoading(false);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1652
    }
Open commit View diff
1652 }
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1653
  }
Open commit View diff
1653 }
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1654
Open commit View diff
1654
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1655
  function openBookingFromAttendee(booking: BookingRow) {
Open commit View diff
1655 function openBookingFromAttendee(booking: BookingRow) {
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1656
    setTab('bookings');
Open commit View diff
1656 setTab('bookings');
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1657
    setBookingSearch(booking.public_booking_id || booking.id);
Open commit View diff
1657 setBookingSearch(booking.public_booking_id || booking.id);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1658
    setSelectedBooking(booking);
Open commit View diff
1658 setSelectedBooking(booking);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1659
  }
Open commit View diff
1659 }
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1660
Open commit View diff
1660
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1661
  async function refreshAdminData() {
Open commit View diff
1661 async function refreshAdminData() {
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1662
    const query = bookingSearch.trim();
Open commit View diff
1662 const query = bookingSearch.trim();
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1663
    const [bookingData, availabilityData, searchedData] = await Promise.all([
Open commit View diff
1663 const [bookingData, availabilityData, searchedData] = await Promise.all([
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1664
      api<{ bookings: BookingRow[] }>('/api/admin/bookings'),
Open commit View diff
1664 api<{ bookings: BookingRow[] }>('/api/admin/bookings'),
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1665
      api<{ recurring: RecurringUnavailableRule[]; blocks: AvailabilityBlock[] }>('/api/admin/availability-rules'),
Open commit View diff
1665 api<{ recurring: RecurringUnavailableRule[]; blocks: AvailabilityBlock[] }>('/api/admin/availability-rules'),
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1666
      query ? api<{ bookings: BookingRow[] }>(`/api/admin/bookings?q=${encodeURIComponent(query)}`) : Promise.resolve(null),
Open commit View diff
1666 query ? api<{ bookings: BookingRow[] }>(`/api/admin/bookings?q=${encodeURIComponent(query)}`) : Promise.resolve(null),
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1667
    ]);
Open commit View diff
1667 ]);
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1668
    setBookings(bookingData.bookings);
Open commit View diff
1668 setBookings(bookingData.bookings);
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1669
    if (searchedData) setBookingSearchResults(searchedData.bookings);
Open commit View diff
1669 if (searchedData) setBookingSearchResults(searchedData.bookings);
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1670
    setRecurringUnavailable(availabilityData.recurring);
Open commit View diff
1670 setRecurringUnavailable(availabilityData.recurring);
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1671
    setAvailabilityBlocks(availabilityData.blocks);
Open commit View diff
1671 setAvailabilityBlocks(availabilityData.blocks);
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1672
    if (attendeeData) void loadAttendees();
Open commit View diff
1672 if (attendeeData) void loadAttendees();
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1673
  }
Open commit View diff
1673 }
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1674
Open commit View diff
1674
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1675
  async function save() {
Open commit View diff
1675 async function save() {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1676
    if (!settings) return;
Open commit View diff
1676 if (!settings) return;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1677
    setSaving(true);
Open commit View diff
1677 setSaving(true);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1678
    setError('');
Open commit View diff
1678 setError('');
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1679
    setNotice('');
Open commit View diff
1679 setNotice('');
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1680
    try {
Open commit View diff
1680 try {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1681
      const data = await api<{ settings: AppSettings }>('/api/admin/settings', {
Open commit View diff
1681 const data = await api<{ settings: AppSettings }>('/api/admin/settings', {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1682
        method: 'PUT',
Open commit View diff
1682 method: 'PUT',
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1683
        body: JSON.stringify(settings),
Open commit View diff
1683 body: JSON.stringify(settings),
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1684
      });
Open commit View diff
1684 });
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1685
      setSettings(data.settings);
Open commit View diff
1685 setSettings(data.settings);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1686
      setNotice('Saved. The public calendar is using these settings now.');
Open commit View diff
1686 setNotice('Saved. The public calendar is using these settings now.');
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1687
    } catch (err) {
Open commit View diff
1687 } catch (err) {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1688
      setError(err instanceof Error ? err.message : 'Could not save settings');
Open commit View diff
1688 setError(err instanceof Error ? err.message : 'Could not save settings');
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1689
    } finally {
Open commit View diff
1689 } finally {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1690
      setSaving(false);
Open commit View diff
1690 setSaving(false);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1691
    }
Open commit View diff
1691 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1692
  }
Open commit View diff
1692 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1693
Open commit View diff
1693
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1694
  async function addRecurringUnavailable() {
Open commit View diff
1694 async function addRecurringUnavailable() {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1695
    setError('');
Open commit View diff
1695 setError('');
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1696
    try {
Open commit View diff
1696 try {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1697
      await api('/api/admin/availability-rules/recurring', {
Open commit View diff
1697 await api('/api/admin/availability-rules/recurring', {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1698
        method: 'POST',
Open commit View diff
1698 method: 'POST',
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1699
        body: JSON.stringify(recurringForm),
Open commit View diff
1699 body: JSON.stringify(recurringForm),
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1700
      });
Open commit View diff
1700 });
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1701
      await refreshAdminData();
Open commit View diff
1701 await refreshAdminData();
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1702
      setNotice('Recurring unavailable time added.');
Open commit View diff
1702 setNotice('Recurring unavailable time added.');
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1703
    } catch (err) {
Open commit View diff
1703 } catch (err) {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1704
      setError(err instanceof Error ? err.message : 'Could not add unavailable time');
Open commit View diff
1704 setError(err instanceof Error ? err.message : 'Could not add unavailable time');
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1705
    }
Open commit View diff
1705 }
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1706
  }
Open commit View diff
1706 }
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1707
Open commit View diff
1707
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1708
  async function addAvailabilityBlock() {
Open commit View diff
1708 async function addAvailabilityBlock() {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1709
    setError('');
Open commit View diff
1709 setError('');
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1710
    try {
Open commit View diff
1710 try {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1711
      await api('/api/admin/availability-rules/blocks', {
Open commit View diff
1711 await api('/api/admin/availability-rules/blocks', {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1712
        method: 'POST',
Open commit View diff
1712 method: 'POST',
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1713
        body: JSON.stringify(blockForm),
Open commit View diff
1713 body: JSON.stringify(blockForm),
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1714
      });
Open commit View diff
1714 });
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1715
      await refreshAdminData();
Open commit View diff
1715 await refreshAdminData();
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1716
      setBlockForm({ date: '', start: '09:00', end: '12:00', allDay: false, label: '' });
Open commit View diff
1716 setBlockForm({ date: '', start: '09:00', end: '12:00', allDay: false, label: '' });
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1717
      setNotice('Blocked time added.');
Open commit View diff
1717 setNotice('Blocked time added.');
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1718
    } catch (err) {
Open commit View diff
1718 } catch (err) {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1719
      setError(err instanceof Error ? err.message : 'Could not add blocked time');
Open commit View diff
1719 setError(err instanceof Error ? err.message : 'Could not add blocked time');
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1720
    }
Open commit View diff
1720 }
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1721
  }
Open commit View diff
1721 }
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1722
Open commit View diff
1722
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1723
  async function deleteAvailabilityRule(kind: 'recurring' | 'block', id: string) {
Open commit View diff
1723 async function deleteAvailabilityRule(kind: 'recurring' | 'block', id: string) {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1724
    setError('');
Open commit View diff
1724 setError('');
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1725
    try {
Open commit View diff
1725 try {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1726
      await api(`/api/admin/availability-rules/${kind}/${id}`, { method: 'DELETE' });
Open commit View diff
1726 await api(`/api/admin/availability-rules/${kind}/${id}`, { method: 'DELETE' });
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1727
      await refreshAdminData();
Open commit View diff
1727 await refreshAdminData();
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1728
      setNotice('Availability rule removed.');
Open commit View diff
1728 setNotice('Availability rule removed.');
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1729
    } catch (err) {
Open commit View diff
1729 } catch (err) {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1730
      setError(err instanceof Error ? err.message : 'Could not remove availability rule');
Open commit View diff
1730 setError(err instanceof Error ? err.message : 'Could not remove availability rule');
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1731
    }
Open commit View diff
1731 }
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1732
  }
Open commit View diff
1732 }
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1733
Open commit View diff
1733
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1734
  async function confirmCancelBooking() {
Open commit View diff
1734 async function confirmCancelBooking() {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1735
    if (!cancelTarget) return;
Open commit View diff
1735 if (!cancelTarget) return;
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1736
    const releasingPaymentHold = cancelTarget.status === 'pending';
Open commit View diff
1736 const releasingPaymentHold = cancelTarget.status === 'pending';
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1737
    setCancelling(true);
Open commit View diff
1737 setCancelling(true);
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1738
    setError('');
Open commit View diff
1738 setError('');
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1739
    try {
Open commit View diff
1739 try {
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1740
      const result = await api<{ warning?: string; refunded?: boolean; refundStatus?: string }>(`/api/admin/bookings/${cancelTarget.id}/cancel`, {
Open commit View diff
1740 const result = await api<{ warning?: string; refunded?: boolean; refundStatus?: string }>(`/api/admin/bookings/${cancelTarget.id}/cancel`, {
Alex Nord 1 day ago f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1741
        method: 'POST',
Open commit View diff
1741 method: 'POST',
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1742
        body: JSON.stringify({ allowStaleStripeRelease: releasingPaymentHold }),
Open commit View diff
1742 body: JSON.stringify({ allowStaleStripeRelease: releasingPaymentHold }),
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1743
      });
Open commit View diff
1743 });
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1744
      setCancelTarget(null);
Open commit View diff
1744 setCancelTarget(null);
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1745
      setSelectedBooking(null);
Open commit View diff
1745 setSelectedBooking(null);
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1746
      await refreshAdminData();
Open commit View diff
1746 await refreshAdminData();
Alex Nord 1 day ago f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1747
      setNotice(releasingPaymentHold
Open commit View diff
1747 setNotice(releasingPaymentHold
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1748
        ? result.warning
Open commit View diff
1748 ? result.warning
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1749
          ? `Payment hold released. The time is available again. ${result.warning}`
Open commit View diff
1749 ? `Payment hold released. The time is available again. ${result.warning}`
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1750
          : 'Payment hold released. The time is available again.'
Open commit View diff
1750 : 'Payment hold released. The time is available again.'
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1751
        : result.refunded
Open commit View diff
1751 : result.refunded
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1752
          ? `Meeting cancelled and Stripe refund ${result.refundStatus === 'pending' ? 'started' : 'issued'}.${result.warning ? ` ${result.warning}` : ''}`
Open commit View diff
1752 ? `Meeting cancelled and Stripe refund ${result.refundStatus === 'pending' ? 'started' : 'issued'}.${result.warning ? ` ${result.warning}` : ''}`
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
1753
          : `Meeting cancelled. Google Calendar will notify the attendee.${result.warning ? ` ${result.warning}` : ''}`);
Open commit View diff
1753 : `Meeting cancelled. Google Calendar will notify the attendee.${result.warning ? ` ${result.warning}` : ''}`);
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1754
    } catch (err) {
Open commit View diff
1754 } catch (err) {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1755
      setError(err instanceof Error ? err.message : 'Could not cancel meeting');
Open commit View diff
1755 setError(err instanceof Error ? err.message : 'Could not cancel meeting');
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1756
    } finally {
Open commit View diff
1756 } finally {
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1757
      setCancelling(false);
Open commit View diff
1757 setCancelling(false);
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1758
    }
Open commit View diff
1758 }
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1759
  }
Open commit View diff
1759 }
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1760
Open commit View diff
1760
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1761
  if (session === null) return <div className="center-screen"><Loader2 className="spin" /> Loading admin…</div>;
Open commit View diff
1761 if (session === null) return <div className="center-screen"><Loader2 className="spin" /> Loading admin…</div>;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1762
Open commit View diff
1762
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1763
  if (!session.authenticated) {
Open commit View diff
1763 if (!session.authenticated) {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1764
    const params = new URLSearchParams(window.location.search);
Open commit View diff
1764 const params = new URLSearchParams(window.location.search);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1765
    const oauthError = params.get('oauth_error');
Open commit View diff
1765 const oauthError = params.get('oauth_error');
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1766
    return (
Open commit View diff
1766 return (
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1767
      <main className="admin-login-shell">
Open commit View diff
1767 <main className="admin-login-shell">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1768
        <section className="admin-login-card">
Open commit View diff
1768 <section className="admin-login-card">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1769
          <span className="admin-login-icon"><Settings2 /></span>
Open commit View diff
1769 <span className="admin-login-icon"><Settings2 /></span>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1770
          <p className="eyebrow">PRIVATE</p>
Open commit View diff
1770 <p className="eyebrow">PRIVATE</p>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1771
          <h1>Control your availability.</h1>
Open commit View diff
1771 <h1>Control your availability.</h1>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1772
          <p>Google login is only for the calendar owner. People booking you never need an account.</p>
Open commit View diff
1772 <p>Google login is only for the calendar owner. People booking you never need an account.</p>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1773
          {oauthError && <div className="error-banner" role="alert">{oauthError}</div>}
Open commit View diff
1773 {oauthError && <div className="error-banner" role="alert">{oauthError}</div>}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1774
          <a className="primary-button inline-button" href="/auth/google/start">Continue with Google <ArrowRight size={18} /></a>
Open commit View diff
1774 <a className="primary-button inline-button" href="/auth/google/start">Continue with Google <ArrowRight size={18} /></a>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1775
          <a className="text-button" href="/">Back to booking page</a>
Open commit View diff
1775 <a className="text-button" href="/">Back to booking page</a>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1776
        </section>
Open commit View diff
1776 </section>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1777
      </main>
Open commit View diff
1777 </main>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1778
    );
Open commit View diff
1778 );
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1779
  }
Open commit View diff
1779 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1780
Open commit View diff
1780
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1781
  if (!settings) return <div className="center-screen"><Loader2 className="spin" /> Loading settings…</div>;
Open commit View diff
1781 if (!settings) return <div className="center-screen"><Loader2 className="spin" /> Loading settings…</div>;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1782
Open commit View diff
1782
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1783
  function setDay(day: number, patch: Partial<{ enabled: boolean; start: string; end: string }>) {
Open commit View diff
1783 function setDay(day: number, patch: Partial<{ enabled: boolean; start: string; end: string }>) {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1784
    setSettings((current) => {
Open commit View diff
1784 setSettings((current) => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1785
      if (!current) return current;
Open commit View diff
1785 if (!current) return current;
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1786
      const existing = current.availability[String(day)]?.[0] ?? { start: '09:00', end: '17:00' };
Open commit View diff
1786 const existing = current.availability[String(day)]?.[0] ?? { start: '09:00', end: '17:00' };
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1787
      const enabled = patch.enabled ?? Boolean(current.availability[String(day)]?.length);
Open commit View diff
1787 const enabled = patch.enabled ?? Boolean(current.availability[String(day)]?.length);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1788
      return {
Open commit View diff
1788 return {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1789
        ...current,
Open commit View diff
1789 ...current,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1790
        availability: {
Open commit View diff
1790 availability: {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1791
          ...current.availability,
Open commit View diff
1791 ...current.availability,
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1792
          [String(day)]: enabled ? [{ start: patch.start ?? existing.start, end: patch.end ?? existing.end }] : [],
Open commit View diff
1792 [String(day)]: enabled ? [{ start: patch.start ?? existing.start, end: patch.end ?? existing.end }] : [],
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1793
        },
Open commit View diff
1793 },
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1794
      };
Open commit View diff
1794 };
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1795
    });
Open commit View diff
1795 });
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1796
  }
Open commit View diff
1796 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1797
Open commit View diff
1797
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1798
  const activeSettings = settings;
Open commit View diff
1798 const activeSettings = settings;
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1799
  const now = Date.now();
Open commit View diff
1799 const now = Date.now();
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1800
  const bookingSource = bookingSearch.trim() ? (bookingSearchResults ?? []) : bookings;
Open commit View diff
1800 const bookingSource = bookingSearch.trim() ? (bookingSearchResults ?? []) : bookings;
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1801
  const upcoming = bookingSource.filter((b) => b.status !== 'cancelled' && Date.parse(b.end_time) >= now);
Open commit View diff
1801 const upcoming = bookingSource.filter((b) => b.status !== 'cancelled' && Date.parse(b.end_time) >= now);
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1802
  const past = bookingSource.filter((b) => b.status === 'cancelled' || Date.parse(b.end_time) < now);
Open commit View diff
1802 const past = bookingSource.filter((b) => b.status === 'cancelled' || Date.parse(b.end_time) < now);
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1803
  const shown = bookingFilter === 'upcoming' ? upcoming : past;
Open commit View diff
1803 const shown = bookingFilter === 'upcoming' ? upcoming : past;
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1804
  const attendeeNeedle = attendeeSearch.trim().toLowerCase();
Open commit View diff
1804 const attendeeNeedle = attendeeSearch.trim().toLowerCase();
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1805
  const shownAttendees = (attendeeData?.attendees ?? []).filter((attendee) => !attendeeNeedle
Open commit View diff
1805 const shownAttendees = (attendeeData?.attendees ?? []).filter((attendee) => !attendeeNeedle
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1806
    || attendee.name.toLowerCase().includes(attendeeNeedle)
Open commit View diff
1806 || attendee.name.toLowerCase().includes(attendeeNeedle)
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1807
    || attendee.email.toLowerCase().includes(attendeeNeedle));
Open commit View diff
1807 || attendee.email.toLowerCase().includes(attendeeNeedle));
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1808
Open commit View diff
1808
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1809
  return (
Open commit View diff
1809 return (
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1810
    <main className="admin-page">
Open commit View diff
1810 <main className="admin-page">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1811
      <header className="admin-topbar">
Open commit View diff
1811 <header className="admin-topbar">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1812
        <div className="admin-user">
Open commit View diff
1812 <div className="admin-user">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1813
          <span>{session.email}</span>
Open commit View diff
1813 <span>{session.email}</span>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1814
          <button onClick={async () => { await api('/api/admin/logout', { method: 'POST' }); window.location.reload(); }}><LogOut size={16} /> Log out</button>
Open commit View diff
1814 <button onClick={async () => { await api('/api/admin/logout', { method: 'POST' }); window.location.reload(); }}><LogOut size={16} /> Log out</button>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1815
        </div>
Open commit View diff
1815 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1816
      </header>
Open commit View diff
1816 </header>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1817
Open commit View diff
1817
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1818
      <div className="admin-layout">
Open commit View diff
1818 <div className="admin-layout">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1819
        <aside className="admin-nav">
Open commit View diff
1819 <aside className="admin-nav">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1820
          <button className={tab === 'bookings' ? 'active' : ''} onClick={() => setTab('bookings')}><CalendarDays size={17} /> Bookings</button>
Open commit View diff
1820 <button className={tab === 'bookings' ? 'active' : ''} onClick={() => setTab('bookings')}><CalendarDays size={17} /> Bookings</button>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1821
          <button className={tab === 'settings' ? 'active' : ''} onClick={() => setTab('settings')}><Settings2 size={17} /> Settings</button>
Open commit View diff
1821 <button className={tab === 'settings' ? 'active' : ''} onClick={() => setTab('settings')}><Settings2 size={17} /> Settings</button>
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1822
          <button className={tab === 'activity' ? 'active' : ''} onClick={() => setTab('activity')}><Activity size={17} /> Activity</button>
Open commit View diff
1822 <button className={tab === 'activity' ? 'active' : ''} onClick={() => setTab('activity')}><Activity size={17} /> Activity</button>
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
1823
          <button className={tab === 'attendees' ? 'active' : ''} onClick={() => setTab('attendees')}><Users size={17} /> Attendees</button>
Open commit View diff
1823 <button className={tab === 'attendees' ? 'active' : ''} onClick={() => setTab('attendees')}><Users size={17} /> Attendees</button>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1824
          <a href="/" target="_blank"><ExternalLink size={17} /> Open booking page</a>
Open commit View diff
1824 <a href="/" target="_blank"><ExternalLink size={17} /> Open booking page</a>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1825
        </aside>
Open commit View diff
1825 </aside>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1826
Open commit View diff
1826
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1827
        <section className="admin-content">
Open commit View diff
1827 <section className="admin-content">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1828
          {tab === 'settings' ? (
Open commit View diff
1828 {tab === 'settings' ? (
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1829
            <>
Open commit View diff
1829 <>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1830
              <div className="admin-heading">
Open commit View diff
1830 <div className="admin-heading">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1831
                <div><p className="eyebrow">SETTINGS</p><h1>Keep it simple.</h1></div>
Open commit View diff
1831 <div><p className="eyebrow">SETTINGS</p><h1>Keep it simple.</h1></div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1832
                <button className="primary-button compact" onClick={save} disabled={saving}>{saving ? <Loader2 className="spin" /> : <Check />} Save changes</button>
Open commit View diff
1832 <button className="primary-button compact" onClick={save} disabled={saving}>{saving ? <Loader2 className="spin" /> : <Check />} Save changes</button>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1833
              </div>
Open commit View diff
1833 </div>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1834
              {notice && <div className="success-banner" role="status">{notice}</div>}
Open commit View diff
1834 {notice && <div className="success-banner" role="status">{notice}</div>}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1835
              {error && <div className="error-banner" role="alert">{error}</div>}
Open commit View diff
1835 {error && <div className="error-banner" role="alert">{error}</div>}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1836
Open commit View diff
1836
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1837
              <div className="settings-grid">
Open commit View diff
1837 <div className="settings-grid">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1838
                <section className="settings-card wide-card appearance-card">
Open commit View diff
1838 <section className="settings-card wide-card appearance-card">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1839
                  <div className="appearance-heading">
Open commit View diff
1839 <div className="appearance-heading">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1840
                    <div>
Open commit View diff
1840 <div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1841
                      <p className="eyebrow">APPEARANCE</p>
Open commit View diff
1841 <p className="eyebrow">APPEARANCE</p>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1842
                      <h2>Theme and contrast</h2>
Open commit View diff
1842 <h2>Theme and contrast</h2>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1843
                      <p>Choose how this app looks on this browser. Your selection is saved locally and applied before each page is shown.</p>
Open commit View diff
1843 <p>Choose how this app looks on this browser. Your selection is saved locally and applied before each page is shown.</p>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1844
                    </div>
Open commit View diff
1844 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1845
                    <span>{themes.find((item) => item.id === theme)?.name} selected</span>
Open commit View diff
1845 <span>{themes.find((item) => item.id === theme)?.name} selected</span>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1846
                  </div>
Open commit View diff
1846 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1847
                  <div className="theme-grid">
Open commit View diff
1847 <div className="theme-grid">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1848
                    {themes.map((item) => (
Open commit View diff
1848 {themes.map((item) => (
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1849
                      <button
Open commit View diff
1849 <button
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1850
                        type="button"
Open commit View diff
1850 type="button"
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1851
                        key={item.id}
Open commit View diff
1851 key={item.id}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1852
                        className={`theme-option ${theme === item.id ? 'active' : ''}`}
Open commit View diff
1852 className={`theme-option ${theme === item.id ? 'active' : ''}`}
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1853
                        aria-pressed={theme === item.id}
Open commit View diff
1853 aria-pressed={theme === item.id}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1854
                        onClick={() => setTheme(item.id)}
Open commit View diff
1854 onClick={() => setTheme(item.id)}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1855
                      >
Open commit View diff
1855 >
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1856
                        <span className={`theme-preview theme-preview-${item.id}`} aria-hidden="true">
Open commit View diff
1856 <span className={`theme-preview theme-preview-${item.id}`} aria-hidden="true">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1857
                          <span />
Open commit View diff
1857 <span />
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1858
                        </span>
Open commit View diff
1858 </span>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1859
                        <span className="theme-copy">
Open commit View diff
1859 <span className="theme-copy">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1860
                          <strong>{item.name}</strong>
Open commit View diff
1860 <strong>{item.name}</strong>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1861
                          <small>{item.description}</small>
Open commit View diff
1861 <small>{item.description}</small>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1862
                          <em>{item.contrast}</em>
Open commit View diff
1862 <em>{item.contrast}</em>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1863
                        </span>
Open commit View diff
1863 </span>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1864
                      </button>
Open commit View diff
1864 </button>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1865
                    ))}
Open commit View diff
1865 ))}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1866
                  </div>
Open commit View diff
1866 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1867
                  <p className="theme-footnote">Theme settings stay on this device and do not change your booking page for other visitors.</p>
Open commit View diff
1867 <p className="theme-footnote">Theme settings stay on this device and do not change your booking page for other visitors.</p>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1868
                </section>
Open commit View diff
1868 </section>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1869
Open commit View diff
1869
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1870
                <section className="settings-card wide-card">
Open commit View diff
1870 <section className="settings-card wide-card">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1871
                  <div className="card-heading"><h2>Availability</h2><p>Your Google Calendar blocks busy time inside these hours.</p></div>
Open commit View diff
1871 <div className="card-heading"><h2>Availability</h2><p>Your Google Calendar blocks busy time inside these hours.</p></div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1872
                  <div className="availability-list">
Open commit View diff
1872 <div className="availability-list">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1873
                    {dayNames.map((name, day) => {
Open commit View diff
1873 {dayNames.map((name, day) => {
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1874
                      const interval = activeSettings.availability[String(day)]?.[0];
Open commit View diff
1874 const interval = activeSettings.availability[String(day)]?.[0];
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1875
                      const enabled = Boolean(interval);
Open commit View diff
1875 const enabled = Boolean(interval);
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1876
                      return (
Open commit View diff
1876 return (
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1877
                        <div className="availability-row" key={name}>
Open commit View diff
1877 <div className="availability-row" key={name}>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1878
                          <label className="switch-row"><input type="checkbox" checked={enabled} onChange={(e) => setDay(day, { enabled: e.target.checked })} /><span>{name}</span></label>
Open commit View diff
1878 <label className="switch-row"><input type="checkbox" checked={enabled} onChange={(e) => setDay(day, { enabled: e.target.checked })} /><span>{name}</span></label>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1879
                          {enabled ? (
Open commit View diff
1879 {enabled ? (
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1880
                            <div className="time-range">
Open commit View diff
1880 <div className="time-range">
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1881
                              <input type="time" aria-label={`${name} start`} value={interval.start} onChange={(e) => setDay(day, { start: e.target.value })} />
Open commit View diff
1881 <input type="time" aria-label={`${name} start`} value={interval.start} onChange={(e) => setDay(day, { start: e.target.value })} />
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1882
                              <span>to</span>
Open commit View diff
1882 <span>to</span>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1883
                              <input type="time" aria-label={`${name} end`} value={interval.end} onChange={(e) => setDay(day, { end: e.target.value })} />
Open commit View diff
1883 <input type="time" aria-label={`${name} end`} value={interval.end} onChange={(e) => setDay(day, { end: e.target.value })} />
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1884
                            </div>
Open commit View diff
1884 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1885
                          ) : <span className="unavailable">Unavailable</span>}
Open commit View diff
1885 ) : <span className="unavailable">Unavailable</span>}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1886
                        </div>
Open commit View diff
1886 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1887
                      );
Open commit View diff
1887 );
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1888
                    })}
Open commit View diff
1888 })}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1889
                  </div>
Open commit View diff
1889 </div>
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1890
                  <div className="availability-tools">
Open commit View diff
1890 <div className="availability-tools">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1891
                    <section className="availability-tool">
Open commit View diff
1891 <section className="availability-tool">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1892
                      <div className="card-heading"><h3>Recurring unavailable</h3><p>Private blocks such as lunch or focus time.</p></div>
Open commit View diff
1892 <div className="card-heading"><h3>Recurring unavailable</h3><p>Private blocks such as lunch or focus time.</p></div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1893
                      <div className="weekday-picker">
Open commit View diff
1893 <div className="weekday-picker">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1894
                        {dayNames.map((name, day) => (
Open commit View diff
1894 {dayNames.map((name, day) => (
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1895
                          <button
Open commit View diff
1895 <button
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1896
                            type="button"
Open commit View diff
1896 type="button"
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1897
                            key={name}
Open commit View diff
1897 key={name}
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1898
                            className={recurringForm.weekdays.includes(day) ? 'active' : ''}
Open commit View diff
1898 className={recurringForm.weekdays.includes(day) ? 'active' : ''}
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1899
                            onClick={() => setRecurringForm((current) => ({
Open commit View diff
1899 onClick={() => setRecurringForm((current) => ({
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1900
                              ...current,
Open commit View diff
1900 ...current,
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1901
                              weekdays: current.weekdays.includes(day)
Open commit View diff
1901 weekdays: current.weekdays.includes(day)
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1902
                                ? current.weekdays.filter((value) => value !== day)
Open commit View diff
1902 ? current.weekdays.filter((value) => value !== day)
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1903
                                : [...current.weekdays, day].sort((a, b) => a - b),
Open commit View diff
1903 : [...current.weekdays, day].sort((a, b) => a - b),
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1904
                            }))}
Open commit View diff
1904 }))}
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1905
                          >
Open commit View diff
1905 >
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1906
                            {name.slice(0, 3)}
Open commit View diff
1906 {name.slice(0, 3)}
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1907
                          </button>
Open commit View diff
1907 </button>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1908
                        ))}
Open commit View diff
1908 ))}
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1909
                      </div>
Open commit View diff
1909 </div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1910
                      <div className="calendar-settings-row">
Open commit View diff
1910 <div className="calendar-settings-row">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1911
                        <label>From<input type="time" value={recurringForm.start} onChange={(e) => setRecurringForm({ ...recurringForm, start: e.target.value })} /></label>
Open commit View diff
1911 <label>From<input type="time" value={recurringForm.start} onChange={(e) => setRecurringForm({ ...recurringForm, start: e.target.value })} /></label>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1912
                        <label>Until<input type="time" value={recurringForm.end} onChange={(e) => setRecurringForm({ ...recurringForm, end: e.target.value })} /></label>
Open commit View diff
1912 <label>Until<input type="time" value={recurringForm.end} onChange={(e) => setRecurringForm({ ...recurringForm, end: e.target.value })} /></label>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1913
                      </div>
Open commit View diff
1913 </div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1914
                      <label>Private label<input value={recurringForm.label} onChange={(e) => setRecurringForm({ ...recurringForm, label: e.target.value })} placeholder="Lunch" /></label>
Open commit View diff
1914 <label>Private label<input value={recurringForm.label} onChange={(e) => setRecurringForm({ ...recurringForm, label: e.target.value })} placeholder="Lunch" /></label>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1915
                      <button className="secondary-button" type="button" onClick={addRecurringUnavailable}>Add unavailable period</button>
Open commit View diff
1915 <button className="secondary-button" type="button" onClick={addRecurringUnavailable}>Add unavailable period</button>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1916
                      <div className="rule-list">
Open commit View diff
1916 <div className="rule-list">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1917
                        {recurringUnavailable.length === 0 ? <span>No recurring unavailable periods.</span> : recurringUnavailable.map((rule) => (
Open commit View diff
1917 {recurringUnavailable.length === 0 ? <span>No recurring unavailable periods.</span> : recurringUnavailable.map((rule) => (
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1918
                          <div className="rule-row" key={rule.id}>
Open commit View diff
1918 <div className="rule-row" key={rule.id}>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1919
                            <strong>{rule.weekdays.map((day) => dayNames[day].slice(0, 3)).join(', ')}</strong>
Open commit View diff
1919 <strong>{rule.weekdays.map((day) => dayNames[day].slice(0, 3)).join(', ')}</strong>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1920
                            <span>{rule.start}-{rule.end}{rule.label ? ` · ${rule.label}` : ''}</span>
Open commit View diff
1920 <span>{rule.start}-{rule.end}{rule.label ? ` · ${rule.label}` : ''}</span>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1921
                            <button type="button" onClick={() => deleteAvailabilityRule('recurring', rule.id)}>Remove</button>
Open commit View diff
1921 <button type="button" onClick={() => deleteAvailabilityRule('recurring', rule.id)}>Remove</button>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1922
                          </div>
Open commit View diff
1922 </div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1923
                        ))}
Open commit View diff
1923 ))}
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1924
                      </div>
Open commit View diff
1924 </div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1925
                    </section>
Open commit View diff
1925 </section>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1926
Open commit View diff
1926
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1927
                    <section className="availability-tool">
Open commit View diff
1927 <section className="availability-tool">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1928
                      <div className="card-heading"><h3>One-off blocked time</h3><p>Private exceptions for a single date.</p></div>
Open commit View diff
1928 <div className="card-heading"><h3>One-off blocked time</h3><p>Private exceptions for a single date.</p></div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1929
                      <label>Date<input type="date" value={blockForm.date} onChange={(e) => setBlockForm({ ...blockForm, date: e.target.value })} /></label>
Open commit View diff
1929 <label>Date<input type="date" value={blockForm.date} onChange={(e) => setBlockForm({ ...blockForm, date: e.target.value })} /></label>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1930
                      <label className="switch-row"><input type="checkbox" checked={blockForm.allDay} onChange={(e) => setBlockForm({ ...blockForm, allDay: e.target.checked })} /><span>All day</span></label>
Open commit View diff
1930 <label className="switch-row"><input type="checkbox" checked={blockForm.allDay} onChange={(e) => setBlockForm({ ...blockForm, allDay: e.target.checked })} /><span>All day</span></label>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1931
                      {!blockForm.allDay && (
Open commit View diff
1931 {!blockForm.allDay && (
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1932
                        <div className="calendar-settings-row">
Open commit View diff
1932 <div className="calendar-settings-row">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1933
                          <label>From<input type="time" value={blockForm.start} onChange={(e) => setBlockForm({ ...blockForm, start: e.target.value })} /></label>
Open commit View diff
1933 <label>From<input type="time" value={blockForm.start} onChange={(e) => setBlockForm({ ...blockForm, start: e.target.value })} /></label>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1934
                          <label>Until<input type="time" value={blockForm.end} onChange={(e) => setBlockForm({ ...blockForm, end: e.target.value })} /></label>
Open commit View diff
1934 <label>Until<input type="time" value={blockForm.end} onChange={(e) => setBlockForm({ ...blockForm, end: e.target.value })} /></label>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1935
                        </div>
Open commit View diff
1935 </div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1936
                      )}
Open commit View diff
1936 )}
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1937
                      <label>Private label<input value={blockForm.label} onChange={(e) => setBlockForm({ ...blockForm, label: e.target.value })} placeholder="Dentist" /></label>
Open commit View diff
1937 <label>Private label<input value={blockForm.label} onChange={(e) => setBlockForm({ ...blockForm, label: e.target.value })} placeholder="Dentist" /></label>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1938
                      <button className="secondary-button" type="button" onClick={addAvailabilityBlock}>Block time</button>
Open commit View diff
1938 <button className="secondary-button" type="button" onClick={addAvailabilityBlock}>Block time</button>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1939
                      <div className="rule-list">
Open commit View diff
1939 <div className="rule-list">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1940
                        {availabilityBlocks.length === 0 ? <span>No one-off blocks.</span> : availabilityBlocks.map((block) => (
Open commit View diff
1940 {availabilityBlocks.length === 0 ? <span>No one-off blocks.</span> : availabilityBlocks.map((block) => (
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1941
                          <div className="rule-row" key={block.id}>
Open commit View diff
1941 <div className="rule-row" key={block.id}>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1942
                            <strong>{block.date}</strong>
Open commit View diff
1942 <strong>{block.date}</strong>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1943
                            <span>{block.allDay ? 'All day' : `${block.start}-${block.end}`}{block.label ? ` · ${block.label}` : ''}</span>
Open commit View diff
1943 <span>{block.allDay ? 'All day' : `${block.start}-${block.end}`}{block.label ? ` · ${block.label}` : ''}</span>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1944
                            <button type="button" onClick={() => deleteAvailabilityRule('block', block.id)}>Remove</button>
Open commit View diff
1944 <button type="button" onClick={() => deleteAvailabilityRule('block', block.id)}>Remove</button>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1945
                          </div>
Open commit View diff
1945 </div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1946
                        ))}
Open commit View diff
1946 ))}
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1947
                      </div>
Open commit View diff
1947 </div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1948
                    </section>
Open commit View diff
1948 </section>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1949
                  </div>
Open commit View diff
1949 </div>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1950
                </section>
Open commit View diff
1950 </section>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1951
Open commit View diff
1951
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1952
                <section className="settings-card">
Open commit View diff
1952 <section className="settings-card">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1953
                  <div className="card-heading"><h2>Page</h2><p>What visitors see first.</p></div>
Open commit View diff
1953 <div className="card-heading"><h2>Page</h2><p>What visitors see first.</p></div>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1954
                  <label>Title<input value={activeSettings.title} onChange={(e) => setSettings({ ...activeSettings, title: e.target.value })} /></label>
Open commit View diff
1954 <label>Title<input value={activeSettings.title} onChange={(e) => setSettings({ ...activeSettings, title: e.target.value })} /></label>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1955
                  <label>Subtitle<textarea rows={3} value={activeSettings.subtitle} onChange={(e) => setSettings({ ...activeSettings, subtitle: e.target.value })} /></label>
Open commit View diff
1955 <label>Subtitle<textarea rows={3} value={activeSettings.subtitle} onChange={(e) => setSettings({ ...activeSettings, subtitle: e.target.value })} /></label>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1956
                  <label>Timezone
Open commit View diff
1956 <label>Timezone
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1957
                    <div className="timezone-control">
Open commit View diff
1957 <div className="timezone-control">
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1958
                      <select value={activeSettings.timezone} onChange={(e) => setSettings({ ...activeSettings, timezone: e.target.value })}>
Open commit View diff
1958 <select value={activeSettings.timezone} onChange={(e) => setSettings({ ...activeSettings, timezone: e.target.value })}>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1959
                        {!timezoneOptions.includes(activeSettings.timezone) && <option value={activeSettings.timezone}>{activeSettings.timezone}</option>}
Open commit View diff
1959 {!timezoneOptions.includes(activeSettings.timezone) && <option value={activeSettings.timezone}>{activeSettings.timezone}</option>}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1960
                        {timezoneOptions.map((zone) => <option key={zone} value={zone}>{zone}</option>)}
Open commit View diff
1960 {timezoneOptions.map((zone) => <option key={zone} value={zone}>{zone}</option>)}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1961
                      </select>
Open commit View diff
1961 </select>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1962
                      <button
Open commit View diff
1962 <button
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1963
                        type="button"
Open commit View diff
1963 type="button"
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1964
                        onClick={() => setSettings({ ...activeSettings, timezone: Intl.DateTimeFormat().resolvedOptions().timeZone || activeSettings.timezone })}
Open commit View diff
1964 onClick={() => setSettings({ ...activeSettings, timezone: Intl.DateTimeFormat().resolvedOptions().timeZone || activeSettings.timezone })}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1965
                      >
Open commit View diff
1965 >
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1966
                        Use this browser
Open commit View diff
1966 Use this browser
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1967
                      </button>
Open commit View diff
1967 </button>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1968
                    </div>
Open commit View diff
1968 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1969
                  </label>
Open commit View diff
1969 </label>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1970
                </section>
Open commit View diff
1970 </section>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1971
Open commit View diff
1971
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1972
                <section className="settings-card">
Open commit View diff
1972 <section className="settings-card">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1973
                  <div className="card-heading"><h2>Booking rules</h2><p>Enough control, no dashboard archaeology.</p></div>
Open commit View diff
1973 <div className="card-heading"><h2>Booking rules</h2><p>Enough control, no dashboard archaeology.</p></div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1974
                  <div className="two-col-fields">
Open commit View diff
1974 <div className="two-col-fields">
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1975
                    <label>Minimum notice<input type="number" min="0" value={activeSettings.minimumNoticeMinutes} onChange={(e) => setSettings({ ...activeSettings, minimumNoticeMinutes: Number(e.target.value) })} /><small>minutes</small></label>
Open commit View diff
1975 <label>Minimum notice<input type="number" min="0" value={activeSettings.minimumNoticeMinutes} onChange={(e) => setSettings({ ...activeSettings, minimumNoticeMinutes: Number(e.target.value) })} /><small>minutes</small></label>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1976
                    <label>Book ahead<input type="number" min="1" max="365" value={activeSettings.bookingWindowDays} onChange={(e) => setSettings({ ...activeSettings, bookingWindowDays: Number(e.target.value) })} /><small>days</small></label>
Open commit View diff
1976 <label>Book ahead<input type="number" min="1" max="365" value={activeSettings.bookingWindowDays} onChange={(e) => setSettings({ ...activeSettings, bookingWindowDays: Number(e.target.value) })} /><small>days</small></label>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1977
                    <label>Buffer before<input type="number" min="0" value={activeSettings.bufferBeforeMinutes} onChange={(e) => setSettings({ ...activeSettings, bufferBeforeMinutes: Number(e.target.value) })} /><small>minutes</small></label>
Open commit View diff
1977 <label>Buffer before<input type="number" min="0" value={activeSettings.bufferBeforeMinutes} onChange={(e) => setSettings({ ...activeSettings, bufferBeforeMinutes: Number(e.target.value) })} /><small>minutes</small></label>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1978
                    <label>Buffer after<input type="number" min="0" value={activeSettings.bufferAfterMinutes} onChange={(e) => setSettings({ ...activeSettings, bufferAfterMinutes: Number(e.target.value) })} /><small>minutes</small></label>
Open commit View diff
1978 <label>Buffer after<input type="number" min="0" value={activeSettings.bufferAfterMinutes} onChange={(e) => setSettings({ ...activeSettings, bufferAfterMinutes: Number(e.target.value) })} /><small>minutes</small></label>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1979
                  </div>
Open commit View diff
1979 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1980
                  <span className="field-label">Durations</span>
Open commit View diff
1980 <span className="field-label">Durations</span>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1981
                  <div className="checkbox-chips">
Open commit View diff
1981 <div className="checkbox-chips">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1982
                    {[15, 30, 45, 60, 90, 120].map((minutes) => (
Open commit View diff
1982 {[15, 30, 45, 60, 90, 120].map((minutes) => (
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1983
                      <label key={minutes} className={activeSettings.durations.includes(minutes) ? 'active' : ''}>
Open commit View diff
1983 <label key={minutes} className={activeSettings.durations.includes(minutes) ? 'active' : ''}>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1984
                        <input
Open commit View diff
1984 <input
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1985
                          type="checkbox"
Open commit View diff
1985 type="checkbox"
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1986
                          checked={activeSettings.durations.includes(minutes)}
Open commit View diff
1986 checked={activeSettings.durations.includes(minutes)}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1987
                          onChange={(e) => setSettings({
Open commit View diff
1987 onChange={(e) => setSettings({
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1988
                            ...activeSettings,
Open commit View diff
1988 ...activeSettings,
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1989
                            durations: e.target.checked
Open commit View diff
1989 durations: e.target.checked
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1990
                              ? [...activeSettings.durations, minutes].sort((a, b) => a - b)
Open commit View diff
1990 ? [...activeSettings.durations, minutes].sort((a, b) => a - b)
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1991
                              : activeSettings.durations.filter((value) => value !== minutes),
Open commit View diff
1991 : activeSettings.durations.filter((value) => value !== minutes),
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1992
                            paymentFreeDurations: e.target.checked
Open commit View diff
1992 paymentFreeDurations: e.target.checked
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1993
                              ? activeSettings.paymentFreeDurations
Open commit View diff
1993 ? activeSettings.paymentFreeDurations
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
1994
                              : activeSettings.paymentFreeDurations.filter((value) => value !== minutes),
Open commit View diff
1994 : activeSettings.paymentFreeDurations.filter((value) => value !== minutes),
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1995
                          })}
Open commit View diff
1995 })}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1996
                        />
Open commit View diff
1996 />
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1997
                        {minutes} min
Open commit View diff
1997 {minutes} min
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1998
                      </label>
Open commit View diff
1998 </label>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
1999
                    ))}
Open commit View diff
1999 ))}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2000
                  </div>
Open commit View diff
2000 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2001
                </section>
Open commit View diff
2001 </section>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2002
Open commit View diff
2002
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2003
                <section className="settings-card">
Open commit View diff
2003 <section className="settings-card">
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2004
                  <div className="card-heading"><h2>Stripe payments</h2><p>Payment happens before the booking is confirmed or the invitation is sent.</p></div>
Open commit View diff
2004 <div className="card-heading"><h2>Stripe payments</h2><p>Payment happens before the booking is confirmed or the invitation is sent.</p></div>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2005
                  <div className="stripe-status-row">
Open commit View diff
2005 <div className="stripe-status-row">
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2006
                    <div className={`connection-badge ${stripeConfigured ? 'connected' : ''}`}>
Open commit View diff
2006 <div className={`connection-badge ${stripeConfigured ? 'connected' : ''}`}>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2007
                      <span className="status-dot" />
Open commit View diff
2007 <span className="status-dot" />
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2008
                      {stripeConfigured ? 'Stripe secrets configured' : 'Stripe secrets missing'}
Open commit View diff
2008 {stripeConfigured ? 'Stripe secrets configured' : 'Stripe secrets missing'}
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2009
                    </div>
Open commit View diff
2009 </div>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2010
                    {stripeConfigured && (
Open commit View diff
2010 {stripeConfigured && (
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2011
                      <span className={`stripe-mode-badge ${stripeMode}`}>
Open commit View diff
2011 <span className={`stripe-mode-badge ${stripeMode}`}>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2012
                        {stripeMode === 'test' ? 'TEST MODE' : stripeMode === 'live' ? 'LIVE MODE' : 'MODE UNKNOWN'}
Open commit View diff
2012 {stripeMode === 'test' ? 'TEST MODE' : stripeMode === 'live' ? 'LIVE MODE' : 'MODE UNKNOWN'}
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2013
                      </span>
Open commit View diff
2013 </span>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2014
                    )}
Open commit View diff
2014 )}
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2015
                  </div>
Open commit View diff
2015 </div>
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2016
                  <div className="checkbox-chips">
Open commit View diff
2016 <div className="checkbox-chips">
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2017
                    <label className={activeSettings.paymentEnabled ? 'active' : ''}>
Open commit View diff
2017 <label className={activeSettings.paymentEnabled ? 'active' : ''}>
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2018
                      <input
Open commit View diff
2018 <input
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2019
                        type="checkbox"
Open commit View diff
2019 type="checkbox"
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2020
                        checked={activeSettings.paymentEnabled}
Open commit View diff
2020 checked={activeSettings.paymentEnabled}
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2021
                        onChange={(e) => setSettings({ ...activeSettings, paymentEnabled: e.target.checked })}
Open commit View diff
2021 onChange={(e) => setSettings({ ...activeSettings, paymentEnabled: e.target.checked })}
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2022
                      />
Open commit View diff
2022 />
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2023
                      Enable Stripe payments
Open commit View diff
2023 Enable Stripe payments
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2024
                    </label>
Open commit View diff
2024 </label>
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2025
                  </div>
Open commit View diff
2025 </div>
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2026
                  <div className="two-col-fields">
Open commit View diff
2026 <div className="two-col-fields">
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2027
                    <label>Currency<input maxLength={3} value={activeSettings.paymentCurrency} onChange={(e) => setSettings({ ...activeSettings, paymentCurrency: e.target.value.toLowerCase() })} /><small>ISO code</small></label>
Open commit View diff
2027 <label>Currency<input maxLength={3} value={activeSettings.paymentCurrency} onChange={(e) => setSettings({ ...activeSettings, paymentCurrency: e.target.value.toLowerCase() })} /><small>ISO code</small></label>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2028
                    <label>Price per minute<input type="number" min="0" step="0.01" value={activeSettings.paymentRatePerMinute} onChange={(e) => setSettings({ ...activeSettings, paymentRatePerMinute: Number(e.target.value) })} /><small>{activeSettings.paymentCurrency.toUpperCase()} / minute</small></label>
Open commit View diff
2028 <label>Price per minute<input type="number" min="0" step="0.01" value={activeSettings.paymentRatePerMinute} onChange={(e) => setSettings({ ...activeSettings, paymentRatePerMinute: Number(e.target.value) })} /><small>{activeSettings.paymentCurrency.toUpperCase()} / minute</small></label>
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2029
                  </div>
Open commit View diff
2029 </div>
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2030
                  <span className="field-label">Free durations <span className="optional">Optional</span></span>
Open commit View diff
2030 <span className="field-label">Free durations <span className="optional">Optional</span></span>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2031
                  <div className="checkbox-chips">
Open commit View diff
2031 <div className="checkbox-chips">
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2032
                    {activeSettings.durations.map((minutes) => (
Open commit View diff
2032 {activeSettings.durations.map((minutes) => (
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2033
                      <label key={minutes} className={activeSettings.paymentFreeDurations.includes(minutes) ? 'active' : ''}>
Open commit View diff
2033 <label key={minutes} className={activeSettings.paymentFreeDurations.includes(minutes) ? 'active' : ''}>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2034
                        <input
Open commit View diff
2034 <input
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2035
                          type="checkbox"
Open commit View diff
2035 type="checkbox"
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2036
                          checked={activeSettings.paymentFreeDurations.includes(minutes)}
Open commit View diff
2036 checked={activeSettings.paymentFreeDurations.includes(minutes)}
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2037
                          onChange={(e) => setSettings({
Open commit View diff
2037 onChange={(e) => setSettings({
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2038
                            ...activeSettings,
Open commit View diff
2038 ...activeSettings,
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2039
                            paymentFreeDurations: e.target.checked
Open commit View diff
2039 paymentFreeDurations: e.target.checked
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2040
                              ? [...activeSettings.paymentFreeDurations, minutes].sort((a, b) => a - b)
Open commit View diff
2040 ? [...activeSettings.paymentFreeDurations, minutes].sort((a, b) => a - b)
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2041
                              : activeSettings.paymentFreeDurations.filter((value) => value !== minutes),
Open commit View diff
2041 : activeSettings.paymentFreeDurations.filter((value) => value !== minutes),
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2042
                          })}
Open commit View diff
2042 })}
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2043
                        />
Open commit View diff
2043 />
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2044
                        {minutes} min free
Open commit View diff
2044 {minutes} min free
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2045
                      </label>
Open commit View diff
2045 </label>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2046
                    ))}
Open commit View diff
2046 ))}
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2047
                  </div>
Open commit View diff
2047 </div>
same change 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2048
                  <p className="settings-note">Stripe can stay enabled while selected meeting lengths remain free. For example, make 15 minutes free and charge normally for 30, 45, and 60 minutes.</p>
Open commit View diff
2048 <p className="settings-note">Stripe can stay enabled while selected meeting lengths remain free. For example, make 15 minutes free and charge normally for 30, 45, and 60 minutes.</p>
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2049
                  <label>Checkout label<input value={activeSettings.paymentLabel} onChange={(e) => setSettings({ ...activeSettings, paymentLabel: e.target.value })} placeholder="Booking payment" /></label>
Open commit View diff
2049 <label>Checkout label<input value={activeSettings.paymentLabel} onChange={(e) => setSettings({ ...activeSettings, paymentLabel: e.target.value })} placeholder="Booking payment" /></label>
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2050
                  <p className="theme-footnote">
Open commit View diff
2050 <p className="theme-footnote">
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2051
                    Enter normal currency, not Stripe minor units. Example: <strong>50</strong> with SEK means <strong>SEK 50 per minute</strong>, so a 15-minute booking costs <strong>{formatMoneyMajor(50 * 15, 'sek')}</strong>.
Open commit View diff
2051 Enter normal currency, not Stripe minor units. Example: <strong>50</strong> with SEK means <strong>SEK 50 per minute</strong>, so a 15-minute booking costs <strong>{formatMoneyMajor(50 * 15, 'sek')}</strong>.
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2052
                  </p>
Open commit View diff
2052 </p>
Alex Nord about 16 hours ago 456feae

feat: add self-service booking management and free payment durations

Full commit hash
456feae6ef68a3e3bf55a0ea617bac46f7dc289e
Author
Alex Nord <[email protected]>
Date
about 16 hours ago
Selected line
2053
                  {activeSettings.paymentEnabled && !stripeConfigured && <div className="error-banner" role="alert">Stripe secrets are missing. Durations marked free can still be booked, but paid durations will be unavailable.</div>}
Open commit View diff
2053 {activeSettings.paymentEnabled && !stripeConfigured && <div className="error-banner" role="alert">Stripe secrets are missing. Durations marked free can still be booked, but paid durations will be unavailable.</div>}
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2054
                  {stripeConfigured && stripeMode === 'unknown' && <div className="error-banner" role="alert">The Stripe secret key is configured, but its mode could not be identified. Slot expects a key beginning with sk_test_ or sk_live_.</div>}
Open commit View diff
2054 {stripeConfigured && stripeMode === 'unknown' && <div className="error-banner" role="alert">The Stripe secret key is configured, but its mode could not be identified. Slot expects a key beginning with sk_test_ or sk_live_.</div>}
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2055
                  {stripeConfigured && stripeMode === 'test' && <p className="settings-note">Stripe test mode only emails test receipts to verified Stripe account team-member addresses. Every successful payment still gets a hosted Stripe receipt link on Slot's confirmation screen.</p>}
Open commit View diff
2055 {stripeConfigured && stripeMode === 'test' && <p className="settings-note">Stripe test mode only emails test receipts to verified Stripe account team-member addresses. Every successful payment still gets a hosted Stripe receipt link on Slot's confirmation screen.</p>}
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2056
                </section>
Open commit View diff
2056 </section>
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2057
Open commit View diff
2057
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2058
                <section className="settings-card wide-card">
Open commit View diff
2058 <section className="settings-card wide-card">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2059
                  <div className="card-heading"><h2>Google Calendar</h2><p>Busy time is read from Google. New bookings are created on your chosen calendar.</p></div>
Open commit View diff
2059 <div className="card-heading"><h2>Google Calendar</h2><p>Busy time is read from Google. New bookings are created on your chosen calendar.</p></div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2060
                  <div className="google-status-row">
Open commit View diff
2060 <div className="google-status-row">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2061
                    <div className={`connection-badge ${session.connected ? 'connected' : ''}`}>
Open commit View diff
2061 <div className={`connection-badge ${session.connected ? 'connected' : ''}`}>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2062
                      <span className="status-dot" />
Open commit View diff
2062 <span className="status-dot" />
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2063
                      {session.connected ? 'Google connected' : 'Google disconnected'}
Open commit View diff
2063 {session.connected ? 'Google connected' : 'Google disconnected'}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2064
                    </div>
Open commit View diff
2064 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2065
                    <div className="connection-actions">
Open commit View diff
2065 <div className="connection-actions">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2066
                      <a href={session.connected ? '/auth/google/start?force=1' : '/auth/google/start'}>{session.connected ? 'Reconnect' : 'Connect Google'}</a>
Open commit View diff
2066 <a href={session.connected ? '/auth/google/start?force=1' : '/auth/google/start'}>{session.connected ? 'Reconnect' : 'Connect Google'}</a>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2067
                      {session.connected && (
Open commit View diff
2067 {session.connected && (
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2068
                        <button type="button" onClick={async () => {
Open commit View diff
2068 <button type="button" onClick={async () => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2069
                          await api('/api/admin/disconnect-google', { method: 'POST' });
Open commit View diff
2069 await api('/api/admin/disconnect-google', { method: 'POST' });
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2070
                          setSession({ ...session, connected: false });
Open commit View diff
2070 setSession({ ...session, connected: false });
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2071
                        }}>Disconnect</button>
Open commit View diff
2071 }}>Disconnect</button>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2072
                      )}
Open commit View diff
2072 )}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2073
                    </div>
Open commit View diff
2073 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2074
                  </div>
Open commit View diff
2074 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2075
                  <div className="calendar-settings-row">
Open commit View diff
2075 <div className="calendar-settings-row">
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2076
                    <label>Create events in<input value={activeSettings.calendarId} onChange={(e) => setSettings({ ...activeSettings, calendarId: e.target.value })} placeholder="primary" /></label>
Open commit View diff
2076 <label>Create events in<input value={activeSettings.calendarId} onChange={(e) => setSettings({ ...activeSettings, calendarId: e.target.value })} placeholder="primary" /></label>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2077
                    <label>Calendars that block time<input value={activeSettings.busyCalendarIds.join(', ')} onChange={(e) => setSettings({ ...activeSettings, busyCalendarIds: e.target.value.split(',').map((v) => v.trim()).filter(Boolean) })} placeholder="primary" /></label>
Open commit View diff
2077 <label>Calendars that block time<input value={activeSettings.busyCalendarIds.join(', ')} onChange={(e) => setSettings({ ...activeSettings, busyCalendarIds: e.target.value.split(',').map((v) => v.trim()).filter(Boolean) })} placeholder="primary" /></label>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2078
                  </div>
Open commit View diff
2078 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2079
                  <label>Default meeting type
Open commit View diff
2079 <label>Default meeting type
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2080
                    <select value={activeSettings.defaultMeetingMode} onChange={(e) => setSettings({ ...activeSettings, defaultMeetingMode: e.target.value as MeetingMode })}>
Open commit View diff
2080 <select value={activeSettings.defaultMeetingMode} onChange={(e) => setSettings({ ...activeSettings, defaultMeetingMode: e.target.value as MeetingMode })}>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2081
                      {activeSettings.allowMeetingModes.map((mode) => <option value={mode} key={mode}>{modeMeta[mode].label}</option>)}
Open commit View diff
2081 {activeSettings.allowMeetingModes.map((mode) => <option value={mode} key={mode}>{modeMeta[mode].label}</option>)}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2082
                    </select>
Open commit View diff
2082 </select>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2083
                  </label>
Open commit View diff
2083 </label>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2084
                  <span className="field-label">Allowed meeting types</span>
Open commit View diff
2084 <span className="field-label">Allowed meeting types</span>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2085
                  <div className="mode-admin-grid">
Open commit View diff
2085 <div className="mode-admin-grid">
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2086
                    {(Object.keys(modeMeta) as MeetingMode[]).map((mode) => {
Open commit View diff
2086 {(Object.keys(modeMeta) as MeetingMode[]).map((mode) => {
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2087
                      const Icon = modeMeta[mode].icon;
Open commit View diff
2087 const Icon = modeMeta[mode].icon;
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2088
                      const active = activeSettings.allowMeetingModes.includes(mode);
Open commit View diff
2088 const active = activeSettings.allowMeetingModes.includes(mode);
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2089
                      return (
Open commit View diff
2089 return (
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2090
                        <label key={mode} className={active ? 'active' : ''}>
Open commit View diff
2090 <label key={mode} className={active ? 'active' : ''}>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2091
                          <input type="checkbox" checked={active} disabled={active && activeSettings.allowMeetingModes.length === 1} onChange={(e) => setSettings({
Open commit View diff
2091 <input type="checkbox" checked={active} disabled={active && activeSettings.allowMeetingModes.length === 1} onChange={(e) => setSettings({
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2092
                            ...activeSettings,
Open commit View diff
2092 ...activeSettings,
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2093
                            allowMeetingModes: e.target.checked
Open commit View diff
2093 allowMeetingModes: e.target.checked
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2094
                              ? [...activeSettings.allowMeetingModes, mode]
Open commit View diff
2094 ? [...activeSettings.allowMeetingModes, mode]
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2095
                              : activeSettings.allowMeetingModes.filter((value) => value !== mode),
Open commit View diff
2095 : activeSettings.allowMeetingModes.filter((value) => value !== mode),
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2096
                            defaultMeetingMode: !e.target.checked && activeSettings.defaultMeetingMode === mode
Open commit View diff
2096 defaultMeetingMode: !e.target.checked && activeSettings.defaultMeetingMode === mode
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2097
                              ? (activeSettings.allowMeetingModes.find((value) => value !== mode) ?? activeSettings.defaultMeetingMode)
Open commit View diff
2097 ? (activeSettings.allowMeetingModes.find((value) => value !== mode) ?? activeSettings.defaultMeetingMode)
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2098
                              : activeSettings.defaultMeetingMode,
Open commit View diff
2098 : activeSettings.defaultMeetingMode,
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2099
                          })} />
Open commit View diff
2099 })} />
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2100
                          <Icon size={18} /><span>{modeMeta[mode].label}</span>
Open commit View diff
2100 <Icon size={18} /><span>{modeMeta[mode].label}</span>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2101
                        </label>
Open commit View diff
2101 </label>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2102
                      );
Open commit View diff
2102 );
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2103
                    })}
Open commit View diff
2103 })}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2104
                  </div>
Open commit View diff
2104 </div>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2105
                  {activeSettings.allowMeetingModes.includes('in_person') && (
Open commit View diff
2105 {activeSettings.allowMeetingModes.includes('in_person') && (
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2106
                    <label>In-person location<input value={activeSettings.inPersonLocation} onChange={(e) => setSettings({ ...activeSettings, inPersonLocation: e.target.value })} placeholder="Office, café, address…" /></label>
Open commit View diff
2106 <label>In-person location<input value={activeSettings.inPersonLocation} onChange={(e) => setSettings({ ...activeSettings, inPersonLocation: e.target.value })} placeholder="Office, café, address…" /></label>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2107
                  )}
Open commit View diff
2107 )}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2108
                </section>
Open commit View diff
2108 </section>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2109
              </div>
Open commit View diff
2109 </div>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2110
            </>
Open commit View diff
2110 </>
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2111
          ) : tab === 'activity' ? (
Open commit View diff
2111 ) : tab === 'activity' ? (
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2112
            <>
Open commit View diff
2112 <>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2113
              <div className="admin-heading">
Open commit View diff
2113 <div className="admin-heading">
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2114
                <div><p className="eyebrow">ACTIVITY</p><h1>Your Slot at a glance.</h1></div>
Open commit View diff
2114 <div><p className="eyebrow">ACTIVITY</p><h1>Your Slot at a glance.</h1></div>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2115
                <button className="secondary-button activity-refresh" type="button" onClick={loadActivity} disabled={activityLoading}>
Open commit View diff
2115 <button className="secondary-button activity-refresh" type="button" onClick={loadActivity} disabled={activityLoading}>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2116
                  {activityLoading ? <><Loader2 className="spin" size={16} /> Refreshing…</> : <><Activity size={16} /> Refresh</>}
Open commit View diff
2116 {activityLoading ? <><Loader2 className="spin" size={16} /> Refreshing…</> : <><Activity size={16} /> Refresh</>}
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2117
                </button>
Open commit View diff
2117 </button>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2118
              </div>
Open commit View diff
2118 </div>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2119
              {error && <div className="error-banner" role="alert">{error}</div>}
Open commit View diff
2119 {error && <div className="error-banner" role="alert">{error}</div>}
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2120
              {activityLoading && !activity ? (
Open commit View diff
2120 {activityLoading && !activity ? (
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2121
                <section className="activity-loading"><Loader2 className="spin" size={20} /> Loading activity…</section>
Open commit View diff
2121 <section className="activity-loading"><Loader2 className="spin" size={20} /> Loading activity…</section>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2122
              ) : activity ? (
Open commit View diff
2122 ) : activity ? (
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2123
                <>
Open commit View diff
2123 <>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2124
                  <section className="activity-metrics" aria-label="Booking activity summary">
Open commit View diff
2124 <section className="activity-metrics" aria-label="Booking activity summary">
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2125
                    <article className="activity-metric"><span>Bookings</span><strong>{activity.stats.total_bookings}</strong><small>All confirmed bookings, including later cancellations</small></article>
Open commit View diff
2125 <article className="activity-metric"><span>Bookings</span><strong>{activity.stats.total_bookings}</strong><small>All confirmed bookings, including later cancellations</small></article>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2126
                    <article className="activity-metric"><span>Upcoming</span><strong>{activity.stats.upcoming}</strong><small>Confirmed meetings still ahead</small></article>
Open commit View diff
2126 <article className="activity-metric"><span>Upcoming</span><strong>{activity.stats.upcoming}</strong><small>Confirmed meetings still ahead</small></article>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2127
                    <article className="activity-metric"><span>Completed</span><strong>{activity.stats.completed}</strong><small>Confirmed meetings whose end time has passed</small></article>
Open commit View diff
2127 <article className="activity-metric"><span>Completed</span><strong>{activity.stats.completed}</strong><small>Confirmed meetings whose end time has passed</small></article>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2128
                    <article className="activity-metric"><span>Cancelled</span><strong>{activity.stats.cancelled}</strong><small>Cancelled meetings, excluding abandoned payment holds</small></article>
Open commit View diff
2128 <article className="activity-metric"><span>Cancelled</span><strong>{activity.stats.cancelled}</strong><small>Cancelled meetings, excluding abandoned payment holds</small></article>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2129
                    <article className="activity-metric"><span>Reschedules</span><strong>{activity.stats.reschedules}</strong><small>Total times confirmed meetings were moved</small></article>
Open commit View diff
2129 <article className="activity-metric"><span>Reschedules</span><strong>{activity.stats.reschedules}</strong><small>Total times confirmed meetings were moved</small></article>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2130
                    <article className="activity-metric"><span>Paid bookings</span><strong>{activity.stats.paid_bookings}</strong><small>Bookings with a completed Stripe payment</small></article>
Open commit View diff
2130 <article className="activity-metric"><span>Paid bookings</span><strong>{activity.stats.paid_bookings}</strong><small>Bookings with a completed Stripe payment</small></article>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2131
                    <article className="activity-metric"><span>Average length</span><strong>{activity.stats.average_minutes} min</strong><small>Average duration of current confirmed meetings</small></article>
Open commit View diff
2131 <article className="activity-metric"><span>Average length</span><strong>{activity.stats.average_minutes} min</strong><small>Average duration of current confirmed meetings</small></article>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2132
                    {activity.paymentsEnabled && (
Open commit View diff
2132 {activity.paymentsEnabled && (
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2133
                      <>
Open commit View diff
2133 <>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2134
                        <article className="activity-metric money"><span>Revenue</span><strong>{activityMoneyText(activity.money, 'revenue', activeSettings.paymentCurrency)}</strong><small>Gross successful Stripe payments</small></article>
Open commit View diff
2134 <article className="activity-metric money"><span>Revenue</span><strong>{activityMoneyText(activity.money, 'revenue', activeSettings.paymentCurrency)}</strong><small>Gross successful Stripe payments</small></article>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2135
                        <article className="activity-metric money"><span>Refunds</span><strong>{activityMoneyText(activity.money, 'refunds', activeSettings.paymentCurrency)}</strong><small>Successful or currently pending refunds</small></article>
Open commit View diff
2135 <article className="activity-metric money"><span>Refunds</span><strong>{activityMoneyText(activity.money, 'refunds', activeSettings.paymentCurrency)}</strong><small>Successful or currently pending refunds</small></article>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2136
                        <article className="activity-metric money"><span>Net revenue</span><strong>{activityMoneyText(activity.money, 'net', activeSettings.paymentCurrency)}</strong><small>Gross revenue minus refunds</small></article>
Open commit View diff
2136 <article className="activity-metric money"><span>Net revenue</span><strong>{activityMoneyText(activity.money, 'net', activeSettings.paymentCurrency)}</strong><small>Gross revenue minus refunds</small></article>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2137
                        <article className="activity-metric"><span>Open payment holds</span><strong>{activity.stats.open_payment_holds}</strong><small>Visitors currently inside the payment window</small></article>
Open commit View diff
2137 <article className="activity-metric"><span>Open payment holds</span><strong>{activity.stats.open_payment_holds}</strong><small>Visitors currently inside the payment window</small></article>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2138
                      </>
Open commit View diff
2138 </>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2139
                    )}
Open commit View diff
2139 )}
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2140
                  </section>
Open commit View diff
2140 </section>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2141
Open commit View diff
2141
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2142
                  <section className="activity-feed-card">
Open commit View diff
2142 <section className="activity-feed-card">
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2143
                    <div className="activity-feed-heading">
Open commit View diff
2143 <div className="activity-feed-heading">
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2144
                      <div><p className="eyebrow">RECENT ACTIVITY</p><h2>What happened.</h2></div>
Open commit View diff
2144 <div><p className="eyebrow">RECENT ACTIVITY</p><h2>What happened.</h2></div>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2145
                      <span>Latest {Math.min(activity.events.length, 100)} events</span>
Open commit View diff
2145 <span>Latest {Math.min(activity.events.length, 100)} events</span>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2146
                    </div>
Open commit View diff
2146 </div>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2147
                    {activity.events.length === 0 ? (
Open commit View diff
2147 {activity.events.length === 0 ? (
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2148
                      <div className="empty-list activity-empty"><Activity size={25} /><strong>No activity yet</strong><span>Bookings, payments, reschedules, cancellations, and refunds will appear here.</span></div>
Open commit View diff
2148 <div className="empty-list activity-empty"><Activity size={25} /><strong>No activity yet</strong><span>Bookings, payments, reschedules, cancellations, and refunds will appear here.</span></div>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2149
                    ) : (
Open commit View diff
2149 ) : (
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2150
                      <div className="activity-feed">
Open commit View diff
2150 <div className="activity-feed">
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2151
                        {activity.events.map((event) => {
Open commit View diff
2151 {activity.events.map((event) => {
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2152
                          const copy = activityEventCopy(event, activeSettings.timezone);
Open commit View diff
2152 const copy = activityEventCopy(event, activeSettings.timezone);
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2153
                          return (
Open commit View diff
2153 return (
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2154
                            <article className={`activity-feed-row type-${event.type}`} key={event.id}>
Open commit View diff
2154 <article className={`activity-feed-row type-${event.type}`} key={event.id}>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2155
                              <span className="activity-feed-mark" aria-hidden="true" />
Open commit View diff
2155 <span className="activity-feed-mark" aria-hidden="true" />
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2156
                              <div className="activity-feed-copy">
Open commit View diff
2156 <div className="activity-feed-copy">
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2157
                                <strong>{copy.title}</strong>
Open commit View diff
2157 <strong>{copy.title}</strong>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2158
                                <span>{copy.detail}</span>
Open commit View diff
2158 <span>{copy.detail}</span>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2159
                              </div>
Open commit View diff
2159 </div>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2160
                              <time dateTime={databaseInstant(event.occurred_at)}>{formatInstant(databaseInstant(event.occurred_at), activeSettings.timezone)}</time>
Open commit View diff
2160 <time dateTime={databaseInstant(event.occurred_at)}>{formatInstant(databaseInstant(event.occurred_at), activeSettings.timezone)}</time>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2161
                            </article>
Open commit View diff
2161 </article>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2162
                          );
Open commit View diff
2162 );
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2163
                        })}
Open commit View diff
2163 })}
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2164
                      </div>
Open commit View diff
2164 </div>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2165
                    )}
Open commit View diff
2165 )}
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2166
                  </section>
Open commit View diff
2166 </section>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2167
                </>
Open commit View diff
2167 </>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2168
              ) : (
Open commit View diff
2168 ) : (
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2169
                <section className="activity-loading">Activity could not be loaded.</section>
Open commit View diff
2169 <section className="activity-loading">Activity could not be loaded.</section>
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2170
              )}
Open commit View diff
2170 )}
same change 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2171
            </>
Open commit View diff
2171 </>
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2172
          ) : tab === 'attendees' ? (
Open commit View diff
2172 ) : tab === 'attendees' ? (
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2173
            <>
Open commit View diff
2173 <>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2174
              <div className="admin-heading">
Open commit View diff
2174 <div className="admin-heading">
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2175
                <div><p className="eyebrow">ATTENDEES</p><h1>Who keeps booking.</h1></div>
Open commit View diff
2175 <div><p className="eyebrow">ATTENDEES</p><h1>Who keeps booking.</h1></div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2176
                <button className="secondary-button activity-refresh" type="button" onClick={loadAttendees} disabled={attendeesLoading}>
Open commit View diff
2176 <button className="secondary-button activity-refresh" type="button" onClick={loadAttendees} disabled={attendeesLoading}>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2177
                  {attendeesLoading ? <><Loader2 className="spin" size={16} /> Refreshing…</> : <><Users size={16} /> Refresh</>}
Open commit View diff
2177 {attendeesLoading ? <><Loader2 className="spin" size={16} /> Refreshing…</> : <><Users size={16} /> Refresh</>}
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2178
                </button>
Open commit View diff
2178 </button>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2179
              </div>
Open commit View diff
2179 </div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2180
              {error && <div className="error-banner" role="alert">{error}</div>}
Open commit View diff
2180 {error && <div className="error-banner" role="alert">{error}</div>}
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2181
              <label className="admin-search attendee-search">
Open commit View diff
2181 <label className="admin-search attendee-search">
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2182
                <Search size={16} aria-hidden="true" />
Open commit View diff
2182 <Search size={16} aria-hidden="true" />
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2183
                <input value={attendeeSearch} onChange={(event) => setAttendeeSearch(event.target.value)} placeholder="Search attendee name or email" aria-label="Search attendees" />
Open commit View diff
2183 <input value={attendeeSearch} onChange={(event) => setAttendeeSearch(event.target.value)} placeholder="Search attendee name or email" aria-label="Search attendees" />
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2184
              </label>
Open commit View diff
2184 </label>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2185
              {attendeesLoading && !attendeeData ? (
Open commit View diff
2185 {attendeesLoading && !attendeeData ? (
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2186
                <section className="activity-loading"><Loader2 className="spin" size={20} /> Loading attendees…</section>
Open commit View diff
2186 <section className="activity-loading"><Loader2 className="spin" size={20} /> Loading attendees…</section>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2187
              ) : attendeeData ? (
Open commit View diff
2187 ) : attendeeData ? (
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2188
                <>
Open commit View diff
2188 <>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2189
                  <section className="attendee-list-card">
Open commit View diff
2189 <section className="attendee-list-card">
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2190
                    <div className="attendee-list-head">
Open commit View diff
2190 <div className="attendee-list-head">
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2191
                      <span>Attendee</span><span>Bookings</span><span>Completed</span><span>Cancelled</span><span>Reschedules</span><span>Last booked</span><span />
Open commit View diff
2191 <span>Attendee</span><span>Bookings</span><span>Completed</span><span>Cancelled</span><span>Reschedules</span><span>Last booked</span><span />
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2192
                    </div>
Open commit View diff
2192 </div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2193
                    {shownAttendees.length === 0 ? (
Open commit View diff
2193 {shownAttendees.length === 0 ? (
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2194
                      <div className="empty-list activity-empty"><Users size={25} /><strong>No attendees found</strong><span>{attendeeSearch ? 'Try another name or email.' : 'Confirmed attendees will appear here after their first booking.'}</span></div>
Open commit View diff
2194 <div className="empty-list activity-empty"><Users size={25} /><strong>No attendees found</strong><span>{attendeeSearch ? 'Try another name or email.' : 'Confirmed attendees will appear here after their first booking.'}</span></div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2195
                    ) : shownAttendees.map((attendee) => (
Open commit View diff
2195 ) : shownAttendees.map((attendee) => (
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2196
                      <article className="attendee-list-row" key={attendee.email.toLowerCase()}>
Open commit View diff
2196 <article className="attendee-list-row" key={attendee.email.toLowerCase()}>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2197
                        <div className="attendee-person"><span className="attendee-avatar" aria-hidden="true">{attendee.name.slice(0, 1).toUpperCase()}</span><div><strong>{attendee.name}</strong><span>{attendee.email}</span></div></div>
Open commit View diff
2197 <div className="attendee-person"><span className="attendee-avatar" aria-hidden="true">{attendee.name.slice(0, 1).toUpperCase()}</span><div><strong>{attendee.name}</strong><span>{attendee.email}</span></div></div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2198
                        <strong>{attendee.total_bookings}</strong>
Open commit View diff
2198 <strong>{attendee.total_bookings}</strong>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2199
                        <span>{attendee.completed}</span>
Open commit View diff
2199 <span>{attendee.completed}</span>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2200
                        <span>{attendee.cancelled}</span>
Open commit View diff
2200 <span>{attendee.cancelled}</span>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2201
                        <span>{attendee.reschedules}</span>
Open commit View diff
2201 <span>{attendee.reschedules}</span>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2202
                        <time>{attendee.last_booked_at ? formatInstant(databaseInstant(attendee.last_booked_at), activeSettings.timezone) : '—'}</time>
Open commit View diff
2202 <time>{attendee.last_booked_at ? formatInstant(databaseInstant(attendee.last_booked_at), activeSettings.timezone) : '—'}</time>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2203
                        <button type="button" className="icon-button" aria-label={`Open ${attendee.name} attendee history`} onClick={() => void openAttendee(attendee)}><Inbox size={15} /></button>
Open commit View diff
2203 <button type="button" className="icon-button" aria-label={`Open ${attendee.name} attendee history`} onClick={() => void openAttendee(attendee)}><Inbox size={15} /></button>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2204
                      </article>
Open commit View diff
2204 </article>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2205
                    ))}
Open commit View diff
2205 ))}
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2206
                  </section>
Open commit View diff
2206 </section>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2207
                  {selectedAttendee && (
Open commit View diff
2207 {selectedAttendee && (
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2208
                    <section className="booking-detail-card attendee-detail-card">
Open commit View diff
2208 <section className="booking-detail-card attendee-detail-card">
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2209
                      <div className="card-heading">
Open commit View diff
2209 <div className="card-heading">
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2210
                        <div><h2>{selectedAttendee.name}</h2><p>{selectedAttendee.email}</p></div>
Open commit View diff
2210 <div><h2>{selectedAttendee.name}</h2><p>{selectedAttendee.email}</p></div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2211
                        <button type="button" className="text-button" onClick={() => setSelectedAttendee(null)}>Close</button>
Open commit View diff
2211 <button type="button" className="text-button" onClick={() => setSelectedAttendee(null)}>Close</button>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2212
                      </div>
Open commit View diff
2212 </div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2213
                      <div className="attendee-metrics">
Open commit View diff
2213 <div className="attendee-metrics">
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2214
                        <article><span>Bookings</span><strong>{selectedAttendee.total_bookings}</strong></article>
Open commit View diff
2214 <article><span>Bookings</span><strong>{selectedAttendee.total_bookings}</strong></article>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2215
                        <article><span>Upcoming</span><strong>{selectedAttendee.upcoming}</strong></article>
Open commit View diff
2215 <article><span>Upcoming</span><strong>{selectedAttendee.upcoming}</strong></article>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2216
                        <article><span>Completed</span><strong>{selectedAttendee.completed}</strong></article>
Open commit View diff
2216 <article><span>Completed</span><strong>{selectedAttendee.completed}</strong></article>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2217
                        <article><span>Cancelled</span><strong>{selectedAttendee.cancelled}</strong></article>
Open commit View diff
2217 <article><span>Cancelled</span><strong>{selectedAttendee.cancelled}</strong></article>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2218
                        <article><span>Reschedules</span><strong>{selectedAttendee.reschedules}</strong></article>
Open commit View diff
2218 <article><span>Reschedules</span><strong>{selectedAttendee.reschedules}</strong></article>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2219
                        <article><span>Booked time</span><strong>{selectedAttendee.total_minutes} min</strong></article>
Open commit View diff
2219 <article><span>Booked time</span><strong>{selectedAttendee.total_minutes} min</strong></article>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2220
                        <article><span>Average length</span><strong>{selectedAttendee.average_minutes} min</strong></article>
Open commit View diff
2220 <article><span>Average length</span><strong>{selectedAttendee.average_minutes} min</strong></article>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2221
                        {attendeeData.paymentsEnabled && <article><span>Paid bookings</span><strong>{selectedAttendee.paid_bookings}</strong></article>}
Open commit View diff
2221 {attendeeData.paymentsEnabled && <article><span>Paid bookings</span><strong>{selectedAttendee.paid_bookings}</strong></article>}
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2222
                        {attendeeData.paymentsEnabled && <article><span>Refunded</span><strong>{selectedAttendee.refunded_bookings}</strong></article>}
Open commit View diff
2222 {attendeeData.paymentsEnabled && <article><span>Refunded</span><strong>{selectedAttendee.refunded_bookings}</strong></article>}
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2223
                      </div>
Open commit View diff
2223 </div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2224
                      <div className="attendee-history-heading"><div><p className="eyebrow">BOOKING HISTORY</p><h3>Recent meetings</h3></div><span>{attendeeBookings.length} shown</span></div>
Open commit View diff
2224 <div className="attendee-history-heading"><div><p className="eyebrow">BOOKING HISTORY</p><h3>Recent meetings</h3></div><span>{attendeeBookings.length} shown</span></div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2225
                      {attendeeBookingsLoading ? (
Open commit View diff
2225 {attendeeBookingsLoading ? (
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2226
                        <div className="activity-loading attendee-history-loading"><Loader2 className="spin" size={18} /> Loading booking history…</div>
Open commit View diff
2226 <div className="activity-loading attendee-history-loading"><Loader2 className="spin" size={18} /> Loading booking history…</div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2227
                      ) : attendeeBookings.length ? (
Open commit View diff
2227 ) : attendeeBookings.length ? (
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2228
                        <div className="attendee-booking-history">{attendeeBookings.map((booking) => <BookingRowItem key={booking.id} booking={booking} timezone={activeSettings.timezone} onOpen={openBookingFromAttendee} />)}</div>
Open commit View diff
2228 <div className="attendee-booking-history">{attendeeBookings.map((booking) => <BookingRowItem key={booking.id} booking={booking} timezone={activeSettings.timezone} onOpen={openBookingFromAttendee} />)}</div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2229
                      ) : (
Open commit View diff
2229 ) : (
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2230
                        <div className="empty-list attendee-history-empty"><Inbox size={22} /><strong>No booking history</strong></div>
Open commit View diff
2230 <div className="empty-list attendee-history-empty"><Inbox size={22} /><strong>No booking history</strong></div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2231
                      )}
Open commit View diff
2231 )}
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2232
                    </section>
Open commit View diff
2232 </section>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2233
                  )}
Open commit View diff
2233 )}
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2234
                </>
Open commit View diff
2234 </>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2235
              ) : <section className="activity-loading">Attendees could not be loaded.</section>}
Open commit View diff
2235 ) : <section className="activity-loading">Attendees could not be loaded.</section>}
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2236
            </>
Open commit View diff
2236 </>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2237
          ) : (
Open commit View diff
2237 ) : (
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2238
            <>
Open commit View diff
2238 <>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2239
              <div className="admin-heading"><div><p className="eyebrow">BOOKINGS</p><h1>Your meetings.</h1></div></div>
Open commit View diff
2239 <div className="admin-heading"><div><p className="eyebrow">BOOKINGS</p><h1>Your meetings.</h1></div></div>
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2240
              {notice && <div className="success-banner" role="status">{notice}</div>}
Open commit View diff
2240 {notice && <div className="success-banner" role="status">{notice}</div>}
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2241
              {error && <div className="error-banner" role="alert">{error}</div>}
Open commit View diff
2241 {error && <div className="error-banner" role="alert">{error}</div>}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2242
              <div className="booking-tabs" role="tablist" aria-label="Filter bookings">
Open commit View diff
2242 <div className="booking-tabs" role="tablist" aria-label="Filter bookings">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2243
                <button
Open commit View diff
2243 <button
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2244
                  role="tab"
Open commit View diff
2244 role="tab"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2245
                  aria-selected={bookingFilter === 'upcoming'}
Open commit View diff
2245 aria-selected={bookingFilter === 'upcoming'}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2246
                  className={`booking-tab ${bookingFilter === 'upcoming' ? 'active' : ''}`}
Open commit View diff
2246 className={`booking-tab ${bookingFilter === 'upcoming' ? 'active' : ''}`}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2247
                  onClick={() => setBookingFilter('upcoming')}
Open commit View diff
2247 onClick={() => setBookingFilter('upcoming')}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2248
                >
Open commit View diff
2248 >
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2249
                  Upcoming <span className="count">{upcoming.length}</span>
Open commit View diff
2249 Upcoming <span className="count">{upcoming.length}</span>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2250
                </button>
Open commit View diff
2250 </button>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2251
                <button
Open commit View diff
2251 <button
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2252
                  role="tab"
Open commit View diff
2252 role="tab"
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2253
                  aria-selected={bookingFilter === 'past'}
Open commit View diff
2253 aria-selected={bookingFilter === 'past'}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2254
                  className={`booking-tab ${bookingFilter === 'past' ? 'active' : ''}`}
Open commit View diff
2254 className={`booking-tab ${bookingFilter === 'past' ? 'active' : ''}`}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2255
                  onClick={() => setBookingFilter('past')}
Open commit View diff
2255 onClick={() => setBookingFilter('past')}
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2256
                >
Open commit View diff
2256 >
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2257
                  Past <span className="count">{past.length}</span>
Open commit View diff
2257 Past <span className="count">{past.length}</span>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2258
                </button>
Open commit View diff
2258 </button>
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2259
              </div>
Open commit View diff
2259 </div>
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2260
              <label className="admin-search booking-search">
Open commit View diff
2260 <label className="admin-search booking-search">
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2261
                <Search size={16} aria-hidden="true" />
Open commit View diff
2261 <Search size={16} aria-hidden="true" />
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2262
                <input
Open commit View diff
2262 <input
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2263
                  value={bookingSearch}
Open commit View diff
2263 value={bookingSearch}
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2264
                  onChange={(event) => setBookingSearch(event.target.value)}
Open commit View diff
2264 onChange={(event) => setBookingSearch(event.target.value)}
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2265
                  placeholder="Search booking ID, name or email"
Open commit View diff
2265 placeholder="Search booking ID, name or email"
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2266
                  aria-label="Search bookings by booking ID, name or email"
Open commit View diff
2266 aria-label="Search bookings by booking ID, name or email"
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2267
                  autoComplete="off"
Open commit View diff
2267 autoComplete="off"
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2268
                />
Open commit View diff
2268 />
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2269
                {bookingSearchLoading && <Loader2 className="spin admin-search-spinner" size={15} aria-label="Searching" />}
Open commit View diff
2269 {bookingSearchLoading && <Loader2 className="spin admin-search-spinner" size={15} aria-label="Searching" />}
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2270
              </label>
Open commit View diff
2270 </label>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2271
              <section className="booking-list-card">
Open commit View diff
2271 <section className="booking-list-card">
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2272
                {bookingSearchLoading && bookingSearch.trim() && bookingSearchResults === null ? (
Open commit View diff
2272 {bookingSearchLoading && bookingSearch.trim() && bookingSearchResults === null ? (
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2273
                  <div className="empty-list"><Loader2 className="spin" size={23} /><strong>Searching bookings…</strong></div>
Open commit View diff
2273 <div className="empty-list"><Loader2 className="spin" size={23} /><strong>Searching bookings…</strong></div>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2274
                ) : shown.length === 0 ? (
Open commit View diff
2274 ) : shown.length === 0 ? (
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2275
                  <div className="empty-list">
Open commit View diff
2275 <div className="empty-list">
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2276
                    <Inbox size={26} />
Open commit View diff
2276 <Inbox size={26} />
Alex Nord about 23 hours ago 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2277
                    <strong>{bookingSearch.trim() ? 'No matching bookings' : bookingFilter === 'upcoming' ? 'No upcoming bookings' : 'No past bookings'}</strong>
Open commit View diff
2277 <strong>{bookingSearch.trim() ? 'No matching bookings' : bookingFilter === 'upcoming' ? 'No upcoming bookings' : 'No past bookings'}</strong>
same change 862116d

feat: add attendee insights and booking search

Full commit hash
862116d1429c92c653ba637895820678ba975eb9
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2278
                    <span>{bookingSearch.trim() ? `No ${bookingFilter} booking matches “${bookingSearch.trim()}”.` : bookingFilter === 'upcoming' ? 'No Slot bookings are upcoming. Google Calendar busy time and availability rules can still make public times unavailable.' : 'Completed meetings will be listed here.'}</span>
Open commit View diff
2278 <span>{bookingSearch.trim() ? `No ${bookingFilter} booking matches “${bookingSearch.trim()}”.` : bookingFilter === 'upcoming' ? 'No Slot bookings are upcoming. Google Calendar busy time and availability rules can still make public times unavailable.' : 'Completed meetings will be listed here.'}</span>
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2279
                  </div>
Open commit View diff
2279 </div>
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2280
                ) : (
Open commit View diff
2280 ) : (
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2281
                  shown.map((booking) => (
Open commit View diff
2281 shown.map((booking) => (
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2282
                    <BookingRowItem key={booking.id} booking={booking} timezone={activeSettings.timezone} onOpen={setSelectedBooking} />
Open commit View diff
2282 <BookingRowItem key={booking.id} booking={booking} timezone={activeSettings.timezone} onOpen={setSelectedBooking} />
Alex Nord 3 days ago b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2283
                  ))
Open commit View diff
2283 ))
same change b0cb619

Polish booking flow and admin list

Full commit hash
b0cb6196522a87482ff3b0937fd6efe6276d72af
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2284
                )}
Open commit View diff
2284 )}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2285
              </section>
Open commit View diff
2285 </section>
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2286
              {selectedBooking && (
Open commit View diff
2286 {selectedBooking && (
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2287
                <section className="booking-detail-card">
Open commit View diff
2287 <section className="booking-detail-card">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2288
                  <div className="card-heading">
Open commit View diff
2288 <div className="card-heading">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2289
                    <div>
Open commit View diff
2289 <div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2290
                      <h2>{selectedBooking.name}</h2>
Open commit View diff
2290 <h2>{selectedBooking.name}</h2>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2291
                      <p>{selectedBooking.email}</p>
Open commit View diff
2291 <p>{selectedBooking.email}</p>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2292
                    </div>
Open commit View diff
2292 </div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2293
                    <button type="button" className="text-button" onClick={() => setSelectedBooking(null)}>Close</button>
Open commit View diff
2293 <button type="button" className="text-button" onClick={() => setSelectedBooking(null)}>Close</button>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2294
                  </div>
Open commit View diff
2294 </div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2295
                  <dl className="booking-detail-grid">
Open commit View diff
2295 <dl className="booking-detail-grid">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2296
                    <div><dt>Status</dt><dd>{selectedBooking.status}</dd></div>
Open commit View diff
2296 <div><dt>Status</dt><dd>{selectedBooking.status}</dd></div>
Alex Nord about 23 hours ago 92deb90

feat: add public booking IDs and self-service cancellation

Full commit hash
92deb90d0872b02f6bac0f855281cdb9a73596db
Author
Alex Nord <[email protected]>
Date
about 23 hours ago
Selected line
2297
                    {selectedBooking.public_booking_id && <div><dt>Booking ID</dt><dd>{selectedBooking.public_booking_id}</dd></div>}
Open commit View diff
2297 {selectedBooking.public_booking_id && <div><dt>Booking ID</dt><dd>{selectedBooking.public_booking_id}</dd></div>}
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2298
                    <div><dt>Date</dt><dd>{formatDateShort(selectedBooking.start_time, activeSettings.timezone)}</dd></div>
Open commit View diff
2298 <div><dt>Date</dt><dd>{formatDateShort(selectedBooking.start_time, activeSettings.timezone)}</dd></div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2299
                    <div><dt>Start</dt><dd>{formatClock(selectedBooking.start_time, activeSettings.timezone)}</dd></div>
Open commit View diff
2299 <div><dt>Start</dt><dd>{formatClock(selectedBooking.start_time, activeSettings.timezone)}</dd></div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2300
                    <div><dt>End</dt><dd>{formatClock(selectedBooking.end_time, activeSettings.timezone)}</dd></div>
Open commit View diff
2300 <div><dt>End</dt><dd>{formatClock(selectedBooking.end_time, activeSettings.timezone)}</dd></div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2301
                    <div><dt>Duration</dt><dd>{selectedBooking.duration_minutes} min</dd></div>
Open commit View diff
2301 <div><dt>Duration</dt><dd>{selectedBooking.duration_minutes} min</dd></div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2302
                    <div><dt>Timezone</dt><dd>{activeSettings.timezone}</dd></div>
Open commit View diff
2302 <div><dt>Timezone</dt><dd>{activeSettings.timezone}</dd></div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2303
                    <div><dt>Meeting</dt><dd>{modeMeta[selectedBooking.meeting_mode].label}</dd></div>
Open commit View diff
2303 <div><dt>Meeting</dt><dd>{modeMeta[selectedBooking.meeting_mode].label}</dd></div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2304
                    <div><dt>Calendar</dt><dd>{selectedBooking.calendar_provider ?? 'google'}</dd></div>
Open commit View diff
2304 <div><dt>Calendar</dt><dd>{selectedBooking.calendar_provider ?? 'google'}</dd></div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2305
                    <div><dt>Sync</dt><dd>{selectedBooking.calendar_sync_status ?? 'synced'}</dd></div>
Open commit View diff
2305 <div><dt>Sync</dt><dd>{selectedBooking.calendar_sync_status ?? 'synced'}</dd></div>
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2306
                    <div><dt>Payment</dt><dd>{selectedBooking.payment_status ?? 'not_requested'}</dd></div>
Open commit View diff
2306 <div><dt>Payment</dt><dd>{selectedBooking.payment_status ?? 'not_requested'}</dd></div>
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2307
                    {selectedBooking.payment_status === 'paid' && <div><dt>Refund</dt><dd>{selectedBooking.refund_status ?? 'not_requested'}</dd></div>}
Open commit View diff
2307 {selectedBooking.payment_status === 'paid' && <div><dt>Refund</dt><dd>{selectedBooking.refund_status ?? 'not_requested'}</dd></div>}
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2308
                    {selectedBooking.payment_amount != null && selectedBooking.payment_currency && (
Open commit View diff
2308 {selectedBooking.payment_amount != null && selectedBooking.payment_currency && (
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2309
                      <div><dt>Amount</dt><dd>{formatMoneyMinor(selectedBooking.payment_amount, selectedBooking.payment_currency)}</dd></div>
Open commit View diff
2309 <div><dt>Amount</dt><dd>{formatMoneyMinor(selectedBooking.payment_amount, selectedBooking.payment_currency)}</dd></div>
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2310
                    )}
Open commit View diff
2310 )}
same change 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2311
                    {selectedBooking.paid_at && <div><dt>Paid</dt><dd>{formatInstant(`${selectedBooking.paid_at.replace(' ', 'T')}Z`, activeSettings.timezone)}</dd></div>}
Open commit View diff
2311 {selectedBooking.paid_at && <div><dt>Paid</dt><dd>{formatInstant(`${selectedBooking.paid_at.replace(' ', 'T')}Z`, activeSettings.timezone)}</dd></div>}
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2312
                    {selectedBooking.created_at && <div><dt>Created</dt><dd>{formatInstant(`${selectedBooking.created_at.replace(' ', 'T')}Z`, activeSettings.timezone)}</dd></div>}
Open commit View diff
2312 {selectedBooking.created_at && <div><dt>Created</dt><dd>{formatInstant(`${selectedBooking.created_at.replace(' ', 'T')}Z`, activeSettings.timezone)}</dd></div>}
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2313
                    {selectedBooking.rescheduled_at && <div><dt>Rescheduled</dt><dd>{formatInstant(`${selectedBooking.rescheduled_at.replace(' ', 'T')}Z`, activeSettings.timezone)}{selectedBooking.reschedule_count ? ` · ${selectedBooking.reschedule_count}×` : ''}</dd></div>}
Open commit View diff
2313 {selectedBooking.rescheduled_at && <div><dt>Rescheduled</dt><dd>{formatInstant(`${selectedBooking.rescheduled_at.replace(' ', 'T')}Z`, activeSettings.timezone)}{selectedBooking.reschedule_count ? ` · ${selectedBooking.reschedule_count}×` : ''}</dd></div>}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2314
                    {selectedBooking.proposal_status === 'pending' && selectedBooking.proposed_start_time && <div><dt>Suggested time</dt><dd>{formatDateShort(selectedBooking.proposed_start_time, activeSettings.timezone)} {formatClock(selectedBooking.proposed_start_time, activeSettings.timezone)}</dd></div>}
Open commit View diff
2314 {selectedBooking.proposal_status === 'pending' && selectedBooking.proposed_start_time && <div><dt>Suggested time</dt><dd>{formatDateShort(selectedBooking.proposed_start_time, activeSettings.timezone)} {formatClock(selectedBooking.proposed_start_time, activeSettings.timezone)}</dd></div>}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2315
                    {selectedBooking.refunded_at && <div><dt>Refunded</dt><dd>{formatInstant(`${selectedBooking.refunded_at.replace(' ', 'T')}Z`, activeSettings.timezone)}</dd></div>}
Open commit View diff
2315 {selectedBooking.refunded_at && <div><dt>Refunded</dt><dd>{formatInstant(`${selectedBooking.refunded_at.replace(' ', 'T')}Z`, activeSettings.timezone)}</dd></div>}
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2316
                    {selectedBooking.cancelled_at && <div><dt>Cancelled</dt><dd>{formatInstant(`${selectedBooking.cancelled_at.replace(' ', 'T')}Z`, activeSettings.timezone)}</dd></div>}
Open commit View diff
2316 {selectedBooking.cancelled_at && <div><dt>Cancelled</dt><dd>{formatInstant(`${selectedBooking.cancelled_at.replace(' ', 'T')}Z`, activeSettings.timezone)}</dd></div>}
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2317
                  </dl>
Open commit View diff
2317 </dl>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2318
                  {selectedBooking.calendar_sync_status === 'failed' && selectedBooking.calendar_sync_error && (
Open commit View diff
2318 {selectedBooking.calendar_sync_status === 'failed' && selectedBooking.calendar_sync_error && (
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2319
                    <div className="error-banner" role="alert">{selectedBooking.calendar_sync_error}</div>
Open commit View diff
2319 <div className="error-banner" role="alert">{selectedBooking.calendar_sync_error}</div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2320
                  )}
Open commit View diff
2320 )}
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2321
                  <div className="booking-detail-actions">
Open commit View diff
2321 <div className="booking-detail-actions">
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2322
                    {selectedBooking.status === 'confirmed' && selectedBooking.meet_url && <a className="secondary-button" href={selectedBooking.meet_url} target="_blank" rel="noreferrer">Open meeting link</a>}
Open commit View diff
2322 {selectedBooking.status === 'confirmed' && selectedBooking.meet_url && <a className="secondary-button" href={selectedBooking.meet_url} target="_blank" rel="noreferrer">Open meeting link</a>}
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2323
                    <button
Open commit View diff
2323 <button
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2324
                      className="secondary-button"
Open commit View diff
2324 className="secondary-button"
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2325
                      type="button"
Open commit View diff
2325 type="button"
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2326
                      disabled={selectedBooking.status !== 'confirmed' || Date.parse(selectedBooking.end_time) < Date.now()}
Open commit View diff
2326 disabled={selectedBooking.status !== 'confirmed' || Date.parse(selectedBooking.end_time) < Date.now()}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2327
                      onClick={() => openScheduleDialog(selectedBooking, 'reschedule')}
Open commit View diff
2327 onClick={() => openScheduleDialog(selectedBooking, 'reschedule')}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2328
                    >Reschedule</button>
Open commit View diff
2328 >Reschedule</button>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2329
                    <button
Open commit View diff
2329 <button
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2330
                      className="secondary-button"
Open commit View diff
2330 className="secondary-button"
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2331
                      type="button"
Open commit View diff
2331 type="button"
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2332
                      disabled={selectedBooking.status !== 'confirmed' || Date.parse(selectedBooking.end_time) < Date.now()}
Open commit View diff
2332 disabled={selectedBooking.status !== 'confirmed' || Date.parse(selectedBooking.end_time) < Date.now()}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2333
                      onClick={() => openScheduleDialog(selectedBooking, 'suggest')}
Open commit View diff
2333 onClick={() => openScheduleDialog(selectedBooking, 'suggest')}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2334
                    >Suggest new time</button>
Open commit View diff
2334 >Suggest new time</button>
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2335
                    <button
Open commit View diff
2335 <button
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2336
                      className="danger-button"
Open commit View diff
2336 className="danger-button"
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2337
                      type="button"
Open commit View diff
2337 type="button"
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2338
                      disabled={!(selectedBooking.status === 'pending' || selectedBooking.status === 'confirmed') || Date.parse(selectedBooking.end_time) < Date.now()}
Open commit View diff
2338 disabled={!(selectedBooking.status === 'pending' || selectedBooking.status === 'confirmed') || Date.parse(selectedBooking.end_time) < Date.now()}
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2339
                      onClick={() => setCancelTarget(selectedBooking)}
Open commit View diff
2339 onClick={() => setCancelTarget(selectedBooking)}
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2340
                    >
Open commit View diff
2340 >
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2341
                      {selectedBooking.status === 'pending' ? 'Release payment hold' : 'Cancel meeting'}
Open commit View diff
2341 {selectedBooking.status === 'pending' ? 'Release payment hold' : 'Cancel meeting'}
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2342
                    </button>
Open commit View diff
2342 </button>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2343
                  </div>
Open commit View diff
2343 </div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2344
                </section>
Open commit View diff
2344 </section>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2345
              )}
Open commit View diff
2345 )}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2346
            </>
Open commit View diff
2346 </>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2347
          )}
Open commit View diff
2347 )}
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2348
        </section>
Open commit View diff
2348 </section>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2349
      </div>
Open commit View diff
2349 </div>
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2350
      {scheduleTarget && (
Open commit View diff
2350 {scheduleTarget && (
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2351
        <div className="modal-backdrop" role="presentation">
Open commit View diff
2351 <div className="modal-backdrop" role="presentation">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2352
          <section className="confirm-dialog schedule-dialog" role="dialog" aria-modal="true" aria-labelledby="schedule-action-title">
Open commit View diff
2352 <section className="confirm-dialog schedule-dialog" role="dialog" aria-modal="true" aria-labelledby="schedule-action-title">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2353
            <p className="eyebrow">{scheduleAction === 'reschedule' ? 'RESCHEDULE' : 'SUGGEST NEW TIME'}</p>
Open commit View diff
2353 <p className="eyebrow">{scheduleAction === 'reschedule' ? 'RESCHEDULE' : 'SUGGEST NEW TIME'}</p>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2354
            <h2 id="schedule-action-title">{scheduleAction === 'reschedule' ? 'Move this meeting?' : 'Propose a different time?'}</h2>
Open commit View diff
2354 <h2 id="schedule-action-title">{scheduleAction === 'reschedule' ? 'Move this meeting?' : 'Propose a different time?'}</h2>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2355
            <div className="cancel-summary">
Open commit View diff
2355 <div className="cancel-summary">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2356
              <strong>{scheduleTarget.name}</strong>
Open commit View diff
2356 <strong>{scheduleTarget.name}</strong>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2357
              <span>Current: {formatDateShort(scheduleTarget.start_time, activeSettings.timezone)}</span>
Open commit View diff
2357 <span>Current: {formatDateShort(scheduleTarget.start_time, activeSettings.timezone)}</span>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2358
              <span>{formatClock(scheduleTarget.start_time, activeSettings.timezone)}-{formatClock(scheduleTarget.end_time, activeSettings.timezone)} · {scheduleTarget.duration_minutes} min</span>
Open commit View diff
2358 <span>{formatClock(scheduleTarget.start_time, activeSettings.timezone)}-{formatClock(scheduleTarget.end_time, activeSettings.timezone)} · {scheduleTarget.duration_minutes} min</span>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2359
            </div>
Open commit View diff
2359 </div>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2360
            <p className="muted">{scheduleAction === 'reschedule'
Open commit View diff
2360 <p className="muted">{scheduleAction === 'reschedule'
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2361
              ? 'Choose an available start time. The existing Google Calendar event is moved and the attendee receives an updated invitation.'
Open commit View diff
2361 ? 'Choose an available start time. The existing Google Calendar event is moved and the attendee receives an updated invitation.'
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2362
              : 'The existing meeting stays exactly where it is. Slot sends a Google Calendar update containing a secure acceptance link for the proposed time.'}</p>
Open commit View diff
2362 : 'The existing meeting stays exactly where it is. Slot sends a Google Calendar update containing a secure acceptance link for the proposed time.'}</p>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2363
Open commit View diff
2363
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2364
            {!suggestionUrl ? (
Open commit View diff
2364 {!suggestionUrl ? (
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2365
              <>
Open commit View diff
2365 <>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2366
                <label className="schedule-date-label">Date
Open commit View diff
2366 <label className="schedule-date-label">Date
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2367
                  <input
Open commit View diff
2367 <input
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2368
                    type="date"
Open commit View diff
2368 type="date"
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2369
                    min={todayInZone(activeSettings.timezone)}
Open commit View diff
2369 min={todayInZone(activeSettings.timezone)}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2370
                    value={scheduleDate}
Open commit View diff
2370 value={scheduleDate}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2371
                    onChange={(event) => setScheduleDate(event.target.value)}
Open commit View diff
2371 onChange={(event) => setScheduleDate(event.target.value)}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2372
                  />
Open commit View diff
2372 />
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2373
                </label>
Open commit View diff
2373 </label>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2374
                <div className="schedule-slot-picker" aria-label="Available start times">
Open commit View diff
2374 <div className="schedule-slot-picker" aria-label="Available start times">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2375
                  {loadingScheduleSlots ? (
Open commit View diff
2375 {loadingScheduleSlots ? (
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2376
                    <span className="schedule-loading"><Loader2 className="spin" size={17} /> Checking availability…</span>
Open commit View diff
2376 <span className="schedule-loading"><Loader2 className="spin" size={17} /> Checking availability…</span>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2377
                  ) : scheduleSlots.length ? (
Open commit View diff
2377 ) : scheduleSlots.length ? (
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2378
                    scheduleSlots.map((slot) => (
Open commit View diff
2378 scheduleSlots.map((slot) => (
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2379
                      <button
Open commit View diff
2379 <button
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2380
                        type="button"
Open commit View diff
2380 type="button"
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2381
                        key={slot.start}
Open commit View diff
2381 key={slot.start}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2382
                        className={scheduleStart === slot.start ? 'active' : ''}
Open commit View diff
2382 className={scheduleStart === slot.start ? 'active' : ''}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2383
                        onClick={() => setScheduleStart(slot.start)}
Open commit View diff
2383 onClick={() => setScheduleStart(slot.start)}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2384
                      >
Open commit View diff
2384 >
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2385
                        {slot.time}
Open commit View diff
2385 {slot.time}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2386
                      </button>
Open commit View diff
2386 </button>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2387
                    ))
Open commit View diff
2387 ))
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2388
                  ) : (
Open commit View diff
2388 ) : (
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2389
                    <span className="schedule-loading">No {scheduleTarget.duration_minutes}-minute starts are available on this date.</span>
Open commit View diff
2389 <span className="schedule-loading">No {scheduleTarget.duration_minutes}-minute starts are available on this date.</span>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2390
                  )}
Open commit View diff
2390 )}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2391
                </div>
Open commit View diff
2391 </div>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2392
              </>
Open commit View diff
2392 </>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2393
            ) : (
Open commit View diff
2393 ) : (
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2394
              <div className="suggestion-link-box">
Open commit View diff
2394 <div className="suggestion-link-box">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2395
                <strong>Suggestion sent</strong>
Open commit View diff
2395 <strong>Suggestion sent</strong>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2396
                <span>Google Calendar notified the attendee. You can also send this link directly:</span>
Open commit View diff
2396 <span>Google Calendar notified the attendee. You can also send this link directly:</span>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2397
                <div className="suggestion-link-row">
Open commit View diff
2397 <div className="suggestion-link-row">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2398
                  <input readOnly value={suggestionUrl} aria-label="Reschedule suggestion link" />
Open commit View diff
2398 <input readOnly value={suggestionUrl} aria-label="Reschedule suggestion link" />
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2399
                  <button type="button" className="secondary-button" onClick={() => copyScheduleLink(suggestionUrl)}>
Open commit View diff
2399 <button type="button" className="secondary-button" onClick={() => copyScheduleLink(suggestionUrl)}>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2400
                    {scheduleLinkCopied ? <><Check size={15} /> Copied</> : <><Copy size={15} /> Copy</>}
Open commit View diff
2400 {scheduleLinkCopied ? <><Check size={15} /> Copied</> : <><Copy size={15} /> Copy</>}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2401
                  </button>
Open commit View diff
2401 </button>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2402
                </div>
Open commit View diff
2402 </div>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2403
              </div>
Open commit View diff
2403 </div>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2404
            )}
Open commit View diff
2404 )}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2405
Open commit View diff
2405
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2406
            <div className="dialog-actions">
Open commit View diff
2406 <div className="dialog-actions">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2407
              <button
Open commit View diff
2407 <button
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2408
                className="secondary-button"
Open commit View diff
2408 className="secondary-button"
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2409
                type="button"
Open commit View diff
2409 type="button"
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2410
                onClick={() => { setScheduleTarget(null); setSuggestionUrl(''); }}
Open commit View diff
2410 onClick={() => { setScheduleTarget(null); setSuggestionUrl(''); }}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2411
                disabled={savingScheduleAction}
Open commit View diff
2411 disabled={savingScheduleAction}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2412
              >{suggestionUrl ? 'Done' : 'Close'}</button>
Open commit View diff
2412 >{suggestionUrl ? 'Done' : 'Close'}</button>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2413
              {!suggestionUrl && (
Open commit View diff
2413 {!suggestionUrl && (
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2414
                <button className="primary-button" type="button" onClick={submitScheduleAction} disabled={!scheduleStart || savingScheduleAction}>
Open commit View diff
2414 <button className="primary-button" type="button" onClick={submitScheduleAction} disabled={!scheduleStart || savingScheduleAction}>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2415
                  {savingScheduleAction
Open commit View diff
2415 {savingScheduleAction
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2416
                    ? <><Loader2 className="spin" size={16} /> {scheduleAction === 'reschedule' ? 'Rescheduling…' : 'Sending…'}</>
Open commit View diff
2416 ? <><Loader2 className="spin" size={16} /> {scheduleAction === 'reschedule' ? 'Rescheduling…' : 'Sending…'}</>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2417
                    : scheduleAction === 'reschedule' ? 'Reschedule meeting' : 'Send suggestion'}
Open commit View diff
2417 : scheduleAction === 'reschedule' ? 'Reschedule meeting' : 'Send suggestion'}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2418
                </button>
Open commit View diff
2418 </button>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2419
              )}
Open commit View diff
2419 )}
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2420
            </div>
Open commit View diff
2420 </div>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2421
          </section>
Open commit View diff
2421 </section>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2422
        </div>
Open commit View diff
2422 </div>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2423
      )}
Open commit View diff
2423 )}
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2424
      {cancelTarget && (
Open commit View diff
2424 {cancelTarget && (
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2425
        <div className="modal-backdrop" role="presentation">
Open commit View diff
2425 <div className="modal-backdrop" role="presentation">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2426
          <section className="confirm-dialog" role="dialog" aria-modal="true" aria-labelledby="cancel-title">
Open commit View diff
2426 <section className="confirm-dialog" role="dialog" aria-modal="true" aria-labelledby="cancel-title">
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2427
            <p className="eyebrow">{cancelTarget.status === 'pending' ? 'PAYMENT HOLD' : 'CANCEL MEETING'}</p>
Open commit View diff
2427 <p className="eyebrow">{cancelTarget.status === 'pending' ? 'PAYMENT HOLD' : 'CANCEL MEETING'}</p>
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2428
            <h2 id="cancel-title">{cancelTarget.status === 'pending' ? 'Release this payment hold?' : 'Cancel meeting?'}</h2>
Open commit View diff
2428 <h2 id="cancel-title">{cancelTarget.status === 'pending' ? 'Release this payment hold?' : 'Cancel meeting?'}</h2>
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2429
            <div className="cancel-summary">
Open commit View diff
2429 <div className="cancel-summary">
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2430
              <strong>{cancelTarget.name}</strong>
Open commit View diff
2430 <strong>{cancelTarget.name}</strong>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2431
              <span>{formatDateShort(cancelTarget.start_time, activeSettings.timezone)}</span>
Open commit View diff
2431 <span>{formatDateShort(cancelTarget.start_time, activeSettings.timezone)}</span>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2432
              <span>{formatClock(cancelTarget.start_time, activeSettings.timezone)}-{formatClock(cancelTarget.end_time, activeSettings.timezone)}</span>
Open commit View diff
2432 <span>{formatClock(cancelTarget.start_time, activeSettings.timezone)}-{formatClock(cancelTarget.end_time, activeSettings.timezone)}</span>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2433
              <span>{cancelTarget.duration_minutes} min</span>
Open commit View diff
2433 <span>{cancelTarget.duration_minutes} min</span>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2434
            </div>
Open commit View diff
2434 </div>
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2435
            <p className="muted">{cancelTarget.status === 'pending'
Open commit View diff
2435 <p className="muted">{cancelTarget.status === 'pending'
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2436
              ? 'This expires the open Stripe Checkout, removes the temporary calendar hold, and makes the time bookable again.'
Open commit View diff
2436 ? 'This expires the open Stripe Checkout, removes the temporary calendar hold, and makes the time bookable again.'
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2437
              : 'This will also cancel the Google Calendar event and send normal Calendar cancellation notifications.'}</p>
Open commit View diff
2437 : 'This will also cancel the Google Calendar event and send normal Calendar cancellation notifications.'}</p>
Alex Nord 1 day ago f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2438
            {cancelTarget.status === 'pending'
Open commit View diff
2438 {cancelTarget.status === 'pending'
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2439
              && checkoutSessionMode(cancelTarget.stripe_checkout_session_id) !== 'unknown'
Open commit View diff
2439 && checkoutSessionMode(cancelTarget.stripe_checkout_session_id) !== 'unknown'
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2440
              && stripeMode !== 'unknown'
Open commit View diff
2440 && stripeMode !== 'unknown'
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2441
              && checkoutSessionMode(cancelTarget.stripe_checkout_session_id) !== stripeMode && (
Open commit View diff
2441 && checkoutSessionMode(cancelTarget.stripe_checkout_session_id) !== stripeMode && (
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2442
                <div className="error-banner" role="alert">
Open commit View diff
2442 <div className="error-banner" role="alert">
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2443
                  This hold was created in Stripe {checkoutSessionMode(cancelTarget.stripe_checkout_session_id).toUpperCase()} mode, but Slot is currently using {stripeMode.toUpperCase()} mode. The current key cannot expire that old Checkout session. Releasing will still remove Slot's lock and calendar hold; the old Stripe Checkout may remain payable until its own expiry.
Open commit View diff
2443 This hold was created in Stripe {checkoutSessionMode(cancelTarget.stripe_checkout_session_id).toUpperCase()} mode, but Slot is currently using {stripeMode.toUpperCase()} mode. The current key cannot expire that old Checkout session. Releasing will still remove Slot's lock and calendar hold; the old Stripe Checkout may remain payable until its own expiry.
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2444
                </div>
Open commit View diff
2444 </div>
same change f1dbf89

fix: clarify availability limits and document Stripe as optional

Full commit hash
f1dbf89ac73246b1bdab27a2d40d1f2ab4374bf8
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2445
            )}
Open commit View diff
2445 )}
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2446
            {cancelTarget.payment_status === 'paid' && (
Open commit View diff
2446 {cancelTarget.payment_status === 'paid' && (
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2447
              <div className="refund-banner" role="status">
Open commit View diff
2447 <div className="refund-banner" role="status">
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2448
                <strong>Full Stripe refund included</strong>
Open commit View diff
2448 <strong>Full Stripe refund included</strong>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2449
                <span>{cancelTarget.payment_amount != null && cancelTarget.payment_currency
Open commit View diff
2449 <span>{cancelTarget.payment_amount != null && cancelTarget.payment_currency
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2450
                  ? `${formatMoneyMinor(cancelTarget.payment_amount, cancelTarget.payment_currency)} will be refunded to the original payment method before Slot finalizes the cancellation.`
Open commit View diff
2450 ? `${formatMoneyMinor(cancelTarget.payment_amount, cancelTarget.payment_currency)} will be refunded to the original payment method before Slot finalizes the cancellation.`
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2451
                  : 'Slot will refund the Stripe payment to the original payment method before finalizing the cancellation.'}</span>
Open commit View diff
2451 : 'Slot will refund the Stripe payment to the original payment method before finalizing the cancellation.'}</span>
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2452
              </div>
Open commit View diff
2452 </div>
Alex Nord 1 day ago 9abcc27

Added Stripe payments

Full commit hash
9abcc271f095921a2c76e260009e53cda98d817a
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2453
            )}
Open commit View diff
2453 )}
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2454
            <div className="dialog-actions">
Open commit View diff
2454 <div className="dialog-actions">
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2455
              <button className="secondary-button" type="button" onClick={() => setCancelTarget(null)} disabled={cancelling}>{cancelTarget.status === 'pending' ? 'Keep hold' : 'Keep meeting'}</button>
Open commit View diff
2455 <button className="secondary-button" type="button" onClick={() => setCancelTarget(null)} disabled={cancelling}>{cancelTarget.status === 'pending' ? 'Keep hold' : 'Keep meeting'}</button>
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2456
              <button className="danger-button" type="button" onClick={confirmCancelBooking} disabled={cancelling}>
Open commit View diff
2456 <button className="danger-button" type="button" onClick={confirmCancelBooking} disabled={cancelling}>
Alex Nord 1 day ago 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2457
                {cancelling
Open commit View diff
2457 {cancelling
same change 110f91e

Adding indication for test/live key

Full commit hash
110f91e747192b16de709ea11c5eea17eaeadd48
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2458
                  ? <><Loader2 className="spin" size={16} /> {cancelTarget.status === 'pending' ? 'Releasing...' : 'Cancelling...'}</>
Open commit View diff
2458 ? <><Loader2 className="spin" size={16} /> {cancelTarget.status === 'pending' ? 'Releasing...' : 'Cancelling...'}</>
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2459
                  : cancelTarget.status === 'pending' ? 'Release hold' : cancelTarget.payment_status === 'paid' ? 'Cancel & refund' : 'Cancel meeting'}
Open commit View diff
2459 : cancelTarget.status === 'pending' ? 'Release hold' : cancelTarget.payment_status === 'paid' ? 'Cancel & refund' : 'Cancel meeting'}
Alex Nord 3 days ago 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2460
              </button>
Open commit View diff
2460 </button>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2461
            </div>
Open commit View diff
2461 </div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2462
          </section>
Open commit View diff
2462 </section>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2463
        </div>
Open commit View diff
2463 </div>
same change 5562973

Add cancellation and availability blocks

Full commit hash
556297329383149d17cc0ffa9568836eeae97d2c
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2464
      )}
Open commit View diff
2464 )}
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2465
    </main>
Open commit View diff
2465 </main>
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2466
  );
Open commit View diff
2466 );
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2467
}
Open commit View diff
2467 }
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2468
Open commit View diff
2468
same change 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2469
export default function App() {
Open commit View diff
2469 export default function App() {
Alex Nord 1 day ago 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2470
  if (window.location.pathname.startsWith('/admin')) return <Admin />;
Open commit View diff
2470 if (window.location.pathname.startsWith('/admin')) return <Admin />;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2471
  if (window.location.pathname.startsWith('/reschedule/')) return <RescheduleSuggestionPage />;
Open commit View diff
2471 if (window.location.pathname.startsWith('/reschedule/')) return <RescheduleSuggestionPage />;
same change 9aa588b

feat: add rescheduling, time proposals and Stripe cancellation refunds

Full commit hash
9aa588b368f7c46ba3d287199a3d95506867c927
Author
Alex Nord <[email protected]>
Date
1 day ago
Selected line
2472
  return <PublicBooking />;
Open commit View diff
2472 return <PublicBooking />;
Alex Nord 3 days ago 45c38c3

Prepare Slot booking worker

Full commit hash
45c38c3ae5284118e8d65aa9d49e90850b1209f5
Author
Alex Nord <[email protected]>
Date
3 days ago
Selected line
2473
}
Open commit View diff
2473 }