Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions migration/msg/FeedbackMsg.affine
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// Copyright (c) 2026 Jonathan D.A. Jewell
//
// FeedbackMsg.affine — Feedback-O-Tron messages (user feedback submission
// lifecycle).
//
// Translation of src/msg/FeedbackMsg.res (11 LoC). Pure sum-type module
// using `Result<String, String>` from prelude. No cross-module msg/model
// dep.
//
// Refs: standards#279 (megaport STEP 8).

module FeedbackMsg;

use prelude::{Result, Ok, Err};

type FeedbackMsg =
| OpenFeedback
| SubmitFeedback(String)
| CancelFeedback
| SetReportType(String)
| FeedbackSubmitted
| FeedbackSubmissionResult(Result<String, String>)
18 changes: 18 additions & 0 deletions migration/msg/OrbitalMsg.affine
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// Copyright (c) 2026 Jonathan D.A. Jewell
//
// OrbitalMsg.affine — orbital stability messages (stability, divergence,
// drift aura).
//
// Translation of src/msg/OrbitalMsg.res (8 LoC). Pure sum-type module
// — no cross-module deps, no Tea_/Promise/FFI surface. The cleanest
// possible Mode-A port in panll's src/msg/ tree.
//
// Refs: standards#279 (megaport STEP 8).

module OrbitalMsg;

type OrbitalMsg =
| UpdateStability(Float)
| UpdateDivergence(Float)
| SetDriftAura(String)
22 changes: 22 additions & 0 deletions migration/msg/VideoCoordinationMsg.affine
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
// Copyright (c) 2026 Jonathan D.A. Jewell
//
// VideoCoordinationMsg.affine — messages for the VideoCoordination panel
// (Drive-to-Photos batch transfers).
//
// Translation of src/msg/VideoCoordinationMsg.res (11 LoC). Pure sum-type
// module using `Result<String, String>` from prelude.
//
// Refs: standards#279 (megaport STEP 8).

module VideoCoordinationMsg;

use prelude::{Result, Ok, Err};

type VideoCoordinationMsg =
| StartTransfer(String, String)
| PauseTransfer(String)
| RefreshStatus
| StatusResult(Result<String, String>)
| TransferResult(Result<String, String>)
| ClearError
Loading