Rename a conversation from the sidebar
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 62/100
Hướng nghiên cứu
Start by reading the existing crud.update_conversation_title implementation and tests, then inspect the conversation routes and CORS configuration. Add the PATCH /conversations/{id} behavior described in the issue, implement the matching route in frontend/mock-flask-api, and wire the sidebar rename prompt to update its title and the open conversation header. Done means the API responses and validation match the proposal and renaming works in both the mock and Next.js UI.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The Next.js sidebar lists conversations by title, but a title can't be changed. A conversation keeps the title it got when it was created (its first question, cut to 100 characters) or stays "Untitled conversation". A long thread can end up with a name that no longer describes it, and the sidebar only offers delete.
The backend already has crud.update_conversation_title, with tests, but no route calls it. /conversations/{id} has GET and DELETE, but no update.
Proposal
- Backend:
PATCH /conversations/{id}with a{"title": "..."}body. It strips surrounding whitespace and accepts 1 to 500 characters (the column isString(500)), so a blank title gets a 422. It returns the conversation without its messages, the same shape as an item ofGET /conversations. Like the other conversation routes, it returns 404 for an unknown id and 503 when the database is disabled. Because the Next.js app calls the API from another origin,PATCHmust be added to the CORSallow_methods. - Next.js: a rename button next to the delete button in the sidebar. It asks for the new title with
window.prompt, as delete asks withwindow.confirm, then updates the sidebar entry and, for the open conversation, the header. - Mock API: the same route in
frontend/mock-flask-api, so the UI can be developed against the mock.
- Ngôn ngữ chính
- Python
- Star
- 51
- Fork
- 27
- Merge trung bình
- 11 giờ 59 phút
- Pull request đã merge (30 ngày)
- 33
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của The-OpenROAD-Project/ORAssistant
-
A JSON chat answer blocks the backend event loop for the whole RAG runCó thể đã có người làm @NopeCharon đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Conversations from POST /conversations stay untitled and keep their creation timeCó thể đã có người làm @NopeCharon đã nhận hôm nay. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
The-OpenROAD-Project/ORAssistant#655 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
centralized backend configĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
The-OpenROAD-Project/ORAssistant#186 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Deprecate GOOGLE_APPLICATION_CREDENTIALSCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
The-OpenROAD-Project/ORAssistant#155 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add button to OR GUI for easy accessCó thể làm lại được @sparsh-karna đã nhận 164 ngày trước và không có pull request nào đang mở. Đang mở
The-OpenROAD-Project/ORAssistant#152 · 4 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của The-OpenROAD-Project/ORAssistant
Issue tương tự
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorCó thể đã có người làm @jejjohnson đã nhận hôm nay. Đang mởtype:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jejjohnson/integrix#144 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
finos/ai-governance-framework#459 ·
-
slurm: a case outcome nested too deep crashes status/collect instead of reading as no outcomeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
freelawproject/litigant-portal#1307 ·
Maintainer thường phản hồi trong vòng 2 ngày