-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Added support to search for a senator #1329
Conversation
Not sure why the build is failing, it passes both |
Well I can see from https://app.travis-ci.com/github/openaustralia/publicwhip/builds/246194478 that the CI is failing because the regression tests are failing. The most likely explanation is that what's running locally is not the same as what's running on travis! Maybe you forgot to commit something? |
This is a bit weird because I don't have any uncommitted changes. I even went as far as pulling the latest changes from Here is what I get when I run
|
@@ -4,6 +4,8 @@ | |||
<meta charset='utf-8'> | |||
<meta content='IE=edge' http-equiv='X-UA-Compatible'> | |||
<meta content='width=device-width, initial-scale=1' name='viewport'> | |||
<meta content='1234' property='fb:admins'> |
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.
@Taz17 this looks very suspicious. I would guess this is the source of the problem. Why was this committed?
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.
Those were changes made automatically after bundle exec rake
was run. I manually anything under spec/*
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.
It those get changed, that means the regression tests failed!
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.
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.
Why is something to do with a meta tag to do with facebook getting updated in a PR to do with searching?
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.
I don't know, all the changes that I made are regarding search.
What could be the cause of the meta tag getting updated?
As a side note. I just ran the rake tasks on the branch (policy_filter_search_js) to see why PR #1332 was failing the rake tasks and I got the same changes for the facebook meta tags... very odd
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.
I also get the same meta tag changes if i run bundle exec rake
on the master branch (note: i never code on the master branch)... Im considering deleting my fork and re-forking the project
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.
What you need to do is understand where that meta tag is being generated and then figure out what you're doing to cause that to be different on your box vs someone else's box.
This aims to solve need easy way to search for senators #1198 issue.
I made changes to the UI to give the user an example of how to search for a senator. It now rotates between the different examples rather than adding
or Senator for Tasmania
since the width of the randomly chosen placeholder is unpredictableThe search supports all ways of representing a constituency e.g.
Queensland
orQLD
However it does not address this comment #1198 (comment) where I believe the user is trying to search for the senator by postcode? Maybe
Senator for 3166