Skip to content

Update package dependencies and refactor button color and follow/unfollow functionality#19

Merged
nuuxcode merged 7 commits intomainfrom
nuux
Apr 5, 2024
Merged

Update package dependencies and refactor button color and follow/unfollow functionality#19
nuuxcode merged 7 commits intomainfrom
nuux

Conversation

@nuuxcode
Copy link
Copy Markdown
Owner

@nuuxcode nuuxcode commented Apr 5, 2024

This pull request includes a set of changes aimed at improving various aspects of the project:

Update package dependencies: The package dependencies in package.json and pnpm-lock.yaml have been updated to include the latest versions of '@types/nprogress' and 'nprogress'. This ensures compatibility with the latest features and fixes provided by these dependencies.

Refactor button color and follow/unfollow functionality: The UserProfile component has been refactored to use orange color for email display, improving visual consistency. Additionally, the follow/unfollow functionality has been updated to use proper API calls, ensuring accurate interaction with user profiles. Button text has been adjusted accordingly to reflect these changes.

Update favicon icon: The favicon icon in favicon.ico has been updated to use a new icon, enhancing the visual identity of the application.

Fix linting errors in layout component: Linting errors in the Layout component have been fixed by removing unnecessary imports and properly formatting the metadata object.

Refactor follow/unfollow user functionality in fetcher hook: The follow/unfollow user functionality in the fetcher hook has been refactored to properly mutate SWR keys after successful follow/unfollow actions, improving data consistency and reliability.

Update button text from 'Follow' to 'Subscribe': Button text has been updated from 'Follow' to 'Subscribe' in the forum component for consistency with the forum subscription feature, enhancing user experience.

nuuxcode added 7 commits April 5, 2024 04:58
updated package dependencies in package.json and pnpm-lock.yaml
to include the latest versions of '@types/nprogress' and 'nprogress'.
…ality

refactored button color in the UserProfile component to use orange
color for email display. Also, updated the follow/unfollow functionality
to use proper API calls and updated button text accordingly.
updated favicon icon in favicon.ico to use the new icon.
fixed linting errors in the Layout component by removing unnecessary
import and properly formatting the metadata object.
…cher hook

refactored the follow/unfollow user functionality in the fetcher hook to properly
mutate SWR keys after successful follow/unfollow actions.
updated button text from 'Follow' to 'Subscribe' for consistency with the
forum subscription feature.
@nuuxcode nuuxcode merged commit a2085c1 into main Apr 5, 2024
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.

1 participant