Page MenuHomePhabricator

Refactor Calendar Search, and implement Projects on events
ClosedPublic

Authored by lpriestley on Jun 22 2015, 8:04 PM.
Tags
None
Referenced Files
F13338158: D13393.diff
Wed, Jun 19, 10:30 AM
F13325825: D13393.diff
Sat, Jun 15, 2:17 AM
F13300406: D13393.diff
Fri, Jun 7, 9:10 AM
F13283701: D13393.diff
Sun, Jun 2, 4:10 PM
F13269423: D13393.diff
Wed, May 29, 6:19 AM
F13252647: D13393.diff
Sat, May 25, 1:55 AM
F13230272: D13393.id32427.diff
May 20 2024, 10:19 PM
F13230271: D13393.id32430.diff
May 20 2024, 10:19 PM
Subscribers
Tokens
"Doubloon" token, awarded by epriestley.

Details

Summary

Ref T7950, Refactor Calendar Search, and implement Projects on events

Test Plan

Verify that all queries in Calendar search still work, and that events can now have associated Projects that you can search by in Calendar Search.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lpriestley retitled this revision from to Refactor Calendar Search, and implement Projects on events..
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added a reviewer: epriestley.
chad retitled this revision from Refactor Calendar Search, and implement Projects on events. to Refactor Calendar Search, and implement Projects on events.Jun 22 2015, 8:05 PM
chad edited edge metadata.
epriestley edited edge metadata.
epriestley added inline comments.
src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
31

Unless these aliases are historic things for backward compatibility, consider just using human-readable aliases like host or creator.

The only thing these are useful for is people manually constructing HTTP GET queries like /calendar/?host=epriestley that they type in. So having a human alias like host is a bit helpful since it's more friendly than ?creatorPHIDs=epriestley, but a less-friendly alias like creatorPHID probably isn't too useful.

You don't need to repeat the key as an alias, it's automatically recognized.

85–86

Now unused?

src/applications/search/engine/PhabricatorApplicationSearchEngine.php
296

Maybe call this shouldShowOrderField()?

This revision is now accepted and ready to land.Jun 22 2015, 8:13 PM
lpriestley marked 3 inline comments as done.
lpriestley edited edge metadata.

removing unused blerchs

This revision was automatically updated to reflect the committed changes.