Skip to content

Commit 53347e9

Browse files
committed
Add guides and fix bug for monologue type meeting
1 parent 052980a commit 53347e9

7 files changed

Lines changed: 70 additions & 9 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Simple Google Meet transcripts. Private and open source.
33

44
![marquee-large](/assets/marquee-large.png)
55

6-
Extension status: 🟢 OPERATIONAL (v3.1.2)
6+
Extension status: 🟢 OPERATIONAL (v3.1.3)
77

88
<br />
99
<br />

extension-unpacked.zip

1.41 KB
Binary file not shown.

extension/content.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,6 @@ function transcriptMutationCallback(mutationsList) {
334334
}
335335
// Same person speaking more
336336
else {
337-
// Update buffers for next mutation
338-
transcriptTextBuffer = currentTranscriptText
339-
340337
if (canUseAriaBasedTranscriptSelector) {
341338
// When the same person speaks for more than 30 min (approx), Meet drops very long transcript for current person and starts over, which is detected by current transcript string being significantly smaller than the previous one
342339
if ((currentTranscriptText.length - transcriptTextBuffer.length) < -250) {
@@ -347,12 +344,15 @@ function transcriptMutationCallback(mutationsList) {
347344
timestampBuffer = new Date().toISOString()
348345
}
349346
}
350-
if (!canUseAriaBasedTranscriptSelector) {
347+
else {
351348
// If a person is speaking for a long time, Google Meet does not keep the entire text in the spans. Starting parts are automatically removed in an unpredictable way as the length increases and TranscripTonic will miss them. So we force remove a lengthy transcript node in a controlled way. Google Meet will add a fresh person node when we remove it and continue transcription. TranscripTonic picks it up as a new person and nothing is missed.
352349
if (currentTranscriptText.length > 250) {
353350
person.remove()
354351
}
355352
}
353+
354+
// Update buffers for next mutation. This has to be done irrespective of any condition.
355+
transcriptTextBuffer = currentTranscriptText
356356
}
357357
}
358358
}

extension/icons/guide.svg

Lines changed: 1 addition & 0 deletions
Loading

extension/icons/webhook-white.svg

Lines changed: 1 addition & 0 deletions
Loading

extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "TranscripTonic",
4-
"version": "3.1.2",
4+
"version": "3.1.3",
55
"description": "Simple Google Meet transcripts. Private and open source.",
66
"action": {
77
"default_icon": "icon.png",

extension/meetings.html

Lines changed: 62 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@
4444
margin-bottom: 1rem;
4545
}
4646

47+
.webhook-section-heading {
48+
display: flex;
49+
gap: 0.5rem;
50+
align-items: start;
51+
}
52+
4753
/* Custom scrollbar styling */
4854
::-webkit-scrollbar {
4955
width: 8px;
@@ -268,6 +274,39 @@
268274
gap: 0.25rem;
269275
align-items: center;
270276
}
277+
278+
.card-heading {
279+
margin: 0rem 1.5rem 0.5rem 1.5rem;
280+
font-weight: bold;
281+
}
282+
283+
.integration-card {
284+
padding: 0rem 1.5rem;
285+
display: grid;
286+
grid-template-columns: 1fr 1fr;
287+
gap: 0.75rem;
288+
}
289+
290+
.integration-guide {
291+
padding: 0.5rem;
292+
background: transparent;
293+
border: 1px solid #2a9aca88;
294+
border-radius: 0.5rem;
295+
display: flex;
296+
align-items: start;
297+
gap: 0.5rem;
298+
color: #2A9ACA;
299+
font-weight: bold;
300+
text-decoration: none;
301+
302+
img {
303+
margin-top: 0.1rem;
304+
}
305+
306+
p {
307+
margin: 0;
308+
}
309+
}
271310
</style>
272311
</head>
273312

@@ -297,7 +336,11 @@ <h2>Last 10 meetings</h2>
297336
</div>
298337

299338
<div>
300-
<h2>Webhooks</h2>
339+
<div class="webhook-section-heading">
340+
<h2>Webhooks</h2>
341+
<img src="./icons/webhook-white.svg" alt="" width="28px">
342+
</div>
343+
301344
<div class="card">
302345
<div class="webhook-header">
303346
<!-- <h3>Configure webhooks</h3> -->
@@ -345,8 +388,9 @@ <h2>Webhooks</h2>
345388

346389

347390
<div class="card">
391+
<p class="card-heading">Webhook JSON body</p>
348392
<details>
349-
<summary>Sample webhook body (simple)</summary>
393+
<summary>Webhook body (simple)</summary>
350394
<div class="code-block accordion-content">
351395
<code>
352396
<pre>
@@ -364,7 +408,7 @@ <h2>Webhooks</h2>
364408
</details>
365409

366410
<details>
367-
<summary>Sample webhook body (advanced)</summary>
411+
<summary>Webhook body (advanced)</summary>
368412
<div class="code-block accordion-content">
369413
<code>
370414
<pre>
@@ -402,6 +446,21 @@ <h2>Webhooks</h2>
402446
</code>
403447
</div>
404448
</details>
449+
<hr />
450+
<p class="card-heading">Guides</p>
451+
<div class="integration-card">
452+
<a class="integration-guide"
453+
href="https://github.com/vivek-nexus/transcriptonic/wiki/Google-Docs-integration-guide"
454+
target="_blank">
455+
<img src="./icons/guide.svg" alt="" width="16px">
456+
<p>Get transcripts on Google Docs</p>
457+
</a>
458+
<a class="integration-guide"
459+
href="https://github.com/vivek-nexus/transcriptonic/wiki/n8n-integration-guide" target="_blank">
460+
<img src="./icons/guide.svg" alt="" width="16px">
461+
<p>Using webhooks with n8n</p>
462+
</a>
463+
</div>
405464
</div>
406465
</div>
407466
</div>

0 commit comments

Comments
 (0)