-
Notifications
You must be signed in to change notification settings - Fork 619
[NEB-71] Nebula: Update example prompts #5957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NEB-71] Nebula: Update example prompts #5957
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
size-limit report 📦
|
29fc7ed to
143bd11
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5957 +/- ##
=======================================
Coverage 54.82% 54.82%
=======================================
Files 1150 1150
Lines 61194 61194
Branches 5155 5155
=======================================
Hits 33549 33549
Misses 26918 26918
Partials 727 727
*This pull request uses carry forward flags. Click here to find out more. |
Merge activity
|
<!-- start pr-codex -->
## PR-Codex overview
This PR introduces a new type `ExamplePrompt` and a list of example prompts in `examplePrompts.ts`. It replaces hardcoded example prompts in `EmptyStateChatPageContent.tsx` with a dynamic mapping from the newly created `examplePrompts`, enhancing maintainability and readability.
### Detailed summary
- Added type `ExamplePrompt` with `title` and `message` properties.
- Created `examplePrompts` array containing several example prompts.
- Refactored `EmptyStateChatPageContent.tsx` to dynamically render `ExamplePrompt` components using `examplePrompts`.
- Removed hardcoded example prompts from `EmptyStateChatPageContent.tsx`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
143bd11 to
15178b2
Compare

PR-Codex overview
This PR focuses on adding a new type
ExamplePromptand an arrayexamplePromptscontaining various example prompts for user interaction. It replaces hardcoded prompts in theEmptyStateChatPageContentcomponent with dynamic rendering from theexamplePromptsarray.Detailed summary
ExamplePromptwithtitleandmessageproperties.examplePromptsarray with multiple example prompts.EmptyStateChatPageContentto useexamplePromptsinstead of hardcoded prompts.ExamplePromptnow dynamically renders based on theexamplePromptsarray.