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

Remove the unwnated message of 'Please agree to the term of use' #540

Merged
merged 4 commits into from Oct 7, 2020

Conversation

YashAgrawal9265
Copy link
Contributor

@YashAgrawal9265 YashAgrawal9265 commented Oct 1, 2020

Description

Describe your changes in detail following the commit message guidelines

Rationale

Phabricator Ticket

How Has This Been Tested?

Screenshots of your changes (if appropriate):

Types of changes

What types of changes does your code introduce? Add an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@YashAgrawal9265
Copy link
Contributor Author

2020-10-01

I have remove that **blue** message which is shown in image. This message always come when user login

@suecarmol
Copy link
Contributor

Hi, @YashAgrawal9265. Thank you for contributing to the project! This message should appear every time you log into the site without having agreed to the terms of use. Did you agree with the terms of use? If not, could you agree to them and then check if the message appears. Let me know if you still see that message after agreeing to the terms of use.

@YashAgrawal9265
Copy link
Contributor Author

Hi, @suecarmol . I had also checked that message after agreeing to the term of use. The message did not appears

@Samwalton9
Copy link
Member

@suecarmol Yash and I chatted about this a little on the Phabricator ticket and I suggested moving it entirely because the yellow message is always present. It felt redundant to also be showing the one-off blue notice when the yellow one is right below it anyway:
image

@YashAgrawal9265
Copy link
Contributor Author

I had made this commit 9dc78c6. This has pass all the checks .Please review it and suggest if any change needed...

@suecarmol
Copy link
Contributor

Thanks for the information. Can I get a link to the Phabricator ticket? I can't seem to find it in our Kanban board

@YashAgrawal9265
Copy link
Contributor Author

I had not metioned this task on the phabricator , so phabricator ticket is not available

@Samwalton9
Copy link
Member

I misspoke, we spoke via email, not Phabricator :)

Copy link
Contributor

@suecarmol suecarmol left a comment

Choose a reason for hiding this comment

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

This is looking good, I just need some clarifications on some code

Comment on lines 777 to 781
.homeBtn:hover {
background-color:#337ab7;
border-color:#337ab7;
color: #fff;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure about this change here. I believe we should keep the button's default CSS. @Samwalton9 @jsnshrmn what do you think?

This is the current behavior of the default buttons on hover:
Screen Shot 2020-10-06 at 11 52 36

This is the changed behavior of the default buttons on hover:
Screen Shot 2020-10-06 at 11 52 46

If we keep the changes you made, I think the CSS class should be renamed to something different, like default-btn-override:hover

Copy link
Member

Choose a reason for hiding this comment

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

It's not clear to me what problem the css change is solving or how it relates to the pr. I'd exclude the change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should I rename the CSS class right now???

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually It's my mistake that I had put this CSS change in this PR. Instead I should file a another PR for this CSS change.
If you don't like this change, I can remove this...

Copy link
Member

Choose a reason for hiding this comment

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

Let's back up a step: why did you change the css?

Copy link
Member

@jsnshrmn jsnshrmn Oct 6, 2020

Choose a reason for hiding this comment

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

Is there a phab task for the problem that the css change is trying to solve?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought that this change would look nice and more attractive than the default CSS

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, but I had discuss this change with Sam on email

Copy link
Member

Choose a reason for hiding this comment

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

Ah, yeah, I can't really evaluate in that case, but it doesn't seem like an obvious improvement to me since it's a common bootstrap UI metaphor to simply darken the existing color when hovering over an interactive UI element instead of changing colors completely. Will wait to hear back from @Samwalton9 either for evaluation or for more information. I agree with @suecarmol that if we want to accept the change, the class name shouldn't be "homeBtn".

Copy link
Member

Choose a reason for hiding this comment

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

Agreed that the default behaviour is fine, I don't see a need to add complexity for such a minor change.

@YashAgrawal9265
Copy link
Contributor Author

I had removed the changes of CSS which I had made earlier.

Copy link
Contributor

@suecarmol suecarmol left a comment

Choose a reason for hiding this comment

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

Thank you for those changes. Moving to merge this PR.

@suecarmol suecarmol merged commit 48c26c9 into WikipediaLibrary:master Oct 7, 2020
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

4 participants