BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
7e2f5677
Unverified
Commit
7e2f5677
authored
May 01, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stop expanding form below window height
update lastOpenedAt for pending files
parent
d995eb28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
form.vue
...assets/javascripts/ide/components/commit_sidebar/form.vue
+3
-1
file.js
app/assets/javascripts/ide/stores/mutations/file.js
+1
-0
No files found.
app/assets/javascripts/ide/components/commit_sidebar/form.vue
View file @
7e2f5677
...
@@ -36,7 +36,9 @@ export default {
...
@@ -36,7 +36,9 @@ export default {
},
},
watch
:
{
watch
:
{
currentActivityView
()
{
currentActivityView
()
{
this
.
isCompact
=
this
.
currentActivityView
!==
activityBarViews
.
commit
;
this
.
isCompact
=
!
(
this
.
currentActivityView
===
activityBarViews
.
commit
&&
window
.
innerHeight
>=
750
);
},
},
},
},
methods
:
{
methods
:
{
...
...
app/assets/javascripts/ide/stores/mutations/file.js
View file @
7e2f5677
...
@@ -176,6 +176,7 @@ export default {
...
@@ -176,6 +176,7 @@ export default {
[
file
.
path
]:
Object
.
assign
(
state
.
entries
[
file
.
path
],
{
[
file
.
path
]:
Object
.
assign
(
state
.
entries
[
file
.
path
],
{
opened
:
false
,
opened
:
false
,
active
:
false
,
active
:
false
,
lastOpenedAt
:
new
Date
().
getTime
(),
}),
}),
}),
}),
openFiles
:
[
openFiles
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment