Avatar Dot indicator does't follow figma spec

オープン
#1,509 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react, storybook, tailwindcss, typescript
領域
design, frontend

調査の方向性

リンクされた default-avatar story の Avatar コンポーネントの Storybook エントリから始め、角の丸い大サイズおよび特大サイズのアバターで右上のステータス位置を再現します。レンダリングされたドットをリンクされた Figma デザインと比較し、各ステータスが正しく配置されたままになるよう、サイズに応じた位置調整を行います。Storybook で影響を受ける Avatar バリアントを確認します。

索引モデルが issue の本文から書いたものです。

説明

  • I have searched the Issues to see if this bug has already been reported
  • I have tested the latest version

Steps to reproduce

  1. Go to https://storybook.flowbite-react.com/?path=/story/components-avatar--default-avatar&args=status:online;rounded:!true
  2. Set the controls as screenshot
  • rounded: true
  • size: "lg" or "xl"
  • status: one of the statuses
  • statusPosition: "top-right"
截圖 2024-11-18 下午4 28 48
  1. You can see the dot indicator with incorrect position

Current behavior

截圖 2024-11-18 下午4 32 05

Expected behavior

https://www.figma.com/design/BwJpLnMEFPsqLDaSgylB0V/flowbite-pro-figma-v2.10.0?node-id=535-231&node-type=frame&t=78Sn0Hz6cMadUTJO-0
截圖 2024-11-18 下午4 28 03

Context

The statusPosition does not change when the size changed

主要言語
TypeScript
スター
2.1k
フォーク
502
平均マージ
19時間 16分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

themesberg/flowbite-react のほかの issue

themesberg/flowbite-react の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。