style: format web apps with prettier and sort imports
Apply repo-wide Prettier/lint normalization across admin-web, desktop-client and ops-web: single quotes, no semicolons, trailing commas, consistent line wrapping, and import ordering. Also drop an unused brand-logo import in DesktopShell.vue. No behavior changes — formatting only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -8,12 +8,7 @@ import {
|
||||
TagsOutlined,
|
||||
} from '@ant-design/icons-vue'
|
||||
import { ApiClientError } from '@geo/http-client'
|
||||
import type {
|
||||
Brand,
|
||||
BrandLibrarySummary,
|
||||
BrandRequest,
|
||||
QuestionCandidate,
|
||||
} from '@geo/shared-types'
|
||||
import type { Brand, BrandLibrarySummary, BrandRequest, QuestionCandidate } from '@geo/shared-types'
|
||||
import { useMutation, useQuery, useQueryClient } from '@tanstack/vue-query'
|
||||
import { message } from 'ant-design-vue'
|
||||
import { computed, onBeforeUnmount, reactive, ref } from 'vue'
|
||||
@@ -226,9 +221,7 @@ function applyDefaultSelection(rows: CandidateRow[]): void {
|
||||
}
|
||||
|
||||
let selected = 0
|
||||
const preferredRows = rows.filter(
|
||||
(row) => !row.suggest_skip && !row.too_short && !row.duplicate,
|
||||
)
|
||||
const preferredRows = rows.filter((row) => !row.suggest_skip && !row.too_short && !row.duplicate)
|
||||
const orderedRows = [...preferredRows, ...rows.filter((row) => !preferredRows.includes(row))]
|
||||
|
||||
for (const row of orderedRows) {
|
||||
@@ -585,12 +578,16 @@ async function saveSelectedQuestions(): Promise<void> {
|
||||
padding: 40px 24px;
|
||||
color: #0f172a;
|
||||
background-color: #f8fafc;
|
||||
background-image:
|
||||
background-image:
|
||||
radial-gradient(circle at 10% 20%, rgba(22, 119, 255, 0.05) 0%, transparent 40%),
|
||||
radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
|
||||
radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.04) 0%, transparent 35%),
|
||||
radial-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px);
|
||||
background-size: 100% 100%, 100% 100%, 100% 100%, 24px 24px;
|
||||
background-size:
|
||||
100% 100%,
|
||||
100% 100%,
|
||||
100% 100%,
|
||||
24px 24px;
|
||||
}
|
||||
|
||||
.glow-orb {
|
||||
@@ -641,7 +638,7 @@ async function saveSelectedQuestions(): Promise<void> {
|
||||
-webkit-backdrop-filter: blur(24px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.7);
|
||||
border-radius: 24px;
|
||||
box-shadow:
|
||||
box-shadow:
|
||||
0 1px 2px rgba(0, 0, 0, 0.02),
|
||||
0 4px 12px rgba(0, 0, 0, 0.02),
|
||||
0 16px 36px rgba(22, 119, 255, 0.04),
|
||||
@@ -738,7 +735,7 @@ async function saveSelectedQuestions(): Promise<void> {
|
||||
.brand-choice:hover {
|
||||
background: #ffffff;
|
||||
border-color: rgba(22, 119, 255, 0.4);
|
||||
box-shadow:
|
||||
box-shadow:
|
||||
0 10px 25px -5px rgba(22, 119, 255, 0.08),
|
||||
0 4px 12px -5px rgba(22, 119, 255, 0.05);
|
||||
transform: translateY(-2px);
|
||||
@@ -862,7 +859,7 @@ async function saveSelectedQuestions(): Promise<void> {
|
||||
.create-brand-card:hover {
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
border-color: #1677ff;
|
||||
box-shadow:
|
||||
box-shadow:
|
||||
0 12px 30px -5px rgba(22, 119, 255, 0.08),
|
||||
0 4px 12px -5px rgba(22, 119, 255, 0.04);
|
||||
transform: translateY(-2px);
|
||||
|
||||
Reference in New Issue
Block a user