refactor(import): call a turned-down resource ignored

"Not imported" was two words in a column of one-word states, and it read
as a description of this run rather than the standing decision it is.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Gregory Schier
2026-09-08 08:27:17 -07:00
co-authored by Claude Opus 5
parent a3e6afcdc9
commit 82ee025cd3
7 changed files with 42 additions and 42 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ export type ImportPlanAction =
| "unchanged"
| "keep_local"
| "conflict"
| "not_imported";
| "ignored";
export type ImportPlanItem = {
action: ImportPlanAction;
@@ -86,7 +86,7 @@ export type ImportPlanItem = {
/**
* Extra context for an action that would otherwise be indistinguishable from its plain form.
*/
export type ImportPlanReason = "moved_into_not_imported_folder";
export type ImportPlanReason = "moved_into_ignored_folder";
export type ImportPlanWarning = { title: string; detail: string };
+2 -2
View File
@@ -170,7 +170,7 @@ pub enum ImportPlanAction {
KeepLocal,
Conflict,
/// Present in the source but previously turned down; selecting it imports it again
NotImported,
Ignored,
}
/// Extra context for an action that would otherwise be indistinguishable from its plain form.
@@ -178,7 +178,7 @@ pub enum ImportPlanAction {
#[serde(rename_all = "snake_case")]
#[ts(export, export_to = "gen_util.ts")]
pub enum ImportPlanReason {
MovedIntoNotImportedFolder,
MovedIntoIgnoredFolder,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize, Serialize, TS)]