Action | Type | Resolved On |
|---|---|---|
| Yearly Ideaboxes | UX | 2026-02-02 |
Previously, the Ideabox pages displayed ideas from all years, making it difficult to focus on current year’s innovations. The “thoughts” section (historical ideas) contained all-time data which grew increasingly large and unfocused over time.
Updated the Ideabox pages to scope data to the current year only, while maintaining the separation between current month ideas and previous months’ ideas.
Added to src/lib/yearly.ts:
// Fetch all ideas for a specific project within a given year
export async function ideas(project: string, year: number, styles?: any[])
// Fetch ideas for the current month
export async function currentMonthIdeas(project: string, year: number, month: number, styles?: any[])
// Fetch ideas from previous months of the current year (before the specified month)
export async function previousMonthsIdeas(project: string, year: number, month: number, styles?: any[])
currentMonthIdeas:
.gte("generated_on", year + "-" + month + "-1")
.lt("generated_on", nextYear + "-" + nextMonth + "-1")
previousMonthsIdeas:
.gte("generated_on", year + "-1-1")
.lt("generated_on", year + "-" + month + "-1")
Base Ideabox Pages (/src/pages/benben/ideas/):
| File | Changes |
|---|---|
index.astro | Changed from @/lib/monthly to @/lib/yearly |
benben/index.astro | Changed to yearly ideas fetch |
hygge/index.astro | Changed to yearly ideas fetch |
bearlabs/index.astro | Uses currentMonthIdeas and previousMonthsIdeas |
walkingweekend/index.astro | Uses currentMonthIdeas and previousMonthsIdeas |
2026/01 Ideabox Pages (/src/pages/2026/01/benben/ideas/):
| File | Changes |
|---|---|
index.astro | Changed from @/lib/monthly to @/lib/yearly |
benben/index.astro | Changed to yearly ideas fetch |
hygge/index.astro | Changed to yearly ideas fetch |
bearlabs/index.astro | Uses currentMonthIdeas and previousMonthsIdeas |
walkingweekend/index.astro | Uses currentMonthIdeas and previousMonthsIdeas |
| Section | Before | After |
|---|---|---|
| Ideas (top section) | Current month ideas | Current month ideas (same) |
| Thoughts (bottom section) | ALL historical ideas from all years | Previous months of current year only |
| Data source | monthly.ts + previous.ts | yearly.ts only |
The ideabox pages now display:
@/lib/previous for ideabox pagesformatIdeas() added to reduce code duplication in yearly.tsweekStartsOn: 1 option where applicable