Bug 89961

Summary: Web Inspector: Add DirectoryContentView for FileSystemView
Product: WebKit Reporter: Taiju Tsuiki <tzik>
Component: Web Inspector (Deprecated)Assignee: Taiju Tsuiki <tzik>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 73301, 87856    
Bug Blocks: 68203, 90361    
Attachments:
Description Flags
Screenshot
none
Patch
none
Patch
none
Patch none

Taiju Tsuiki
Reported 2012-06-26 02:03:43 PDT
Created attachment 149487 [details] Screenshot After FileSystemView landed, I'd like to add a view to show details of directory contents. This patch adds DirectoryContentView based on DataGrid, showing name, URL, type and modification time.
Attachments
Screenshot (51.72 KB, image/png)
2012-06-26 02:03 PDT, Taiju Tsuiki
no flags
Patch (10.72 KB, patch)
2012-06-26 02:05 PDT, Taiju Tsuiki
no flags
Patch (11.70 KB, patch)
2012-07-01 21:57 PDT, Taiju Tsuiki
no flags
Patch (11.52 KB, patch)
2012-07-02 00:08 PDT, Taiju Tsuiki
no flags
Taiju Tsuiki
Comment 1 2012-06-26 02:05:58 PDT
Vsevolod Vlasov
Comment 2 2012-06-29 01:06:42 PDT
Comment on attachment 149489 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=149489&action=review > Source/WebCore/inspector/front-end/DirectoryContentView.js:60 > +WebInspector.DirectoryContentView.columnIndices = { We prefer indexes in inspector code. > Source/WebCore/inspector/front-end/DirectoryContentView.js:61 > + NAME: 0, Name > Source/WebCore/inspector/front-end/DirectoryContentView.js:63 > + TYPE: 2, Type > Source/WebCore/inspector/front-end/DirectoryContentView.js:64 > + SIZE: 3, Size > Source/WebCore/inspector/front-end/DirectoryContentView.js:65 > + MTIME: 4 ModificationTime > Source/WebCore/inspector/front-end/DirectoryContentView.js:100 > + if ("size" in metadata) Isn't size always available? > Source/WebCore/inspector/front-end/FileSystemView.js:98 > + } else { else return
Taiju Tsuiki
Comment 3 2012-07-01 21:57:31 PDT
Taiju Tsuiki
Comment 4 2012-07-01 23:56:40 PDT
Comment on attachment 149489 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=149489&action=review >> Source/WebCore/inspector/front-end/DirectoryContentView.js:60 >> +WebInspector.DirectoryContentView.columnIndices = { > > We prefer indexes in inspector code. Done >> Source/WebCore/inspector/front-end/DirectoryContentView.js:61 >> + NAME: 0, > > Name Done >> Source/WebCore/inspector/front-end/DirectoryContentView.js:63 >> + TYPE: 2, > > Type Done >> Source/WebCore/inspector/front-end/DirectoryContentView.js:64 >> + SIZE: 3, > > Size Done >> Source/WebCore/inspector/front-end/DirectoryContentView.js:65 >> + MTIME: 4 > > ModificationTime Done >> Source/WebCore/inspector/front-end/DirectoryContentView.js:100 >> + if ("size" in metadata) > > Isn't size always available? No, it's not available for directories. >> Source/WebCore/inspector/front-end/FileSystemView.js:98 >> + } else { > > else > return Done
Taiju Tsuiki
Comment 5 2012-07-02 00:08:32 PDT
WebKit Review Bot
Comment 6 2012-07-02 05:08:09 PDT
Comment on attachment 150366 [details] Patch Clearing flags on attachment: 150366 Committed r121671: <http://trac.webkit.org/changeset/121671>
WebKit Review Bot
Comment 7 2012-07-02 05:08:14 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.