Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update UI #135

Merged
merged 4 commits into from
Apr 3, 2024
Merged

Update UI #135

merged 4 commits into from
Apr 3, 2024

Conversation

nickbar01234
Copy link
Collaborator

@nickbar01234 nickbar01234 commented Apr 2, 2024

Description

Update the user's tile to join chapters to match the new Figma styling.

Screenshots

By default, new users can join any chapters in the Legacy Project.

image

Having 1 pending chapter request will block the user from joining any other chapters.

image

Additional Documentations

I also fixed a bug with parallel routing. See comments for more information.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Using a parallel route results in a backend error if the user is not part of any chapter. I.e, their chapter ID will be undefined.

(user) => user.role === "CHAPTER_LEADER"
);

// const options: Parameters<typeof TileEdit>[0]["options"] = [];
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: remove commented-out code if not needed

Copy link
Collaborator

@wkim10 wkim10 left a comment

Choose a reason for hiding this comment

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

LGTM

@nickbar01234 nickbar01234 merged commit 3a030c9 into main Apr 3, 2024
4 checks passed
@nickbar01234 nickbar01234 deleted the nickbar01234/join-chapter-ui branch April 3, 2024 20:31
@wkim10 wkim10 mentioned this pull request Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants