-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
modify power tag display to use mini cards #8684
Conversation
Codecov Report
@@ Coverage Diff @@
## main #8684 +/- ##
==========================================
+ Coverage 81.77% 82.01% +0.23%
==========================================
Files 101 100 -1
Lines 5905 5889 -16
==========================================
+ Hits 4829 4830 +1
+ Misses 1076 1059 -17
|
add hide_button and grey local vars
ok, removed followers count from power tags |
|
OK - errors:
|
@@ -1,4 +1,4 @@ | |||
<div class="card" style="clear:left;"> | |||
<div class="card<% if local_assigns[:hide_button] %> more-tags<% end %>" style="clear:left;<% if local_assigns[:hide_buttong] %>display:none;<% end %><% if local_assigns[:grey] %>background:#eee;<% end %>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could redo the background here using css and then system test for it...
OK cool - so on adding tags, they don't yet display in cards, so we are seeing this first error:
Then, probably we have to update the selectors to the card-style deletion buttons: (DONE)
|
Code Climate has analyzed commit b007b81 and detected 0 issues on this pull request. View more on Code Climate. |
Great, next we'll get the tag display for JS/Ajax inserted tags to be a card, not a badge: plots2/app/assets/javascripts/tagging.js Lines 95 to 101 in b007b81
Could we load it as a partial, from Rails, maybe, so it's identical, and not duplicated code? It'd take a new controller action, i think. |
excited for this to merge! |
Hi 😄, this issue has been automatically marked as stale because it has not had recent activity. Don't worry you can continue to work on this and ask @publiclab/reviewers to add |
Builds on part of #6593 --
Using https://getbootstrap.com/docs/4.4/components/card/
After, we are aiming for the badges to look like this: