Skip to content

New design: /positions#1170

Open
fgren wants to merge 33 commits into
new-designfrom
new-design-positions
Open

New design: /positions#1170
fgren wants to merge 33 commits into
new-designfrom
new-design-positions

Conversation

@fgren
Copy link
Copy Markdown
Contributor

@fgren fgren commented Apr 27, 2026

🧩 Summary

Adds the /position/[id] pages, complete with mandate editing

🔗 Related issues (if any)

Closes #1163

📸 Screenshots / recordings (if applicable)

💬 Other information

Also does tweaks to the date picker and member selector to make them easier to use.

@github-project-automation github-project-automation Bot moved this to 🆕 New in CPU Apr 27, 2026
@fgren fgren changed the base branch from main to new-design April 27, 2026 20:45
@fgren fgren requested a review from Fiery-132 April 27, 2026 20:46
Copy link
Copy Markdown
Contributor

@Tomas-Ka Tomas-Ka left a comment

Choose a reason for hiding this comment

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

looks overall good, needs some comments removed, I have some questions about why you use bytes instead of strings for the uuid, permission checks server side (I know we have them client side), and some other small things

Comment thread src/lib/components/MemberSelector.svelte
Comment thread src/lib/components/MemberSelector.svelte
Comment thread src/lib/components/MemberSelector.svelte
Comment thread src/routes/(app)/positions/[id]/Mandate.svelte Outdated
Comment thread src/routes/(app)/positions/[id]/+page.server.ts Outdated
Comment thread src/routes/(app)/positions/[id]/+page.server.ts Outdated
Comment thread src/routes/(app)/positions/[id]/DeleteMandateForm.svelte Outdated
Comment thread src/routes/(app)/positions/[id]/Mandate.svelte Outdated
@fgren fgren requested a review from Tomas-Ka May 3, 2026 15:23
Copy link
Copy Markdown
Contributor

@Tomas-Ka Tomas-Ka left a comment

Choose a reason for hiding this comment

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

I didn't have time to finish a review of the design when I was working on this last, but I feel there is a little to work on there, particularly as it seems to be a direct implementation of the old page instead of being incorporated into the new design. Afaik there isn't a design for this page in figma, but would it be possible to fit it more into the design of the new page?

Will do a proper design review at some point today.

Comment thread src/routes/(app)/positions/[id]/+page.svelte Outdated
Comment thread src/routes/(app)/positions/[id]/Mandate.svelte Outdated
@Tomas-Ka
Copy link
Copy Markdown
Contributor

Tomas-Ka commented May 4, 2026

Can also mention your new commits all look good

@fgren fgren force-pushed the new-design-positions branch from a3b488a to 310973c Compare May 4, 2026 17:21
Copy link
Copy Markdown
Contributor

@Tomas-Ka Tomas-Ka left a comment

Choose a reason for hiding this comment

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

Please update the design of the position page to more accurately reflect our new design. The code looks great, but the design needs some work.

Comment thread src/routes/(app)/positions/[id]/+page.svelte Outdated
Comment thread src/routes/(app)/committees/[shortName]/position/[positionId]/+page.server.ts Outdated
Comment thread src/routes/(app)/committees/[shortName]/position/[positionId]/+page.server.ts Outdated
Comment thread src/routes/(app)/committees/[shortName]/position/[positionId]/+page.server.ts Outdated
Comment thread src/routes/(app)/committees/[shortName]/position/[positionId]/+page.server.ts Outdated
Comment thread src/routes/(app)/committees/[shortName]/position/[positionId]/+page.server.ts Outdated
{/if}

<!-- Edit modal -->
{#if isEditing}<div
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.

It would be good if this popup were to disappear when you click away from it

@davidagardh davidagardh linked an issue May 14, 2026 that may be closed by this pull request
1 task
@fgren fgren force-pushed the new-design-positions branch 2 times, most recently from ddf1409 to 71de145 Compare May 18, 2026 22:33
@fgren fgren force-pushed the new-design-positions branch from 71de145 to 38e2ec7 Compare May 18, 2026 22:50
@Tomas-Ka
Copy link
Copy Markdown
Contributor

is this ready for review again?

@fgren
Copy link
Copy Markdown
Contributor Author

fgren commented May 21, 2026

is this ready for review again?

yes

@Tomas-Ka Tomas-Ka self-requested a review May 22, 2026 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🆕 New

Development

Successfully merging this pull request may close these issues.

Mandates end date should not be before start date

2 participants