feat(kb): added permissions to workspace popover, added kb popover to view tags, edit description and kb name#2634
Merged
waleedlatif1 merged 1 commit intostagingfrom Dec 30, 2025
Conversation
… view tags, edit description and kb name
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile SummaryThis PR enhances knowledge base management by adding context menu interactions with edit, delete, and tag viewing capabilities. The implementation replaces the previous Link-based navigation with an interactive card that supports right-click context menus while maintaining keyboard accessibility. Key changes:
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant BaseCard
participant ContextMenu
participant EditModal
participant DeleteModal
participant TagsModal
participant API
participant Store
User->>BaseCard: Right-click card
BaseCard->>ContextMenu: Open context menu
alt Edit Knowledge Base
User->>ContextMenu: Click "Edit"
ContextMenu->>EditModal: Open modal with initial data
User->>EditModal: Update name/description
EditModal->>API: PUT /api/knowledge/{id}
API-->>EditModal: Success response
EditModal->>Store: updateKnowledgeBase(id, updates)
EditModal->>BaseCard: Trigger refreshList()
BaseCard-->>User: Display updated card
end
alt Delete Knowledge Base
User->>ContextMenu: Click "Delete"
ContextMenu->>DeleteModal: Open confirmation modal
User->>DeleteModal: Confirm delete
DeleteModal->>API: DELETE /api/knowledge/{id}
API-->>DeleteModal: Success response
DeleteModal->>Store: removeKnowledgeBase(id)
DeleteModal-->>User: Card removed from view
end
alt View Tags
User->>ContextMenu: Click "View tags"
ContextMenu->>TagsModal: Open with knowledgeBaseId
TagsModal-->>User: Display tags interface
end
alt Open in New Tab
User->>ContextMenu: Click "Open in new tab"
ContextMenu->>User: Opens KB page in new tab
end
|
Sg312
pushed a commit
that referenced
this pull request
Jan 3, 2026
… view tags, edit description and kb name (#2634)
waleedlatif1
added a commit
that referenced
this pull request
Jan 8, 2026
… view tags, edit description and kb name (#2634)
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
Type of Change
Testing
Tested manually
Checklist