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

[UX] The exposed filter for 'Username' is labeled 'Name' which can be confusing #2302

Closed
klonos opened this issue Oct 22, 2016 · 11 comments
Closed

Comments

@klonos
Copy link
Member

klonos commented Oct 22, 2016

In backdrop-ops/docs.backdropcms.org#196 before assigning the "Editor" role to @olafgrabienski I wanted to first check what roles are assigned to me. So, I logged in to b.org and navigated to the manage user accounts page and searched for "gregory":

backdropcms org-manage_user_accounts-search_only_by_username

There were no results because the exposed search filter "Name" only searches by username. So, I've changed that to a "Global: Combine fields filter" that searches by both username and full name:

backdropcms org-manage_user_accounts-search_by_username_and_full_name

Lets have that be the default with core so that users don't have to wonder and then have to do the extra work. Things work out of the box = better UX 😉


PR by @klonos: backdrop/backdrop#1628
PR by @quicksketch: backdrop/backdrop#2207

@klonos klonos added this to the 1.5.2 milestone Oct 22, 2016
@klonos klonos self-assigned this Oct 22, 2016
@klonos
Copy link
Member Author

klonos commented Oct 22, 2016

PS: sorry for making the change without filing a proper issue under the borg issue queue @jenlampton. What is the roper way to propose changes for the website? Do we create PRs? If so, how do we do that for views? Do we export the view after we make the changes and provide a diff?

@jenlampton
Copy link
Member

jenlampton commented Oct 24, 2016

There is no "full name" thing in backdrop core, so we can't make this change anywhere else other than backdropcms.org.

@jenlampton jenlampton removed this from the 1.5.2 milestone Oct 24, 2016
@jenlampton jenlampton changed the title [UX] Make it so that the "Name" exposed filter in the "Admin users" page searches by both username and full name. [UX] The exposed filter for 'Username' is labeled 'Name' which can be confusing Oct 24, 2016
@jenlampton
Copy link
Member

jenlampton commented Oct 24, 2016

Oh, I see what's going on. Yes, this is confusing. The label for that exposed filter should be Username. It searches only the username by default since that's all we know user accounts will have. On backdropcms.org we added a full name field, and yes @klonos your change there was a good one. (No need for a PR since it was just a config change, just open an issue in the queue letting us know it was done so we can commit the config to git.)

To prevent others from suffering this same confusion we should change the label on that exposed to Username in core. Labeling this issue novice.

@klonos
Copy link
Member Author

klonos commented Oct 24, 2016

...just open an issue in the queue...

Done 😉

Labeling this issue novice.

Oh, me! me! ...

@klonos
Copy link
Member Author

klonos commented Oct 25, 2016

In the PR, I've only changed the label in the view .json file. That will only effect new installations, so I need to add an update hook that fixes this on existing ones.

@quicksketch
Copy link
Member

That will only effect new installations, so I need to add an update hook that fixes this on existing ones.

The current PR looks great. An update hook would be great though.

@klonos
Copy link
Member Author

klonos commented Nov 3, 2016

Questions before I move forward with this PR:

  1. I have updated the PR to also rename the url identifier. Should we also change any of the other properties?
  2. Not sure which file the update hook should go in. views.install?
  3. I was thinking to first check if the label has already been changed/customized and in that case leave it alone. Thoughts?

@jenlampton
Copy link
Member

jenlampton commented Nov 3, 2016

  1. sounds good.
  2. yes, the .install file.
  3. I think checking to see if the view has been customized is enough. If the view has been changed at all we probably shouldn't touch it, just to be safe.

@quicksketch quicksketch modified the milestones: 1.5.2, 1.5.3 Nov 16, 2016
@serundeputy
Copy link
Member

Looks like we still need an update hook here moving to 1.6.1 milestone.

@serundeputy serundeputy modified the milestones: 1.6.1, 1.5.3 Jan 15, 2017
@jenlampton jenlampton removed this from the 1.7.2 milestone Aug 17, 2017
@jenlampton jenlampton modified the milestones: 1.7.3, 1.8.1 Sep 16, 2017
@quicksketch quicksketch modified the milestones: 1.8.1, 1.8.2 Jan 2, 2018
@quicksketch quicksketch modified the milestones: 1.8.2, 1.9.1 Jan 16, 2018
@quicksketch quicksketch modified the milestones: 1.9.1, 1.9.2 Feb 12, 2018
@quicksketch quicksketch modified the milestones: 1.9.2, 1.9.3 Feb 21, 2018
@quicksketch quicksketch modified the milestones: 1.9.3, 1.9.4 Mar 28, 2018
@jenlampton jenlampton modified the milestones: 1.9.4, 1.9.5, 1.9.6 Apr 18, 2018
@jenlampton jenlampton modified the milestones: 1.9.6, 1.10.1 May 15, 2018
@quicksketch
Copy link
Member

Rerolled the PR with an update hook at backdrop/backdrop#2207. I couldn't apply the old PR (seems the source repo is gone), so I made a new one.

@quicksketch
Copy link
Member

Merged backdrop/backdrop#2207 into 1.x and 1.10.x.

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

No branches or pull requests

4 participants