Commit Graph
179 Commits
Author SHA1 Message Date
kate522 7d12fc5508 fix(nav): show worn badge beside user name 2026-08-11 19:48:44 +08:00
kate522 ad3d431d18 style(user): add zibll profile meta surface 2026-08-11 19:39:26 +08:00
kate522 51b52affae fix(user): align badge entry with medal settings 2026-08-11 19:32:52 +08:00
kate522andClaude Fable 5 ae2588c292 fix(identity): align vip icons and sidebar cards
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 18:52:12 +08:00
kate522andClaude Fable 5 3231ca8b1e fix(vip): align modal level icon and name
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 18:25:53 +08:00
kate522andClaude Fable 5 86acecc27d fix(profile): match VIP icon to badge size
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 18:21:47 +08:00
kate522andClaude Fable 5 a5625b1765 fix(vip): enlarge membership icons
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 18:17:15 +08:00
kate522andClaude Fable 5 52e119acbd fix(vip): preserve cards and align level icons
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 18:09:59 +08:00
kate522andClaude Fable 5 fbbc8faf3d fix(vip): render membership icons without wrappers
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 18:02:34 +08:00
kate522andClaude Fable 5 18da39788f feat(vip): add default icons and remove download speed
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 17:48:10 +08:00
kate522andClaude Fable 5 df858d04dc feat(user-center): add VIP points exchange modal
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-09 16:15:08 +08:00
kate522andClaude Fable 5 34150f3358 refactor(modal): remove legacy compatibility paths
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-05 00:06:37 +08:00
kate522andClaude Fable 5 bdfe3a461d fix(modal): route refresh modal through runtime
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-04 23:28:13 +08:00
kate522andClaude Fable 5 d79b063bf9 feat(modal): add cancellable shared runtime
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-04 23:24:37 +08:00
kate522andClaude Fable 5 0647c501ba fix(css): remove stale forum page imports
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-04 22:44:12 +08:00
kate522andClaude Fable 5 54e0ad4026 fix(badges): remove worn medal outline
Remove the shared outline that wrapped worn medal image icons across author and comment identity surfaces.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-04 18:16:35 +08:00
kate522 ed19937e99 feat(badges): zibll-style badge modal with category grid, detail view, and wear UX 2026-08-04 12:46:44 +08:00
kate522 1d2505356e feat: remove shop feature (Phase 2)
Delete all shop domain classes, controllers, schema builders, templates,
JS/CSS, admin SPA pages, and shop-only payment classes (Shipping,
AfterSale, Discount). Remove shop-only DB table definitions (product_variant,
after_sale, order_shipping, card_key) from migrator and add their DROP
to uninstall.php. Clean up shared files:

- Remove aksrt_product CPT + taxonomies from Setup.php
- Remove shop rewrite rules/query vars/template redirect from SetupPart2.php
- Remove shop widget areas from SetupPart1.php
- Remove shop enqueues from ScriptsPart1b.php
- Remove sepakerator-aksrt-shop from SetupPart2.php
- Remove get_shop_settings facade (delete ForumShop.php, clean DomainGroups.php)
- Remove ORDER_PRODUCT_SHOP constant from DomainModel.php
- Remove Shop::class fallback branches from UserOrders.php, OrderCenterRest.php
- Remove shipping/after-sale branches from OrderRepositoryAdmin.php, PayMenus.php, PayOrders.php
- Remove shop product widgets from widgets-register.php
- Remove cart page from template-registry.php, routing.php, ScriptsPart2.php
- Remove cart UI from sidebar-nav.php, profile-orders.php, sidebar-orders.php
- Clean up order-center.js (remove rebuy/cartUrl/receipt/after-sale handlers)
- Remove aksrt_get_cart_page_url/product_page/product_edit from transactions.php
- Clean up aksrt_product_cat references in Coupon.php, PayCoupons.php

Shared payment/order/credits/content-pay stack fully retained.
2026-08-02 21:25:52 +08:00
kate522 2bbd7c01a3 feat: remove forum feature (Phase 1) 2026-08-02 20:02:44 +08:00
kate522 bd538d7daf fix: 用户/作者卡片外层包裹层透明化改用 !important + :has() 兜底
上一版透明化规则无 !important,在暗色模式(html.dark .zib-widget 权重更高)
与首页/用户中心侧栏(homepage-fixed 后加载的同权重规则)中反被卡片绘制规则
覆盖,导致外层卡片重现。

