Skip to content

Commit eadeb36

Browse files
authored
Minor fixes 0902 (#1439)
* fixed broken link * very minor fixes * ran tests * ran tests * more fixes
1 parent ff2b94c commit eadeb36

File tree

9 files changed

+69
-47
lines changed

9 files changed

+69
-47
lines changed

apps/desktop/src/components/editor-area/note-header/chips/participants-chip.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,17 @@ function ParticipentItem({
251251
)}
252252
{member.linkedin_username && (
253253
<a
254-
href={`https://linkedin.com/in/${member.linkedin_username}`}
254+
href={(() => {
255+
const username = member.linkedin_username;
256+
if (
257+
username.startsWith("https://")
258+
|| username.startsWith("www.linkedin.com")
259+
|| username.startsWith("linkedin.com")
260+
) {
261+
return username;
262+
}
263+
return `https://linkedin.com/in/${username}`;
264+
})()}
255265
target="_blank"
256266
rel="noopener noreferrer"
257267
className="text-neutral-400 transition-colors hover:text-neutral-600 p-1 rounded-full hover:bg-neutral-200"

apps/desktop/src/components/left-sidebar/top-area/settings-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function SettingsButton() {
7979
const handleClickTalkToFounders = async () => {
8080
setOpen(false);
8181
try {
82-
await openURL("https://cal.com/team/hyprnote/intro");
82+
await openURL("https://cal.com/team/hyprnote/welcome");
8383
} catch (error) {
8484
console.error("Failed to open talk to founders:", error);
8585
}

apps/desktop/src/components/settings/components/tab-icon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function TabIcon({ tab }: { tab: Tab }) {
4040
return <BellIcon className="h-4 w-4" />;
4141
case "sound":
4242
return <AudioLinesIcon className="h-4 w-4" />;
43-
case "help-feedback":
43+
case "help-support":
4444
return <MessageSquareIcon className="h-4 w-4" />;
4545
case "ai-llm":
4646
return <SparklesIcon className="h-4 w-4" />;

apps/desktop/src/components/settings/components/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type Tab =
2323
| "integrations"
2424
| "mcp"
2525
| "billing"
26-
| "help-feedback";
26+
| "help-support";
2727

2828
export const TABS: { name: Tab; icon: LucideIcon }[] = [
2929
{ name: "general", icon: Settings },
@@ -36,5 +36,5 @@ export const TABS: { name: Tab; icon: LucideIcon }[] = [
3636
{ name: "integrations", icon: MessageSquare },
3737
{ name: "mcp", icon: NetworkIcon },
3838
{ name: "billing", icon: CreditCard },
39-
{ name: "help-feedback", icon: HelpCircle },
39+
{ name: "help-support", icon: HelpCircle },
4040
];

apps/desktop/src/components/settings/views/help-feedback.tsx renamed to apps/desktop/src/components/settings/views/help-support.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Book, Bug, ExternalLinkIcon, MessageSquare } from "lucide-react";
44

55
import { commands as tracingCommands } from "@hypr/plugin-tracing";
66

7-
export default function HelpFeedback() {
7+
export default function HelpSupport() {
88
const handleOpenFeedback = () => {
99
openUrl("https://hyprnote.canny.io/feature-requests");
1010
};
@@ -14,7 +14,7 @@ export default function HelpFeedback() {
1414
};
1515

1616
const handleReportBug = () => {
17-
openUrl("https://hyprnote.canny.io/bugs");
17+
openUrl("https://hyprnote.canny.io/bug-report");
1818
};
1919

2020
const handleOpenLogs = () => {
@@ -100,7 +100,7 @@ export default function HelpFeedback() {
100100
<Trans>Logs</Trans>
101101
</div>
102102
<div className="text-sm text-gray-500">
103-
<Trans>View logs</Trans>
103+
<Trans>Got an error? Send your logs file to us at [email protected]</Trans>
104104
</div>
105105
</div>
106106
</div>

apps/desktop/src/components/settings/views/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export { default as AISTT } from "./ai-stt";
33
export { default as Billing } from "./billing";
44
export { default as Calendar } from "./calendar";
55
export { default as General } from "./general";
6-
export { default as HelpFeedback } from "./help-feedback";
6+
export { default as HelpSupport } from "./help-support";
77
export { default as Integrations } from "./integrations";
88
export { default as Lab } from "./lab";
99
export { default as MCP } from "./mcp";

apps/desktop/src/locales/en/messages.po

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ msgstr "Add members"
352352
msgid "Add more quotes"
353353
msgstr "Add more quotes"
354354

355-
#: src/components/editor-area/note-header/chips/participants-chip.tsx:340
355+
#: src/components/editor-area/note-header/chips/participants-chip.tsx:350
356356
msgid "Add participant"
357357
msgstr "Add participant"
358358

@@ -650,7 +650,7 @@ msgstr "Control how autonomous the AI enhancement should be."
650650
#~ msgid "Control how creative the AI enhancement should be"
651651
#~ msgstr "Control how creative the AI enhancement should be"
652652

653-
#: src/components/editor-area/note-header/chips/participants-chip.tsx:518
653+
#: src/components/editor-area/note-header/chips/participants-chip.tsx:528
654654
#: src/routes/app.human.$id.tsx:535
655655
msgid "Create"
656656
msgstr "Create"
@@ -739,7 +739,7 @@ msgstr "Detect meetings automatically"
739739
msgid "Display language"
740740
msgstr "Display language"
741741

742-
#: src/components/settings/views/help-feedback.tsx:43
742+
#: src/components/settings/views/help-support.tsx:43
743743
msgid "Documentation"
744744
msgstr "Documentation"
745745

@@ -843,7 +843,7 @@ msgstr "Exclude apps from detection"
843843
msgid "Extract action items"
844844
msgstr "Extract action items"
845845

846-
#: src/components/settings/views/help-feedback.tsx:62
846+
#: src/components/settings/views/help-support.tsx:62
847847
msgid "Feature Requests"
848848
msgstr "Feature Requests"
849849

@@ -901,6 +901,10 @@ msgstr "Get Started"
901901
msgid "Google Gemini"
902902
msgstr "Google Gemini"
903903

904+
#: src/components/settings/views/help-support.tsx:103
905+
msgid "Got an error? Send your logs file to us at [email protected]"
906+
msgstr "Got an error? Send your logs file to us at [email protected]"
907+
904908
#: src/components/settings/components/calendar/apple-calendar-integration-details.tsx:83
905909
#: src/components/settings/components/calendar/apple-calendar-integration-details.tsx:125
906910
msgid "Grant Access"
@@ -916,14 +920,16 @@ msgstr "Grant both permissions to continue"
916920

917921
#: src/routes/app.settings.tsx:62
918922
#: src/routes/app.settings.tsx:116
919-
msgid "Help & Feedback"
920-
msgstr "Help & Feedback"
923+
#~ msgid "Help & Feedback"
924+
#~ msgstr "Help & Feedback"
921925

922-
#: src/components/settings/views/help-feedback.tsx:30
926+
#: src/components/settings/views/help-support.tsx:30
927+
#: src/routes/app.settings.tsx:62
928+
#: src/routes/app.settings.tsx:116
923929
msgid "Help & Support"
924930
msgstr "Help & Support"
925931

926-
#: src/components/settings/views/help-feedback.tsx:84
932+
#: src/components/settings/views/help-support.tsx:84
927933
msgid "Help us improve by reporting issues"
928934
msgstr "Help us improve by reporting issues"
929935

@@ -1021,7 +1027,7 @@ msgstr "Language for AI-generated summaries"
10211027
#~ msgid "Language Model"
10221028
#~ msgstr "Language Model"
10231029

1024-
#: src/components/settings/views/help-feedback.tsx:46
1030+
#: src/components/settings/views/help-support.tsx:46
10251031
msgid "Learn how to use Hyprnote"
10261032
msgstr "Learn how to use Hyprnote"
10271033

@@ -1090,7 +1096,7 @@ msgstr "Loading..."
10901096
#~ msgid "Local Models"
10911097
#~ msgstr "Local Models"
10921098

1093-
#: src/components/settings/views/help-feedback.tsx:100
1099+
#: src/components/settings/views/help-support.tsx:100
10941100
msgid "Logs"
10951101
msgstr "Logs"
10961102

@@ -1367,7 +1373,7 @@ msgstr "Recent Notes"
13671373
#~ msgid "Remove {0} from list"
13681374
#~ msgstr "Remove {0} from list"
13691375

1370-
#: src/components/settings/views/help-feedback.tsx:81
1376+
#: src/components/settings/views/help-support.tsx:81
13711377
msgid "Report a Bug"
13721378
msgstr "Report a Bug"
13731379

@@ -1568,7 +1574,7 @@ msgstr "Stop"
15681574
#~ msgid "Submit Feedback"
15691575
#~ msgstr "Submit Feedback"
15701576

1571-
#: src/components/settings/views/help-feedback.tsx:65
1577+
#: src/components/settings/views/help-support.tsx:65
15721578
msgid "Suggest new features and improvements"
15731579
msgstr "Suggest new features and improvements"
15741580

@@ -1769,8 +1775,8 @@ msgid "View in calendar"
17691775
msgstr "View in calendar"
17701776

17711777
#: src/components/settings/views/help-feedback.tsx:103
1772-
msgid "View logs"
1773-
msgstr "View logs"
1778+
#~ msgid "View logs"
1779+
#~ msgstr "View logs"
17741780

17751781
#: src/components/organization-profile/recent-notes.tsx:59
17761782
msgid "View Note"

apps/desktop/src/locales/ko/messages.po

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ msgstr ""
352352
msgid "Add more quotes"
353353
msgstr ""
354354

355-
#: src/components/editor-area/note-header/chips/participants-chip.tsx:340
355+
#: src/components/editor-area/note-header/chips/participants-chip.tsx:350
356356
msgid "Add participant"
357357
msgstr ""
358358

@@ -650,7 +650,7 @@ msgstr ""
650650
#~ msgid "Control how creative the AI enhancement should be"
651651
#~ msgstr ""
652652

653-
#: src/components/editor-area/note-header/chips/participants-chip.tsx:518
653+
#: src/components/editor-area/note-header/chips/participants-chip.tsx:528
654654
#: src/routes/app.human.$id.tsx:535
655655
msgid "Create"
656656
msgstr ""
@@ -743,7 +743,7 @@ msgstr ""
743743
msgid "Display language"
744744
msgstr ""
745745

746-
#: src/components/settings/views/help-feedback.tsx:43
746+
#: src/components/settings/views/help-support.tsx:43
747747
msgid "Documentation"
748748
msgstr ""
749749

@@ -847,7 +847,7 @@ msgstr ""
847847
msgid "Extract action items"
848848
msgstr ""
849849

850-
#: src/components/settings/views/help-feedback.tsx:62
850+
#: src/components/settings/views/help-support.tsx:62
851851
msgid "Feature Requests"
852852
msgstr ""
853853

@@ -905,6 +905,10 @@ msgstr ""
905905
msgid "Google Gemini"
906906
msgstr ""
907907

908+
#: src/components/settings/views/help-support.tsx:103
909+
msgid "Got an error? Send your logs file to us at [email protected]"
910+
msgstr ""
911+
908912
#: src/components/settings/components/calendar/apple-calendar-integration-details.tsx:83
909913
#: src/components/settings/components/calendar/apple-calendar-integration-details.tsx:125
910914
msgid "Grant Access"
@@ -920,14 +924,16 @@ msgstr ""
920924

921925
#: src/routes/app.settings.tsx:62
922926
#: src/routes/app.settings.tsx:116
923-
msgid "Help & Feedback"
924-
msgstr ""
927+
#~ msgid "Help & Feedback"
928+
#~ msgstr ""
925929

926-
#: src/components/settings/views/help-feedback.tsx:30
930+
#: src/components/settings/views/help-support.tsx:30
931+
#: src/routes/app.settings.tsx:62
932+
#: src/routes/app.settings.tsx:116
927933
msgid "Help & Support"
928934
msgstr ""
929935

930-
#: src/components/settings/views/help-feedback.tsx:84
936+
#: src/components/settings/views/help-support.tsx:84
931937
msgid "Help us improve by reporting issues"
932938
msgstr ""
933939

@@ -1025,7 +1031,7 @@ msgstr ""
10251031
#~ msgid "Language Model"
10261032
#~ msgstr ""
10271033

1028-
#: src/components/settings/views/help-feedback.tsx:46
1034+
#: src/components/settings/views/help-support.tsx:46
10291035
msgid "Learn how to use Hyprnote"
10301036
msgstr ""
10311037

@@ -1094,7 +1100,7 @@ msgstr ""
10941100
#~ msgid "Local Models"
10951101
#~ msgstr ""
10961102

1097-
#: src/components/settings/views/help-feedback.tsx:100
1103+
#: src/components/settings/views/help-support.tsx:100
10981104
msgid "Logs"
10991105
msgstr ""
11001106

@@ -1371,7 +1377,7 @@ msgstr ""
13711377
#~ msgid "Remove {0} from list"
13721378
#~ msgstr ""
13731379

1374-
#: src/components/settings/views/help-feedback.tsx:81
1380+
#: src/components/settings/views/help-support.tsx:81
13751381
msgid "Report a Bug"
13761382
msgstr ""
13771383

@@ -1572,7 +1578,7 @@ msgstr ""
15721578
#~ msgid "Submit Feedback"
15731579
#~ msgstr ""
15741580

1575-
#: src/components/settings/views/help-feedback.tsx:65
1581+
#: src/components/settings/views/help-support.tsx:65
15761582
msgid "Suggest new features and improvements"
15771583
msgstr ""
15781584

@@ -1773,8 +1779,8 @@ msgid "View in calendar"
17731779
msgstr ""
17741780

17751781
#: src/components/settings/views/help-feedback.tsx:103
1776-
msgid "View logs"
1777-
msgstr ""
1782+
#~ msgid "View logs"
1783+
#~ msgstr ""
17781784

17791785
#: src/components/organization-profile/recent-notes.tsx:59
17801786
msgid "View Note"

apps/desktop/src/routes/app.settings.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
Billing,
1212
Calendar,
1313
General,
14-
HelpFeedback,
14+
HelpSupport,
1515
Integrations,
1616
MCP,
1717
Notifications,
@@ -58,8 +58,8 @@ function TabButton({ tab, isActive, onClick }: { tab: Tab; isActive: boolean; on
5858
return t`Billing & License`;
5959
case "mcp":
6060
return t`MCP`;
61-
case "help-feedback":
62-
return t`Help & Feedback`;
61+
case "help-support":
62+
return t`Help & Support`;
6363
default:
6464
return tab;
6565
}
@@ -112,8 +112,8 @@ function Component() {
112112
return t`Billing & License`;
113113
case "mcp":
114114
return t`MCP`;
115-
case "help-feedback":
116-
return t`Help & Feedback`;
115+
case "help-support":
116+
return t`Help & Support`;
117117
default:
118118
return tab;
119119
}
@@ -133,7 +133,7 @@ function Component() {
133133
<div className="flex h-[calc(100%-2.75rem)] flex-col">
134134
<div className="flex-1 overflow-y-auto p-2 min-h-0">
135135
<div className="space-y-1">
136-
{TABS.filter(tab => tab.name !== "help-feedback" && tab.name !== "billing").map((tab) => (
136+
{TABS.filter(tab => tab.name !== "help-support" && tab.name !== "billing").map((tab) => (
137137
<TabButton
138138
key={tab.name}
139139
tab={tab.name}
@@ -152,9 +152,9 @@ function Component() {
152152
onClick={() => handleClickTab("billing")}
153153
/>
154154
<TabButton
155-
tab="help-feedback"
156-
isActive={search.tab === "help-feedback"}
157-
onClick={() => handleClickTab("help-feedback")}
155+
tab="help-support"
156+
isActive={search.tab === "help-support"}
157+
onClick={() => handleClickTab("help-support")}
158158
/>
159159
</div>
160160
</div>
@@ -186,7 +186,7 @@ function Component() {
186186
{search.tab === "integrations" && <Integrations />}
187187
{search.tab === "mcp" && <MCP />}
188188
{search.tab === "billing" && <Billing />}
189-
{search.tab === "help-feedback" && <HelpFeedback />}
189+
{search.tab === "help-support" && <HelpSupport />}
190190
</div>
191191
</div>
192192
</div>

0 commit comments

Comments
 (0)