Closed jonsnowpt closed 3 months ago
[x] Update firebase-services
for endpoint accpetance of alternative search for username
based queries on firestore
.
↳ issue :: NaN
↳ PR :: https://github.com/Betarena/firebase-services/pull/17
↳ status :: 🟩 COMPLETED + 🚀 DEPLOYED
[x] (offspring from previous) Update scores-lib
for frontend
to accept valid data for username
search capbability from firestore
.
↳ issue :: NaN
↳ PR :: https://github.com/Betarena/scores-lib/pull/352
↳ PR :: https://github.com/Betarena/scores-lib/pull/353
↳ version :: 3.3.2
↳ status :: 🟩 COMPLETED
scores-lib
for frontend
to accept valid data for username
data retireval on target articles
created by target user
.
↳ issue :: NaN
↳ PR :: https://github.com/Betarena/scores-lib/pull/354
↳ PR :: https://github.com/Betarena/scores-lib/pull/355
↳ version :: 3.3.3
↳ status :: 🟩 COMPLETED[x] NEW firebase-services
endpoint for update of follower(s)/subscriber(s)
data properties for a respective user(s)
.
↳ issue :: NaN
↳ PR :: https://github.com/Betarena/firebase-services/pull/18
↳ status :: 🟩 COMPLETED + 🚀 DEPLOYED
[x] NEW scores-lib
API method for update for of follower(s)/subscriber(s)
data properties for a respective user
from firebase-services
.
↳ issue :: NaN
↳ PR :: https://github.com/Betarena/scores-lib/pull/356
↳ PR :: https://github.com/Betarena/scores-lib/pull/357
↳ version :: 3.3.4
↳ status :: 🟩 COMPLETED
delta-data-manager-c#
for username
and sportstacks
permalink generation and data persistance. And add data property to username-permalink
for (table) authors
.
↳ issue :: NaN
↳ status :: 🛠️ IN PROGRESS + 🟧 TESTED + 🟥 NOT DEPLOYED-TRIGGERED MANUALLYscores-lib
for frontend
to accept valid data for username
data retireval on target articles
created by target sportstack
.
↳ issue :: NaN
↳ PR :: https://github.com/Betarena/scores-lib/pull/358
↳ PR :: https://github.com/Betarena/scores-lib/pull/359
↳ version :: 3.3.5
↳ status :: 🟩 COMPLETEDscores-lib
for frontend
to retrieve translation
data for target author-profile
terms.
↳ issue :: NaN
↳ PR :: https://github.com/Betarena/scores-lib/pull/360
↳ PR :: https://github.com/Betarena/scores-lib/pull/361
↳ version :: 3.3.6
↳ status :: 🟩 COMPLETED@Izobov
1.
2, 3, 4, 5, 6, 7, 8, 9
@Izobov
Still missing several corrections.
16.
19 to 25.
@jonsnowpt 8 - it's dynamic, depends on size of "about" information, why do we need a lot of empty space if "about" contains only 1 line of words for example (or no about information at all)?
@jonsnowpt 22 -it's aligned on bottom line if we align it on top by about it will looks different from figma
@Izobov it can be the bottom but cant go beyond that limit on the top
@jonsnowpt 10 what hovers? what elements?
@Izobov the hover over the edit my profile button;
23 - not clear
@Izobov
5.
28.
@Izobov
For the highlighted user sportstack we should add a new field on the Firestore profile with the highlighted sportstack:
sportstack_highlight => id
@jonsnowpt how user can set highlited sportstack? And what to do if there's now highlighted sporttack?
@Izobov
how user can set highlited sportstack? And what to do if there's now highlighted sporttack?
For now, since there is no GUI, I will add the ID manually on Firestore. There will always be a default sportstack, if not, the user author profile link will not exist.
@jonsnowpt @migbash hmm sounds like new condition... Not all users will have a/user/{username}
@Izobov
Besides the missing points, we have these issues:
29.
31.
33.
34.
@Izobov
Missing at this time:
35.
36.
https://github.com/user-attachments/assets/ddab4114-284d-4dbf-bdeb-b03c115e4933
37.
40.
@jonsnowpt Is it possible not to change the size when changing the theme? This is probably a designer mistake. Sportstack tabs on light theme also has 16px
@jonsnowpt 5 cannot understand wich avatar size is wrong?
@Izobov
Those ones:
https://github.com/user-attachments/assets/98e866d4-c6db-40ab-aafe-489cacc615ad
42, this is due to our data loading workflow. Now the client waits for the data to be fully loaded: 1) user 2) first 10 articles + SEO
So, when the page is rendered on the client, we already have 10 articles, no placeholders needed. The reason for loading user information is because from the server we have user = { name, username, ....other_fields, subscribers: [...ids]} since we need to convert 3 subscribers to profiles, I need to do another fetch on the client side.
At author_profile/draft/1 I proposed a different workflow for data, where we do not wait for 10 articles and there the downloaders are synchronized
Syncing is now easy, just letting you know what's going on here and why it's happening.
@Izobov
@jonsnowpt 39 I dont understand what styles i need to change
@Izobov
Resolved
@Izobov
46.
https://betarena-scores-platform.herokuapp.com/a/content
https://betarena-scores-platform.herokuapp.com/a/tag/forecasts
@Izobov
Missing:
50 and 51
@Izobov
55.
https://github.com/user-attachments/assets/9ed68b1d-fd87-4ca9-84cc-d88dc67b7d69
https://github.com/user-attachments/assets/2451152a-710f-4c3c-aecd-4f588b1f400d
https://github.com/user-attachments/assets/7e33c3cc-7e9a-4a7d-88e8-fd7da480be7b
@Izobov
https://github.com/user-attachments/assets/71c0983e-ea15-4c47-8906-28af94b42dc4
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