Page MenuHomePhabricator

Prettier file embeds
ClosedPublic

Authored by chad on Nov 27 2016, 10:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 3:08 AM
Unknown Object (File)
Sat, Dec 7, 4:04 PM
Unknown Object (File)
Fri, Dec 6, 12:58 PM
Unknown Object (File)
Sat, Nov 30, 2:14 PM
Unknown Object (File)
Fri, Nov 22, 2:16 AM
Unknown Object (File)
Oct 21 2024, 7:14 PM
Unknown Object (File)
Oct 19 2024, 5:40 AM
Unknown Object (File)
Oct 18 2024, 6:28 AM
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.