Skip to content

feat: add word count goal progress ring to Studio toolbar#44

Open
pratyakshasingh281-coder wants to merge 1 commit into
Areeb-coder:mainfrom
pratyakshasingh281-coder:feature/word-count-goal
Open

feat: add word count goal progress ring to Studio toolbar#44
pratyakshasingh281-coder wants to merge 1 commit into
Areeb-coder:mainfrom
pratyakshasingh281-coder:feature/word-count-goal

Conversation

@pratyakshasingh281-coder
Copy link
Copy Markdown

Closes #33

What this PR does

Adds a Word Count Goal feature to the Studio toolbar with:

  • A circular SVG progress ring that fills as the writer approaches their goal
  • A goal-setting input accessible by clicking the ring
  • Goal persists across page refreshes via localStorage
  • Completion message shown when goal is reached
  • Works on both light and dark themes

Files changed

  • web/src/components/WordCountGoal.tsx — new component
  • web/src/app/studio/[id]/page.tsx — imported and placed component

Screenshots

Screenshot 2026-05-21 172353 Screenshot 2026-05-21 172434 Screenshot 2026-05-21 172454

Notes

  • No backend changes required
  • No new dependencies added
  • Word count is debounced via existing useMemo in the editor

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

@pratyakshasingh281-coder is attempting to deploy a commit to the areeb-coder's projects Team on Vercel.

A member of the Team first needs to authorize it.

@pratyakshasingh281-coder
Copy link
Copy Markdown
Author

Hey @Areeb-coder I've implemented the Word Count Goal feature as described in the issue.

Here's what's included:

  • Circular SVG progress ring that updates in real-time
  • Click the ring to set a custom goal
  • Goal persists via localStorage
  • Completion message when goal is reached

Please let me know if any changes are needed. This is under GSSoC 2026

@pratyakshasingh281-coder
Copy link
Copy Markdown
Author

hey @Areeb-coder can you please review the pr and give the lable if GSSOC 26

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.

[Feature]: Word Count Goal & Progress Ring in the Scribe Studio

1 participant