3 Commits
Author SHA1 Message Date
Tyler f0611a50b5 Remove issue 4 capture toast
Template tests / tests (push) Successful in 1m40s
2026-06-13 14:35:20 -05:00
Tyler dfd0139dc5 Sync tests workflow with main
Template tests / tests (pull_request) Successful in 1m48s
2026-06-13 14:30:54 -05:00
Tyler 1a0fda71f5 Remove new-capture follow-up toast
Template tests / tests (pull_request) Has been cancelled
2026-06-13 14:25:40 -05:00
3 changed files with 3 additions and 34 deletions
+2 -22
View File
@@ -10,34 +10,14 @@ on:
jobs: jobs:
tests: tests:
runs-on: MOMP runs-on: MOMP-AUTODOC
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: https://gitea.com/actions/checkout@v4 uses: https://gitea.com/actions/checkout@v4
- name: Install Electron system dependencies
run: |
apt-get update
apt-get install -y \
xvfb \
libnspr4 \
libnss3 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libgtk-3-0 \
libx11-xcb1 \
libxcomposite1 \
libxdamage1 \
libxrandr2 \
libgbm1 \
libxss1 \
libasound2
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci --cache ~/.npm --prefer-offline
- name: Run template tests - name: Run template tests
env: env:
+1 -11
View File
@@ -191,17 +191,7 @@ class StepForgeApp {
const guide = await api.library.create({ title: 'Untitled capture' }); const guide = await api.library.create({ title: 'Untitled capture' });
await this.refreshData(); await this.refreshData();
await this.openGuide(guide.guideId); await this.openGuide(guide.guideId);
const state = await this.armCaptureSession(guide.guideId); await this.armCaptureSession(guide.guideId);
const hotkey = this.state.settings?.capture?.hotkeyCapture;
let how;
if (state.clickCapture) {
how = 'every click will grab a step';
} else if (state.intervalSec > 0) {
how = `a step will be grabbed every ${state.intervalSec}s`;
} else {
how = hotkey ? `press ${hotkey} to grab steps` : 'use Shoot to grab steps';
}
toast(`Click "Start recording" in the red bar when you're ready — ${how}. StepForge tucks away; use the red tray icon to pause or finish.`);
} }
async openExistingWorkspace() { async openExistingWorkspace() {
-1
View File
@@ -1322,7 +1322,6 @@ class GuideEditor {
async startCaptureSession() { async startCaptureSession() {
await api.capture.session({ action: 'start', guideId: this.guideId }); await api.capture.session({ action: 'start', guideId: this.guideId });
this.onToast('Capture session ready — click "Start recording" in the red bar when you\'re set.');
this.emitMeta(); this.emitMeta();
} }