Skip to content

Feature: New file explorer#643

Merged
timotheeguerin merged 41 commits into
masterfrom
feature/better-file-explorer
Aug 30, 2017
Merged

Feature: New file explorer#643
timotheeguerin merged 41 commits into
masterfrom
feature/better-file-explorer

Conversation

@timotheeguerin
Copy link
Copy Markdown
Member

@timotheeguerin timotheeguerin commented Aug 29, 2017

fix #614

This remove the file page as all the file preview are now inline. This should reduce the number of clicks

image
image

Task output new design
image

image


public treeRows: TreeRow[] = [];
public refreshing: boolean;
private _tree: FileTreeStructure;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extreme nitpick, space between public and private. :)


<bl-node-file-list #list [poolId]="task.poolId" [nodeId]="task.nodeId" [folder]="currentFolder" *ngIf="currentFolder">
</bl-node-file-list>
Cur: {{currentFolder}}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be "Current"? or is "Cur" ok here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope should not be there, debugging, good catch

public walk() {
return this.children.values();
}
public markAsLoaded() {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: newline between methods.

} else {
const parent = path.dirname(nodePath);
if (parent in this.directories) {
// const matchingChild = this.directories[parent].children.filter(x => x.path === nodePath).first();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove if not needed.


for (let file of files.toArray()) {
const node = fileToTreeNode(file);

Copy link
Copy Markdown
Member

@ascobie ascobie Aug 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably remove these newlines to be consistent. (just between the const declarations)

Copy link
Copy Markdown
Member

@ascobie ascobie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved with a couple of non-important suggestions.

@timotheeguerin timotheeguerin merged commit bd8611e into master Aug 30, 2017
@timotheeguerin timotheeguerin deleted the feature/better-file-explorer branch August 30, 2017 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: File explorer

3 participants