Skip to content
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

fix: width of bubbles and logging errors #487

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

michaelneale
Copy link
Collaborator

This helps us diagnose by ensuring all error messages are logged to main.log even if they are in browser process, and also fixes the bubble width overflow problem and invisible user messages

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

@@ -8,8 +8,8 @@ export default function UserMessage({ message }) {
const urls = extractUrls(message.content, []);

return (
<div className="flex justify-end mb-[16px]">
<div className="flex-col max-w-[90%]">
<div className="flex justify-end mb-[16px] w-full">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this change make every user message the full width of the chat space?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solution would be max-w-full if so and we don't want that. This would let a single word message like "hi" have a small bubble, but constrain maximum width.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no doesn't make it full width

* v1.0:
  feat: add google provider (#489)
  feat: flappy goose easter egg (#479)
  Restore command history when resuming session (#483)
  Newline in cli (#485)
  remove cliclack prompt (#484)
  feat:model-specific-configuration (#466)
@michaelneale michaelneale merged commit 90f9d0a into v1.0 Dec 18, 2024
3 checks passed
lifeizhou-ap added a commit that referenced this pull request Dec 18, 2024
* v1.0:
  requires foreign architectures
  more xcompile deps
  x compilation tools
  chore: Cargo build tokenizers (#491)
  feat: build and release binaries to GH releases (#477)
  fix: width of bubbles and logging errors (#487)
salman1993 added a commit that referenced this pull request Dec 18, 2024
* origin/v1.0:
  stop bubbles filling screen (#495)
  chore: V1.0 release automation (#493)
  requires foreign architectures
  more xcompile deps
  x compilation tools
  chore: Cargo build tokenizers (#491)
  feat: build and release binaries to GH releases (#477)
  fix: width of bubbles and logging errors (#487)
  feat: add google provider (#489)
  feat: flappy goose easter egg (#479)
jsibbison-square added a commit that referenced this pull request Dec 19, 2024
* v1.0:
  stop bubbles filling screen (#495)
  chore: V1.0 release automation (#493)
  requires foreign architectures
  more xcompile deps
  x compilation tools
  chore: Cargo build tokenizers (#491)
  feat: build and release binaries to GH releases (#477)
  fix: width of bubbles and logging errors (#487)
  feat: add google provider (#489)
  feat: flappy goose easter egg (#479)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants