-
+
+
-
-
- Reflector
-
-
- Capture The Signal, Not The Noise
-
-
- {children}
-
+ {children}
diff --git a/www/app/styles/button.css b/www/app/styles/button.css
index 2f643722..e8c41c47 100644
--- a/www/app/styles/button.css
+++ b/www/app/styles/button.css
@@ -6,15 +6,10 @@ button {
background-color: transparent;
font-family: inherit;
padding: 0;
- cursor: pointer;
/* Visual */
- background-color: #3e68ff;
- color: #fff;
border-radius: 8px;
- box-shadow: 0 3px 5px rgba(0, 0, 0, 0.18);
/* Size */
- padding: 0.25em 0.75em;
- min-width: 10ch;
+ padding: 0.4em 1em;
min-height: 44px;
/* Text */
text-align: center;
@@ -23,11 +18,20 @@ button {
display: inline-flex;
align-items: center;
justify-content: center;
- align-self: start;
- /* Optional - see "Gotchas" */
/* Animation */
transition: 220ms all ease-in-out;
- display: block;
+}
+
+button:focus-visible {
+ outline-style: none;
+}
+
+@media (max-width: 768px) {
+ input[type="button"],
+ button {
+ padding: 0.25em 0.75em;
+ min-height: 30px;
+ }
}
/* Button modifiers */
@@ -55,13 +59,6 @@ button[disabled]:hover {
cursor: not-allowed !important;
}
-/* Custom button properties */
-input[type="button"],
-button {
- width: 243px;
- border: solid 1px #dadada;
-}
-
/* Red button states */
input[type="button"][data-color="red"],
button[data-color="red"],
diff --git a/www/app/styles/globals.scss b/www/app/styles/globals.scss
index 3845af58..0acacc90 100644
--- a/www/app/styles/globals.scss
+++ b/www/app/styles/globals.scss
@@ -10,20 +10,8 @@
body {
background: white;
-
- font-family: "Roboto", sans-serif;
-}
-
-.temp-transcription {
- background: rgb(151 190 255);
- border-radius: 5px;
- border: solid 1px #808080;
- margin: 1em 0;
-}
-
-.temp-transcription h2 {
- font-weight: bold;
- font-size: 130%;
+ scrollbar-color: rgb(96 165 250) transparent;
+ scrollbar-width: thin;
}
.Dropdown-placeholder {
@@ -33,8 +21,17 @@ body {
top: 47% !important;
}
-@media (max-width: 768px) {
- .audio-source-dropdown .Dropdown-control {
- max-width: 200px;
- }
+.Dropdown-control.Dropdown-disabled {
+ background-color: lightgray;
+}
+
+::-webkit-scrollbar {
+ visibility: visible;
+ width: 5px;
+ opacity: 0.7;
+}
+
+::-webkit-scrollbar-thumb {
+ border-radius: 10px;
+ background-color: rgb(96 165 250);
}
diff --git a/www/app/transcripts/[transcriptId]/page.tsx b/www/app/transcripts/[transcriptId]/page.tsx
index 43e560e1..967eab12 100644
--- a/www/app/transcripts/[transcriptId]/page.tsx
+++ b/www/app/transcripts/[transcriptId]/page.tsx
@@ -4,11 +4,12 @@ import getApi from "../../lib/getApi";
import useTranscript from "../useTranscript";
import useTopics from "../useTopics";
import useWaveform from "../useWaveform";
-import { Dashboard } from "../dashboard";
+import { TopicList } from "../topicList";
import Recorder from "../recorder";
import { Topic } from "../webSocketTypes";
import React, { useEffect, useState } from "react";
import "../../styles/button.css";
+import FinalSummary from "../finalSummary";
type TranscriptDetails = {
params: {
@@ -34,34 +35,34 @@ export default function TranscriptDetails(details: TranscriptDetails) {
return (
<>
-
- {transcript?.loading === true ||
- waveform?.loading == true ||
- topics?.loading == true ? (
-
+ ) : (
+ <>
+
- ) : (
- <>
-
+
-
-
- >
- )}
-
+
+
+ {transcript?.response?.longSummary && (
+
+ )}
+
+
+
+ >
+ )}
>
);
}
diff --git a/www/app/transcripts/audioInputsDropdown.tsx b/www/app/transcripts/audioInputsDropdown.tsx
new file mode 100644
index 00000000..7772358b
--- /dev/null
+++ b/www/app/transcripts/audioInputsDropdown.tsx
@@ -0,0 +1,38 @@
+import React, { useEffect, useState } from "react";
+import Dropdown, { Option } from "react-dropdown";
+import "react-dropdown/style.css";
+
+const AudioInputsDropdown: React.FC<{
+ audioDevices: Option[];
+ disabled: boolean;
+ hide: () => void;
+ setDeviceId: React.Dispatch