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
Unknown Object (File)
Thu, Apr 25, 3:20 AM
Unknown Object (File)
Thu, Apr 18, 3:02 AM
Unknown Object (File)
Mar 24 2024, 1:20 PM
Unknown Object (File)
Mar 10 2024, 7:13 AM
Unknown Object (File)
Feb 22 2024, 1:33 PM
Unknown Object (File)
Feb 22 2024, 1:33 PM
Unknown Object (File)
Feb 14 2024, 2:14 PM
Unknown Object (File)
Feb 14 2024, 2:10 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.