codefloe/forgejo-codefloe
Watch
4
12
Fork
You've already forked forgejo-codefloe
0

feat(repo): allow six pinned issues and compact their cards #224

Merged
pat-s merged 1 commit from feat/pinned-issues-six into v16.0/forgejo-codefloe 2026-10-06 08:14:23 +00:00
Owner

Raise the default number of pinned issues per repository from 3 to 6 and make the pinned cards compact enough that six fit comfortably above the issue list.

  • modules/setting/repository.go, custom/conf/app.example.ini: default [repository.issue] MAX_PINNED is now 6.
  • web_src/css/codefloe/pinned-issues.css (new, imported from web_src/css/codefloe/index.css): lay pins out as up to two rows of three (two columns below 1024px, one on mobile), clamp titles to two lines, and flow the author line, task progress and labels onto one wrapping line with smaller labels and tighter padding.
  • README.md: add the custom changes row.

CSS only, no template changes; applies to every theme.
Instances that set MAX_PINNED explicitly keep their value.

Raise the default number of pinned issues per repository from 3 to 6 and make the pinned cards compact enough that six fit comfortably above the issue list. - `modules/setting/repository.go`, `custom/conf/app.example.ini`: default `[repository.issue] MAX_PINNED` is now 6. - `web_src/css/codefloe/pinned-issues.css` (new, imported from `web_src/css/codefloe/index.css`): lay pins out as up to two rows of three (two columns below 1024px, one on mobile), clamp titles to two lines, and flow the author line, task progress and labels onto one wrapping line with smaller labels and tighter padding. - `README.md`: add the custom changes row. CSS only, no template changes; applies to every theme. Instances that set `MAX_PINNED` explicitly keep their value.
feat(repo): allow six pinned issues and compact their cards
All checks were successful
testing / frontend-checks (pull_request) Successful in 1m26s
testing / test-unit (pull_request) Successful in 7m35s
testing / test-pgsql (1/4) (pull_request) Successful in 7m44s
milestone / set (pull_request_target) Has been skipped
testing / backend-checks (pull_request) Successful in 5m17s
testing / test-e2e (2/2) (pull_request) Successful in 2m36s
testing / test-e2e (1/2) (pull_request) Successful in 3m15s
testing / test-pgsql (2/4) (pull_request) Successful in 6m0s
testing / test-pgsql (3/4) (pull_request) Successful in 8m39s
testing / test-pgsql (4/4) (pull_request) Successful in 9m36s
issue-labels / backporting (pull_request_target) Has been skipped
e328860a35
Raise the default [repository.issue] MAX_PINNED from 3 to 6 and restyle
the pinned issue cards: clamp the title to two lines, flow the author
line, task progress and labels onto one wrapping line, and lay the cards
out as up to two rows of three.
pat-s scheduled this pull request to auto merge when all checks succeed 2026-10-06 08:01:52 +00:00
pat-s merged commit fda97b60e5 into v16.0/forgejo-codefloe 2026-10-06 08:14:23 +00:00
pat-s deleted branch feat/pinned-issues-six 2026-10-06 08:14:24 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
codefloe/forgejo-codefloe!224
No description provided.