Skip to content

Issues: Moved labels and milestones into the issue sidebar layout - #104

Merged
whereareiam merged 1 commit into
devfrom
fix/labels-milestones-sidebar
Oct 23, 2026
Merged

whereareiam merged 1 commit into
devfrom
fix/labels-milestones-sidebar

Conversation

@whereareiam

@whereareiam whereareiam commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #103 (fix/global-header-title); merge that first.

What changes

The issue sidebar links to Milestones and Labels, but those pages dropped the sidebar and used Forgejo's Labels/Milestones switch. GitHub keeps them in the sidebar layout. Labels, milestones, a single milestone and the milestone form now render beside the sidebar, with the page marked in it.

  • Shared box list (components/common/box-list): the project list's box (Open/Closed tabs or a count, Sort, rows) becomes a component. Projects, milestones, labels and later pages use it.
  • Milestones (components/repository/milestone): GitHub's rows, with the title, due date and description on the left; on the right a progress bar, completion, counts and Edit/Close/Delete. The dashboard's milestones use the same list. The progress bar is its own component (components/common/progress).
  • Labels (components/repository/label): a row per label with its description, open issues, and an Edit/Delete menu. Organization label settings share the list.
  • One milestone: its progress above the issue page's filters and list.
  • Action menus now close before Forgejo's own handlers stop the click, so Edit label no longer leaves the menu open behind its dialog.
  • Removed: the old milestone card and switch styles, and a stray closing tag in the dashboard milestones template.

Before and after

Dark mode, in the dev preview at 1316px.

Milestones: before after
Milestones before Milestones after
Labels: before after
Labels before Labels after

Checks

  • bun run bundle, bunx vitest run (409 tests) and Prettier pass on this branch. bun run lint fails on dev too, because typescript-eslint does not support the installed TypeScript 7.
  • The pull request workflow runs only for pull requests into dev, so these checks ran locally.
  • Checked in the dev preview at desktop and phone width, in dark and light mode.

Preview: http://localhost:3000/acme/webapp/milestones

🤖 Generated with Claude Code

@whereareiam whereareiam added the change Changed look, templates or compatibility label Oct 22, 2026
GitHub lists labels and milestones beside the issue sidebar, as the
theme already did for issues, pull requests and projects. Labels,
milestones, one milestone and the milestone form now render in that
layout, with Milestones or Labels marked in the sidebar and without the
Labels/Milestones switch.

The project list's box becomes a shared component (common/box-list:
Open/Closed tabs or a count, Sort, rows) that the milestone and label
lists use too. Milestone rows follow GitHub: title, due date and
description on the left; progress (a new common/progress bar),
completion, counts and Edit/Close/Delete on the right. The dashboard's
milestones use the same list. Label rows hold the label, description,
open issues and an Edit/Delete menu; organization label settings share
them. One milestone shows its progress above the issue page's filters.

Action menus now close before Forgejo's own handlers stop the click, so
Edit label no longer leaves the menu open behind its dialog. The old
milestone card and switch styles are removed, as is a stray closing
tag in the dashboard milestones template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@whereareiam
whereareiam force-pushed the fix/global-header-title branch from c33b7c9 to 6af8114 Compare October 23, 2026 05:56
@whereareiam
whereareiam force-pushed the fix/labels-milestones-sidebar branch from 0f1fa67 to 7b1068b Compare October 23, 2026 05:56
Base automatically changed from fix/global-header-title to dev October 23, 2026 05:58
@whereareiam
whereareiam merged commit ea22880 into dev Oct 23, 2026
7 checks passed
@whereareiam
whereareiam deleted the fix/labels-milestones-sidebar branch October 23, 2026 05:59
@whereareiam whereareiam changed the title Issues: Labels and milestones in the issue sidebar layout Issues: Moved labels and milestones into the issue sidebar layout Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change Changed look, templates or compatibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant