Page MenuHomePhabricator

Prettier file embeds
ClosedPublic

Authored by chad on Nov 27 2016, 10:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 1, 9:45 AM
Unknown Object (File)
Mon, Apr 29, 9:48 AM
Unknown Object (File)
Wed, Apr 24, 11:40 PM
Unknown Object (File)
Fri, Apr 19, 5:46 PM
Unknown Object (File)
Tue, Apr 16, 4:50 PM
Unknown Object (File)
Sat, Apr 6, 9:02 AM
Unknown Object (File)
Apr 2 2024, 4:13 PM
Unknown Object (File)
Mar 15 2024, 9:57 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.