Skip to content

Commit

Permalink
dash : remove filter on fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BenJoyenConseil committed Nov 24, 2024
1 parent dca98d2 commit e190daa
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ SELECT
FROM activities
```

# ${gh_info.gh_repo} - Activities
# ${gh_info.gh_organization}.${gh_info.gh_repo} - Activities

<div class="grid grid-cols-4">
<div class="card" style="color: inherit;">
Expand Down Expand Up @@ -102,11 +102,9 @@ FROM activities
marginRight: 40,
x: {domain: [start, end], type: "time", label: "Date", axis: "bottom"},
y: {insetTop: 30, label: "commits"},
annotations: re.filter(
(d) => (!d.has_fix)
).map(
(d) => ({date: d.d_date, text: d.version, href: `https://github.com/${gh_info.gh_organization}/${gh_info.gh_repo}/releases/${d.version}`})
)
annotations: re.map(
(d) => ({date: d.d_date, text: d.version, href: `https://github.com/${gh_info.gh_organization}/${gh_info.gh_repo}/releases/${d.version}`})
)
})
)}
</div>
Expand All @@ -122,11 +120,9 @@ FROM activities
marginRight: 40,
x:{domain: [start, end], type: "time", label: "Date", axis: "bottom"},
y: {insetTop: 20, label: "lines of code",type: "sqrt"},
annotations: re.filter(
(d) => (!d.has_fix)
).map(
(d) => ({date: d.d_date, text: d.version.substring(0, 10), href: `https://github.com/${gh_info.gh_organization}/${gh_info.gh_repo}/releases/${d.version}`})
)
annotations: re.map(
(d) => ({date: d.d_date, text: d.version.substring(0, 10), href: `https://github.com/${gh_info.gh_organization}/${gh_info.gh_repo}/releases/${d.version}`})
)
})
)}
</div>
Expand Down

0 comments on commit e190daa

Please sign in to comment.