Skip to content

[NSOC'26][GSSOC'26]Feat: dynamic live content fetching for discovery shelves - #902

Merged
devanshi14malhotra merged 2 commits into
devanshi14malhotra:mainfrom
diksha78dev:fix/issue-870
May 29, 2026
Merged

devanshi14malhotra merged 2 commits into
devanshi14malhotra:mainfrom
diksha78dev:fix/issue-870

Conversation

@diksha78dev

Copy link
Copy Markdown
Contributor

Closes #870.

This PR transitions the discovery shelves (e.g., Rainy Evening Reads, Indian Authors) from being hardcoded in the frontend to being dynamically fetched from the backend API, allowing curators to update featured sections without a frontend redeploy.

Changes:

  • Added GET /api/v1/content/live-shelves endpoint to serve active shelf configurations.
  • Replaced hardcoded HTML sections in index.html with a single <div id="dynamic-shelves-container"></div>.
  • Updated app.js to fetch live shelves on load, gracefully falling back to the local config if the API is unavailable.

@netlify

netlify Bot commented May 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for bibliodrift-dm ready!

Name Link
🔨 Latest commit 1885704
🔍 Latest deploy log https://app.netlify.com/projects/bibliodrift-dm/deploys/6a1091d3a39c390008643412
😎 Deploy Preview https://deploy-preview-902--bibliodrift-dm.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@devanshi14malhotra
devanshi14malhotra merged commit d5fd6cb into devanshi14malhotra:main May 29, 2026
6 checks passed
@diksha78dev

Copy link
Copy Markdown
Contributor Author

@devanshi14malhotra labels are missing..

@devanshi14malhotra devanshi14malhotra added level3 10 points NSoC'26 For issues and PRs which are a part of the Nexus Spring of Code open source event level:intermediate GSSoC'26 intermediate level PR/issue gssoc:approved PR has been reviewed and is eligible for GSSoC points (for GSSoC'26) labels May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved PR has been reviewed and is eligible for GSSoC points (for GSSoC'26) level:intermediate GSSoC'26 intermediate level PR/issue level3 10 points NSoC'26 For issues and PRs which are a part of the Nexus Spring of Code open source event

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Performance]: Implement Level of Detail (LOD) and Object Pooling in library-3d.js

2 participants