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 powertag in basic search #4232
Conversation
Generated by 🚫 Danger |
OK - i think we may need to add a test for this -- could we: get :index, params: { basic: true }
assert_not assigns(:tags).include?('activity:____') # some tag from our fixtures which would show up in first page of results
get :index, params: { basic: false }
assert assigns(:tags).include?('activity:____') How does that sound? Thanks! |
It would be pretty exciting to see powertags removed in basic search, especially now that there's a great visualization already live on https://publiclab.org/stats/graph?limit=50, and continuing to be improved in #1502. How close is this test to completion @JonathanXu1 so we could add your work? |
As the person is inactive for more than a month, I am closing the PR. In case you want to push changes please feel free to open a new PR OR reopen this PR and add additional changes to it. |
Fixes #3482
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 belowI'm currently trying to solve the issue of powertags (example:tag) cluttering the results field. This pull request is work in progress at removing tags with ":" if the type parameter = "basic". First, I've applied @jywarren 's suggested changes.
However, while testing it seems that this doesn't fix the issue:
I would really appreciate any help from @publiclab/reviewers for pointers to start debugging plots2/app/controllers/tag_controller.rb .