Page MenuHomePhabricator

Added a "View More" link to the day cell of Calendar monthly view for days with 15 or more events
AbandonedPublic

Authored by epriestley on Jul 2 2015, 10:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 4:12 PM
Unknown Object (File)
Wed, Apr 24, 11:56 PM
Unknown Object (File)
Tue, Apr 16, 7:27 PM
Unknown Object (File)
Mon, Apr 15, 3:48 AM
Unknown Object (File)
Thu, Apr 11, 8:13 AM
Unknown Object (File)
Wed, Apr 10, 8:27 PM
Unknown Object (File)
Mon, Apr 8, 4:22 PM
Unknown Object (File)
Mon, Apr 8, 9:12 AM
Subscribers

Details

Summary

Implements T8361

Test Plan

Add 15 events, all scheduled for a single day. Verify that a "View More" link exists and leads to the daily view for that day.

Diff Detail

Repository
rP Phabricator
Branch
calendarseemorelink
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 7258
Build 16854: Run Core Tests
Build 7556: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

SalmonKiller retitled this revision from to Added a "View More" link to the day cell of Calendar monthly view for days with 15 or more events.
SalmonKiller updated this object.
SalmonKiller edited the test plan for this revision. (Show Details)
src/view/phui/calendar/PHUICalendarMonthView.php
197

Convention dictates that 'a' should be on its own line.

src/view/phui/calendar/PHUICalendarMonthView.php
199

pht this string

SalmonKiller edited edge metadata.

Implemented changes suggested by lpriestley and chad

lpriestley edited edge metadata.
lpriestley added inline comments.
src/view/phui/calendar/PHUICalendarMonthView.php
197–201

This link doesn't actually have an associated href. When testing this might not give you a problem because the entire cell is clickable, but to be thorough, we should add the correct href to the link. We already have it in the variable $uri.

webroot/rsrc/css/phui/calendar/phui-calendar-month.css
214–219

You can see in F945724 that the "View More" link overlaps the week number in the lower left corner of the day box. Maybe you can try removing the position: absolute; and explicitly setting padding-left to something like 5px. Or if you can think of another solution that might work, certainly give it a shot.

This revision now requires changes to proceed.Nov 5 2015, 5:08 PM
epriestley edited reviewers, added: SalmonKiller; removed: epriestley.

Obsoleted by D16337.