Repository navigation
Conversation
… → preview → apply - shown only where the storage service answers GET /v2/storage (backend-neutral storage layer: one pool, btrfs or md underneath); an upstream LocalStorage: unchanged - pool card: layout in words, state tag (raid.js), capacity, failures survived, members with Replace / Take out; Add a disk, Change protection, Check now / Stop, Mount with a disk missing - drives with their role (blank, in the pool, holds other data, in use, system): Add, Wipe - StoragePlan: what the action asks (disks, member, layout with capacity per option) → the service's plan (summary, space and protection before → after, disks erased, steps, commands) → typed confirmation → apply; refusals shown as text; stale plan → choose again - looks again every 3 s while the pool works (rebuild, conversion, check) - en_US, fr_FR; specs: pools.spec.js, StoragePlan.spec.js
…words - data not in the pool's layout (written while a disk was missing): the service says so (problem) and offers restore-layout
…an index it does not have yet)
…(happy-dom keeps folded content)
# Conflicts: # src/assets/lang/en_US.json # src/assets/lang/fr_FR.json # src/components/Storage/StorageManagerPanel.vue
…alStorage#10) - a card per pool; another pool offered only by the box's verbs (create-pool) - intents name their pool (id) - stripe: 'Mirror, 2 copies, striped' / 'No protection, striped' - Delete the pool (red, typed confirmation from the plan)
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.
Draft — under test on ReCasaNix; out of draft once tested on hardware.
Storage manager: a Pool tab for a backend-neutral storage layer (
/v2/storage, contract: ReCasaOS/CasaOS-LocalStorageapi/storage/openapi.yaml, ReCasaOS/CasaOS-LocalStorage#10).GET /v2/storageanswers; LocalStorage without it → panel unchangedraid.js), capacity, "Survives N disks failing", the service'sproblemtextverbs)StoragePlandialog, one for every action:pools.spec.js(helpers, language files),StoragePlan.spec.js(create flow, refusal escaping, no-choice verbs, stale apply); full suite + eslint greenTested end to end on ReCasaNix (real VM, gateway, browser): Pool tab on a degraded mirror, "Check now" → preview → Apply → started.