miscellany: save name if set during meeting setup, bump up meeting refresh, edit docs

This commit is contained in:
2026-01-26 08:58:00 -07:00
parent df61e899da
commit 8991b29705
4 changed files with 19 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ Quick start:
```bash
npm install
npm run build:web:serve -- --test
npm run build:web:dev
```
To be able to take action on the platform: go to [the test page](http://localhost:8080/test) and click "Become User 0".

View File

@@ -251,6 +251,8 @@ import { PlatformServiceMixin } from "@/utils/PlatformServiceMixin";
import { createNotifyHelpers, TIMEOUTS } from "@/utils/notify";
import BulkMembersDialog from "./BulkMembersDialog.vue";
const AUTO_REFRESH_INTERVAL = 15;
interface Member {
admitted: boolean;
content: string;
@@ -296,7 +298,7 @@ export default class MembersList extends Vue {
apiServer = "";
// Auto-refresh functionality
countdownTimer = 10;
countdownTimer = AUTO_REFRESH_INTERVAL;
autoRefreshInterval: NodeJS.Timeout | null = null;
lastRefreshTime = 0;
previousMemberDidsIgnored: string[] = [];
@@ -727,22 +729,22 @@ export default class MembersList extends Vue {
startAutoRefresh() {
this.stopAutoRefresh();
this.lastRefreshTime = Date.now();
this.countdownTimer = 10;
this.countdownTimer = AUTO_REFRESH_INTERVAL;
this.autoRefreshInterval = setInterval(() => {
const now = Date.now();
const timeSinceLastRefresh = (now - this.lastRefreshTime) / 1000;
if (timeSinceLastRefresh >= 10) {
if (timeSinceLastRefresh >= AUTO_REFRESH_INTERVAL) {
// Time to refresh
this.refreshData();
this.lastRefreshTime = now;
this.countdownTimer = 10;
this.countdownTimer = AUTO_REFRESH_INTERVAL;
} else {
// Update countdown
this.countdownTimer = Math.max(
0,
Math.round(10 - timeSinceLastRefresh),
Math.round(AUTO_REFRESH_INTERVAL - timeSinceLastRefresh),
);
}
}, 1000); // Update every second

View File

@@ -1115,8 +1115,8 @@ export const PlatformServiceMixin = {
// =================================================
/**
* Save default settings - $saveSettings()
* Ultra-concise shortcut for updateDefaultSettings
* Save settings for currently active DID
* May be consolidated with $saveUserSettings()
*
* ✅ KEEP: This method will be the primary settings save method after consolidation
*
@@ -1204,8 +1204,8 @@ export const PlatformServiceMixin = {
},
/**
* Save user-specific settings - $saveUserSettings()
* Ultra-concise shortcut for updateDidSpecificSettings
* Save DID-specific settings - $saveUserSettings()
*
* @param did DID identifier
* @param changes Settings changes to save
* @returns Promise<boolean> Success status

View File

@@ -7,7 +7,7 @@
<!-- Sub View Heading -->
<div id="SubViewHeading" class="flex gap-4 items-start mb-8">
<h1 class="grow text-xl text-center font-semibold leading-tight">
Onboarding Meeting
Onboarding Meeting Admin
</h1>
<!-- Spacer (no Back button) -->
@@ -589,6 +589,12 @@ export default class OnboardMeetingView extends Vue {
);
return;
}
if (!this.fullName) {
this.$saveSettings({
firstName: this.newOrUpdatedMeetingInputs.userFullName,
});
}
if (!this.newOrUpdatedMeetingInputs.password) {
this.notify.warning(
NOTIFY_MEETING_PASSWORD_REQUIRED.message,