BitAiChat lays out a message in the chat's direction instead of its own text's
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue nà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
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- csharp, html
- Lĩnh vực
- frontend, internationalization
Hướng nghiên cứu
Start with Components/ChatMessage/BitAiChatMessage.razor and Components/MarkdownView/BitAiMarkdownView.razor, then trace how Dir reaches user messages, reasoning text, and the prompt input. Check how the Markdown view renders paragraphs, list items, headings, quotes, and table cells. Done means each message's text follows its own direction while the chat frame, buttons, and timestamps retain the chat's Dir.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
A BitAiChat whose Dir is Ltr, such as one on an English page, shows an answer written in Persian or Arabic left to right: its list bullets sit on the left, a sentence's closing punctuation lands at the start of its line and its headings align left. An English answer in a Rtl chat has the same problem the other way round. Users mix languages in one conversation, and the answer usually follows the user's language, not the page's.
Cause: BitAiChat passes its Dir down to BitAiChatMessage (Components/ChatMessage/BitAiChatMessage.razor) and BitAiMarkdownView (Components/MarkdownView/BitAiMarkdownView.razor), which write it on the message as dir. Nothing in Bit.BlazorUI.AI sets dir="auto", so a message's text never takes its own direction.
Expected: the chat's frame, buttons and timestamps follow Dir, while a message's text reads in its own direction: dir="auto" on each paragraph, list item, heading, quote and table cell BitAiMarkdownView renders, on the user's own messages, on the reasoning text and in the prompt input.
To reproduce: on bitfabric.co/en-US, open the AI chat and ask «قیمت bit Fabric چقدر است؟».
- Ngôn ngữ chính
- C#
- Star
- 1.4k
- Fork
- 264
- Merge trung bình
- 5 giờ 25 phút
- Pull request đã merge (30 ngày)
- 447
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 bitfoundation/bitplatform
-
Project dependencies are outdatedCó thể đã có người làm @yasmoradi đã nhận hôm nay. Đang mởdependencies
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
bitfoundation/bitplatform#15616 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug: Duplicate scrollbars in NotificationCenter after rapidly creating multiple notificationsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
bitfoundation/bitplatform#15606 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The AutoReset E2E tests of BitFileInput and BitFileUpload open the second chooser before Firefox has closed the firstCó thể đã có người làm @msynk đã nhận hôm nay. Đang mở
bitfoundation/bitplatform#15625 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
An E2E test's retry runs on the Firefox instance whose page crashed on its first tryCó thể đã có người làm @msynk đã nhận hôm nay. Đang mở
bitfoundation/bitplatform#15624 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The BitDatePicker look E2E test presses Escape before the year grid has the focusCó thể đã có người làm @msynk đã nhận hôm nay. Đang mở
bitfoundation/bitplatform#15623 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của bitfoundation/bitplatform
Issue tương tự
-
XML grammar: only the closing --> of a comment gets the scope comment.block.xmlCó thể đã có người làm @alexeyfala đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
danipen/TextMateSharp#145 · 2 bình luận ·
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Klyroo/klyroo-dashboard#12 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates onCó thể đã có người làm @yadavraj2001 đã nhận hôm nay. Đang mởdocumentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
juandresrodca/AdminForge#73 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[辞書] VIVANTĐang mở要トリアージ 辞書
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 94/100
christian-raj/S-Aloha#504 ·