Page MenuHomePhabricator

Calendar v1 Errata Mark II
Closed, ResolvedPublic

Description

The red "away" dot is not well explained right now, and will presumably become more frequent once Calendar unprototypes.

  • On profiles, show the red dot next to "Away until..." so the same visual element is present in both places. Maybe make this element more clear/explicit, too.
  • On hovercards, show the dot too.
  • Move "Calendar" profile widget above "Badges" profile widget.

There's some infrastructure cleanup to do:

  • Remove all obsolete columns from CalendarEvent table.
  • Remove all the old "Holiday" stuff -- we might implement this in some form eventually, but the existing approach doesn't make sense anymore.

The main Calendar guide should get fleshed out:

  • Put words in "Calendar User Guide".

Action dropdown:

  • Maybe put a "Cancel Event" in the action dropdown? (Maybe later? Presumably infrequent, and muddies the "this event" vs "all events" choice.)
  • Maybe put RSVP stuff in the action dropdown? (Maybe later? There are buttons elsewhere on the page, not sure how often decline + comment will be and from Facebook events it's sort of a bad pattern anyway -- leads to lots of "Sorry, can't make this one!" comments, at least for social events.)
  • Make sure the action dropdown behaves reasonably for recurring events.

Mail:

  • Reminder mail is still really rough.
  • Normal event mail includes the description in every message, which is abnormal/nonstandard.

Recurring events:

  • There's a bug with making an event recurring in handling the "Until" control.
  • There's a bug with removing the "Until" value from a recurring event.
  • Needing to switch the "Make Recurring" dialog into "Recurring" mode feels pretty junky.

Event Timeline

epriestley renamed this task from Calendar v1 Errata to Calendar v1 Errata Mark II.Nov 1 2016, 9:31 PM

The rP3f2f81a1c8ab: Remove obsolete Calendar event date storage fields commit broke our phabricator setup.

#1054: Unknown column 'event.dateTo' in 'where clause' at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:325]
PHP message: arcanist(head=master, ref.master=fad85844314b), phabricator(head=master, ref.master=bd3233d3ab0c), phutil(head=master, ref.master=e409df2720c2)
...

for fixing seems to be enough:

use phabricator_calendar;
alter table calendar_event add dateTo int unsigned NOT NULL;
alter table calendar_event add dateFrom int unsigned NOT NULL;

@deric, the code event.dateTo no longer appears anywhere in Phabricator (it was removed prior to the column being removed) so I suspect you did not restart properly and were running cached code (or possibly have custom code you need to update). See Restarting Phabricator.

(If you believe I'm mistaken, please show the full stack trace for the error so we can identify and remove the remaining reference to this column.)

The rP3f2f81a1c8ab: Remove obsolete Calendar event date storage fields commit broke our phabricator setup.

#1054: Unknown column 'event.dateTo' in 'where clause' at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:325]
PHP message: arcanist(head=master, ref.master=fad85844314b), phabricator(head=master, ref.master=bd3233d3ab0c), phutil(head=master, ref.master=e409df2720c2)
...

for fixing seems to be enough:

use phabricator_calendar;
alter table calendar_event add dateTo int unsigned NOT NULL;
alter table calendar_event add dateFrom int unsigned NOT NULL;

@epriestley Yeah, you're right. There was a php5-fpm instance running, which i forgot to restart.