- 透明化声明全部加 !important,确保胜过所有 .zib-widget 卡片绘制规则
- 新增 .zib-widget:has(.aksrt-user-card/.aksrt-author-card) 兜底,
  无论包裹层类名/嵌套 .is-affix 与否都能命中
2026-08-01 11:04:32 +08:00
kate522 0fd5848884 重新设计用户/作者卡片小工具:消除多层卡片堆叠
- WidgetUserCard/WidgetAuthorCard 内层根节点去掉重复的 zib-widget widget 类
- 用户卡片补 classname=widget_aksrt_user_card 钩子
- widget-batch5.css 新增外层 .zib-widget 包裹层透明化规则(含首页侧栏覆盖)
- 内层 .aksrt-user-card/.aksrt-author-card margin-bottom 归零,间距由外层统一
- 删除 custom-amount.css 重复的 .aksrt-user-card* 段
- 删除 sidebar.css 失效的 .widget-user-card* 死代码
- author-actions.css .user-card.author.zib-widget → .user-card.author
2026-08-01 10:38:54 +08:00
kate522 06a03fd9cf fix: 始终展示已认证标识 2026-07-31 11:15:29 +08:00
Claude 98aeee3cc1 fix(phase1): backfill pagination, fix card stacking, unify archive render
- Backfill aksrt_render_pagination() into inc/helpers/aksrt-template-tags.php
  (numbered + load_more/infinite branches, \AKSRT\Settings\Settings facade)
- post-card.css: drop display:block !important from base .posts-item so
  .posts-item.card inline-block 3-col grid wins; scope <posts> block forcing
- archive-resources.php: replace hand-written .posts-row.ajaxpager +
  get_template_part loop with aksrt_render_post_list() + aksrt_render_pagination()

Refs .specs/plans/zibll-widgets-1to1.md Phase 1 (US2/US3/US5)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 19:05:43 +08:00
Claude 4325ce0c1c fix(ui): render user level icon inline beside the name
The level (等级) badge was wrapping to its own line below the username and
rendering at the intrinsic PNG size in most surfaces. Centralize the badge
sizing after zibll's `.img-icon` (height: 1.1em, inline-block) in base.css so
every route gets the same compact inline badge, and keep the name row from
flex-wrapping.

- Add shared `.aksrt-user-level-icon / .aksrt-identity-medal` rule + nowrap name
  rows in base.css (loaded on all routes).
- Header dropdown: append the level icon next to the display name (was a
  separate badges row); constrain the name to ellipsis so the badge never wraps.
- User center profile header & author hero: render the level icon inside the
  <h1> name row; drop the duplicate level chip from the signals row.
- Single article author bar / after-box author card: nowrap the name row and
  size the level icon to 1.2em (was unstyled → intrinsic PNG size).
- Comments: inner <name> nowrap with a name clamp; medal sized to 1em.
- Consolidate the per-route `.aksrt-user-level-icon` duplicates in
  user-center/level.css and profile/layout.css onto the shared rule.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 18:13:41 +08:00
kate522 a7f3caec59 feat(user-center): redesign sidebar and wallet tips 2026-07-28 13:41:00 +08:00
kate522 bcebd37807 fix(homepage): unify runtime rendering contract 2026-07-28 02:54:18 +08:00
kate522 2086f938ed feat: deepen single post experience 2026-07-28 02:07:10 +08:00
kate522 ac7ff8d4f2 feat(ip-geo): full-chain IP 归属地 on comments, user home, center, post 2026-07-25 14:39:47 +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 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 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 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 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 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 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 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 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 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 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 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 d1f1cab6c8 fix(header): restore horizontal gutters on header-slider-card container 2026-07-24 11:34:34 +08:00
kate522 b8d6f70af3 fix(header): stop homepage-only pull of header-slider-container
Align nav-fixed geometry with zibll: only .slide-header pulls under the bar; restore card container gutters so home overlay cards match other page types.
2026-07-24 11:32:31 +08:00