Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: file explorer tabs #701

Merged
merged 29 commits into from
Sep 22, 2017
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
50c68f1
Show tabs and swtich working
timotheeguerin Sep 14, 2017
08cd2ea
Working
timotheeguerin Sep 14, 2017
6cb0110
Added close tabs
timotheeguerin Sep 14, 2017
88035f9
Style tweak
timotheeguerin Sep 14, 2017
055e943
Tweak style
timotheeguerin Sep 15, 2017
4a800e5
Don't show file if task is active of preparing
timotheeguerin Sep 15, 2017
c55ba88
File not found
timotheeguerin Sep 15, 2017
7a72569
Fix close style bugt
timotheeguerin Sep 15, 2017
bbf007e
Cleanup
timotheeguerin Sep 15, 2017
9c36a0c
wip
timotheeguerin Sep 15, 2017
b898a1b
Fix
timotheeguerin Sep 15, 2017
cd7760f
Fix middle click scrolling
timotheeguerin Sep 15, 2017
3105ecf
context menu
timotheeguerin Sep 15, 2017
300c9d5
Reneable load all for task
timotheeguerin Sep 15, 2017
6792414
Access tabs with keyboard
timotheeguerin Sep 15, 2017
0749c87
Don't focus on click
timotheeguerin Sep 15, 2017
8f09870
navigator
timotheeguerin Sep 18, 2017
c6164e8
refactor
timotheeguerin Sep 18, 2017
3ec5540
Fix loading folder
timotheeguerin Sep 18, 2017
48f8033
Remove
timotheeguerin Sep 18, 2017
b651c90
Added task outputs test
timotheeguerin Sep 18, 2017
3aabc2d
remove console.log
timotheeguerin Sep 18, 2017
caeb22c
Merge master
timotheeguerin Sep 21, 2017
f43fa22
Tweaks
timotheeguerin Sep 21, 2017
47bad04
SHow open folder icon
timotheeguerin Sep 21, 2017
90b8ee5
fix cr comments
timotheeguerin Sep 21, 2017
9726ee3
Show
timotheeguerin Sep 22, 2017
47cfe9e
Preemted color
timotheeguerin Sep 22, 2017
09564f6
Tree view expand current folder
timotheeguerin Sep 22, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't focus on click
  • Loading branch information
timotheeguerin committed Sep 15, 2017
commit 0749c87a23d6a4d278fc92ad9c178b1dcf5b0443
Original file line number Diff line number Diff line change
@@ -39,11 +39,16 @@ export class FileExplorerTabsComponent implements OnChanges, OnDestroy {
}

@HostListener("mousedown", ["$event"])
public preventMiddleClickScrolling(event) {
if (event.button !== Constants.MouseButton.middle) { return; }
public disableClickDefaultActions(event) {
if (event.button === Constants.MouseButton.left) {
event.preventDefault(); // Prevent focus on left click
}
if (event.button === Constants.MouseButton.middle) {
event.preventDefault(); // Prevent scrolling on middle click
event.stopPropagation();
return;
}

event.preventDefault();
event.stopPropagation();
}

public handleMouseUp(event: MouseEvent, tab) {
Original file line number Diff line number Diff line change
@@ -19,6 +19,7 @@ bl-file-explorer-tabs {
padding-left: 10px;
color: $dove-grey;
border-right: 1px solid $border-color;
user-select: none;
}

> .tab.main {