Repository navigation
Wire up Prefix mode in the operator console - #25
Merged
Merged
Conversation
The Prefix mode button existed but pressing 실행 always rendered a "not yet supported" stub. Wire it to /purge/execute: a non-empty path sends a prefix purge, an empty path asks for confirmation naming the selected service (per PRODUCT_SPEC V5 and the resolved ARCHITECTURE decision that typing the name is not required) and only resends with that confirmation on explicit approval. The path input switches to a single row in Prefix mode and its placeholder shows a full image URL, since the intended workflow is pasting a URL and trimming it from the right into a prefix. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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
src/main.ts, which previously always rendered'Prefix 모드는 아직 지원하지 않습니다.'regardless of input.{ mode: 'prefix', service, path }to/purge/execute(backend validation insrc/purge.ts— V4, V5 — was already implemented and tested, just not reachable from the UI).confirm()dialog naming the selected service before resending withconfirmationset, perPRODUCT_SPEC.mdV5 / A5 and theARCHITECTURE.mdresolved decision that typing the service name is not required.img.repl.netimage URL in Prefix mode, matching the intended "paste a URL, trim it from the right into a prefix" workflow.Note
.replworks/TASKS.mdalready marks T-007 ("Purge image URL prefixes")[X], but the operator console never actually exercised this path until now — flagged as a doc/code conflict in an earlier discussion. This PR only wires up the UI; it does not change.replworks/TASKS.md, and a live-Cloudflare E2E run (per T-007's full acceptance criteria) has not been performed against real credentials.Test plan
npm run typechecknpm test(28 tests pass; backend prefix validation already covered)npm run build🤖 Generated with Claude Code