Repository navigation
feat(studio): L09b export sheet with the portability check - #1082
Open
LinuxDevil wants to merge 1 commit into
Open
LinuxDevil wants to merge 1 commit into
LinuxDevil wants to merge 1 commit into
Conversation
LinuxDevil
force-pushed
the
fb-l09b-export-sheet
branch
from
November 12, 2026 07:28
5f1eab9 to
e9ab31b
Compare
Replace the two export menu items with a single Export… entry that opens
a sheet: YAML/bundle format pick, the shared PortabilityPanel (idle →
loading → findings/error, retry only on LOUSHO_PASS_FAILED), an adapt
switch shown only when the analysis produced adapted instructions, and
the download itself via downloadExport(id, format, { adapt }) with
bundle warnings as warning toasts. A 409 LOUSHO_PORTABILITY_MISSING
remounts the panel idle, drops the adapt switch and shows the stale-spec
message. The import sheet shows the same panel for pasted text (keyed on
the text so it resets on edit) once the preview is valid.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
LinuxDevil
force-pushed
the
fb-l09b-export-sheet
branch
from
November 12, 2026 07:51
e9ab31b to
3361543
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ExportSheet(size lg): YAML/bundle format fieldset,PortabilityPanel, adapt switch shown only whenanalysis.adaptedInstructions !== null, secrets footnote, Cancel/Download footer.PortabilityPanel+portability.css: idle → loading → findings/error state machine;Try againonly forLOUSHO_PASS_FAILED; location/kind chips (secret getsdata-tone="danger");onAnalysisreports the analysis orundefined.AgentActionsMenu: the two export items collapse into oneExport…entry that opens the sheet.ImportSheet: the same panel appears once the preview is valid, keyed on the pasted text so it resets on edit; no adapt switch there.runtimeClient.downloadExport(agentId, format, { adapt })+downloadBlob, success/warning toasts;409 LOUSHO_PORTABILITY_MISSINGremounts the panel idle, clears the switch and shows the stale-spec message.Test plan
PortabilityPanel.test.tsx— idle→loading→findings, empty state, all location/kind labels, per-code errors, retry only on PASS_FAILED (7 tests)ExportSheet.test.tsx— format switch, adapt visibility, download args, warnings toasts, 409 reset (8 tests)ImportSheet.test.tsx— panel hidden until valid preview / on schema error, resets on text changeexportMenu.test.tsx+AgentActionsMenu.test.tsxupdated for the singleExport…itemfallow auditcleanGenerated with Devin