Rename profiles to automations across backend and frontend
Rename the "profiles" entity to "automations" throughout the entire codebase for clarity. Updates Python models, storage, API routes/schemas, engine, frontend JS modules, HTML templates, CSS classes, i18n keys (en/ru/zh), dashboard, tutorials, and command palette. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,34 +1,34 @@
|
||||
/* ===== PROFILES ===== */
|
||||
/* ===== AUTOMATIONS ===== */
|
||||
|
||||
.badge-profile-active {
|
||||
.badge-automation-active {
|
||||
background: var(--success-color);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.badge-profile-inactive {
|
||||
.badge-automation-inactive {
|
||||
background: var(--border-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.badge-profile-disabled {
|
||||
.badge-automation-disabled {
|
||||
background: var(--border-color);
|
||||
color: var(--text-muted);
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.profile-status-disabled {
|
||||
.automation-status-disabled {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.profile-logic-label {
|
||||
.automation-logic-label {
|
||||
font-size: 0.7rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
/* Profile condition editor rows */
|
||||
.profile-condition-row {
|
||||
/* Automation condition editor rows */
|
||||
.automation-condition-row {
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 6px;
|
||||
padding: 10px;
|
||||
@@ -294,7 +294,7 @@
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.dashboard-profile .dashboard-target-metrics {
|
||||
.dashboard-automation .dashboard-target-metrics {
|
||||
min-width: 48px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user