Skip to content

(feat): Clickable cards, with real-time stats of RecodeHive Org#135

Merged
sanjay-kv merged 6 commits into
recodehive:mainfrom
yashksaini-coder:clickable-cards
Jun 26, 2025
Merged

(feat): Clickable cards, with real-time stats of RecodeHive Org#135
sanjay-kv merged 6 commits into
recodehive:mainfrom
yashksaini-coder:clickable-cards

Conversation

@yashksaini-coder
Copy link
Copy Markdown
Member

Fixes: #126

This pull request introduces several enhancements and fixes to the LandingCommunity component and its associated styles and logic. The changes include improving interactivity, adding error handling, enhancing the visual design, and refactoring the stats provider to fetch and manage GitHub organization statistics more effectively.

UI/UX Improvements:

  • Added hover and focus effects to clickable elements in the LandingCommunity component, including scaling and shadow transitions for better interactivity (LandingCommunity.css). [1] [2]
  • Introduced a loading spinner and error message display for better feedback during data fetching or errors (LandingCommunity.css, index.tsx). [1] [2]

Functional Enhancements:

  • Updated the stats provider to fetch additional GitHub organization statistics, including repository and discussion counts, and implemented error handling with fallback values (statsProvider.tsx). [1] [2]
  • Added a clearCache method to the stats provider to allow manual cache clearing and refetching of data (statsProvider.tsx).

Refactoring and Code Quality:

  • Refactored the LandingCommunity component to handle dynamic stats and interactivity more cleanly, including adding keyboard accessibility for clickable elements (index.tsx). [1] [2]
  • Replaced hardcoded values and outdated references with dynamic data from the stats provider (index.tsx).

Minor Updates:

  • Changed the class name for the LandingCommunity component in the home page to reflect the new organization name (index.tsx).

@sanjay-kv please review the changes.

Here is the working demo:-

clickabl-cards.webm

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 26, 2025

@yashksaini-coder is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 26, 2025

Deployment failed with the following error:

The provided GitHub repository does not contain the requested branch or commit reference. Please ensure the repository is not empty.

sanjay-kv and others added 6 commits June 26, 2025 20:49
Signed-off-by: yashksaini-coder <ys3853428@gmail.com>
Signed-off-by: yashksaini-coder <ys3853428@gmail.com>
Signed-off-by: yashksaini-coder <ys3853428@gmail.com>
Signed-off-by: yashksaini-coder <ys3853428@gmail.com>
Signed-off-by: yashksaini-coder <ys3853428@gmail.com>
@iitzIrFan
Copy link
Copy Markdown
Member

@yashksaini-coder
Try npm run build and if errors encountered try solving out or can discuss in chat here.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
recode-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 10:49pm

@iitzIrFan
Copy link
Copy Markdown
Member

@yashksaini-coder Try npm run build and if errors encountered try solving out or can discuss in chat here.

@yashksaini-coder Ignore this one ...

@iitzIrFan
Copy link
Copy Markdown
Member

@sanjay-kv Ready for merge !

@yashksaini-coder
Copy link
Copy Markdown
Member Author

@sanjay-kv Ready for merge !

the build passed, and code review is completed right, @iitzIrFan ?

@iitzIrFan
Copy link
Copy Markdown
Member

@yashksaini-coder Yeah almost but, need to get conformed by @sanjay-kv

@sanjay-kv sanjay-kv merged commit e967edc into recodehive:main Jun 26, 2025
2 checks passed
@sanjay-kv
Copy link
Copy Markdown
Member

its done @iitzIrFan Thanks @yashksaini-coder

@yashksaini-coder yashksaini-coder deleted the clickable-cards branch June 27, 2025 09:19
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.

Clickable cards

3 participants