+
diff --git a/gui/src/components/chat_conversations.vue b/gui/src/components/chat_conversations.vue
index fdc2d9f1..80089128 100644
--- a/gui/src/components/chat_conversations.vue
+++ b/gui/src/components/chat_conversations.vue
@@ -13,11 +13,7 @@ const chat = useChatStore(pinia);
function chatSelected(callsign) {
chat.selectedCallsign = callsign.toUpperCase();
// scroll message container to bottom
- var messageBody = document.getElementById("message-container");
- if (messageBody != null) {
- // needs sensible defaults
- messageBody.scrollTop = messageBody.scrollHeight - messageBody.clientHeight;
- }
+ chat.triggerScrollToBottom();
processBeaconData(callsign);
}
diff --git a/gui/src/components/chat_new_message.vue b/gui/src/components/chat_new_message.vue
index 0d27dc51..1454daf0 100644
--- a/gui/src/components/chat_new_message.vue
+++ b/gui/src/components/chat_new_message.vue
@@ -30,7 +30,7 @@ import {
Legend
} from 'chart.js'
import { Line } from 'vue-chartjs'
-import { ref, computed } from 'vue';
+import { ref, computed, nextTick } from 'vue';
import { VuemojiPicker, EmojiClickEventDetail } from 'vuemoji-picker'
@@ -90,6 +90,8 @@ function transmitNewMessage() {
chat.selectedCallsign = Object.keys(chat.callsign_list)[0];
}
+
+
chat.inputText = chat.inputText.trim();
// Proceed only if there is text or files selected
@@ -101,6 +103,7 @@ function transmitNewMessage() {
type: file.type,
data: file.content
};
+
});
if (chat.selectedCallsign.startsWith("BC-")) {
@@ -120,6 +123,7 @@ function transmitNewMessage() {
chat.inputText = '';
chatModuleMessage.value = "";
resetFile()
+
}
function resetFile(event){
diff --git a/gui/src/components/infoScreen.vue b/gui/src/components/infoScreen.vue
deleted file mode 100644
index cf76a880..00000000
--- a/gui/src/components/infoScreen.vue
+++ /dev/null
@@ -1,223 +0,0 @@
-
-
-
-
-
-
-
-
-
We would like to especially thank the following
-
-
-
-
-
-
-
-
-
-
- {{ card.titleCall }}
-
-
- {{ card.titleName }}
-
-
-
-
-
-
-
-
-
-
diff --git a/gui/src/components/main.vue b/gui/src/components/main.vue
index c63fdf7c..8ea84316 100644
--- a/gui/src/components/main.vue
+++ b/gui/src/components/main.vue
@@ -5,31 +5,21 @@ setActivePinia(pinia);
import main_modals from "./main_modals.vue";
import main_top_navbar from "./main_top_navbar.vue";
-import main_rig_control from "./main_rig_control.vue";
import settings_view from "./settings.vue";
-import main_active_rig_control from "./main_active_rig_control.vue";
import main_footer_navbar from "./main_footer_navbar.vue";
-import main_active_stats from "./main_active_stats.vue";
-import main_active_broadcasts from "./main_active_broadcasts.vue";
-import main_active_heard_stations from "./main_active_heard_stations.vue";
-import main_active_audio_level from "./main_active_audio_level.vue";
-
import chat from "./chat.vue";
-import infoScreen from "./infoScreen.vue";
import main_modem_healthcheck from "./main_modem_healthcheck.vue";
import Dynamic_components from "./dynamic_components.vue";
import { getFreedataMessages } from "../js/api";
+import { getRemote } from "../store/settingsStore.js";
+import { loadAllData } from "../js/eventHandler";
-
+
@@ -83,17 +74,6 @@ import { getFreedataMessages } from "../js/api";
>
-
-
@@ -302,14 +283,7 @@ import { getFreedataMessages } from "../js/api";
-
-import { setActivePinia } from "pinia";
-import pinia from "../store/index";
-setActivePinia(pinia);
-
-import { useStateStore } from "../store/stateStore.js";
-const state = useStateStore(pinia);
-
-
-
-
-
-
-
-
-
-
-
- S-Meter(dB): {{ state.s_meter_strength_raw }}
-
-
-
-
-
-
-
-
- {{ state.dbfs_level }} dBFS
-
-
-
-
-
-
-
-
-
diff --git a/gui/src/components/main_active_broadcasts.vue b/gui/src/components/main_active_broadcasts.vue
deleted file mode 100644
index 68961974..00000000
--- a/gui/src/components/main_active_broadcasts.vue
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- Ping
-
-
-
- Call CQ
-
-
-
- Toggle beacon
-
-
-
-
-
-
-
-
diff --git a/gui/src/components/main_active_heard_stations.vue b/gui/src/components/main_active_heard_stations.vue
deleted file mode 100644
index 3e309050..00000000
--- a/gui/src/components/main_active_heard_stations.vue
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- Time
-
- Freq
- DXCall
- Grid
- Dist
- Type
- SNR
-
-
-
-
-
-
-
- {{
- getDateTime(item.timestamp)
- }}
-
-
- {{ item.frequency / 1000 }} kHz
-
-
- {{ item.origin }}
-
-
- {{ item.gridsquare }}
-
-
- {{ getMaidenheadDistance(item.gridsquare) }} km
-
-
- {{ item.activity_type }}
-
-
- {{ item.snr }}
-
-
-
-
-
-
-
-
-
-
diff --git a/gui/src/components/main_active_rig_control.vue b/gui/src/components/main_active_rig_control.vue
deleted file mode 100644
index 0a68f8e9..00000000
--- a/gui/src/components/main_active_rig_control.vue
+++ /dev/null
@@ -1,261 +0,0 @@
-
-
-
-
-
diff --git a/gui/src/components/main_active_stats.vue b/gui/src/components/main_active_stats.vue
deleted file mode 100644
index 6a69b3ff..00000000
--- a/gui/src/components/main_active_stats.vue
+++ /dev/null
@@ -1,402 +0,0 @@
-
-
-
-
-
-
-
diff --git a/gui/src/components/main_audio.vue b/gui/src/components/main_audio.vue
deleted file mode 100644
index 46135368..00000000
--- a/gui/src/components/main_audio.vue
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/gui/src/components/main_my_station.vue b/gui/src/components/main_my_station.vue
deleted file mode 100644
index 190b3bad..00000000
--- a/gui/src/components/main_my_station.vue
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
-
-
-
-
-
-
-
-
-
diff --git a/gui/src/components/main_rig_control.vue b/gui/src/components/main_rig_control.vue
deleted file mode 100644
index 396821e5..00000000
--- a/gui/src/components/main_rig_control.vue
+++ /dev/null
@@ -1,235 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- Modem will not utilize rig control and features will be limited.
- While functional; it is recommended to configure hamlib.
- Use this setting also for VOX
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/gui/src/components/main_startup_check.vue b/gui/src/components/main_startup_check.vue
index e9d3b238..6f838b05 100644
--- a/gui/src/components/main_startup_check.vue
+++ b/gui/src/components/main_startup_check.vue
@@ -2,8 +2,6 @@
import { Modal } from "bootstrap";
import { onMounted } from "vue";
-import settings_updater_core from "./settings_updater_core.vue";
-
import { setActivePinia } from "pinia";
import pinia from "../store/index";
setActivePinia(pinia);
@@ -14,6 +12,11 @@ import { sendModemCQ } from "../js/api.js";
import { useStateStore } from "../store/stateStore.js";
const state = useStateStore(pinia);
+import { useAudioStore } from "../store/audioStore";
+const audioStore = useAudioStore();
+import { useSerialStore } from "../store/serialStore";
+const serialStore = useSerialStore();
+
import {
getVersion,
setConfig,
@@ -21,11 +24,8 @@ import {
stopModem,
getModemState,
} from "../js/api";
-import { audioInputOptions, audioOutputOptions } from "../js/deviceFormHelper";
-import { serialDeviceOptions } from "../js/deviceFormHelper";
const version = import.meta.env.PACKAGE_VERSION;
-var updateAvailable = process.env.FDUpdateAvail;
// start modemCheck modal once on startup
onMounted(() => {
@@ -126,6 +126,7 @@ function testHamlib() {
max="65534"
min="1025"
v-model="settings.local.port"
+ @change="onChange"
/>
@@ -137,6 +138,7 @@ function testHamlib() {
placeholder="modem host (default 127.0.0.1)"
id="modem_port"
v-model="settings.local.host"
+ @change="onChange"
/>
@@ -203,6 +205,7 @@ function testHamlib() {
+