Develop the author profile section for Betarena, which displays user profiles as authors, including their publications and other relevant information. The profile will offer functionalities for users to subscribe or follow the author.
Features:
Profile Information:
User Avatar
Username
Name
About
Followers count
Following count
Subscribers count
Option to share the user profile
Highlighted Publication:
Publication Avatar
Publication Name
Author's Name
About information for the publication
Articles List:
Feature image (if available)
Avatar
Author Name
Reading time
Published date
Article title
Tags associated with the articles
Actions:
Subscribe to the user/author
Follow the user/author
Edit Profile (for the profile owner)
Views:
Visitor View: What any visitor sees when viewing an author's profile.
Owner View: What the user sees when viewing their own profile.
Theme Support:
Available on Desktop, Tablet, and Mobile.
Supports both light and dark themes.
Design Reference:
Use the provided screenshots as the design reference for both the visitor view and the owner view.
Implementation Steps:
Set up Firestore and Hasura:
Ensure Firestore and Hasura connections are configured.
Implement data fetching logic using Redis first, then fallback to Hasura.
Profile Page Components:
Create components for displaying user avatar, username, name, about, followers, following, and subscribers count.
Add share profile functionality.
Highlighted Publication:
Create a component to display the highlighted publication details.
Articles List:
Create a component to list articles with all the required details.
Actions:
Implement subscribe and follow functionalities using Firestore endpoints.
Add an edit profile button for the owner view.
Views and Themes:
Implement responsive design for desktop, tablet, and mobile.
Implement theme switching for light and dark modes.
Testing:
Test all functionalities thoroughly on different devices and themes.
Ensure data fetching logic works correctly with both Redis and Hasura.
Is there an existing issue for this?
📝 Description
Develop the author profile section for Betarena, which displays user profiles as authors, including their publications and other relevant information. The profile will offer functionalities for users to subscribe or follow the author.
Features:
Profile Information:
Highlighted Publication:
Articles List:
Actions:
Views:
Theme Support:
Design Reference:
Use the provided screenshots as the design reference for both the visitor view and the owner view.
Implementation Steps:
Set up Firestore and Hasura:
Profile Page Components:
Highlighted Publication:
Articles List:
Actions:
Views and Themes:
Testing:
Assets:
Screenshot 1 Screenshot 2
Deliverables:
Timeline:
Ensure to follow best practices for code quality and maintainability throughout the implementation.
Feature target platform availability
URL
USER:
{url}/a/user/{username}
SPORTSTACK
{url}/a/sportstack/{username}
💠 Feature required data
Data Sources:
betarena_prod.authors.authors
)betarena_prod.authors.articles
)Endpoints:
Data Logic:
⚡️ Cache
Use the already cached articles on Redis when available.
🔎 SEO
Author about Subscribers Link Publication name and link Publication about on articles: Publication name and link Title and link Tags and links
🔎 SEO DETAILS
FOR THE USER PROFILE:
Use the
betarena_prod authors seo_details
tableuser
Variables used:
{name} = Firestore Name {about} = Firestore About {profile_photo} = Firestore Profile Photo
SPORTSTACK:
Use the
betarena_prod authors seo_details
tablesportstack
Variables used:
{username} = Hasura {about} = Hasura {avatar} = Hasura
TRANSLATIONS
betarena_prod translation author_profile
Anything else? Remarks
https://www.figma.com/design/KLZ8I88MggBM3YpHi8jSzj/BTA-Betarena?m=dev&node-id=0-1
Related projects this feature will involve to achieve