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
Partitioning the individual tags page #5902
Conversation
Hi @gautamig54 Should I start the work on nav tabs to dropdown ? Coz I don't think that it's associated with other parts. |
Sure @CleverFool77. You can start creating that. We can position it once this PR gets merged. I have also started with the main tag card. |
@jywarren This PR is ready for merge. |
@CleverFool77 I would suggest that you start with the image first.It will be better if do things in order. What do you say? |
I'm not yet clear regarding the image. |
The data above the nav tabs will be divided into other segments like, related tags will go to the sidebar, the wiki info and the other options will go to the tag card. |
Exactly. So for now, Should I remove them, later we will add them in sidebar or wherever they are needed. |
Since it is not a shadow page, therefore I don't think removing them is a good idea. We can just change their location as we proceed to the tasks. |
Ohkk. I'll just let it remain like usual at it's position then. And for now I'll work on tag's wiki image adjustment to take full span and those with no wiki to have grey image. And over it to have people following data in right-bottom corner. Cool. |
That sounds great ! |
Ah but if we're not on a shadow page, should we be merging this with the Lorem Ipsum text on the side? Maybe best come up with a short term fix for that, or hold this and open PRs against it so we can merge to master only once it's ready for people to see? Thank you! |
@jywarren Can we add the related tags section on the right side, removing the Lorem Ipsum text. It will good to go as for now, until we add the map. |
Hi @gautamig54 Does UI as per new style guide have related tags section in second column ? If yes, then we can add it. Or else lorem ipsum text for now would be good. or how about combining two parts of the issue here and adding map here only ? So we won't have empty space ? |
Hi @gautamig54 Juts added your PR to project |
There is no section for related tags in the new style guide. I thought it will be good to place them in the side section. This can be a temporary solution. |
great. 🎉 |
Yes, the related tags or map would both work. I actually updated the style
guide with a small section below the main example showing how related tags
could work, after you suggested it! It looks good!
…On Wed, Jun 19, 2019 at 2:54 AM Lekhika Dugtal ***@***.***> wrote:
Hi @gautamig54 <https://github.com/gautamig54> Juts added your PR to
project in-progress card.
Thanks !!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5902?email_source=notifications&email_token=AAAF6J2INLCUVPXVLGH2ORTP3HJWVA5CNFSM4HYEG7JKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYA4GOA#issuecomment-503431992>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6JYPCKU7RJ5TU7IGX3LP3HJWVANCNFSM4HYEG7JA>
.
|
@jywarren I have placed the related tags on the sidebar. This PR is ready for merge. |
It looks great. Any idea why tests aren't passing? Thanks! |
I removed the conflicts and rebased the code, I am not able to understand why the tests aren't passing. |
I saw that the tests are failing because the tests are not able to get the expected components. I think you will have tp rewrite the tests too. Additionally, please restart your Travis once to see which ones were flaky. |
@jywarren This issue is pending to be merged. Kindly look into this. Thanks! |
Hmm. I've seen this before: https://travis-ci.org/publiclab/plots2/jobs/548813611#L4029
I think it's unrelated. I'll restart this but we can also rebase if it fails again. |
Here, on the other hand, i haven't seen this. But we aren't changing controllers, are we? https://travis-ci.org/publiclab/plots2/jobs/548813612#L4029-L4077
|
OK - indeed, these functional tests are testing for things on the page: plots2/test/functional/tag_controller_test.rb Lines 571 to 579 in 78fffff
So, here, some tabs, items have been removed, and we should go through them one by one by the line numbers of the failing tests, and update them to match the new design. Does that make sense? Then we should be good to go! |
We are not making any changes in the controllers. Its just the view files. |
Yes, but the controller expects certain UI components for which it is testing. |
I guess the issue is with the active tabs. That's where the cases are failing. |
Well, you may need to change the functional tests to look for and confirm
your new HTML instead of the previous UI HTML... does that make sense?
…On Mon, Jul 1, 2019 at 11:01 AM Gautami Gupta ***@***.***> wrote:
I guess the issue is with the active tabs. That's where the cases are
failing.
@CleverFool77 <https://github.com/CleverFool77> We still have the tabs
after building a dropdown right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5902?email_source=notifications&email_token=AAAF6J4CGD2MPXKZHKXMV2LP5IL3BA5CNFSM4HYEG7JKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY6M6JA#issuecomment-507301668>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6J3NEEWOGL4OCOELOLLP5IL3BANCNFSM4HYEG7JA>
.
|
Yes but dropdown PR #5925 isn't merged yet. |
#5925 is now merged, and 2 other related ones. Hopefully if this is rebased it'll now resolve? Thanks! |
Fixes #5890 (<=== Add issue number here)
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf 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!