Draft
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces a new Mattermost-style chatbox interface for Horizon with improved layout and functionality. The formatting toolbar can now be positioned at the top or bottom (defaulting to bottom), and the UI has been modernized with better visual feedback and placeholder text for chat inputs.
Changes:
- Redesigned BBCode editor with Mattermost-style UI, including toolbar positioning options and overflow menu for formatting buttons
- Added minimum window size constraints (600x400) for better UX
- Added placeholder text for channel and private message inputs with proper internationalization
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| bbcode/Editor.vue | Complete UI overhaul with new container structure, toolbar positioning support, and responsive overflow menu for formatting buttons |
| scss/_bbcode_editor.scss | Added Mattermost-specific styles and color chip styling for the new editor layout |
| chat/ConversationView.vue | Integrated new editor features including toolbar position setting, placeholder text, and redesigned controls slot |
| chat/StatusSwitcher.vue | Updated to use new controls slot pattern for character counter |
| chat/ManageChannel.vue | Updated to use new controls slot pattern for character counter |
| chat/SettingsView.vue | Added UI control for toolbar position preference |
| chat/interfaces.ts | Added bbCodeBarPosition setting type definition |
| chat/common.ts | Added bbCodeBarPosition setting with 'bottom' default |
| chat/locales/en_us.json | Added placeholder text strings for channels and private messages, plus toolbar position setting labels |
| electron/browser_windows.ts | Added minimum window dimensions to improve usability |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
|
Can we get screenshots, please? I think that playing with custom font sizes for everything doesn't help in making it fit in with the rest of the UI. Don't we have standard classes for most of those? |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Adds a new chatbox to the Horizon interface.
Notably, this layout defaults to the buttons being under, and also is generally a little neater. Still needs some testing. PR as draft.