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

Listing tags #2092

Merged
merged 6 commits into from
Mar 29, 2017
Merged

Listing tags #2092

merged 6 commits into from
Mar 29, 2017

Conversation

antgonza
Copy link
Member

@antgonza antgonza commented Mar 26, 2017

ToDo:

  • make tests pass
  • test in qiita-test env

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 91.613% when pulling c457554 on antgonza:listing-tags into 2795046 on biocore:master.

@antgonza
Copy link
Member Author

This should be ready for review after #2088 is merged. This code has been deployed in the test env and seems to be working fine. Note that I had to update some js and css libraries

Example of functionality, see how the "regular" search and the tags interact nicely:
tags

@antgonza antgonza changed the title WIP: Listing tags Listing tags Mar 27, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 91.603% when pulling bba8f03 on antgonza:listing-tags into 2795046 on biocore:master.

self.assertEqual(response.body, exp)


class TestStudyTags(OauthTestingBase):
Copy link
Contributor

Choose a reason for hiding this comment

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

should there be negative test cases?

@antgonza
Copy link
Member Author

Thanks @wasade note that this is based on: #2088 ....

@wasade
Copy link
Contributor

wasade commented Mar 27, 2017

Should I not review this then?

@wasade wasade mentioned this pull request Mar 27, 2017
@josenavas
Copy link
Contributor

@antgonza can you pull from upstream/master?

@antgonza
Copy link
Member Author

pull from upstream/master ready. Note that currently we are using tag-it also to display it and it looks like this:
screen shot 2017-03-27 at 4 55 55 pm
but I could simplify things so it looks like this:
screen shot 2017-03-27 at 4 56 00 pm
I really don't have a preference but wanted to ask ...

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling fdb6723 on antgonza:listing-tags into ** on biocore:master**.

@antgonza
Copy link
Member Author

@wasade, @josenavas, @ElDeveloper, could you review?

@josenavas
Copy link
Contributor

Thanks @antgonza code looks good!

Answering your last question - I think either looks fine, I don't have a strong preference. What I don't really like is the position of the filter. i.e. I don't like it showing inside the table. Is it easy to have on top of the table (i.e. above the headers?). The reason why I don't like it there is because it looks like only applies to the top table, but it should be applied to both tables (private and public studies).

Do you think that change can be done easily?

@antgonza
Copy link
Member Author

Not difficult at all, we have 3 options:

  1. what we have now
  2. this: screen shot 2017-03-29 at 11 42 40 am
  3. or this: screen shot 2017-03-29 at 11 42 13 am

@ElDeveloper
Copy link
Member

Option 2 looks great 👍

@josenavas
Copy link
Contributor

My vote goes to 2 - I like when things are modular and can be moved around!!! :D

@antgonza
Copy link
Member Author

This is the pushed version: screen shot 2017-03-29 at 11 50 07 am

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling e306f32 on antgonza:listing-tags into ** on biocore:master**.

@wasade
Copy link
Contributor

wasade commented Mar 29, 2017

merge?

@ElDeveloper
Copy link
Member

:shipit:

@wasade wasade merged commit d803f42 into qiita-spots:master Mar 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants