Skip to content

fix: Directory タブの登壇回数バッジから半角スペースを除去 - #814

Merged
yamanoku merged 2 commits into
mainfrom
cursor/remove-directory-badge-space-acae
Aug 4, 2026
Merged

fix: Directory タブの登壇回数バッジから半角スペースを除去#814
yamanoku merged 2 commits into
mainfrom
cursor/remove-directory-badge-space-acae

Conversation

@yamanoku

@yamanoku yamanoku commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • TOP ページの Speaker(Directory)タブで、登壇回数バッジが ×9(先頭に半角スペース)と描画されていた問題を修正しました
  • 原因はテンプレートのインデント空白が Vue の whitespace condense により半角スペースになっていたことです
  • ×Ndata-count + CSS after:content-[attr(data-count)] で描画し、フォーマッタが改行を入れても空白が入らないようにしました
  • 非 void 要素への自己閉じ (<span />) は Vize typecheck で弾かれるため、明示的な ></span> に変更しました

Directory badges without space

Test plan

  • TOP ページで Speaker(Directory)タブを開き、バッジが ×9 / ×6(スペースなし)と表示されること
  • vp run lint / vp run format:check / vp run typecheck / vp test run が通ること

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 4, 2026 00:47
Template indentation around ×N was condensed by Vue into a leading
half-width space. Render the count via data-count + CSS content so the
badge shows ×N without whitespace.

Co-authored-by: Oyama Michinoku <0910yama@gmail.com>
Self-closing <span /> fails Vize typecheck on non-void HTML elements.

Co-authored-by: Oyama Michinoku <0910yama@gmail.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
vuefes-japan-speakers ea9813c Commit Preview URL

Branch Preview URL
Aug 04 2026, 01:26 AM

@yamanoku
yamanoku marked this pull request as ready for review August 4, 2026 02:28
@cursor

cursor Bot commented Aug 4, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@yamanoku yamanoku self-assigned this Aug 4, 2026
@yamanoku
yamanoku merged commit ab2833c into main Aug 4, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from Doing to Done - 2026 in yamanoku Repositories KANBAN Aug 4, 2026
@yamanoku
yamanoku deleted the cursor/remove-directory-badge-space-acae branch August 4, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done - 2026

Development

Successfully merging this pull request may close these issues.

2 participants