-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
refactor: rename pro search to agent search across codebase #3925
base: main
Are you sure you want to change the base?
refactor: rename pro search to agent search across codebase #3925
Conversation
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
…igration Co-Authored-By: Chris Weaver <[email protected]>
…tend interfaces Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
@@ -196,8 +196,8 @@ interface ChatInputBarProps { | |||
availableDocumentSets: DocumentSet[]; | |||
availableTags: Tag[]; | |||
retrievalEnabled: boolean; | |||
proSearchEnabled: boolean; | |||
setProSearchEnabled: (proSearchEnabled: boolean) => void; | |||
proSearchEnabled: boolean; // TODO: rename to agentSearchEnabled in a future PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are these TODOs? Can we just do them now?
Co-Authored-By: Chris Weaver <[email protected]>
web/src/app/chat/ChatPage.tsx
Outdated
@@ -204,14 +205,19 @@ export function ChatPage({ | |||
const enterpriseSettings = settings?.enterpriseSettings; | |||
|
|||
const [documentSidebarToggled, setDocumentSidebarToggled] = useState(false); | |||
const [proSearchEnabled, setProSearchEnabled] = useState(proSearchToggled); | |||
const [agentSearchEnabled, setAgentSearchEnabled] = useState<boolean>( | |||
Cookies.get(LEGACY_PRO_SEARCH_TOGGLED_COOKIE_NAME)?.toLowerCase() === |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did we add this? I suspect we're checking these somewhere else and passing it in as proSearchToggled
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
Co-Authored-By: Chris Weaver <[email protected]>
Comprehensive rename from pro search to agent search across frontend, backend, and database.
Changes:
Implementation Details:
Testing:
Link to Devin run: https://app.devin.ai/sessions/f9ccb3ea429b462ea8c7b7c611e74dde
Requested by: Chris