Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: add failed inbox item history

Ammar Ahmed436c63588906
diff --git a/apps/mobile/app/screens/settings/components.tsx b/apps/mobile/app/screens/settings/components.tsx
index 4413648bf..f18de97aa 100644
--- a/apps/mobile/app/screens/settings/components.tsx
+++ b/apps/mobile/app/screens/settings/components.tsx
@@ -49,6 +49,7 @@ import ThemeSelector from "./theme-selector";
import { TitleFormat } from "./title-format";
import { NotesnookCircle } from "./notesnook-circle";
import { ManageInboxKeys, InboxKeysList } from "./manage-inbox-keys";
+import { FailedInboxItems } from "./failed-inbox-items";
export const components: { [name: string]: ReactElement } = {
homeselector: <HomePicker />,
@@ -82,5 +83,6 @@ export const components: { [name: string]: ReactElement } = {
"change-email": <ChangeEmail />,
"notesnook-circle": <NotesnookCircle />,
"manage-inbox-keys": <ManageInboxKeys />,
- "inbox-keys": <InboxKeysList />
+ "inbox-keys": <InboxKeysList />,
+ "failed-inbox-items": <FailedInboxItems />
};
diff --git a/apps/mobile/app/screens/settings/failed-inbox-items.tsx b/apps/mobile/app/screens/settings/failed-inbox-items.tsx
new file mode 100644
index 000000000..cb09c13f4
--- /dev/null
+++ b/apps/mobile/app/screens/settings/failed-inbox-items.tsx
@@ -0,0 +1,392 @@
+/*
+This file is part of the Notesnook project (https://notesnook.com/)
+
+Copyright (C) 2023 Streetwriters (Private) Limited
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+import { getFormattedDate, usePromise } from "@notesnook/common";
+import { InboxItemsHistoryErrorContext } from "@notesnook/core";
+import { strings } from "@notesnook/intl";
+import { useThemeColors } from "@notesnook/theme";
+import Clipboard from "@react-native-clipboard/clipboard";
+import React, { useEffect, useState } from "react";
+import { ActivityIndicator, ScrollView, View } from "react-native";
+import { db } from "../../common/database";
+import { presentDialog } from "../../components/dialog/functions";
+import { Button } from "../../components/ui/button";
+import { IconButton } from "../../components/ui/icon-button";
+import Paragraph from "../../components/ui/typography/paragraph";
+import { ToastManager } from "../../services/event-manager";
+import { AppFontSize, defaultBorderRadius } from "../../utils/size";
+import { DefaultAppStyles } from "../../utils/styles";
+import { Header } from "../../components/header";
+
+type FailedInboxItem = {
+ id: string;
+ dateSynced: number;
+ errorContext?: string;
+};
+
+function parseErrorContext(
+ raw: string | undefined
+): InboxItemsHistoryErrorContext | null {
+ if (!raw) return null;
+
+ try {
+ return JSON.parse(raw) as InboxItemsHistoryErrorContext;
+ } catch {
+ return null;
+ }
+}
+
+function ErrorBadge({
+ message
+}: {
+ message: InboxItemsHistoryErrorContext["message"] | undefined;
+}) {
+ const { colors } = useThemeColors();
+
+ if (!message) {
+ return (
+ <Paragraph size={AppFontSize.xs} color={colors.secondary.paragraph}>
+ N/A
+ </Paragraph>
+ );
+ }
+
+ const palette =
+ message === "Invalid JSON"
+ ? { background: "rgba(255, 152, 0, 0.15)", paragraph: "#e65100" }
+ : message === "Validation failed"
+ ? { background: "rgba(255, 193, 7, 0.15)", paragraph: "#8a6000" }
+ : colors.error;
+
+ return (
+ <View
+ style={{
+ alignSelf: "flex-start",
+ backgroundColor: palette.background,
+ borderRadius: defaultBorderRadius,
+ paddingVertical: 4,
+ paddingHorizontal: 8
+ }}
+ >
+ <Paragraph
+ size={AppFontSize.xxs}
+ color={palette.paragraph}
+ style={{ fontWeight: "700" }}
+ >
+ {message}
+ </Paragraph>
+ </View>
+ );
+}
+
+function DetailsBlock({ value }: { value: string }) {
+ const { colors } = useThemeColors();
+ const [copied, setCopied] = useState(false);
+
+ useEffect(() => {
+ if (!copied) return;
+ const timeout = setTimeout(() => setCopied(false), 1000);
+ return () => clearTimeout(timeout);
+ }, [copied]);
+
+ return (
+ <View
+ style={{
+ borderWidth: 1,
+ borderColor: colors.secondary.border,
+ borderRadius: defaultBorderRadius,
+ backgroundColor: colors.secondary.background,
+ overflow: "hidden"
+ }}
+ >
+ <View
+ style={{
+ flexDirection: "row",
+ justifyContent: "flex-end",
+ borderBottomWidth: 1,
+ borderBottomColor: colors.secondary.border
+ }}
+ >
+ <IconButton
+ name={copied ? "check" : "content-copy"}
+ color={colors.primary.icon}
+ size={AppFontSize.lg}
+ onPress={() => {
+ try {
+ Clipboard.setString(value);
+ setCopied(true);
+ ToastManager.show({
+ message: strings.copied(),
+ type: "success"
+ });
+ } catch {
+ ToastManager.show({
+ message: strings.failedToCopyToClipboard(),
+ type: "error"
+ });
+ }
+ }}
+ />
+ </View>
+
+ <ScrollView
+ horizontal
+ style={{ maxHeight: 120 }}
+ contentContainerStyle={{
+ padding: DefaultAppStyles.GAP_SMALL
+ }}
+ >
+ <Paragraph
+ size={AppFontSize.xxs}
+ style={{
+ fontFamily: "monospace"
+ }}
+ >
+ {value}
+ </Paragraph>
+ </ScrollView>
+ </View>
+ );
+}
+
+export const FailedInboxItems = () => {
+ const { colors } = useThemeColors();
+ const result = usePromise(() => db.inboxItemsHistory.failed.items());
+
+ async function deleteItem(id: string) {
+ await db.inboxItemsHistory.delete(id);
+ ToastManager.show({
+ message: strings.itemDeleted(),
+ type: "success"
+ });
+
+ if (result.status !== "pending") {
+ result.refresh();
+ }
+ }
+
+ const items = (
+ result.status === "fulfilled" ? result.value : []
+ ) as FailedInboxItem[];
+
+ return (
+ <View
+ style={{
+ flex: 1
+ }}
+ >
+ <Header
+ renderedInRoute="Settings"
+ title={strings.failedInboxItems()}
+ canGoBack={true}
+ id="Settings"
+ rightButton={{
+ name: "delete",
+ color: colors.primary.icon,
+ onPress: async () => {
+ presentDialog({
+ title: strings.deleteAll(),
+ paragraph: strings.deleteAllFailedItemsDesc(),
+ positiveText: strings.delete(),
+ positiveType: "errorShade",
+ positivePress: async () => {
+ if (result.status !== "pending") {
+ await db.inboxItemsHistory.deleteFailed();
+ result.refresh();
+ }
+
+ return true;
+ }
+ });
+ }
+ }}
+ />
+
+ {result.status === "pending" ? (
+ <View
+ style={{
+ flex: 1,
+ justifyContent: "center",
+ alignItems: "center",
+ gap: DefaultAppStyles.GAP_VERTICAL
+ }}
+ >
+ <ActivityIndicator size="small" color={colors.primary.accent} />
+ <Paragraph color={colors.secondary.paragraph}>
+ {strings.loading()}
+ </Paragraph>
+ </View>
+ ) : null}
+
+ {result.status === "rejected" ? (
+ <View
+ style={{
+ flex: 1,
+ justifyContent: "center",
+ alignItems: "center",
+ gap: DefaultAppStyles.GAP_VERTICAL,
+ paddingHorizontal: DefaultAppStyles.GAP
+ }}
+ >
+ <Paragraph color={colors.error.paragraph}>
+ {strings.failed()}
+ </Paragraph>
+ <Button
+ title={strings.retry()}
+ type="accent"
+ onPress={result.refresh}
+ />
+ </View>
+ ) : null}
+
+ {items.length === 0 ? (
+ <View
+ style={{
+ paddingHorizontal: DefaultAppStyles.GAP,
+ paddingTop: DefaultAppStyles.GAP_VERTICAL,
+ flex: 1,
+ justifyContent: "center"
+ }}
+ >
+ <View
+ style={{
+ padding: DefaultAppStyles.GAP,
+ borderRadius: defaultBorderRadius,
+ alignItems: "center"
+ }}
+ >
+ <Paragraph color={colors.secondary.paragraph}>
+ {strings.noFailedInboxItems()}
+ </Paragraph>
+ </View>
+ </View>
+ ) : null}
+
+ {result.status === "fulfilled" && items.length > 0 ? (
+ <ScrollView
+ contentContainerStyle={{
+ gap: DefaultAppStyles.GAP_VERTICAL,
+ paddingHorizontal: DefaultAppStyles.GAP,
+ paddingVertical: DefaultAppStyles.GAP_VERTICAL,
+ paddingBottom: 50
+ }}
+ >
+ {items.map((item) => {
+ const context = parseErrorContext(item.errorContext);
+ const { message, description, ...rest } =
+ context ??
+ ({} as Partial<InboxItemsHistoryErrorContext> &
+ Record<string, unknown>);
+ const details =
+ Object.keys(rest).length > 0
+ ? JSON.stringify(rest, null, 2)
+ : undefined;
+
+ return (
+ <View
+ key={item.id}
+ style={{
+ borderWidth: 1,
+ borderColor: colors.secondary.border,
+ borderRadius: defaultBorderRadius,
+ backgroundColor: colors.primary.background,
+ padding: DefaultAppStyles.GAP,
+ gap: DefaultAppStyles.GAP_VERTICAL
+ }}
+ >
+ <View
+ style={{
+ flexDirection: "row",
+ justifyContent: "space-between"
+ }}
+ >
+ <Paragraph
+ size={AppFontSize.xs}
+ color={colors.secondary.paragraph}
+ >
+ {getFormattedDate(item.dateSynced, "date-time")}
+ </Paragraph>
+
+ <ErrorBadge message={message} />
+ </View>
+
+ <View
+ style={{
+ flexDirection: "row",
+ gap: DefaultAppStyles.GAP_SMALL
+ }}
+ >
+ <View
+ style={{
+ backgroundColor: colors.error.background,
+ padding: 3,
+ paddingHorizontal: 6,
+ borderRadius: 4
+ }}
+ >
+ <Paragraph color={colors.error.paragraph}>Error</Paragraph>
+ </View>
+ <Paragraph> {(description as string) || "N/A"}</Paragraph>
+ </View>
+
+ {details ? (
+ <DetailsBlock value={details} />
+ ) : (
+ <Paragraph
+ size={AppFontSize.xs}
+ color={colors.secondary.paragraph}
+ >
+ N/A
+ </Paragraph>
+ )}
+
+ <View style={{ alignItems: "flex-end" }}>
+ <Button
+ title={strings.delete()}
+ type="error"
+ style={{
+ width: "100%"
+ }}
+ onPress={() => {
+ presentDialog({
+ title: strings.delete(),
+ paragraph: strings.areYouSure(),
+ positiveText: strings.delete(),
+ positiveType: "error",
+ negativeText: strings.cancel(),
+ positivePress: async () => {
+ try {
+ await deleteItem(item.id);
+ return true;
+ } catch (error) {
+ ToastManager.error(error as Error);
+ return false;
+ }
+ }
+ });
+ }}
+ />
+ </View>
+ </View>
+ );
+ })}
+ </ScrollView>
+ ) : null}
+ </View>
+ );
+};
diff --git a/apps/mobile/app/screens/settings/manage-inbox-keys.tsx b/apps/mobile/app/screens/settings/manage-inbox-keys.tsx
index a1d72d609..606c5c70a 100644
--- a/apps/mobile/app/screens/settings/manage-inbox-keys.tsx
+++ b/apps/mobile/app/screens/settings/manage-inbox-keys.tsx
@@ -195,6 +195,8 @@ const InboxKeysList = () => {
const apiKeys = apiKeysPromise.value || [];
+ console.log(apiKeys);
+
return (
<ScrollView
contentContainerStyle={{
@@ -202,24 +204,43 @@ const InboxKeysList = () => {
paddingVertical: DefaultAppStyles.GAP_VERTICAL,
width: "100%",
paddingHorizontal: DefaultAppStyles.GAP,
- paddingBottom: 50
+ paddingBottom: 50,
+ minHeight: "100%"
}}
>
{apiKeys.length === 0 ? (
<View
style={{
padding: DefaultAppStyles.GAP * 2,
- borderWidth: 1,
- borderStyle: "dashed",
- borderColor: colors.secondary.border,
- borderRadius: 5,
- backgroundColor: colors.secondary.background,
- alignItems: "center"
+ alignItems: "center",
+ gap: DefaultAppStyles.GAP_VERTICAL,
+ flex: 1,
+ justifyContent: "center"
}}
>
<Paragraph color={colors.secondary.paragraph}>
{strings.createFirstApiKey()}
</Paragraph>
+
+ <Button
+ title={strings.createKey()}
+ type="accent"
+ style={{
+ paddingVertical: DefaultAppStyles.GAP_VERTICAL_SMALL,
+ width: "100%"
+ }}
+ onPress={() => {
+ if (apiKeys.length >= 10) {
+ presentDialog({
+ title: strings.apiKeysLimitReached(),
+ paragraph: strings.apiKeysLimitReachedMessage(),
+ positiveText: strings.ok()
+ });
+ } else {
+ AddApiKeySheet.present(() => apiKeysPromise.refresh());
+ }
+ }}
+ />
</View>
) : (
<View style={{ gap: 0 }}>
diff --git a/apps/mobile/app/screens/settings/settings-data.tsx b/apps/mobile/app/screens/settings/settings-data.tsx
index 073e9a78e..85cef957b 100644
--- a/apps/mobile/app/screens/settings/settings-data.tsx
+++ b/apps/mobile/app/screens/settings/settings-data.tsx
@@ -762,6 +762,14 @@ export const settingsGroups: SettingSection[] = [
description: strings.viewAPIKeysDesc(),
type: "screen",
component: "inbox-keys"
+ },
+ {
+ id: "failed-inbox-items",
+ name: strings.failedInboxItems(),
+ description: strings.failedInboxItemsDesc(),
+ type: "screen",
+ component: "failed-inbox-items",
+ hideHeader: true
}
]
}
diff --git a/inbox-public.asc b/inbox-public.asc
new file mode 100644
index 000000000..bdaf88521
--- /dev/null
+++ b/inbox-public.asc
@@ -0,0 +1,33 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: openpgp-mobile
+
+xsBNBGoNaK8BCAD0B33KK4LRAvN1lZLpJhQMyk/+Srss56PjFphMH1MmqMgIRRBP
+3RykX+7+ibha+5WIFYpgBEaPM9osZz22XUGhVrUzUxJMScjhLWR6xyuv0qs0Dctg
+ePdcupPbJND3j9W4OnOBXwv+Ko/fX5K+enJfPp6fxyWbf3X/1BnAYlHyLngBLz8P
+mt5qj0qax5V4ujUVU8ByNFvQkjcA+ip0vol2xQlmKa5UXJ1KYfM7LQWa4gQqdaY8
+8FOl6CaaWsXO/vCnIF47JClWGJfJ0rAaREI/Kj+MV+i98BPAcZG8Kj523QmgIHo6
+Puahi1q9wqX6Vwe6hjhiTUJSWvNjZXGi9A4PABEBAAHNDU5OIDxOTkBOTi5OTj7C
+wLsEEwEIAG8FgmoNaK8CCwcJkC34qZJdxA5jNRQAAAAAABwAEHNhbHRAbm90YXRp
+b25zLm9wZW5wZ3Bqcy5vcmfLP2eEUAk99foAqkNQSyW9AhUIAhYAAhkBApsDAh4B
+FiEEjXaqZcVUExRCuEhoLfipkl3EDmMAAKW7CACxh26CVTjRLjeq/GNueceWRJoT
+qF/OMQY/3mnuLMbaEMuYSc03ml6jiMdqZy6qeKgjH36qvpfu68HxPYEOn3WQ/k9V
+2Iug4xDFlqFw0IN2Gqkgur+FYbFCjG1mkqsrlKsN2QHqG8sf+5EXegpvNibI+43Q
+HZp+Q5B8HftnBANvZngFJz3t0hCCpUgVOTK4vwK8IKDK7zbMqfnT4k5vNbfpxd30
+5xfZkQXrltJLaHb5pzgVMeoM00TaHd8WBDFYn8BF1OI/TbcChYpRPkW7WoKKuZ/1
+tIBfv/O5h3ZxgSc4NdL1FuLZ0nTscPoN+uBE29XQat8IOiYiA4DvKLbIQe89zsBN
+BGoNaK8BCACppIfZHotgC8zKvCkj1sWAny5Qq/AkYdIJh/b//7NhnWyUgiSDnoEV
+1yik33CiQgoORR42YfVCZCMH2ZydzeKdaNKd/fFLeMsog0ddp4cW68drDDVvkGso
+vSMwvpSS/J4JJ2KXqIbvscJXGzAaFZ61BoY3kvRKHymHGe2oLs2bPscNug7mm8pm
+18+IhNeOtuS6MZzdXr9rmfuTtY9zUIbIaOgY3EiiaRkvcQLPcBTwsoM9b9zNMK+1
+ivA65KrtgN+T7axcIRT+QFFoNOw7mjHNQybb6qRABWS8AWouot4B2g9tNHndlhNV
+aimI+P1RHaP9VOxJFneWkmvviXqznv4TABEBAAHCwKwEGAEIAGAFgmoNaK8JkC34
+qZJdxA5jNRQAAAAAABwAEHNhbHRAbm90YXRpb25zLm9wZW5wZ3Bqcy5vcmeywJ1O
+IyGqDaRT2EGH4ZZpApsMFiEEjXaqZcVUExRCuEhoLfipkl3EDmMAABm8B/9rKv4l
+PNwYXLVQlhyGlF/MvdYvT4Fj2CxtO32Fo++dUlEYJqX++GihXr0HyjdE200Ttb1Q
+IpZto9rx5X0QHKGEqVGM+kJ6STOWK5jRlADES6GKE3dZde4Z+QS+BBdEdveZtGwR
+GsLArPKjhnbkiBXTrMUkoQa4eGanuXA452io5NsiIeNlMUsC6IAXxuZp8+iBtN9K
+65iSrvmasdKgwttbqp0qiI5VudiEAQjrkHDMlGftMqSllZWkavlbpYPIN/Omzh8G
+kVbBMAvQtDsxSFACnZCGQ1l3r9qDJWUQyn57qQgrQwYXx+sHIlOcdAMGiPbE49KP
+kUYOKopIqix0i2/F
+=rfLM
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/packages/intl/locale/en.po b/packages/intl/locale/en.po
index 36a4620d6..03ffd2a8e 100644
--- a/packages/intl/locale/en.po
+++ b/packages/intl/locale/en.po
@@ -1,6 +1,7 @@
msgid ""
msgstr ""
-"POT-Creation-Date: 2026-05-20 09:27+0500\n"
+"POT-Creation-Date: 2026-05-21 08:29+0500\n"
+"POT-Creation-Date: 2026-05-21 08:29+0500\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -975,6 +976,10 @@ msgstr "Are you sure you want to clear all logs from {key}?"
msgid "Are you sure you want to clear trash?"
msgstr "Are you sure you want to clear trash?"
+#: src/strings.ts:2757
+msgid "Are you sure you want to delete all failed inbox items?"
+msgstr "Are you sure you want to delete all failed inbox items?"
+
#: src/strings.ts:2734
msgid "Are you sure you want to delete this attachment?"
msgstr "Are you sure you want to delete this attachment?"
@@ -2154,7 +2159,7 @@ msgstr "Date format"
msgid "Date modified"
msgstr "Date modified"
-#: src/strings.ts:2747
+#: src/strings.ts:2749
msgid "Date synced"
msgstr "Date synced"
@@ -2243,6 +2248,10 @@ msgstr "Delete"
msgid "Delete account"
msgstr "Delete account"
+#: src/strings.ts:2755
+msgid "Delete all"
+msgstr "Delete all"
+
#: src/strings.ts:2732
msgid "Delete attachment"
msgstr "Delete attachment"
@@ -2311,7 +2320,7 @@ msgstr "Desktop app"
msgid "Desktop integration"
msgstr "Desktop integration"
-#: src/strings.ts:2746
+#: src/strings.ts:2748
msgid "Details"
msgstr "Details"
@@ -2919,7 +2928,7 @@ msgstr "Faced an issue or have a suggestion? Click here to create a bug report"
msgid "Failed"
msgstr "Failed"
-#: src/strings.ts:2748
+#: src/strings.ts:2750
msgid "Failed inbox items"
msgstr "Failed inbox items"
@@ -3676,7 +3685,7 @@ msgstr "item"
msgid "Item"
msgstr "Item"
-#: src/strings.ts:2734
+#: src/strings.ts:2754
msgid "Item deleted"
msgstr "Item deleted"
@@ -4376,7 +4385,7 @@ msgstr "No downloads in progress."
msgid "No encryption key found"
msgstr "No encryption key found"
-#: src/strings.ts:2750
+#: src/strings.ts:2752
msgid "No failed inbox items"
msgstr "No failed inbox items"
@@ -6301,7 +6310,7 @@ msgstr "shortcuts"
msgid "Shortcuts"
msgstr "Shortcuts"
-#: src/strings.ts:2751
+#: src/strings.ts:2753
msgid "Show"
msgstr "Show"
@@ -7429,7 +7438,7 @@ msgstr "View and manage inbox API keys"
msgid "View and share debug logs"
msgstr "View and share debug logs"
-#: src/strings.ts:2749
+#: src/strings.ts:2751
msgid "View failed inbox items and error contexts"
msgstr "View failed inbox items and error contexts"
diff --git a/packages/intl/locale/pseudo-LOCALE.po b/packages/intl/locale/pseudo-LOCALE.po
index c0ac36fc2..59210397a 100644
--- a/packages/intl/locale/pseudo-LOCALE.po
+++ b/packages/intl/locale/pseudo-LOCALE.po
@@ -1,6 +1,7 @@
msgid ""
msgstr ""
-"POT-Creation-Date: 2026-05-20 09:27+0500\n"
+"POT-Creation-Date: 2026-05-21 08:29+0500\n"
+"POT-Creation-Date: 2026-05-21 08:29+0500\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -973,7 +974,11 @@ msgstr ""
#: src/strings.ts:1326
msgid "Are you sure you want to clear trash?"
-msgstr ""
+msgstr "<<<<<<< HEAD======="
+
+#: src/strings.ts:2757
+msgid "Are you sure you want to delete all failed inbox items?"
+msgstr ">>>>>>> 101851125 (mobile: add failed inbox item history)"
#: src/strings.ts:2734
msgid "Are you sure you want to delete this attachment?"
@@ -2143,7 +2148,7 @@ msgstr ""
msgid "Date modified"
msgstr ""
-#: src/strings.ts:2747
+#: src/strings.ts:2749
msgid "Date synced"
msgstr ""
@@ -2230,7 +2235,11 @@ msgstr ""
#: src/strings.ts:1078
msgid "Delete account"
-msgstr ""
+msgstr "<<<<<<< HEAD======="
+
+#: src/strings.ts:2755
+msgid "Delete all"
+msgstr ">>>>>>> 101851125 (mobile: add failed inbox item history)"
#: src/strings.ts:2732
msgid "Delete attachment"
@@ -2300,7 +2309,7 @@ msgstr ""
msgid "Desktop integration"
msgstr ""
-#: src/strings.ts:2746
+#: src/strings.ts:2748
msgid "Details"
msgstr ""
@@ -2908,7 +2917,7 @@ msgstr ""
msgid "Failed"
msgstr ""
-#: src/strings.ts:2748
+#: src/strings.ts:2750
msgid "Failed inbox items"
msgstr ""
@@ -3656,7 +3665,7 @@ msgstr ""
msgid "Item"
msgstr ""
-#: src/strings.ts:2734
+#: src/strings.ts:2754
msgid "Item deleted"
msgstr ""
@@ -4356,7 +4365,7 @@ msgstr ""
msgid "No encryption key found"
msgstr ""
-#: src/strings.ts:2750
+#: src/strings.ts:2752
msgid "No failed inbox items"
msgstr ""
@@ -5171,11 +5180,11 @@ msgstr ""
#: src/strings.ts:2193
msgid "Proxy"
-msgstr ""
+msgstr "<<<<<<< HEAD"
#: src/strings.ts:2746
msgid "Public key required"
-msgstr ""
+msgstr "=======>>>>>>> 101851125 (mobile: add failed inbox item history)"
#: src/strings.ts:2712
msgid "Public Key:"
@@ -6267,7 +6276,7 @@ msgstr ""
msgid "Shortcuts"
msgstr ""
-#: src/strings.ts:2751
+#: src/strings.ts:2753
msgid "Show"
msgstr ""
@@ -7379,7 +7388,7 @@ msgstr ""
msgid "View and share debug logs"
msgstr ""
-#: src/strings.ts:2749
+#: src/strings.ts:2751
msgid "View failed inbox items and error contexts"
msgstr ""
diff --git a/packages/intl/src/strings.ts b/packages/intl/src/strings.ts
index 960f68e57..7cb632b72 100644
--- a/packages/intl/src/strings.ts
+++ b/packages/intl/src/strings.ts
@@ -2751,5 +2751,8 @@ Continue without attachments?`,
failedInboxItemsDesc: () => t`View failed inbox items and error contexts`,
noFailedInboxItems: () => t`No failed inbox items`,
show: () => t`Show`,
- itemDeleted: () => t`Item deleted`
+ itemDeleted: () => t`Item deleted`,
+ deleteAll: () => t`Delete all`,
+ deleteAllFailedItemsDesc: () =>
+ t`Are you sure you want to delete all failed inbox items?`
};