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, Dec 9, 10:49 AM
Unknown Object (File)
Thu, Dec 5, 11:19 AM
Unknown Object (File)
Wed, Dec 4, 1:58 PM
Unknown Object (File)
Sun, Nov 24, 5:51 PM
Unknown Object (File)
Wed, Nov 20, 7:42 PM
Unknown Object (File)
Nov 17 2024, 10:48 AM
Unknown Object (File)
Oct 25 2024, 10:07 PM
Unknown Object (File)
Oct 24 2024, 10:34 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.