Skip to content

Drop the duplicate month title from the sidebar mini month - #15

Open
piotrkowski wants to merge 1 commit into
ianswope:masterfrom
piotrkowski:fix/mini-month-duplicate-title
Open

piotrkowski wants to merge 1 commit into
ianswope:masterfrom
piotrkowski:fix/mini-month-duplicate-title

Conversation

@piotrkowski

@piotrkowski piotrkowski commented Oct 11, 2026 •

Copy link
Copy Markdown

month_thumbnail adds its own month-name heading. That works in the year view, but the sidebar mini month already has a "%B %Y" header with the nav arrows, so the sidebar ends up showing the month twice.

This moves the heading into the year view's loop. month_thumbnail now returns only the day grid. The year view looks the same as before.

Before / after:

before / after

Checked with the four CI gates and cargo test gui_leaks -- --ignored.

This and #19 both touch the year view's month heading, so whichever lands second needs a rebase. I'll do it.

`month_thumbnail` put a month-name heading on top of its day grid. The year
view wants that, but the sidebar wraps the same thumbnail under its own
"October 2026" header with the arrows, so the sidebar named the month twice.

The heading moves into the year view's loop and the thumbnail is the day
grid alone. The year view is laid out as before: the cell spaces the heading
from the grid exactly as the thumbnail's column did.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant