@burdenoff/microfe-movethewheels 2026.830.1 → 2026.830.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -41,7 +41,9 @@ function PageLoader() {
|
|
|
41
41
|
<div className="flex items-center justify-center min-h-[400px]">
|
|
42
42
|
<div className="flex flex-col items-center gap-3">
|
|
43
43
|
<div className="animate-spin rounded-full h-8 w-8 border-b-2 border-primary"></div>
|
|
44
|
-
<p className="text-sm text-text-secondary">
|
|
44
|
+
<p className="text-sm text-text-secondary">
|
|
45
|
+
{tr('movethewheels.root.loading', 'Loading...')}
|
|
46
|
+
</p>
|
|
45
47
|
</div>
|
|
46
48
|
</div>
|
|
47
49
|
);
|
|
@@ -74,7 +74,10 @@ export default function AIAssistantPage() {
|
|
|
74
74
|
<MessageCircle size={20} className="text-primary flex-shrink-0 mt-0.5" />
|
|
75
75
|
<div>
|
|
76
76
|
<p className="text-sm font-medium text-text-primary">
|
|
77
|
-
{tr(
|
|
77
|
+
{tr(
|
|
78
|
+
'movethewheels.ai.callout.title',
|
|
79
|
+
'Looking to ask a question about your operations?'
|
|
80
|
+
)}
|
|
78
81
|
</p>
|
|
79
82
|
<p className="text-sm text-text-secondary mt-1">
|
|
80
83
|
{tr(
|
|
@@ -96,53 +96,57 @@ export default function SettingsPage() {
|
|
|
96
96
|
|
|
97
97
|
const integrations = useMemo(
|
|
98
98
|
() => [
|
|
99
|
-
{
|
|
99
|
+
{
|
|
100
|
+
key: 'googleMaps',
|
|
101
|
+
name: tr('movethewheels.settings.integrations.googleMaps', 'Google Maps'),
|
|
102
|
+
},
|
|
100
103
|
{ key: 'stripe', name: tr('movethewheels.settings.integrations.stripe', 'Stripe') },
|
|
101
104
|
{ key: 'twilio', name: tr('movethewheels.settings.integrations.twilio', 'Twilio') },
|
|
102
105
|
],
|
|
103
106
|
[tr]
|
|
104
107
|
);
|
|
105
108
|
|
|
106
|
-
const notificationItems: { key: keyof NotificationPrefs; label: string; desc: string }[] =
|
|
107
|
-
(
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
109
|
+
const notificationItems: { key: keyof NotificationPrefs; label: string; desc: string }[] =
|
|
110
|
+
useMemo(
|
|
111
|
+
() => [
|
|
112
|
+
{
|
|
113
|
+
key: 'orderUpdates',
|
|
114
|
+
label: tr('movethewheels.settings.notifications.orderUpdates.label', 'Order updates'),
|
|
115
|
+
desc: tr(
|
|
116
|
+
'movethewheels.settings.notifications.orderUpdates.desc',
|
|
117
|
+
'Receive notifications for order status changes'
|
|
118
|
+
),
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
key: 'deliveryAlerts',
|
|
122
|
+
label: tr('movethewheels.settings.notifications.deliveryAlerts.label', 'Delivery alerts'),
|
|
123
|
+
desc: tr(
|
|
124
|
+
'movethewheels.settings.notifications.deliveryAlerts.desc',
|
|
125
|
+
'Get notified about delivery issues'
|
|
126
|
+
),
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
key: 'systemNotifications',
|
|
130
|
+
label: tr(
|
|
131
|
+
'movethewheels.settings.notifications.systemNotifications.label',
|
|
132
|
+
'System notifications'
|
|
133
|
+
),
|
|
134
|
+
desc: tr(
|
|
135
|
+
'movethewheels.settings.notifications.systemNotifications.desc',
|
|
136
|
+
'Important system updates and maintenance'
|
|
137
|
+
),
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
key: 'weeklyReports',
|
|
141
|
+
label: tr('movethewheels.settings.notifications.weeklyReports.label', 'Weekly reports'),
|
|
142
|
+
desc: tr(
|
|
143
|
+
'movethewheels.settings.notifications.weeklyReports.desc',
|
|
144
|
+
'Receive weekly performance summary'
|
|
145
|
+
),
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
[tr]
|
|
149
|
+
);
|
|
146
150
|
|
|
147
151
|
const loadedForm = useMemo(() => toForm(preferences), [preferences]);
|
|
148
152
|
useEffect(() => {
|
|
@@ -203,7 +207,10 @@ export default function SettingsPage() {
|
|
|
203
207
|
steps={[
|
|
204
208
|
{
|
|
205
209
|
id: 'company',
|
|
206
|
-
label: tr(
|
|
210
|
+
label: tr(
|
|
211
|
+
'movethewheels.settings.nextSteps.company.label',
|
|
212
|
+
'Confirm company details & localization'
|
|
213
|
+
),
|
|
207
214
|
description: tr(
|
|
208
215
|
'movethewheels.settings.nextSteps.company.description',
|
|
209
216
|
'Set your name, contact info, timezone, currency and language.'
|
|
@@ -213,7 +220,10 @@ export default function SettingsPage() {
|
|
|
213
220
|
},
|
|
214
221
|
{
|
|
215
222
|
id: 'notifications',
|
|
216
|
-
label: tr(
|
|
223
|
+
label: tr(
|
|
224
|
+
'movethewheels.settings.nextSteps.notifications.label',
|
|
225
|
+
'Choose your notifications'
|
|
226
|
+
),
|
|
217
227
|
description: tr(
|
|
218
228
|
'movethewheels.settings.nextSteps.notifications.description',
|
|
219
229
|
'Decide which order, delivery and report emails you receive.'
|
|
@@ -325,7 +335,8 @@ export default function SettingsPage() {
|
|
|
325
335
|
<Card>
|
|
326
336
|
<CardHeader>
|
|
327
337
|
<CardTitle className="flex items-center gap-2">
|
|
328
|
-
<Globe size={18} />
|
|
338
|
+
<Globe size={18} />{' '}
|
|
339
|
+
{tr('movethewheels.settings.localization.title', 'Localization')}
|
|
329
340
|
</CardTitle>
|
|
330
341
|
</CardHeader>
|
|
331
342
|
<CardContent className="space-y-4">
|
|
@@ -386,7 +397,9 @@ export default function SettingsPage() {
|
|
|
386
397
|
<TabsContent value="notifications" className="space-y-6">
|
|
387
398
|
<Card>
|
|
388
399
|
<CardHeader>
|
|
389
|
-
<CardTitle>
|
|
400
|
+
<CardTitle>
|
|
401
|
+
{tr('movethewheels.settings.notifications.title', 'Email Notifications')}
|
|
402
|
+
</CardTitle>
|
|
390
403
|
</CardHeader>
|
|
391
404
|
<CardContent className="space-y-4">
|
|
392
405
|
{notificationItems.map((item) => (
|
|
@@ -409,7 +422,9 @@ export default function SettingsPage() {
|
|
|
409
422
|
<TabsContent value="security" className="space-y-6">
|
|
410
423
|
<Card>
|
|
411
424
|
<CardHeader>
|
|
412
|
-
<CardTitle>
|
|
425
|
+
<CardTitle>
|
|
426
|
+
{tr('movethewheels.settings.security.password.title', 'Password')}
|
|
427
|
+
</CardTitle>
|
|
413
428
|
<CardDescription>
|
|
414
429
|
{tr(
|
|
415
430
|
'movethewheels.settings.security.password.description',
|
|
@@ -488,7 +503,10 @@ export default function SettingsPage() {
|
|
|
488
503
|
<p className="text-sm text-text-secondary">
|
|
489
504
|
{connected
|
|
490
505
|
? tr('movethewheels.settings.integrations.connected', 'Connected')
|
|
491
|
-
: tr(
|
|
506
|
+
: tr(
|
|
507
|
+
'movethewheels.settings.integrations.notConfigured',
|
|
508
|
+
'Not configured'
|
|
509
|
+
)}
|
|
492
510
|
</p>
|
|
493
511
|
</div>
|
|
494
512
|
<Button
|