Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

molecules/ActivityGraph.vue #84

Open
Kunado opened this issue Jan 4, 2019 · 0 comments
Open

molecules/ActivityGraph.vue #84

Kunado opened this issue Jan 4, 2019 · 0 comments
Labels
components Vue components enhancement New feature or request Molecules Molecule components

Comments

@Kunado
Copy link
Collaborator

Kunado commented Jan 4, 2019

コンポーネント定義

名前 説明
molecules/ActivityGraph.vue githubの草グラフ機能

子コンポーネント

備考

  • 草グラフの作り方
  • バックエンド側でGraphQLのクエリを作る必要がある
    • 日毎にコントリビューションのID, 開始/終了タスクのIDをまとめて返す
    • 理想は以下のような形式か
      {
         activities: [{
         date: '2018-01-01 00:00:00 +0900',
         contributions: [
         	112, 113, 114 // ContributionのIDを返す
         ],
         finishedTasks: [
         	10, 11  // TaskのIDを返す
         ]
      },...,{
         date: '2018-01-11 00:00:00 +0900',
         contributions: [
         	112, 113, 114
         ],
         finishedTasks: [
         	10, 11
         ]
         }]
      }
      
    • ActiveRecordで日付ごとにgroup byしたい - 機略戦記
@Kunado Kunado added enhancement New feature or request components Vue components Molecules Molecule components labels Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
components Vue components enhancement New feature or request Molecules Molecule components
Projects
None yet
Development

No branches or pull requests

1 participant