Skip to content

Commit 5bc6c79

Browse files
committed
chore: remove feedback modal
Nobody has used it, so remove it!
1 parent d19eba0 commit 5bc6c79

File tree

5 files changed

+4
-193
lines changed

5 files changed

+4
-193
lines changed

backend/src/commands/feedback.rs

Lines changed: 0 additions & 43 deletions
This file was deleted.

backend/src/commands/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pub(crate) mod blocks;
44
pub(crate) mod dependency;
55
pub(crate) mod events;
66
pub(crate) mod exec_log;
7-
pub(crate) mod feedback;
7+
88
pub(crate) mod pty_store;
99
pub(crate) mod stats;
1010
pub(crate) mod template;

backend/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,6 @@ fn main() {
545545
commands::block_state::get_block_local_state_all,
546546
commands::block_state::delete_block_local_state,
547547
commands::block_state::delete_block_local_state_all,
548-
commands::feedback::send_feedback,
549548
commands::blocks::execute_block,
550549
commands::blocks::cancel_block_execution,
551550
commands::blocks::open_document,

src/routes/root/FeedbackModal.tsx

Lines changed: 0 additions & 138 deletions
This file was deleted.

src/routes/root/Root.tsx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ import {
4343
ChartBarBigIcon,
4444
HistoryIcon,
4545
MailPlusIcon,
46-
MessageCircleHeartIcon,
4746
PanelLeftCloseIcon,
4847
PanelLeftOpenIcon,
4948
SettingsIcon,
@@ -74,7 +73,7 @@ import WorkspaceManager from "@/lib/workspaces/manager";
7473
import Tabs from "./Tabs";
7574
import { TabIcon, TabUri } from "@/state/store/ui_state";
7675
import * as commands from "@/lib/workspaces/commands";
77-
import FeedbackModal from "./FeedbackModal";
76+
7877
import { getGlobalOptions } from "@/lib/global_options";
7978
import SaveBlockModal from "./SaveBlockModal";
8079
import SavedBlock from "@/state/runbooks/saved_block";
@@ -141,7 +140,7 @@ function App() {
141140
const setOpenInDesktopImport = useStore((state: AtuinState) => state.setOpenInDesktopImport);
142141
const [showOnboarding, setShowOnboarding] = useState(false);
143142
const [showInviteFriends, setShowInviteFriends] = useState(false);
144-
const [showFeedback, setShowFeedback] = useState(false);
143+
145144
const [runbookIdToDelete, setRunbookIdToDelete] = useState<string | null>(null);
146145
const selectedOrg = useStore((state: AtuinState) => state.selectedOrg);
147146
const connectionState = useStore((state: AtuinState) => state.connectionState);
@@ -1049,12 +1048,6 @@ function App() {
10491048
<Spacer y={2} />
10501049

10511050
<div className="flex flex-col items-center gap-4 px-3">
1052-
<Tooltip content="Share your feedback with us">
1053-
<Button isIconOnly variant="light" size="lg" onPress={() => setShowFeedback(true)}>
1054-
<MessageCircleHeartIcon className="w-6 h-6" size={24} />
1055-
</Button>
1056-
</Tooltip>
1057-
10581051
{isLoggedIn() && (
10591052
<Tooltip content="Invite friends and colleagues to try Atuin Desktop">
10601053
<Button
@@ -1202,7 +1195,7 @@ function App() {
12021195
isOpen={showInviteFriends}
12031196
onClose={() => setShowInviteFriends(false)}
12041197
/>
1205-
<FeedbackModal isOpen={showFeedback} onClose={() => setShowFeedback(false)} />
1198+
12061199
</div>
12071200

12081201
<DialogManager />

0 commit comments

Comments
 (0)