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

refactor: session issues and minor fixes (converge branches) #501

Merged
merged 15 commits into from
Jan 28, 2025
Merged

Conversation

cswni
Copy link
Contributor

@cswni cswni commented Jan 28, 2025

This pull request includes several updates to various components and hooks, focusing on improving user authentication checks, code cleanup, and adding new features. The most important changes include adding authentication checks, removing redundant code, and introducing new components for user interactions.

Authentication and Access Control Enhancements:

Code Cleanup and Simplification:

New Components and Features:

geolffreym and others added 15 commits January 23, 2025 15:07
fix: bundler client null and session data anonymous
- Refactored `profile-header.tsx` to simplify and modularize components.
- Added `ProfileReport` to handle report functionality for authenticated users.
- Added `ProfileRightSidebar` for displaying profile-related sidebar content.
- Integrated `ProfileToolbar` for toolbar functionalities such as share options.
- Added `ProfileUserInfo` for structured user information display.
- Introduced `ProfileJoin` for manage joining features (subscription or follow).

This modularization simplifies `ProfileHeader`, reduces complexity, and makes it easier to maintain.
- Updated `Invitation` import path in `profile-referrals-table-row.tsx` and `profile-referrals.tsx` to use a type-specific module.
- Moved the `status` cell content in `profile-referrals-table-row.tsx` from a separate `TableCell` to inside the conditional rendering within the `profile` column.
- Simplified the `TABLE_HEAD` in `profile-referrals.tsx` by removing the redundant `profile` column definition.
@cswni cswni added the Refactor label Jan 28, 2025
@cswni cswni requested review from geolffreym and Jadapema January 28, 2025 00:12
@cswni cswni self-assigned this Jan 28, 2025
@cswni cswni changed the title refactor: session issues and minor fixes (converge branchs) refactor: session issues and minor fixes (converge branches) Jan 28, 2025
Copy link
Member

@Jadapema Jadapema left a comment

Choose a reason for hiding this comment

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

LGTM

@Jadapema Jadapema merged commit 46da50b into next Jan 28, 2025
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants