Skip to content
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

Power tags are displayed as mini cards in the sidebar #9849

Merged
merged 15 commits into from
Jun 27, 2021

Conversation

Manasa2850
Copy link
Member

@Manasa2850 Manasa2850 commented Jun 23, 2021

Part of #9668

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • PR is descriptively titled 📑 and links the original issue above 🔗
  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with rake test
  • code is in uniquely-named feature branch and has no merge conflicts 📁
  • screenshots/GIFs are attached 📎 in case of UI updation
  • ask @publiclab/reviewers for help, in a comment below

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software

Thanks!

@gitpod-io
Copy link

gitpod-io bot commented Jun 23, 2021

@codecov
Copy link

codecov bot commented Jun 23, 2021

Codecov Report

❗ No coverage uploaded for pull request base (main@ba7b7bd). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 3096b53 differs from pull request most recent head 864f440. Consider uploading reports for the commit 864f440 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9849   +/-   ##
=======================================
  Coverage        ?   79.55%           
=======================================
  Files           ?       98           
  Lines           ?     5962           
  Branches        ?        0           
=======================================
  Hits            ?     4743           
  Misses          ?     1219           
  Partials        ?        0           

@Manasa2850 Manasa2850 changed the title Improve the display of power tag cards in the sidebar Power tags are displayed as mini cards in the sidebar Jun 23, 2021
@Manasa2850
Copy link
Member Author

Screenshot 2021-06-24 00:24:31

test/system/post_test.rb Outdated Show resolved Hide resolved
@codeclimate
Copy link

codeclimate bot commented Jun 25, 2021

Code Climate has analyzed commit 864f440 and detected 0 issues on this pull request.

View more on Code Climate.

Copy link
Contributor

@RuthNjeri RuthNjeri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me @Manasa2850 🎉

@jywarren
Copy link
Member

Hi all, this looks great! I see your follow-up in #9849 and wanted to note that you can open a PR against another branch, i.e. against another PR - so that this and the other could be merged together. Or you could do it so that that one includes the commits from this one. Either way, right now we have more than 2 showing on the stable server, which is not a critical problem but we would generally like to avoid having stable in a state where it's not publishable to the live site. I hope this makes sense, and great work overall!!

image

https://stable.publiclab.org/wiki/coqui

jywarren pushed a commit that referenced this pull request Jul 6, 2021
… in the sidebar (#9863)

* only 2 tag cards in the sidebar

* update post_test.rb

* update post_test.rb

* fixed display bug

* fix failing system test

* remove comments

* fix system test

* fix system test

* added space between card and badge
17sushmita pushed a commit to 17sushmita/plots2 that referenced this pull request Jul 7, 2021
… shows up in the sidebar (publiclab#9863)

* only 2 tag cards in the sidebar

* update post_test.rb

* update post_test.rb

* fixed display bug

* fix failing system test

* remove comments

* fix system test

* fix system test

* added space between card and badge
reginaalyssa pushed a commit to reginaalyssa/plots2 that referenced this pull request Oct 16, 2021
* added minicard for power tag

* fix failing system tests

* fix failing system tests

* fix failing system tests

* changed card to card-body

* added onClick check

* update post_test.rb

* update post_test.rb

* update post_test.rb

* update post_test.rb

* revert test

* added :first-of-type

* added :first-of-type

* added :first-of-type

* added match
reginaalyssa pushed a commit to reginaalyssa/plots2 that referenced this pull request Oct 16, 2021
… shows up in the sidebar (publiclab#9863)

* only 2 tag cards in the sidebar

* update post_test.rb

* update post_test.rb

* fixed display bug

* fix failing system test

* remove comments

* fix system test

* fix system test

* added space between card and badge
billymoroney1 pushed a commit to billymoroney1/plots2 that referenced this pull request Dec 28, 2021
* added minicard for power tag

* fix failing system tests

* fix failing system tests

* fix failing system tests

* changed card to card-body

* added onClick check

* update post_test.rb

* update post_test.rb

* update post_test.rb

* update post_test.rb

* revert test

* added :first-of-type

* added :first-of-type

* added :first-of-type

* added match
billymoroney1 pushed a commit to billymoroney1/plots2 that referenced this pull request Dec 28, 2021
… shows up in the sidebar (publiclab#9863)

* only 2 tag cards in the sidebar

* update post_test.rb

* update post_test.rb

* fixed display bug

* fix failing system test

* remove comments

* fix system test

* fix system test

* added space between card and badge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants