Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d220158dd7 | ||
|
|
8670e19acc |
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "local-transcription",
|
"name": "local-transcription",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.0.14",
|
"version": "2.0.15",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "local-transcription"
|
name = "local-transcription"
|
||||||
version = "2.0.14"
|
version = "2.0.15"
|
||||||
description = "Real-time speech-to-text transcription for streamers"
|
description = "Real-time speech-to-text transcription for streamers"
|
||||||
authors = ["Local Transcription Contributors"]
|
authors = ["Local Transcription Contributors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"productName": "Local Transcription",
|
"productName": "Local Transcription",
|
||||||
"version": "2.0.14",
|
"version": "2.0.15",
|
||||||
"identifier": "net.anhonesthost.local-transcription",
|
"identifier": "net.anhonesthost.local-transcription",
|
||||||
"build": {
|
"build": {
|
||||||
"frontendDist": "../dist",
|
"frontendDist": "../dist",
|
||||||
|
|||||||
@@ -358,6 +358,17 @@
|
|||||||
roomCreateMessage = "Room joined! Fields have been auto-filled.";
|
roomCreateMessage = "Room joined! Fields have been auto-filled.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function handleShareCurrentRoom() {
|
||||||
|
const code = encodeShareCode(syncUrl, syncRoom, syncPassphrase);
|
||||||
|
shareCode = code;
|
||||||
|
try {
|
||||||
|
await navigator.clipboard.writeText(code);
|
||||||
|
roomCreateMessage = "Share code copied to clipboard!";
|
||||||
|
} catch {
|
||||||
|
roomCreateMessage = "Share code generated. Copy it from the field below.";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
async function copyShareCode() {
|
async function copyShareCode() {
|
||||||
try {
|
try {
|
||||||
await navigator.clipboard.writeText(shareCode);
|
await navigator.clipboard.writeText(shareCode);
|
||||||
@@ -826,6 +837,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{#if syncEnabled}
|
{#if syncEnabled}
|
||||||
<div class="room-actions">
|
<div class="room-actions">
|
||||||
|
<div class="room-buttons-row">
|
||||||
<button
|
<button
|
||||||
onclick={handleCreateRoom}
|
onclick={handleCreateRoom}
|
||||||
disabled={roomCreating}
|
disabled={roomCreating}
|
||||||
@@ -833,6 +845,14 @@
|
|||||||
>
|
>
|
||||||
{roomCreating ? "Creating..." : "Create Room"}
|
{roomCreating ? "Creating..." : "Create Room"}
|
||||||
</button>
|
</button>
|
||||||
|
<button
|
||||||
|
onclick={handleShareCurrentRoom}
|
||||||
|
disabled={!syncUrl.trim() || !syncRoom.trim() || !syncPassphrase.trim()}
|
||||||
|
class="secondary"
|
||||||
|
>
|
||||||
|
Share Current Room
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
<div class="join-row">
|
<div class="join-row">
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
@@ -1086,6 +1106,11 @@
|
|||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.room-buttons-row {
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.join-row {
|
.join-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
"""Version information for Local Transcription."""
|
"""Version information for Local Transcription."""
|
||||||
|
|
||||||
__version__ = "2.0.14"
|
__version__ = "2.0.15"
|
||||||
__version_info__ = (2, 0, 14)
|
__version_info__ = (2, 0, 15)
|
||||||
|
|
||||||
# Version history:
|
# Version history:
|
||||||
# 1.4.0 - Auto-update feature:
|
# 1.4.0 - Auto-update feature:
|
||||||
|
|||||||
Reference in New Issue
Block a user