Comments (6)
(So, /msg
and /focus
.)
from matterhorn.
My thoughts:
- When
/msg
command appears in chat clients it's typically for messaging a user (not just focusing on a chat window) - We could design the command so that it takes an optional message
- Internally we know the difference between users and channels. We could have a unified /-command that works as long as the channel or nickname is unambiguous. In the ambiguous case we would tell the user to use
@
or#
to differentiate. I'm assuming #27 gets fixed.
So it could be something like:
/msg (channel|username) [message]
where [message]
means it's optional.
I think I'd rather have two commands:
/msg (channel|username) message
-> sends a message to the channel or user without changing the focus in the UI/window (channel|username)
-> changes the focus in the UI but doesn't send a message. I'm not tied to the verb choice here,/window
is just an example. Other things could be equally effective.
from matterhorn.
I like the two-command approach you proposed.
from matterhorn.
Maybe /focus
would be better than /window
since we don't really have a notion of "window"?
from matterhorn.
Right now, since we forward unrecognized commands to the server, we actually get /msg
for free. If you message someone in this way in Matterhorn, it does what you expect even though /msg
doesn't appear in our help output (since it is not a client command). I think this is kinda nice but is confusing. Instead of sending all unrecognized commands to the server, I'd rather whitelist them and add them to our /help
output.
from matterhorn.
Closed. WONTFIX. We accept pull requests in JIRA.
(Or, well, we don't actually have dm
any more, and Jason and I both contend that the focus commands we have are fine.)
from matterhorn.
Related Issues (20)
- Stop automatically hiding of direct messages HOT 3
- "matterhorn -i" results in unusable client since default keybindings are not configured HOT 1
- Unread count includes edits in the current channel HOT 1
- Emoji reactions "linger" after removal HOT 2
- Improve proactive data-fetching behavior for slow connections HOT 11
- Add notification version 4 with source channel name and type HOT 3
- Some mattermost conversation links open in web browser HOT 20
- snap matterhorn does not create config.ini file HOT 4
- Support loading a permalink via command
- login auth not remembered on Ubuntu 22.04 HOT 1
- searching for messages from a person HOT 2
- [focus-next-unread-user-or-channel] - Ignore muted channels
- 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
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.