Comments (2)
Thanks for this suggestion!
I thought about taking this approach when I first implemented the message rendering logic. This approach can work really well as long as the user names are relatively short. However, it results in a lot of wasted space when user names get long, and Mattermost and Matterhorn support displaying users by their full names and nicknames as well. That means that taking this approach will lead to the "column" of user names being potentially 30 terminal cells wide or more, and all it takes is one user in the conversation to result in a layout where the message text has very little room to get wrapped in. That, combined with the fact that many users want to run Matterhorn in a relatively narrow terminal window, means that I am not confident that this would be an overall usability improvement. I'm sorry to say that, and I know that doesn't help much with the indentation, but I wanted to give that context.
from matterhorn.
Thanks for sharing your thoughts.
I believe the issue you describe is similar to long channel names. Would it be viable to solve it likewise, namely with a userNameWidth
variable?
from matterhorn.
Related Issues (20)
- repeated first line of a thread is distracting
- Invalid RootId parameter and Unable to get the channel member errors HOT 2
- load large amounts of scrollback at once? HOT 5
- Unread messages indicator does not go to 0 HOT 10
- File descriptors leak to xdg-open HOT 2
- Have a way to inspect the topic's URLs
- Move away from connection HOT 6
- Keybind A-Up and A-Down does not work HOT 7
- I think you skipped a few (tens of thousands of ) versions HOT 1
- Support command substitutions in config commands HOT 2
- [Q] Binary release 90000.0.0 for Fedora HOT 2
- Building it from source doesn't require GitHub account HOT 5
- Allow scripts to send `/` commands HOT 1
- Explore supporting polls HOT 1
- Typo in commonlisp.xml
- auto hide no new message channel HOT 1
- focus and return to your own username on start HOT 5
- matterhorn: Lens.Micro.singular: empty traversal HOT 1
- Non-unique names make it hard to tell who sent a specific message
- Emoji not rendering using :emoji: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matterhorn.