-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Change the text on top of profile search pages #2520
Comments
love this! I notice that this part "Please enter a tag without wildcards to display lead wiki pages" is pretty deep in the weeds -- is there another way we could explain this and help people find their way to what they are looking for? |
Agreed on both! We actually show something similar on https://publiclab.org/contributors/pm plots2/app/views/tag/_contributors.html.erb Lines 9 to 13 in f3e9406
Or we could adapt the code from the profile page, which is a little complex but not bad: plots2/app/views/users/profile.html.erb Lines 160 to 168 in f3e9406
|
Hey i'm looking into this. Would it be better to put the "Here are all the questions you've asked" next to the asked/answered toggle button? Ive been trying to figure out how to change the message to |
Hi @rtrunkhill, Can't say much about the placement of text, @publiclab/community-reps will update you shortly on that. About the code: You can use JavaScript for updating the text on button click. Like each time button is clicked, send it to JS function. Hope it help! |
oops, sorry |
so I added this code and it works great for the tag/question:* route :
But i haven't been able to find the node_types for act ivies nor replications because something like this:
doesn't bring up the message on the /tag/activity:* route |
Unfortunately we don't have a convenient method for separating out activities or replications -- perhaps we need a convenience method like But for now, you can check by looking if |
i just figured it out, I wrote the code like this it works great. going to submit the pr |
oh cool! |
disregard. i just made the messages more generic and it passed all tests, re submitting the pr now |
I'm interested in adding to that text that appears on top of the profile pages that shows up when you click: "Questions Asked," "Activities Posted," and "Activities Attempted"
(example profile page: https://publiclab.org/profile/stevie)
It currently says:

I'm interested in adding: "Here are all the questions you've asked. This is a wildcard tag search. Please enter a tag without wildcards to display lead wiki pages. Wildcard tag searches use the * asterisk in their URLs"
The text was updated successfully, but these errors were encountered: