Page MenuHomePhabricator

Prettier file embeds
ClosedPublic

Authored by chad on Nov 27 2016, 10:01 PM.
Tags
None
Referenced Files
F15458013: D16950.id40797.diff
Sun, Mar 30, 8:25 PM
F15448578: D16950.diff
Fri, Mar 28, 5:44 AM
F15442396: D16950.diff
Wed, Mar 26, 11:11 PM
F15424568: D16950.id40797.diff
Mar 22 2025, 11:04 PM
F15396015: D16950.diff
Mar 16 2025, 11:15 AM
F15374260: D16950.diff
Mar 12 2025, 5:58 PM
F15335545: D16950.id40796.diff
Mar 8 2025, 4:17 PM
F15331984: D16950.diff
Mar 7 2025, 3:47 PM
Subscribers

Details

Summary

Spruce up the file embeds a little more, hover state, icons, file size.

Test Plan

Add a psd and pdf, see new icons. Check differential, still see icons there too. Test mobile, desktop.

pasted_file (518×432 px, 62 KB)

Diff Detail

Repository
rP Phabricator
Branch
files-remarkup (branched from master)
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 14684
Build 19181: Run Core Tests
Build 19180: arc lint + arc unit

Unit TestsFailed

TimeTest
2 msPhabricatorLocalTimeTestCase::Unknown Unit Message ("")
EXCEPTION (AphrontNotSupportedQueryException): Database isolation currently only supports some queries. You are trying to issue a query which does not begin with an allowed keyword (INSERT, UPDATE, DELETE, START, SAVEPOINT, COMMIT, ROLLBACK): 'SELECT * FROM <C> WHERE (builtinKey IN ('<S>')) ORDER BY <C> DESC '. #0 /var/www/html/dev/core/lib/libphutil/src/xsprintf/queryfx.php(8): AphrontIsolatedDatabaseConnection->executeRawQuery('SELECT * FROM <...') #1 [internal function]: queryfx(Object(AphrontIsolatedDatabaseConnection), '%Q FROM %T %Q %...', 'SELECT *', 'user_preference...', '', '', 'WHERE (builtinK...', '', '', 'ORDER BY <C> DE...', '')
1 msAlmanacNamesTestCase::Unknown Unit Message ("")
30 assertions passed.
0 msAlmanacServiceTypeTestCase::Unknown Unit Message ("")
1 assertion passed.
0 msAphrontHTTPSinkTestCase::Unknown Unit Message ("")
6 assertions passed.
0 msAphrontHTTPSinkTestCase::Unknown Unit Message ("")
1 assertion passed.
View Full Test Results (1 Failed · 344 Passed)

Event Timeline

chad retitled this revision from to Prettier file embeds.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
epriestley edited edge metadata.

That test issue isn't you, I think it's the unit tests trying to load timezone preferences for the logged-out test user after the recent "logged-out viewers use global default settings" thing, although I'm not sure why it hasn't triggered before. I'll take a look at it.

This revision is now accepted and ready to land.Nov 27 2016, 10:36 PM
This revision was automatically updated to reflect the committed changes.