feat: templates, usage indicator, wand, approval, logs, help, settings, deploy template, error UI#1931
Merged
waleedlatif1 merged 2 commits intostagingfrom Nov 12, 2025
Merged
feat: templates, usage indicator, wand, approval, logs, help, settings, deploy template, error UI#1931waleedlatif1 merged 2 commits intostagingfrom
waleedlatif1 merged 2 commits intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile OverviewGreptile SummaryThis PR implements several UI enhancements including inline wand controls, usage indicators, and a redesigned template system with workflow previews. Key Changes:
Architecture:
Confidence Score: 4/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant SubBlock
participant ShortInput/LongInput/Code
participant WandHook
participant API
Note over User,API: Inline Wand Feature (Label-based AI Generation)
User->>SubBlock: Click wand icon in label
SubBlock->>SubBlock: handleSearchClick()
SubBlock->>SubBlock: setIsSearchActive(true)
SubBlock->>SubBlock: Focus inline input
User->>SubBlock: Type prompt in label input
SubBlock->>SubBlock: handleSearchChange(value)
User->>SubBlock: Press Enter
SubBlock->>SubBlock: handleSearchSubmit()
SubBlock->>ShortInput/LongInput/Code: wandControlRef.onWandTrigger(prompt)
ShortInput/LongInput/Code->>WandHook: generateStream({ prompt })
WandHook->>API: POST /api/wand/generate
WandHook->>ShortInput/LongInput/Code: onStreamStart()
ShortInput/LongInput/Code->>ShortInput/LongInput/Code: setLocalContent('')
loop Streaming chunks
API-->>WandHook: Stream chunk
WandHook->>ShortInput/LongInput/Code: onStreamChunk(chunk)
ShortInput/LongInput/Code->>ShortInput/LongInput/Code: Update localContent
ShortInput/LongInput/Code->>User: Display streamed content
end
API-->>WandHook: Stream complete
WandHook->>ShortInput/LongInput/Code: onGeneratedContent(content)
ShortInput/LongInput/Code->>SubBlock: Content updated
SubBlock->>SubBlock: setSearchActive(false)
Note over User,API: Usage Indicator Feature
User->>UsageIndicator: Click usage indicator
UsageIndicator->>UsageIndicator: handleClick()
alt onClick prop provided
UsageIndicator->>UsageIndicator: Call onClick()
else No onClick prop
UsageIndicator->>Window: dispatchEvent('open-settings')
Window->>SettingsModal: Open with subscription tab
end
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Workspace templates UI change, usage indicator added to sidebar, wand for subblocks, logs alignment v0, settings modal, approval for copilot, help modal, and deploy template to create creator profile.
Type of Change
Testing
Solo testing.
Checklist