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

Next #453

Merged
merged 10 commits into from
Jan 21, 2025
Merged

Next #453

merged 10 commits into from
Jan 21, 2025

Conversation

geolffreym
Copy link
Member

No description provided.

cswni and others added 10 commits January 20, 2025 18:48
- Updated `AvatarProfile` to use a local variable `imageSrc` for clearer and safer source URL handling.
- Ensured generated avatar fallback works correctly for invalid or missing URLs.
- `finance-invite-friends.tsx`:
  - Added validation for inviting users: prevent inviting self, malformed emails, or already invited users.
  - Integrated `checkIfEmailAlreadyInvited` from Supabase actions.
  - Disabled invite button when email is invalid or loading.
- `supabase-actions.ts`:
  - Created `checkIfEmailAlreadyInvited` to validate if an email has been previously invited.
- `errors.ts`:
  - Introduced new error messages for duplicate invitations and self-invitations.
- Updated the badge color in `BadgeVerified.tsx` from white (`#FFF`) to gold (`#cca421`) for better visibility and distinction.
- **src/sections/user/profile-header.tsx**: Added `fontSize: '3em'` to style for profile header avatar.
- **src/components/avatar/avatar.tsx**:
  - Integrated `COLORS.GRAY_DARK` as the default background color for avatars.
  - Modified `alt` to render as uppercase.
  - Merged additional styling properties for consistency.
- **src/layouts/_common/account-popover.tsx**: Added `fontSize: '1.25rem'` to avatar style for popover.
- **src/config-global.ts**: Correct typo from `SENTRY_DNS` to `SENTRY_DSN`.
- **src/index.tsx**: Update Sentry configuration to reflect the corrected `dsn` key and add `tracePropagationTargets`.
- **src/sections/user/profile-header.tsx**: Fix typo in share text, changing "in Watchit" to "on Watchit".

These changes ensure proper functionality and correct phrasing across the application.
- Updated `profile-header.tsx` to include additional hashtags, "Crypto" and "Blockchain," in the share URL for X (formerly Twitter).
- Helps improve post visibility and align with platform focus.
refactor: badge color and referrals validations
@geolffreym geolffreym merged commit 0775c58 into main Jan 21, 2025
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants