Commit Graph
710 Commits
Author SHA1 Message Date
kate522 85ade059a2 Merge pull request 'fix(payment): align plate-follow cash preview with wallet balance' (#290) from worktree-fix-balance-chain into main
Reviewed-on: CYL/wordpress-theme-aksrt#290
2026-07-25 13:15:07 +08:00
kate522 daba099755 fix(payment): align plate-follow cash preview with wallet balance
Use cash wallet for plate follow cashiers and stop stubbing methods when Gateway is missing.
2026-07-25 13:13:56 +08:00
kate522 8bc2a934c2 Merge pull request 'fix(rest): build signin URLs from restUrl under plain permalinks' (#289) from worktree-fix-user-card-vip-btn into main
Reviewed-on: CYL/wordpress-theme-aksrt#289
2026-07-25 13:11:38 +08:00
kate522 729812fc06 Merge pull request 'feat(admin): collapsible gateway credential forms on payment page' (#288) from worktree-fix-balance-chain into main
Reviewed-on: CYL/wordpress-theme-aksrt#288
2026-07-25 13:11:26 +08:00
kate522 6db4da32c6 feat(admin): collapsible gateway credential forms on payment page
Hide channel config cards until enabled; open expanded on enable and allow manual collapse via group header.
2026-07-25 13:08:37 +08:00
kate522 42b13ae997 Merge pull request 'fix(payment): wire balance wallet end-to-end when pay_balance_s is on' (#287) from worktree-fix-balance-chain into main
Reviewed-on: CYL/wordpress-theme-aksrt#287
2026-07-25 12:55:45 +08:00
kate522 3267bee71e fix(payment): wire balance wallet end-to-end when pay_balance_s is on
Opening 余额功能 alone now enables cash-wallet pay (unless 余额支付 is explicitly off). Drop points-as-balance fallback, stop fake method injection, expose real wallet in cashiers, and honor auto_to_balance on recharge fulfill.
2026-07-25 12:46:38 +08:00
kate522 e4905e3088 fix(rest): build signin URLs from restUrl under plain permalinks
credits.js hardcoded siteUrl + /wp-json/aksrt/v1 which 404s when WP uses
plain permalinks (?rest_route=...). Prefer aksrtData.restUrl/apiUrl and
harden header-userbox path join for the same case.
2026-07-25 12:29:03 +08:00
kate522 c85774f9a0 Merge pull request 'Worktree fix user card vip btn' (#286) from worktree-fix-user-card-vip-btn into main
Reviewed-on: CYL/wordpress-theme-aksrt#286
2026-07-25 12:21:52 +08:00
kate522 a1852714d3 fix(nav): keep radius/jb paint tokens on 发布 toggle not wrapper 2026-07-25 12:00:36 +08:00
kate522 c8b4d1a851 fix(nav): never drop top-nav 发布 when submit page URL is empty
aksrt_get_new_post_url() returns '' without a page-submit assignment,
which previously skipped the post action and emptied the multi-type
chip. Fall back to post-new.php, keep a last-resort action list, put
radius/jb paint on the toggle, and force chip visibility CSS.
2026-07-25 12:00:07 +08:00
kate522 9a0b01f2b3 Merge pull request 'fix(nav): restore multi-type 发布 chip paint on bare navbar-but' (#285) from worktree-fix-user-card-vip-btn into main
Reviewed-on: CYL/wordpress-theme-aksrt#285
2026-07-25 11:52:42 +08:00
kate522 e194c603cb fix(nav): restore multi-type 发布 chip paint on bare navbar-but
Paint classes (jb-*/but/radius) were on the transparent newadd wrapper,
so the multi-type 发布 toggle rendered invisible outside navbar-but-cluster.
Move them onto .newadd-btns__toggle and style the bare DOM path.
2026-07-25 11:51:47 +08:00
kate522 3df37a4404 Merge pull request 'fix(nav): align header user-card VIP CTA with check-in button' (#284) from worktree-fix-user-card-vip-btn into main
Reviewed-on: CYL/wordpress-theme-aksrt#284
2026-07-25 11:44:36 +08:00
kate522 e98f94bc06 fix(nav): align header user-card VIP CTA with check-in button
Drop navbar-cta/pill radius classes from the dropdown 开通会员 link and
force full-width 6px radius geometry to match the签到 button.
2026-07-25 11:42:13 +08:00
kate522 7b22f7336d Merge pull request 'fix(nav): kill Bootstrap 5 navbar padding so bar matches zibll height' (#283) from worktree-fix-theme-toggle-overlap into main
Reviewed-on: CYL/wordpress-theme-aksrt#283
2026-07-25 11:36:22 +08:00
kate522 89b4070614 fix(nav): kill Bootstrap 5 navbar padding so bar matches zibll height
AKSRT loads BS5 (.navbar --bs-navbar-padding-y:.5rem) while zibll uses
BS3 without it; that alone added ~16px. Zero BS navbar pad, keep only
.header 8px 20px (mobile 0 8px), horizontal CTA margins, tighter mobile
logo/toggle row.
2026-07-25 11:33:52 +08:00
kate522 4a599258c8 Merge pull request 'fix(nav): align header bar height with zibll main.css' (#282) from worktree-fix-theme-toggle-overlap into main
Reviewed-on: CYL/wordpress-theme-aksrt#282
2026-07-25 11:28:15 +08:00
kate522 8a6f6feafb fix(nav): align header bar height with zibll main.css
Drop forced 34px CTA chips and container min-height:50 that inflated
or shrank the bar vs zibll. Restore .navbar-but .but to 0.8em / 0.3em
1em / margin 0.4em; keep logo 36px, header pad 8px 20px, fixed reserve 88px.
2026-07-25 11:27:31 +08:00
kate522 bf4c019ab3 Merge pull request 'fix(admin): accept multi-value 发布类型 on header-nav save' (#281) from worktree-fix-theme-toggle-overlap into main
Reviewed-on: CYL/wordpress-theme-aksrt#281
2026-07-25 11:15:49 +08:00
kate522 ab3d361d46 fix(admin): accept multi-value 发布类型 on header-nav save
header_newposts_types is multi-select but PHP schema used type=select,
so validate() rejected arrays with 422. Use checkbox and allow
select+multiple arrays in SchemaProvider.
2026-07-25 11:13:52 +08:00
kate522 d77fce8fdd Merge pull request 'fix(vip): join REST query with & under plain permalinks' (#280) from worktree-fix-theme-toggle-overlap into main
Reviewed-on: CYL/wordpress-theme-aksrt#280
2026-07-25 11:10:43 +08:00
kate522 53836ac6b8 fix(vip): join REST query with & under plain permalinks
GET pay/vip/modal?vip_level=1 became rest_route=.../modal?vip_level which
404s. Build rest_route path then append &vip_level= for plain links.
2026-07-25 11:08:15 +08:00
kate522 9c901e0d17 Merge pull request 'Worktree fix theme toggle overlap' (#279) from worktree-fix-theme-toggle-overlap into main
Reviewed-on: CYL/wordpress-theme-aksrt#279
2026-07-25 11:04:25 +08:00
kate522 a0862248b2 fix(auth): expose aksrtData.apiUrl alias for REST root
Mirror restUrl so legacy modal-auth/follow/report readers get a
plain-permalink-safe endpoint without hardcoding /wp-json.
2026-07-25 11:03:04 +08:00
kate522 7daaa03417 fix(auth): use restUrl for modal-login under plain permalinks
Local WP has empty permalink_structure so /wp-json/* 404s on Apache.
modal-auth fell back to /wp-json/aksrt/v1; prefer aksrtData.restUrl
(index.php?rest_route=/aksrt/v1) and join paths correctly.
2026-07-25 11:02:32 +08:00
kate522 680d9d6793 Merge pull request 'fix(nav): stop click ripple from stretching CTA chips' (#278) from worktree-fix-theme-toggle-overlap into main
Reviewed-on: CYL/wordpress-theme-aksrt#278
2026-07-25 10:58:51 +08:00
kate522 d3cae1f1cb fix(nav): stop click ripple from stretching CTA chips
.aksrt-wave was injected into .but without position:absolute, so the
oversized span expanded header publish/VIP buttons on click. Make the
wave absolute, honor .nowave, and skip navbar CTA roots.
2026-07-25 10:58:04 +08:00
kate522 6143e7103a Merge pull request 'fix(nav): hard-lock CTA chips at 34px for bare navbar-but markup' (#277) from worktree-fix-theme-toggle-overlap into main
Reviewed-on: CYL/wordpress-theme-aksrt#277
2026-07-25 10:50:42 +08:00
kate522 77150afe38 fix(nav): hard-lock CTA chips at 34px for bare navbar-but markup
Live header uses .navbar-form.navbar-but without .navbar-but-cluster;
remove em padding/height:auto/min-height calc that grew chips on press
and override .but.radius padding so publish/VIP stay fixed size.
2026-07-25 10:38:23 +08:00
kate522 3169d4c4db Merge pull request 'fix(nav): stop CTA press warp, pin user menu, hide PC hamburger' (#276) from worktree-fix-theme-toggle-overlap into main
Reviewed-on: CYL/wordpress-theme-aksrt#276
2026-07-25 10:32:24 +08:00
kate522 4c18910dc4 fix(nav): stop CTA press warp, pin user menu, hide PC hamburger
Lock top-bar button transforms on press; anchor avatar dropdown under
the trigger; show mobile drawer toggle only ≤767 and grid-layout the
mobile header so logo and menu no longer overlap.
2026-07-25 10:31:52 +08:00
kate522 f599cfe3fb Merge pull request 'fix(nav): zero FA vertical-align in top bar for flex centering' (#275) from worktree-fix-top-multifunc-cards into main
Reviewed-on: CYL/wordpress-theme-aksrt#275
2026-07-25 10:21:20 +08:00
kate522 21d91447f6 Merge pull request 'fix(theme): stop sun/moon overlap and restore dark float contrast' (#274) from worktree-fix-theme-toggle-overlap into main
Reviewed-on: CYL/wordpress-theme-aksrt#274
2026-07-25 10:18:44 +08:00
kate522 2898922a17 fix(theme): stop sun/moon overlap and restore dark float contrast
Drive toggle glyphs with html.dark/body theme classes only, drop
inline display styles that lost to !important CSS, and give the
float rail a solid surface + brighter ink in dark mode.
2026-07-25 10:18:19 +08:00
kate522 aa339c5a4d fix(nav): zero FA vertical-align in top bar for flex centering 2026-07-24 12:53:15 +08:00
kate522 b5f13c4a1f Merge pull request 'Worktree fix top multifunc cards' (#273) from worktree-fix-top-multifunc-cards into main
Reviewed-on: CYL/wordpress-theme-aksrt#273
2026-07-24 12:51:56 +08:00
kate522 c72f51987d fix(nav): scope multi-type newadd wrapper without collapsing CTA links 2026-07-24 12:46:30 +08:00
kate522 a9aba6bdd1 fix(nav): win cascade for CTA and icon baseline
Scope multi-type newadd wrapper rules so they cannot collapse single CTA links; re-enqueue nav.css after header-menu-buttons for final zibll alignment.
2026-07-24 12:44:55 +08:00
kate522 4f5430cdba fix(nav): complete zibll top-bar text/icon alignment pass
Rewrite inline nav.css alignment for logo, menu titles, CTA chips, theme toggle (29px), icon-only buttons, and user-href badges so FA glyphs and labels share zibll baselines.
2026-07-24 12:32:34 +08:00
kate522 683506f3a2 fix(nav): finish top-bar icon/text baseline alignment
Center toggle/badge FA icons, normalize CTA icon+label without raw spaces, and extend .but FA5 margin so navbar text/icons match zibll.
2026-07-24 12:24:32 +08:00
kate522 a5fd5105f4 fix(nav): inline top-bar icon/text alignment into nav.css
Bypass @import cache for critical FA centering, CTA baseline, and menu title flex so navbar offsets match zibll after hard refresh.
2026-07-24 12:16:59 +08:00
kate522 879e48a37a fix(nav): hard-fix top bar icon/text offset vs zibll
Cache-bust core buttons CSS, inline critical alignment into nav.css, and center FA icons in toggle/btn/CTA chips so navbar text and icons stop drifting.
2026-07-24 12:14:53 +08:00
kate522 f492174297 fix(nav): align navbar text and icon baselines with zibll
Center FA icons in toggle-radius/btn chips, restore menu-item title flex baseline, and match CTA/logo vertical alignment so top bar text and icons no longer drift.
2026-07-24 12:08:09 +08:00
kate522 9afe11c8cc Merge pull request 'Worktree fix top multifunc cards' (#272) from worktree-fix-top-multifunc-cards into main
Reviewed-on: CYL/wordpress-theme-aksrt#272
2026-07-24 11:56:44 +08:00
kate522 9aa0bd0755 fix(header): cache-bust frontend CSS modules via filemtime
header-components used fixed AKSRT_VERSION so card-gap fixes never reached browsers; inline gap rules and filemtime enqueue.
2026-07-24 11:48:25 +08:00
kate522 8bad0c1252 fix(header): force 10px seams between homepage icon cards
Harden gutters-5 child padding with higher specificity so homepage-fixed utilities cannot collapse header-slider card gaps.
2026-07-24 11:45:15 +08:00
kate522 e45bfc6eec fix(header): restore gutters-5 gaps on homepage icon cards
Homepage never loaded zibll-utilities (single-post only), so .gutters-5 padding was missing and cards stuck together while other pages looked correct.
2026-07-24 11:42:13 +08:00
kate522 c246e4bcce Merge pull request 'Worktree fix top multifunc cards' (#271) from worktree-fix-top-multifunc-cards into main
Reviewed-on: CYL/wordpress-theme-aksrt#271
2026-07-24 11:36:22 +08:00
kate522 d1f1cab6c8 fix(header): restore horizontal gutters on header-slider-card container 2026-07-24 11:34:34 +08:00