Skip to content

Commit 725fe94

Browse files
committed
fix several issues
1 parent fd7148c commit 725fe94

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5-
## [0.5.7] - in progress
5+
## [0.5.7] - 2016-03-17
66
- @action(openConsole)
77
- style improvements
88
- bug fixes

lib/components/page/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var default_1 = (function (_super) {
2828
var _a = this.props, page = _a.page, taskPosition = _a.taskPosition, hintPosition = _a.hintPosition, tasks = _a.tasks, runTests = _a.runTests;
2929
var currentTask = taskPosition <= tasks.length ? tasks[taskPosition] : null;
3030
var allComplete = taskPosition >= tasks.length;
31-
return (React.createElement(material_ui_1.Paper, {style: pageStyle, zDepth: 1, className: 'cr-page'}, React.createElement(content_1.default, {page: page}), React.createElement(material_ui_1.Divider, null), React.createElement(task_1.Tasks, {tasks: tasks, taskPosition: taskPosition, runTests: runTests}), React.createElement(hint_1.default, {task: currentTask, hintPosition: hintPosition}), React.createElement(page_complete_1.PageCompleteMessage, {page: page}), React.createElement("div", {className: 'listEnd', ref: 'listEnd'}), React.createElement(toolbar_1.default, {tasks: tasks, taskPosition: taskPosition})));
31+
return (React.createElement(material_ui_1.Paper, {style: pageStyle, zDepth: 1, className: 'cr-page', ref: 'page'}, React.createElement(content_1.default, {page: page}), React.createElement(material_ui_1.Divider, null), React.createElement(task_1.Tasks, {tasks: tasks, taskPosition: taskPosition, runTests: runTests}), React.createElement("div", {className: 'listEnd', ref: 'listEnd'}), React.createElement(hint_1.default, {task: currentTask, hintPosition: hintPosition}), React.createElement(page_complete_1.PageCompleteMessage, {page: page}), React.createElement(toolbar_1.default, {tasks: tasks, taskPosition: taskPosition})));
3232
};
3333
return default_1;
3434
}(React.Component));

lib/services/setGlobals.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function loadRunnerDep(config) {
2626
runnerRoot = treeDep;
2727
}
2828
else {
29-
var message = 'Error loading test runner. Post an issue.';
29+
var message = 'Error loading test runner. Post an issue. https://github.com/coderoad/atom-coderoad/issues';
3030
console.log(message);
3131
throw message;
3232
}

src/components/_app.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@import './start/_start';
1010

1111
atom-panel-container > atom-panel > #crv {
12-
animation: slide 0.3s forwards;
12+
animation: slide 0.5s forwards;
1313
animation-timing-function: ease-in-out;
1414
font-size: @input-font-size;
1515
}

src/components/app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as ThemeManager from 'material-ui/lib/styles/theme-manager';
77
let height: number = atom.getSize().height;
88
window.onresize = function() {
99
height = atom.getSize().height;
10-
}
10+
};
1111

1212
@ThemeDecorator(ThemeManager.getMuiTheme(Theme))
1313
@connect((state: CR.State) => {

src/components/page/_page.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
.cr-page {
22
position: relative;
3+
overflow-y: scroll;
34
&-listEnd {
4-
height: 70px;
5+
56
}
67
&-onComplete {
78
margin-bottom: 70px;

src/components/page/page.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ render() {
3434
const allComplete = taskPosition >= tasks.length;
3535

3636
return (
37-
<Paper style={pageStyle} zDepth={1} className='cr-page'>
37+
<Paper style={pageStyle} zDepth={1} className='cr-page' ref='page'>
3838
<PageContent page={page} />
3939
<Divider />
4040

4141
<Tasks tasks={tasks} taskPosition={taskPosition} runTests={runTests} />
42+
<div className='listEnd' ref='listEnd'></div>
4243
<Hints task={currentTask} hintPosition={hintPosition} />
4344
<PageCompleteMessage page={page} />
44-
<div className='listEnd' ref='listEnd'></div>
45-
4645
<PageToolbar tasks={tasks} taskPosition={taskPosition} />
4746
</Paper>
4847
);

src/services/setGlobals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function loadRunnerDep(config: PackageJson) {
2828
runnerMain = require(treeDep).main;
2929
runnerRoot = treeDep;
3030
} else {
31-
let message = 'Error loading test runner. Post an issue.';
31+
let message = 'Error loading test runner. Post an issue. https://github.com/coderoad/atom-coderoad/issues';
3232
console.log(message);
3333
throw message;
3434
}

0 commit comments

Comments
 (0)