new calendar component
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript, sql
調査の方向性
Start by comparing sqlpage/templates/chart.handlebars and map.handlebars, then read sqlpage/apexcharts.js and the chart/map component migrations for existing patterns. The proposal also points to the timeline component for color handling and the dynamic component for JSON loading. Done means implementing and integrating the calendar template and JavaScript, registering and documenting its properties, and adding the proposed tests and examples.
索引モデルが issue の本文から書いたものです。
説明
SQLPage Calendar Component - Technical Design Document
Overview
The Calendar component will allow users to visualize and interact with time-based data in a familiar calendar interface. This document outlines the technical design and implementation strategy.
Component Properties
Top-Level Properties
-
title (optional)
- Text displayed above calendar
- Similar to chart/map components' title implementation
-
initial_view (optional)
- Controls initial calendar display format
- Options: "month", "week", "day"
- Defaults to "month"
-
height (optional)
- Sets fixed calendar height in pixels
- Similar to chart component's height property
- Defaults to auto-height
-
json_url (optional)
- Enables dynamic event loading
- Points to SQLPage JSON endpoint
- Similar to dynamic component's implementation
-
navigation (optional, boolean)
- Enables/disables date navigation controls
- Defaults to true
-
today (optional, boolean)
- Shows/hides "Today" button
- Defaults to true
Row-Level Properties
-
title (required)
- Event title text
- Displayed in calendar cells
-
start (required)
- Event start time
- Supports both date and datetime
-
end (optional)
- Event end time
- Defaults to start time for single-day events
-
color (optional)
- Event visual styling
- Uses SQLPage color system (like chart/timeline components)
-
url (optional)
- Click destination
- Similar to list component's link property
-
description and description_md (optional)
- Event details
- Shown in tooltip/popup
-
all_day (optional, boolean)
- Indicates full-day events
- Affects visual display
Technical Implementation Details
File Structure
Look at these existing files for reference patterns:
sqlpage/templates/chart.handlebars- For component template structuresqlpage/apexcharts.js- For JavaScript initialization patternsexamples/official-site/sqlpage/migrations/- For component documentation
Required Changes
- Component Registration
- Location:
examples/official-site/sqlpage/migrations/ - New file:
XX_calendar.sql(XX = next number in sequence) - Purpose: Register component and document properties
- Reference: See how chart/map components are documented
- Template Creation
- Location:
sqlpage/templates/ - New file:
calendar.handlebars - Structure:
- Card wrapper (like map component)
- Title section
- Calendar container
- Data embedding section
- Reference: Study
map.handlebarsfor structure
- JavaScript Integration
- Location:
sqlpage/ - New file:
calendar.js - Key sections:
- Initialization function
- Event handling
- View management
- Data processing
- Reference: Study
apexcharts.jsinitialization patterns
Integration Points
- JSON API Integration
- Uses existing JSON component
- Enables dynamic event loading
- Reference: Study dynamic component implementation
- SQLPage Core Integration
- Component registration
- Reference: Study how chart component is integrated
- Color System Integration
- Uses existing SQLPage color system
- Reference: Study timeline component's color handling
Testing Strategy
- Unit Tests
- Test date handling
- Validate property processing
- Integration Tests
- Add a spec file to the end to end tests
Documentation
- Component Documentation
- Usage examples
- Property descriptions
- Common patterns
- Location:
examples/official-site/sqlpage/migrations/XXX-calendar.sql
- Example Application
- Basic calendar
- Dynamic calendar
- Multi-calendar view
- Location: Create new directory in
examples/
- 主要言語
- Rust
- スター
- 2.6k
- フォーク
- 175
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 43
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sqlpage/SQLPage のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
sqlpage/SQLPage#1218 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
There is no convenient way to reproduce issues対応中かも @81reap が 26 日前に担当しました。 オープンenhancement
sqlpage/SQLPage#1566 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Confusing sort interface対応中かも @lovasoa が 73 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
sqlpage/SQLPage#1442 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Mutation Testing Results :: Dead Code + Missing Tests再び着手できるかも @81reap が 61 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
sqlpage/SQLPage#1396 · コメント 5 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
sqlpage/SQLPage の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
symposium-dev/symposium#530 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
topgrade-rs/topgrade#2540 ·
メンテナーはふだん 1 日以内に返信
-
Invalid JSON options for ngram and edge_ngram silently use defaults対応中かも @Tilendlesa が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
noemaforge/vimanam#153 ·
メンテナーはふだん 1 日以内に返信