Show other-pages stats and store-specials AI matching.
Add the Statistics pages row for static_page views, wire specials AI match UI, and tidy Businesses page styles. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
9ce93b0b48
commit
652f4d07b6
@@ -559,21 +559,6 @@
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
.thSms,
|
||||
.tdSms {
|
||||
width: 1%;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.tdSms {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
color: var(--text-secondary);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.thModules,
|
||||
.tdModules {
|
||||
width: 1%;
|
||||
@@ -652,6 +637,10 @@
|
||||
gap: 12px 16px;
|
||||
}
|
||||
|
||||
.modulesChartsRow > .field + .field {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.modulesChartsRow {
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
@@ -1560,7 +1560,6 @@ export function BusinessesPage() {
|
||||
<th className={styles.th}>Contract Data / Renewal</th>
|
||||
<th className={styles.th}>Domain</th>
|
||||
<th className={styles.th}>Owner</th>
|
||||
<th className={`${styles.th} ${styles.thSms}`}>SMS sent</th>
|
||||
<th className={`${styles.th} ${styles.thTheme}`}>Theme</th>
|
||||
<th className={`${styles.th} ${styles.thLocale}`}>Lang</th>
|
||||
<th className={`${styles.th} ${styles.thModules}`}>Modules</th>
|
||||
@@ -1570,7 +1569,7 @@ export function BusinessesPage() {
|
||||
<tbody>
|
||||
{loading && (
|
||||
<tr>
|
||||
<td className={styles.td} colSpan={9}>
|
||||
<td className={styles.td} colSpan={8}>
|
||||
Loading...
|
||||
</td>
|
||||
</tr>
|
||||
@@ -1578,7 +1577,7 @@ export function BusinessesPage() {
|
||||
|
||||
{!loading && data?.items?.length === 0 && (
|
||||
<tr>
|
||||
<td className={styles.td} colSpan={9}>
|
||||
<td className={styles.td} colSpan={8}>
|
||||
No results found.
|
||||
</td>
|
||||
</tr>
|
||||
@@ -1669,9 +1668,6 @@ export function BusinessesPage() {
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td className={`${styles.td} ${styles.tdSms}`}>
|
||||
{(b.smsSentCount ?? 0).toLocaleString('en-US')}
|
||||
</td>
|
||||
<td className={`${styles.td} ${styles.tdTheme}`}>
|
||||
<PrimaryColorSwatchControl
|
||||
value={normalizeBusinessPrimaryColorId(b.primaryColor)}
|
||||
|
||||
Reference in New Issue
Block a user