Create `ProjectTitle` component
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
調査の方向性
ProjectTitle.tsx または .jsx を作成する前に、既存の map-marker 選択フローと、親となる map と情報パネルのレイアウトを特定します。Figma のリファレンスと、指定された寸法、flex 配置、border、padding を UI 仕様として使用します。完了とは、再利用可能なコンポーネントがタイトルを受け取り、選択されたプロジェクトに対してのみレンダリングされ、marker ラベルから更新され、列挙された受け入れ基準を満たすことを意味します。
索引モデルが issue の本文から書いたものです。
説明
Issue created with ChatGPT models help¹
Parent: Epic Feature – Project Detail View (Map Interaction + Title & Info Panels)³
Description
Create a reusable ProjectTitle React component that appears when a user clicks on a map marker and the project detail view is activated¹. This component represents the top header bar (as shown in Figma) and displays the project title dynamically based on the clicked marker label².
The component should visually match the Figma design. The primary goal of this issue is to implement the UI structure and styling, while keeping the component flexible for future integration with routing and backend services⁴.
Goals
- Create reusable
ProjectTitlecomponent¹ - Dynamically display project title from marker click event²
- Match Figma layout and styling exactly³
- Keep component extensible for future routing/service integration¹
Implementation Instructions
- Create
ProjectTitle.tsx(or.jsx) component¹ - Accept props such as
title(string) and optionalonSavehandler² - Render title text dynamically from selected map marker³
- Apply exact Figma layout specs (see below)¹
- Use flex layout for alignment and spacing²
- Ensure component integrates cleanly with parent layout (map + info panel)³
- Please use MUI components where possible.
- (Optional) Add basic state handling for saved/unsaved UI toggle⁴
Layout Specs (Figma)
- Width: 1188px¹
- Height: 73px²
- Gap: 12px³
- Padding: 20px (top/bottom), 24px (left/right)⁴
- Border-bottom: 2px solid #E8E8E8¹
- Background: #FFFFFF²
- Display: Flex (row, space-between alignment recommended)³
Behavior
- Title updates dynamically based on clicked marker label¹
- Component should render only when a project is selected⁴
Acceptance Criteria
- ProjectTitle component renders with correct layout and styling¹
- Title updates dynamically from selected marker²
- Component visually matches Figma design⁴
- Component is reusable and accepts props cleanly¹
Consider helping after PR for this issue is merged
- Once PR for this issue is merged, please check dependencies heading in #16, if all the issues there are done, please move that issue to ready column/status
Resources
¹ https://react.dev/learn/passing-props-to-a-component
² https://react.dev/learn/conditional-rendering
³ https://developer.mozilla.org/en-US/docs/Web/CSS/flex
⁴ https://developer.mozilla.org/en-US/docs/Web/CSS/padding
- 主要言語
- HTML
- スター
- 2
- フォーク
- 11
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenSourceFellows/map_dashboard_hackathon のほかの issue
-
California Tribal GIS Hackathon Intermediate
難易度 2/5 半日 初心者へのやさしさ 68/100
-
California Tribal GIS Hackathon Intermediate
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
Advanced California Tribal GIS Hackathon
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
Advanced California Tribal GIS Hackathon
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
Advanced California Tribal GIS Hackathon
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
OpenSourceFellows/map_dashboard_hackathon の issue をすべて見る
似ている issue
-
area:frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
interledger/publisher-tools#905 ·
メンテナーはふだん 1 日以内に返信
-
Metadata panel label alignment is inconsistent between Cluster Overview and resource detail viewsオープンkind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
kyma-project/busola#5404 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
italia/bootstrap-italia#1960 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
readthedocs/addons#729 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
IHP-GmbH/IHP-Open-PDK#1269 ·
メンテナーはふだん 2 日以内に返信