added mobile buttons for streams

Fixed sizes for drawer buttons

Added buttons for stream and public stream in mobile drawer

closes #7144
This commit is contained in:
Muhannes 2016-10-11 20:02:39 +02:00 committed by Steffen van Bergerem
parent cdcf2d747e
commit c5b133d3e8
No known key found for this signature in database
GPG key ID: 315C9787D548DC6B
4 changed files with 15 additions and 2 deletions

View file

@ -44,6 +44,7 @@ Note: Although this is a minor release, the configuration file changed because t
* Add In-Reply-To and References headers to notification mails [#7122](https://github.com/diaspora/diaspora/pull/7122)
* Directly link to a comment in commented notification mails [#7124](https://github.com/diaspora/diaspora/pull/7124)
* Add optional `Content-Security-Policy` header [#7128](https://github.com/diaspora/diaspora/pull/7128)
* Add links to main stream and public stream to the mobile drawer [#7144](https://github.com/diaspora/diaspora/pull/7144)
# 0.6.0.1

View file

@ -149,7 +149,7 @@ $mobile-navbar-height: 46px;
li {
font-size: 1.8rem;
line-height: 25px;
line-height: 2rem;
color: $light-grey;
border-bottom: solid $navbar-inverse-border 1px;
}
@ -179,7 +179,7 @@ $mobile-navbar-height: 46px;
.avatar {
height: 35px;
width: 35px;
margin: -5px 5px;
margin: -7px 5px;
float: right;
}
}

View file

@ -8,6 +8,7 @@
autocomplete: "off", class: "ac_input form-control"
%nav.navbar-inverse
%ul
%li= link_to t("streams.multi.title"), stream_path
%li= link_to t("streams.activity.title"), activity_stream_path
%li= link_to t("streams.mentions.title"), mentioned_stream_path
%li#all_aspects
@ -25,6 +26,7 @@
- if current_user.followed_tags.length > 0
%li.manage-followed-tags
= link_to t("tag_followings.manage.title"), manage_tag_followings_path
%li= link_to t("streams.public.title"), public_stream_path
%li
= link_to user_profile_path(current_user.username) do
= t("layouts.header.profile")

View file

@ -40,6 +40,11 @@ Feature: Navigate between pages using the header menu and the drawer
Then I should see a "#q" within "#drawer"
When I search for "#bob"
Then I should be on the tag page for "bob"
Scenario: navigate to the stream page
When I open the drawer
And I click on "Stream" in the drawer
Then I should be on the stream page
Scenario: navigate to my activity page
When I open the drawer
@ -70,6 +75,11 @@ Feature: Navigate between pages using the header menu and the drawer
And I click on "#Followed tags" in the drawer
And I click on "Manage followed tags" in the drawer
Then I should be on the manage tag followings page
Scenario: navigate to the public stream page
When I open the drawer
And I click on "Public activity" in the drawer
Then I should be on the public stream page
Scenario: navigate to my profile page
When I open the drawer