Skip to content

fix(console): improve placeholder copy with page-specific guidance#25

Merged
deekshithgowda85 merged 2 commits into
deekshithgowda85:prodfrom
PranavAgarkar07:fix/15-improve-placeholder-copy
May 27, 2026
Merged

fix(console): improve placeholder copy with page-specific guidance#25
deekshithgowda85 merged 2 commits into
deekshithgowda85:prodfrom
PranavAgarkar07:fix/15-improve-placeholder-copy

Conversation

@PranavAgarkar07
Copy link
Copy Markdown
Contributor

@PranavAgarkar07 PranavAgarkar07 commented May 27, 2026

Description

Improves the NotImplemented component used across console pages to provide contextual, page-specific guidance instead of generic placeholder text.

Changes Made

  • Default title: "Not Implemented""Coming Soon"
  • Default description: Now friendly, actionable copy encouraging exploration
  • New suggestions prop: Accepts a list of page-specific action items (falls back to sensible defaults)
  • Removed developer-facing "Hardcoded / mock data removed" badge
  • Polished UI: Icons per suggestion, sectioned layout with visual separator, arrow indicator on CTA button

Why

The old component showed a generic message that was unhelpful to users. The updated version tells users what's happening, what they can do next, and provides page-customizable suggestions and CTAs.

Related Issue

Fixes #15

GSSoC 2026

This contribution is part of GirlScript Summer of Code 2026. I am PranavAgarkar07 and this is my contribution to the SecDev project under GSSoC 2026.

Summary by CodeRabbit

Release Notes

New Features

  • Transformed placeholder messages with clearer "Coming Soon" messaging to improve user communication.
  • Added configurable suggestions displaying alternative actions while features remain under active development.

Review Change Stack

Replace generic 'Not Implemented' placeholder in NotImplemented component
with contextual guidance, actionable suggestions, and clearer CTAs.

Changes:
- Default title: 'Not Implemented' -> 'Coming Soon'
- Default description: friendlier copy encouraging exploration
- Added optional 'suggestions' prop for page-specific actions
- Removed developer-facing 'Hardcoded / mock data removed' badge
- Polished visual design with icons and sectioned layout

Fixes deekshithgowda85#15
@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

@PranavAgarkar07 is attempting to deploy a commit to the Deekshith Gowda HS's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 27, 2026

Warning

Review limit reached

@PranavAgarkar07, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 53 minutes and 59 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 57c81088-27ad-4a37-8002-16ffb2d2073f

📥 Commits

Reviewing files that changed from the base of the PR and between 9f1a099 and 268c473.

📒 Files selected for processing (1)
  • components/console/not-implemented.tsx
📝 Walkthrough

Walkthrough

The NotImplemented component is enhanced from a static placeholder into a configurable "coming soon" interface. Icon imports and props expand to support optional suggestions. Defaults shift to "Coming Soon" messaging, and rendering incorporates a CTA button and dynamic suggestions list with contextual icons.

Changes

Coming Soon Placeholder Component Enhancement

Layer / File(s) Summary
Icon imports and props interface
components/console/not-implemented.tsx
Lucide icons (ArrowRight, Rocket, Github, BookOpen) imported; NotImplementedProps extended with optional suggestions?: string[]; DEFAULT_SUGGESTIONS list added for fallback text.
Component defaults and suggestions logic
components/console/not-implemented.tsx
NotImplemented component defaults updated: title to "Coming Soon", description to active development copy; suggestions prop wired through computed items array with fallback to DEFAULT_SUGGESTIONS.
Render output with CTA and suggestions
components/console/not-implemented.tsx
Description styling adjusted; CTA button added with ArrowRight icon; suggestions section replaces prior hardcoded text, mapping items to styled list with per-index leading icons and updated spacing/borders.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 A placeholder once lived in gray,
Now dressed in "Coming Soon" display!
With rocket icons and helpful tips,
The user's journey gently skips,
From "not yet here" to "on its way!" 🚀

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Out of Scope Changes check ❓ Inconclusive All changes to not-implemented.tsx are directly related to issue #15 requirements. However, the PR summary mentions relevant console page files under app/console/*/page.tsx, but only not-implemented.tsx changes are documented in the raw summary. Clarify whether console page files were updated to use the new suggestions prop, or confirm that only the component itself was modified in this PR.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: improving placeholder copy with page-specific guidance, which aligns with the primary objective of updating the NotImplemented component.
Linked Issues check ✅ Passed The changes address issue #15 requirements: the NotImplemented component now supports page-specific guidance via the suggestions prop, provides contextual CTAs, and includes actionable next steps instead of generic placeholder copy.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@components/console/not-implemented.tsx`:
- Around line 25-49: The guidance block renders even when suggestions is an
intentionally empty array because items is set to suggestions ??
DEFAULT_SUGGESTIONS; wrap the entire JSX section that renders the
CTA/divider/"In the meantime" heading and <ul> (the block that uses items) with
a guard like items.length > 0 so it only renders when there are list items;
update references to items (and keep using CTA rendering as-is) to avoid showing
an empty guidance section when suggestions === [].
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c9c47bde-1abe-4a98-a5ae-2a178b2fc4fc

📥 Commits

Reviewing files that changed from the base of the PR and between 58913cc and 9f1a099.

📒 Files selected for processing (1)
  • components/console/not-implemented.tsx

Comment thread components/console/not-implemented.tsx Outdated
When suggestions is intentionally set to an empty array, items resolves to []
(not DEFAULT_SUGGESTIONS), so the divider, heading, and empty <ul> should
not render. Wrap the block with items.length > 0.
@deekshithgowda85 deekshithgowda85 merged commit 88ab8cb into deekshithgowda85:prod May 27, 2026
2 of 3 checks passed
@deekshithgowda85
Copy link
Copy Markdown
Owner

Thanks for your contribution!

For future pull requests, please include relevant images or screenshots (if applicable). This helps us better understand the changes and allows us to assign the appropriate quality labels more efficiently.

Looking forward to your next contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Improve placeholder copy for console pages

2 participants