Skip to content
This repository was archived by the owner on Jan 27, 2021. It is now read-only.

Commit dfb5c6b

Browse files
committed
Merge branch 'release/1.0.0-alpha.5'
2 parents 53a0e9a + 80f9608 commit dfb5c6b

File tree

8 files changed

+36
-21
lines changed

8 files changed

+36
-21
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
# Change Log
22

3-
## [Unreleased](https://github.com/paxtonhare/marklogic-debugger/tree/v1.0.0-alpha.4)
3+
## [v1.0.0-alpha.5](https://github.com/paxtonhare/marklogic-debugger/tree/v1.0.0-alpha.5)
44

5+
[Full Changelog](https://github.com/paxtonhare/marklogic-debugger/compare/v1.0.0-alpha.4...v1.0.0-alpha.5)
6+
7+
**Closed issues:**
8+
9+
- Add scroll bar to the Console area [\#15](https://github.com/paxtonhare/marklogic-debugger/issues/15)
10+
- debug area changes height when stepping [\#14](https://github.com/paxtonhare/marklogic-debugger/issues/14)
11+
- Welcome dialog is showing many times [\#13](https://github.com/paxtonhare/marklogic-debugger/issues/13)
12+
13+
## [v1.0.0-alpha.4](https://github.com/paxtonhare/marklogic-debugger/tree/v1.0.0-alpha.4) (2017-02-10)
514
[Full Changelog](https://github.com/paxtonhare/marklogic-debugger/compare/v1.0.0-alpha.3...v1.0.0-alpha.4)
615

716
**Closed issues:**

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=1.0.0-alpha.4
1+
version=1.0.0-alpha.5
22

src/main/ui/app/grid/grid.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
$value : #{($i * 5) / 100};
7070

7171
/deep/ .#{$flexName}-#{$i * 5} {
72-
flex-grow: #{$value};
72+
flex: #{$value} 1 0%
7373
}
7474
}
7575
}

src/main/ui/app/home/home.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</mdl-layout-header>
1717
<mdl-layout-content>
1818
<div gm-grid>
19-
<div gm-row class="flex flex-80">
19+
<div gm-row class="flex flex-70">
2020
<div gm-col class="flex flex-30 files">
2121
<template [ngIf]="selectedServer">
2222
<div class="section-title">
@@ -37,7 +37,7 @@
3737
<gm-divider></gm-divider>
3838
<div gm-col class="flex flex-70">
3939
<div class="fill-height" *ngIf="currentUri">
40-
<div class="section-title">File View: {{currentUri}} <span>{{currentExpression}}</span></div>
40+
<div class="section-title">File View: {{currentUri}}</div>
4141
<div class="section-body">
4242
<app-codemirror *ngIf="fileText"
4343
[ngModel]="fileText"
@@ -53,7 +53,7 @@
5353
<div gm-divider class="debug-divider">
5454
<span>Debug Area</span>
5555
</div>
56-
<div gm-row class="flex flex-20 debug-area">
56+
<div gm-row class="flex flex-30 debug-area">
5757
<div gm-col class="flex flex-30 debugger">
5858
<div class="disabled" *ngIf="!requestId">
5959
<span>DEBUG A REQUEST TO ENABLE</span>
@@ -84,7 +84,7 @@
8484
<p *ngIf="!hasVariables()">&nbsp;</p>
8585
</app-subsection>
8686
<app-subsection [title]="'Console'">
87-
<div class="console-buttons">
87+
<div class="console-buttons" section-header>
8888
<button md-button (click)="clearConsole()">Clear</button>
8989
</div>
9090
<div *ngFor="let output of consoleOutput" class="console-output">

src/main/ui/app/home/home.component.scss

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,13 @@ $hover-color: unquote("rgb(#{$palette-debugger-50})");
166166
.debugger {
167167
position: relative;
168168

169+
.section-body {
170+
display: flex;
171+
flex: 1;
172+
flex-direction: column;
173+
overflow-y: scroll;
174+
}
175+
169176
.disabled {
170177
position: absolute;
171178
top: 0px;
@@ -227,9 +234,11 @@ $hover-color: unquote("rgb(#{$palette-debugger-50})");
227234

228235
ul.frames {
229236
list-style: none;
230-
padding: 0px 10px;
237+
padding: 0px;
238+
margin: 0px;
231239

232240
li {
241+
padding: 5px;
233242
cursor: default;
234243
&:hover {
235244
background-color: $hover-color;
@@ -319,7 +328,5 @@ ul.frames {
319328
}
320329

321330
.console-buttons {
322-
position: absolute;
323-
top: 30px;
324-
right: 10px;
331+
float: right;
325332
}

src/main/ui/app/home/home.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export class HomeComponent implements OnInit, OnDestroy {
3939
consoleOutput: Array<any> = [];
4040
commandHistory: Array<string> = [];
4141
commandHistoryIndex: number = -1;
42+
welcomeShown: boolean = false;
4243

4344
breakpointsSet: boolean = false;
4445

@@ -102,8 +103,9 @@ export class HomeComponent implements OnInit, OnDestroy {
102103
this.currentUri = null;
103104
}
104105

105-
if (localStorage.getItem('_show_welcome_') !== 'false') {
106+
if (!this.welcomeShown && localStorage.getItem('_show_welcome_') !== 'false') {
106107
this.showWelcome();
108+
this.welcomeShown = true;
107109
}
108110

109111
},
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
<div class="sub-section">
2-
<div class="title" (click)="toggleCollapsed()" [ngClass]="{'collapsed' : isCollapsed()}"><mdl-icon>arrow_drop_down</mdl-icon> {{title}}</div>
3-
<div class="body" *ngIf="!isCollapsed()">
4-
<ng-content></ng-content>
5-
</div>
1+
<div class="title" (click)="toggleCollapsed()" [ngClass]="{'collapsed' : isCollapsed()}">
2+
<mdl-icon>arrow_drop_down</mdl-icon> {{title}}
3+
<ng-content select="[section-header]"></ng-content>
4+
</div>
5+
<div class="body" *ngIf="!isCollapsed()">
6+
<ng-content></ng-content>
67
</div>

src/main/ui/app/subsection/subsection.component.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.sub-section {
2-
position: relative;
3-
}
4-
51
.title {
62
background-color: #f3f3f3;
73
padding: 2px;

0 commit comments

Comments
 (0)