Page MenuHomePhabricator

Give Calendar events the "E" Monogram
Closed, ResolvedPublic

Description

Maniphest tasks are identified with "monograms", like T123. Other major objects in other systems use other letters (D for Differential revisions, F for files, etc). See Object Monograms for a full list.

Calendar has "E" reserved for it, but the UI doesn't reflect that. Particularly, these things should be supported:

  • The main URI for an event should be /E123.
  • The crumbs for an event should end in > E123.
  • The page title for an event should be E123 Event Name.
  • Typing E123 in remarkup should link to the event.
  • Typing {E123} should embed a longer reference to the event.
  • Typing E123 in global search should jump to the event.
  • Mail about the event should identify it with E123.

Note that "E" used to mean "Conpherence Thread". We've mostly moved that to "Z" to let Calendar have "E", but there may be some remnants kicking around.

Related Objects

StatusAssignedTask
Openepriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedchad
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedepriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedlpriestley
Resolvedchad
Resolvedlpriestley
Resolvedlpriestley

Event Timeline

epriestley assigned this task to lpriestley.
epriestley raised the priority of this task from to Normal.
epriestley updated the task description. (Show Details)
epriestley added a project: Calendar.
epriestley added a subscriber: epriestley.

Here are some pointers on approaching this:

The main URI for an event should be /E123.

Mostly this will involve changing the route in PhabricatorCalendarApplication, but you may have to hunt down some things which generate links to the old URI.

The crumbs for an event should end in > E123.
The page title for an event should be E123 Event Name.

Both just changes to the detail page controller.

Typing E123 in remarkup should link to the event.
Typing {E123} should embed a longer reference to the event.

Implement PhabricatorCalendarEventRemarkupRule, like DifferentialRemarkupRule. Return it from getRemarkupRules() in PhabricatorCalendarApplication (see similar example in Differential).

Typing E123 in global search should jump to the event.

Implement canLoadNamedObject() + loadNamedObjects() in PhabricatorCalendarEventPHIDType. You can look at DifferentialRevisionPHIDType for an example.

Mail about the event should identify it with E123.

This will happen later, after T5464.

The page title for an event should be E123 Event Name.

Calendar events don't seem to have names right now (unless I'm missing something?). Left a comment here, T7953, to remember to cover it when names do exist.