Messages sidebar improvements


(Alex Armstrong) #1

The Messages sidebar currently looks like this:

It can be improved in several ways:

  • Reduce the padding of items. Each “Archive” should be visually proximate with its relevant group.
  • Make the sidebar wider when the width of the screen allows for it.
  • Use the full names of groups instead of their usernames. (This is a preference, but it would be logical to follow the dictates of the “name over username” setting.)

Suggestion: Hide/show group inbox via user preference or group admin setting
(Jay Pfaffman) #2

You can do at least the first two with CSS. Go for it!


(Alex Armstrong) #3

Sure:

I did this by sight. It looks OK, though it’s still not great.

// Improve Messages sidebar padding
.messages-nav.nav-stacked a {
	padding: .4rem;
}
.messages-nav > li:not(.archive):not(.noGlyph) {
	margin-top: .9rem;
}

I would like the following feature as well, though:

Use the full names of groups instead of their usernames. (This is a preference, but it would be logical to follow the dictates of the “name over username” setting.)

In general, group’s full names are not used consistently throughout the app. I just tested it and there’s also an issue when adding a user to a message. I can search for regular users by their full name, but for groups I have to mention them by their (occasionally cryptic, in our case) usernames.


(Jeff Atwood) #4

Nice, why don’t you submit that as a PR for everyone?


(Alex Armstrong) #5

Do you mean the CSS or the feature request? If the former, it didn’t occur to me to do a PR for such a small change. I’m not able to develop the latter.


(Joshua Rosenfeld) #6

The CSS - it is certainly not too small. We appreciate all PRs, regardless of their scale.


(Alex Armstrong) #7

OK. I’ll take a look in the next few days. I haven’t tried to do a PR on a big project such as this, but I’d like to contribute more to Discourse, even in such a minute way.