Commit Graph

39 Commits

Author SHA1 Message Date
gpt-engineer-app[bot] 6c23bea1bc Edit agent name in details
Allow editing the agent name on the AgentDetails page:
- show edit button next to the name
- toggle between view and edit modes with input
- save (Enter or check) and cancel (Esc or X) options
- update name in state and notify user on success
2025-11-11 13:46:36 +00:00
gpt-engineer-app[bot] ae7cb74ba0 Add confirmation modal for agent deactivation
Implement a confirmation modal that appears when the "Desativar" button is clicked. This modal asks the user to confirm the action and informs them that the deactivation will be logged. The "Ativar" action remains a direct toggle.
2025-11-07 20:06:44 +00:00
gpt-engineer-app[bot] b642c5be8b Add clear chat button
Add a button to clear the chat conversation on the Test Agent screen. This button will also trigger a toast notification to confirm the action.
2025-11-07 20:00:01 +00:00
gpt-engineer-app[bot] 7b01dd2e55 Clear chat on agent change
Clear the conversation history when the selected agent changes in the "Testar Agente" screen.
2025-11-07 19:55:54 +00:00
gpt-engineer-app[bot] f1362dbf01 Rename TestPrompt to TestAgent
Update the TestPrompt page to TestAgent. It now features a select dropdown for choosing an agent and a chat interface. The previous prompt and model selection components have been removed.
2025-11-07 19:54:25 +00:00
gpt-engineer-app[bot] 5a9ca2bbf9 Add pagination to agents screen
Implement pagination controls on the agents screen to manage a large number of agents. This includes state management for current page and items per page, logic to slice and display agents, and UI elements for navigation (previous, next, page numbers, ellipsis). The search functionality now resets to the first page.
2025-11-07 19:52:34 +00:00
gpt-engineer-app[bot] f87685e014 Add version save modal to agent details
Implement a modal for saving agent versions on the agent details screen. The modal allows users to input version notes, select the version type (major, minor, or patch) with explanations for each, and includes cancel and save buttons. The save button is disabled until notes are entered.
2025-11-07 19:48:45 +00:00
gpt-engineer-app[bot] 1f2f734fd8 Refactor version history modal
Update version history modal to be wider, replace prompt expansion with an eye icon that opens a new modal for viewing and copying the full prompt, and remove hover blue color from history items.
2025-11-07 19:45:06 +00:00
gpt-engineer-app[bot] 24f114d01c Refatore o modal de histórico de versões
Atualiza o modal de histórico de versões para exibir o modelo de IA e melhorar a visualização do prompt. Adiciona a funcionalidade de expandir/recolher para o prompt de cada versão.
2025-11-07 19:40:37 +00:00
gpt-engineer-app[bot] d2174eede2 Create agent modal
Implement modal for creating agents with name and AI model fields. Upon creation, the user is redirected to the agent details page. The modal now only includes the necessary fields and navigation logic.
2025-11-07 19:35:20 +00:00
gpt-engineer-app[bot] d57335e499 Add agent status badge and style button
Add a status badge next to the agent name to indicate if the agent is active or inactive. Active agents will display a green badge with a filled circle, while inactive agents will show a gray badge with an outlined circle. The "Activate" button is now styled with a green background, and the "Deactivate" button retains its red styling.
2025-11-07 19:30:47 +00:00
gpt-engineer-app[bot] 876e8d0338 Reorganize agent details layout
Reorganize the agent details page to place the agent title on the left and action buttons (Version History, Activate/Deactivate, Save Changes) on the right. The AI model and system prompt fields now have flexible width to occupy the full screen width. Added functionality to toggle agent status.
2025-11-07 19:24:38 +00:00
gpt-engineer-app[bot] 25da60f7b2 Refactor agent details page
Move AI model select above system prompt and add version history modal.
2025-11-07 19:20:49 +00:00
gpt-engineer-app[bot] f8966d0ae8 Refactor agent cards on home screen
Update agent cards to display title, AI model, status, and agent version. Remove the options button and replace it with a chevron icon to navigate to the agent details screen.
2025-11-07 19:17:03 +00:00
gpt-engineer-app[bot] 64b4c39c92 Refactor agent and prompt management
Restructures the application to integrate prompt management directly into the agent details view. Removes the separate "Prompts" page and its associated components. Agents are now the root route, and clicking an agent navigates to a detail page where its system prompt, AI model, and version history can be managed.
2025-11-07 19:14:00 +00:00
gpt-engineer-app[bot] 954b09f836 Refactor Agents and Prompts routes 2025-10-30 12:48:10 +00:00
gpt-engineer-app[bot] d3c2e31d15 Refactor: Make system responsive 2025-10-29 15:02:56 +00:00
gpt-engineer-app[bot] b9d7db533c Add Agents screen to sidebar 2025-10-29 14:57:43 +00:00
gpt-engineer-app[bot] 6ef80b9726 Remove History from sidebar 2025-10-29 14:55:19 +00:00
gpt-engineer-app[bot] 753724182d feat: Add AI model selection to test prompt screen 2025-10-29 14:53:12 +00:00
gpt-engineer-app[bot] 2b694a9520 Refactor prompt actions and status display 2025-10-29 14:51:46 +00:00
gpt-engineer-app[bot] fe55c74fc1 Refactor prompt display and versioning 2025-10-29 14:49:29 +00:00
gpt-engineer-app[bot] f379ce17c9 Refactor prompt history modal 2025-10-29 14:47:34 +00:00
gpt-engineer-app[bot] 42a8e0064f feat: Add prompt history modal 2025-10-29 14:45:29 +00:00
gpt-engineer-app[bot] 0b01478582 Refactor prompts page to use table 2025-10-29 14:43:54 +00:00
gpt-engineer-app[bot] 24206417da Refactor prompt editing modal 2025-10-29 14:39:05 +00:00
gpt-engineer-app[bot] 7a73be703f feat: Implement prompt versioning and editing 2025-10-29 14:14:58 +00:00
gpt-engineer-app[bot] 2a74f0b498 Remove Agents screen 2025-10-29 14:04:48 +00:00
gpt-engineer-app[bot] a7defc1944 feat: Add search and pagination to Prompts page 2025-10-29 14:01:08 +00:00
gpt-engineer-app[bot] 0b96ab51fb Refactor prompt creation flow 2025-10-29 13:58:45 +00:00
gpt-engineer-app[bot] b9786d6abc Refactor: Adjust prompt creation modal size 2025-10-29 13:57:03 +00:00
gpt-engineer-app[bot] 11a51c6100 feat: Add prompt creation modal with AI assistant 2025-10-29 13:53:02 +00:00
gpt-engineer-app[bot] 2df00b1124 Refactor: Transform prompt test page into chat interface 2025-10-29 13:44:55 +00:00
gpt-engineer-app[bot] b42f94ecab Refactor: Update sidebar title 2025-10-29 12:53:48 +00:00
gpt-engineer-app[bot] bdb8443a51 Refactor sidebar component 2025-10-29 12:52:59 +00:00
gpt-engineer-app[bot] 64c53ee1ec feat: Add theme toggle and back button 2025-10-29 12:44:51 +00:00
gpt-engineer-app[bot] 05df311b1f Update styles with Inter font 2025-10-29 12:43:08 +00:00
gpt-engineer-app[bot] 6efb71b59b Create HGTX PromptLab UI 2025-10-29 12:06:30 +00:00
gpt-engineer-app[bot] d712cc7bb5 [skip lovable] Use tech stack vite_react_shadcn_ts_20250728_minor 2025-10-29 12:03:58 +00:00