Skip to content

Commit 57c1e96

Browse files
authored
Fix Firebase Configuration for Front Extension (#11519)
* Fix Firebase Configuration for Front Extension * Improve Front Extension Layout
1 parent 6937532 commit 57c1e96

File tree

2 files changed

+36
-18
lines changed

2 files changed

+36
-18
lines changed

extension/platforms/front/components/FrontCaptureActions.tsx

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,40 @@ export function FrontCaptureActions({
77
isLoading,
88
}: CaptureActionsProps) {
99
return (
10-
<div>
11-
<Button
12-
icon={ChatBubbleBottomCenterPlusIcon}
13-
label="Include conversation"
14-
tooltip="Add conversation content"
15-
variant="outline"
16-
className={isBlinking ? "animate-[bgblink_200ms_3]" : ""}
17-
size="sm"
18-
onClick={async () => {
19-
await fileUploaderService.uploadContentTab({
20-
includeContent: true,
21-
includeCapture: false,
22-
});
23-
}}
24-
disabled={isLoading}
25-
/>
26-
</div>
10+
<>
11+
<div className="block sm:hidden">
12+
<Button
13+
icon={ChatBubbleBottomCenterPlusIcon}
14+
tooltip="Add conversation content"
15+
variant="outline"
16+
className={isBlinking ? "animate-[bgblink_200ms_3]" : ""}
17+
size="sm"
18+
onClick={async () => {
19+
await fileUploaderService.uploadContentTab({
20+
includeContent: true,
21+
includeCapture: false,
22+
});
23+
}}
24+
disabled={isLoading}
25+
/>
26+
</div>
27+
<div className="hidden sm:block">
28+
<Button
29+
icon={ChatBubbleBottomCenterPlusIcon}
30+
label="Include conversation"
31+
tooltip="Add conversation content"
32+
variant="outline"
33+
size="sm"
34+
className={isBlinking ? "animate-[bgblink_200ms_3]" : ""}
35+
onClick={async () => {
36+
await fileUploaderService.uploadContentTab({
37+
includeContent: true,
38+
includeCapture: false,
39+
});
40+
}}
41+
disabled={isLoading}
42+
/>
43+
</div>
44+
</>
2745
);
2846
}

extension/platforms/front/firebase.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
55
"rewrites": [
66
{
7-
"source": "**",
7+
"source": "/",
88
"destination": "/index.html"
99
}
1010
]

0 commit comments

Comments
 (0)