Skip to content

Say "DM" / "direct message" instead of "PM" / "private message", in code and UI #145

Closed
@gnprice

Description

@gnprice

This is a change that happened in the web UI a few weeks after I started prototyping the Flutter app:

It's also happening in the server API, though necessarily more gradually. See summary at:

The code still reflects the old name, in identifiers and comments. We should update it to the new name; this is easier to do the sooner we do it.

While we're at it, we should handle occurrences in UI text, too. I think the only one of these so far is in recipient headers.

Out of scope for this issue is to use the new name in the actual API, in the places where it's accepted. That's tracked as part of:


To find places to update, use the following search:

$ git grep -P 'pm|Pm|PM|(?i:private)' -- lib test

That currently finds 43 lines, of which it looks like

  • 4 are in the API;
  • 4 are false positives;
  • so 35 are in scope for this issue.

Metadata

Metadata

Assignees

Labels

a-apiImplementing specific parts of the Zulip server API

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions