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

[TO-DO] Refactor real-time counter components #10

Open
Sing-Li opened this issue Apr 7, 2023 · 2 comments
Open

[TO-DO] Refactor real-time counter components #10

Sing-Li opened this issue Apr 7, 2023 · 2 comments

Comments

@Sing-Li
Copy link
Member

Sing-Li commented Apr 7, 2023

The current real-time counter component works well. However we want to showcase a higher level of componentization for our community builder.

Two areas need to be addressed with a re-factor:

  1. multiple instances - allowing community builders to use multiple instances of this component on a page (5 or 10 instances)
  2. higher level of component features bundling - into a more functional component with less configuration / parameterization at the page level

For 2 - we'd like to refactor it into two components - each one incorporating MULTIPLE COUNTERS:

a) users-messages-online counters all bundled into a server stats counters component (one that can be easily multiple instanced, showing the stats from 10 servers on the same page, for example)

b) a new team channel stats counters component - parameterized by a team name (such as #gsoc2023 ) that will show 3 counters --

i. number of team channels
ii. number of messages(sum across all channels of the team)
iii. number of users (of the team);

This component must also be multi-instance-able ... showing say 10 teams (from one server) on the same page

@VipinDevelops
Copy link

VipinDevelops commented May 30, 2023

Hi @Sing-Li
I'm interested in working on the issue of refactoring the real-time counter component
could you please assign this to me?
Thank you!

@coderboy-yash
Copy link

hello @Sing-Li I am interested in working on this issue can you assign this to me.

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

No branches or pull requests

3 participants