forked from decidim/decidim
-
Notifications
You must be signed in to change notification settings - Fork 0
Fix standardize home layout menu UX #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rsdeus
wants to merge
8
commits into
develop
Choose a base branch
from
fix/home_menu_layout
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
3104a17
fix: standardize home layout menu UX
rsdeus b9bf736
fix: gap between title and activity in home menu
rsdeus 0b36cbb
fix: mobile top-right menu UX
rsdeus 1dd5d25
fix: add ellipsis to long text in title
rsdeus cf6d0ce
fix: stylelint for _header.scss
rsdeus 7dc923f
fix: update spec for initiative due to CSS class change
rsdeus b179d2f
Merge branch 'develop' into fix/home_menu_layout
rsdeus f5d1642
fix .erb_lint.yml remove text-ellipsis #14242
rsdeus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
decidim-core/app/cells/decidim/participatory_space_dropdown_metadata/metadata.erb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<h4 class="menu-bar__secondary-dropdown__title"><%= title %></h4> | ||
<div class="menu-bar__secondary-dropdown__metadata"> | ||
<% if hashtag.present? %> | ||
<% if hashtag.present? %> | ||
<div class="menu-bar__secondary-dropdown__metadata"> | ||
<span> | ||
<%= icon "twitter-x-line", class: "text-gray fill-current" %> | ||
<%= link_to "##{hashtag}", twitter_hashtag_url(hashtag), target: "_blank", class: "text-secondary underline" %> | ||
</span> | ||
<% end %> | ||
</div> | ||
</div> | ||
<% end %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 5 additions & 11 deletions
16
...dim-core/app/views/layouts/decidim/header/_menu_breadcrumb_main_dropdown_desktop.html.erb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
<div id="<%= id %>" class="menu-bar__main-dropdown"> | ||
<div class="menu-bar__main-dropdown__top"> | ||
<div class="menu-bar__main-dropdown__top-left"> | ||
<div class="menu-bar__main-dropdown__left"> | ||
<div class="menu-bar__main-dropdown__left-top"> | ||
<%= render partial: "layouts/decidim/header/menu_breadcrumb_main_dropdown_top_left" %> | ||
</div> | ||
<%= breadcrumb_root_menu.render %> | ||
</div> | ||
<div class="menu-bar__main-dropdown__bottom"> | ||
<div class="menu-bar__main-dropdown__bottom-left"> | ||
<%= cell("decidim/highlighted_participatory_process", menu_highlighted_participatory_process) %> | ||
</div> | ||
<div class="menu-bar__main-dropdown__bottom-right"> | ||
<%= cell "decidim/content_blocks/menu_breadcrumb_last_activity", current_organization %> | ||
</div> | ||
<%= cell("decidim/highlighted_participatory_process", menu_highlighted_participatory_process) %> | ||
<%= cell "decidim/content_blocks/menu_breadcrumb_last_activity", current_organization %> | ||
</div> | ||
<%= breadcrumb_root_menu.render %> | ||
</div> |
10 changes: 5 additions & 5 deletions
10
decidim-core/app/views/layouts/decidim/header/_menu_breadcrumb_mobile_tablet.html.erb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.