Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
diaspora
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Milan
diaspora
Commits
93037098
Unverified
Commit
93037098
authored
Aug 21, 2016
by
Dennis Schubert
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7014 from svbergerem/remove-stream-title
Remove stream title from main stream
parents
c4485a72
fa06eba8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
17 deletions
+2
-17
app/assets/javascripts/app/app.js
app/assets/javascripts/app/app.js
+0
-6
app/assets/javascripts/app/views/aspects_list_view.js
app/assets/javascripts/app/views/aspects_list_view.js
+0
-6
app/assets/stylesheets/stream.scss
app/assets/stylesheets/stream.scss
+1
-0
app/views/aspects/_aspect_stream.haml
app/views/aspects/_aspect_stream.haml
+0
-4
features/desktop/keyboard_navigation.feature
features/desktop/keyboard_navigation.feature
+1
-1
No files found.
app/assets/javascripts/app/app.js
View file @
93037098
...
...
@@ -108,12 +108,6 @@ var app = {
evt
.
preventDefault
();
var
link
=
$
(
this
);
if
(
link
.
data
(
"
stream-title
"
)
&&
link
.
data
(
"
stream-title
"
).
length
)
{
$
(
"
.stream-title
"
).
text
(
link
.
data
(
"
stream-title
"
));
}
else
{
$
(
"
.stream-title
"
).
text
(
link
.
text
());
}
$
(
"
html, body
"
).
animate
({
scrollTop
:
0
});
// app.router.navigate doesn't tell us if it changed the page,
...
...
app/assets/javascripts/app/views/aspects_list_view.js
View file @
93037098
...
...
@@ -15,7 +15,6 @@ app.views.AspectsList = app.views.Base.extend({
initialize
:
function
()
{
this
.
collection
.
on
(
"
change
"
,
this
.
toggleSelector
,
this
);
this
.
collection
.
on
(
"
change
"
,
this
.
updateStreamTitle
,
this
);
this
.
collection
.
on
(
"
aspectStreamFetched
"
,
this
.
updateAspectList
,
this
);
app
.
events
.
on
(
"
aspect:create
"
,
function
(
id
)
{
window
.
location
=
"
/contacts?a_id=
"
+
id
});
},
...
...
@@ -26,7 +25,6 @@ app.views.AspectsList = app.views.Base.extend({
postRenderTemplate
:
function
()
{
this
.
collection
.
each
(
this
.
appendAspect
,
this
);
this
.
updateStreamTitle
();
this
.
toggleSelector
();
},
...
...
@@ -58,10 +56,6 @@ app.views.AspectsList = app.views.Base.extend({
}
},
updateStreamTitle
:
function
()
{
$
(
"
.stream-title
"
).
text
(
this
.
collection
.
toSentence
());
},
updateAspectList
:
function
()
{
this
.
collection
.
each
(
function
(
aspect
)
{
var
element
=
this
.
$
(
"
li[data-aspect_id=
"
+
aspect
.
get
(
"
id
"
)
+
"
]
"
);
...
...
app/assets/stylesheets/stream.scss
View file @
93037098
...
...
@@ -5,6 +5,7 @@
}
.main-stream-publisher
{
margin-top
:
20px
;
padding
:
0
;
.avatar
{
...
...
app/views/aspects/_aspect_stream.haml
View file @
93037098
...
...
@@ -2,10 +2,6 @@
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
-
if
user_signed_in?
&&
@person
!=
current_user
.
person
%h3
.stream-title
=
stream
.
title
.container-fluid.main-stream-publisher
.pull-left.hidden-xs
=
owner_image_link
...
...
features/desktop/keyboard_navigation.feature
View file @
93037098
...
...
@@ -25,7 +25,7 @@ Feature: Keyboard navigation
Scenario
:
navigate downwards after changing the stream
When
I go to the activity stream page
And
I click on selector
"[data-stream='stream'] a"
Then
I should see
"Stream"
within
"
.stream-title
"
Then
I should see
"Stream"
within
"
#stream_selection .selected
"
When
I press the
"J"
key somewhere
Then
post 1 should be highlighted
...
...
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