BitAiChat lays out a message in the chat's direction instead of its own text's
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- csharp, html
- Ambito
- frontend, internationalization
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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 چقدر است؟».
- Lingua principale
- C#
- Stelle
- 1.4k
- Fork
- 264
- Merge medio
- 5h 25m
- PR unite (30g)
- 447
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bitfoundation/bitplatform
-
Project dependencies are outdatedForse già presa @yasmoradi l’ha presa oggi. Apertadependencies
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
bitfoundation/bitplatform#15616 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug: Duplicate scrollbars in NotificationCenter after rapidly creating multiple notificationsForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
bitfoundation/bitplatform#15606 ·
I maintainer di solito rispondono entro 1 giorno
-
The AutoReset E2E tests of BitFileInput and BitFileUpload open the second chooser before Firefox has closed the firstForse già presa @msynk l’ha presa oggi. Aperta
bitfoundation/bitplatform#15625 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
An E2E test's retry runs on the Firefox instance whose page crashed on its first tryForse già presa @msynk l’ha presa oggi. Aperta
bitfoundation/bitplatform#15624 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
The BitDatePicker look E2E test presses Escape before the year grid has the focusForse già presa @msynk l’ha presa oggi. Aperta
bitfoundation/bitplatform#15623 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di bitfoundation/bitplatform
Issue simili
-
XML grammar: only the closing --> of a comment gets the scope comment.block.xmlForse già presa @alexeyfala l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
danipen/TextMateSharp#145 · 2 commenti ·
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Klyroo/klyroo-dashboard#12 ·
I maintainer di solito rispondono entro 1 giorno
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates onForse già presa @yadavraj2001 l’ha presa oggi. Apertadocumentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
juandresrodca/AdminForge#73 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[辞書] VIVANTAperta要トリアージ 辞書
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
christian-raj/S-Aloha#504 ·