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

User experience improvement - Remove the confusing mixed terminology used to describe Tags: "Tags (Categories)" and "Tag (Category)" #20268

Merged
merged 1 commit into from
Jun 20, 2021

Conversation

agileware-justin
Copy link
Contributor

Overview

Remove the confusing mixed terminology used to describe Tags: "Tags (Categories)" and "Tag (Category)".
This comes up during CiviCRM training as questions like: "What's a Category? And what's the difference between Tags and Categories? Where are the Categories?".
This is a small user experience improvement.

Before

Confusing mixed terminology used to describe Tags: "Tags (Categories)" and "Tag (Category)"

Screenshot_20210511_143922

After

Removed "(Categories)" and "(Category)" from the menu.

Technical Details

SQL update task added to CRM/Upgrade/Incremental/sql/5.39.alpha1.mysql.tpl - don't know if this is the way to do it, just a guess.

Comments

Agileware Ref: CIVICRM-1725

@civibot
Copy link

civibot bot commented May 11, 2021

(Standard links)

@civibot civibot bot added the master label May 11, 2021
@colemanw
Copy link
Member

colemanw commented Jun 2, 2021

@agileware-justin are you able to make those changes suggested by @demeritcowboy? He is correct that when updating labels in the UI, as a general rule it's not a good idea to update the machine names (even if those names are really dumb).

@agileware-justin
Copy link
Contributor Author

@colemanw done

@colemanw
Copy link
Member

colemanw commented Jun 3, 2021

Ok this still needs regen.sh run.

@demeritcowboy
Copy link
Contributor

Justin said he was unable to run regen, but my thinking is a direct file edit would be fine here since no ids are changing.

@colemanw
Copy link
Member

colemanw commented Jun 3, 2021

I guess I'm not 100% clear on what needs updating. This PR affects both the civicrm_navigation and civicrm_menu tables, and I think the menu item gets its name from the <title> which means that would be updating as well?

@agileware-justin
Copy link
Contributor Author

@demeritcowboy I've added the sql/civicrm_generated.mysql you provided here (thanks), master...demeritcowboy:20268-2

Not sure why the bot is failing the build now. Any ideas?

@demeritcowboy
Copy link
Contributor

The link in your comment is correct but it looks like it's the earlier patch that's in this PR?

@agileware-justin agileware-justin force-pushed the CIVICRM-1725 branch 3 times, most recently from a131fa7 to b4dfeae Compare June 20, 2021 08:02
@agileware-justin
Copy link
Contributor Author

@demeritcowboy thanks for the Regen workflow, that's super handy. Regen'd SQL file updated to PR.

@agileware-justin
Copy link
Contributor Author

Thanks for sticking with it just it's still changing the name field too instead of just the label

Right, because of this previous comment, gotcha.

I don't think name should be updated. It would be label to update. If we could go back in time to around 2009 the name field should really be called internalLookupKey or machineName and have its value be an integer or something obviously used as a fixed key and not for display.

… terminology used to describe Tags: "Tags (Categories)" and "Tag (Category)"
@demeritcowboy demeritcowboy merged commit f1aeb97 into civicrm:master Jun 20, 2021
@demeritcowboy
Copy link
Contributor

Yay!
There's no appropriate label in github to categorize this with so I'll just leave it untagged.

@agileware-justin
Copy link
Contributor Author

It's handy to tag which CiviCRM release it'll be included with.

@agileware-justin
Copy link
Contributor Author

Thanks for your help @demeritcowboy in getting this one over the line. Such a simple change, so many hoops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants