Skip to content

New design for governing documents - #1211

Open
danieladugyan wants to merge 12 commits into
mainfrom
new-design-governing-documents
Open

New design for governing documents#1211
danieladugyan wants to merge 12 commits into
mainfrom
new-design-governing-documents

Conversation

@danieladugyan

@danieladugyan danieladugyan commented Jul 5, 2026

Copy link
Copy Markdown
Member

🧩 Summary

This update introduces a redesign of the governing documents section. It also changes the YearSelector component that's currently used on the /document page and the newly implemented /documents/governing page.

🔗 Related issues (if any)

Closes #1084, #1182

📸 Screenshots / recordings (if applicable)

image

New design of /documents/governing page.

image

Administrative edit controls.

image

New year selector that avoids ugly overflow.

image

Old year selector.

💬 Other information

95% vibe coded with Antigravity CLI.

@github-project-automation github-project-automation Bot moved this to 🆕 New in CPU Jul 5, 2026
@danieladugyan danieladugyan changed the title New design for governing documents and related components New design for governing documents Jul 5, 2026
@danieladugyan danieladugyan linked an issue Jul 5, 2026 that may be closed by this pull request
Base automatically changed from new-design to main July 6, 2026 12:44
@christofergartner

Copy link
Copy Markdown
Contributor

I wanted to review this and I can approve... I just have to ask... does it... work?
image

@danieladugyan
danieladugyan force-pushed the new-design-governing-documents branch from d950c33 to 796eeb5 Compare July 8, 2026 18:11
@danieladugyan

danieladugyan commented Jul 8, 2026

Copy link
Copy Markdown
Member Author

I wanted to review this and I can approve... I just have to ask... does it... work?

I blame @Isak-Kallini and his git sorcery over on main 😅. I've fixed it now1.

Footnotes

  1. With this abolute beauty of a git one-liner, courtesy of Claude: git rebase --onto origin/main --fork-point new-design.

@danieladugyan
danieladugyan force-pushed the new-design-governing-documents branch from 796eeb5 to 8a88a4b Compare July 12, 2026 14:29
@danieladugyan danieladugyan moved this from 🆕 New to 📝In review in CPU Jul 13, 2026

@davidagardh davidagardh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/documents/governing/new and documents/governing/edit still NYI. Should create new issue so we don't forget.

{selectedYearStr}
</Select.Trigger>
<Select.Content class="max-h-[300px]">
<Select.ScrollUpButton />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<Select.ScrollUpButton /> and <Select.ScrollDownButton /> aren't needed because of Select.Content. Same behavior without.

<a
href="/stadgar"
target="_blank"
class="group border-l-primary bg-primary/5 hover:bg-primary/10 flex flex-col justify-center gap-4 rounded-md border-[1px] border-l-4 p-6 shadow-sm transition-all hover:-translate-y-1 hover:shadow-md"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The design looks good, but I'm a bit uncertain about the rounded left-aligned border used here. While it does look good, we don't use it on any other page as far as I know so I'm worried it will be a bit out of place compared to the rest of the site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📝In review

Development

Successfully merging this pull request may close these issues.

New design: /documents/governing

4 participants