feat: add dynamic remaining reading time on blog posts#30
Conversation
|
@copilot i think you didn't get what issue we already had 5 min read ,something on top of our blog , we need to create a dynamic component on the blog page that shows how much time remaning to erad the complete or based on the above you need to calculate the logic also |
Updated in commit Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Description
Adds a dynamic "min remaining" indicator to individual blog post pages so readers can see estimated time left while scrolling.
This was refined based on feedback so the remaining time now decreases from the full estimate using actual article scroll progress, while preserving the existing "X min read" metadata.
Type of Change
Changes Made
BlogPostItem/Header/Infointosrc/theme/BlogPostItem/Header/Info/index.tsx.useBlogPost().isBlogPostPage.closest("article")).Dependencies
Checklist
npm run buildand attached screenshot(s) in this PR.