Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up to #2281763: Make Drupal.org user profiles more robust
Remove the sandbox projects from the projects listing on the profile.
Question: From where this project listing is printed on the project.
Comment | File | Size | Author |
---|---|---|---|
#15 | drupal-org-user-profile-light-grey.png | 238.94 KB | naveenvalecha |
#15 | drupal-org-user-profile-dark-grey.png | 218.3 KB | naveenvalecha |
#15 | 2664154-15-light-grey.patch | 466 bytes | naveenvalecha |
#15 | 2664154-15-dark-grey.patch | 465 bytes | naveenvalecha |
#13 | 2664154-13.patch | 432 bytes | naveenvalecha |
Comments
Comment #2
drummThis is rendered in
versioncontrol_project_user_view()
. (I wouldn't mind moving this to drupalorg module, so it might be merged with issue credits.)Since we still have the project application process, many developers are limited to sandboxes only. I think we should keep the sandbox commits, and clearly emphasize the full projects.
Comment #3
naveenvalecha+1 but that we can do in followup later after this gets in.
Any thoughts ? any rough plan/sketch for the implementation.
I believe we have the https://www.drupal.org/project/user page for sandbox projects and user full projects.
Comment #4
drummMaybe simply change the link color from blue to grey for the sandbox projects?
Comment #5
naveenvalecha+1 Do you know any grey color class ?
Why not we completely remove the sandbox projects from this listing from main profile page and point it to a new page where all projects will be listed first sandbox with commits then full projects with commits ? like https://www.drupal.org/project/user
For long term when we only 2-3 projects and then we can use this new page. Thoughts ?
Comment #6
drummLet's add a
project-type-{t.field_project_type_value}
class and then move this issue over to bluecheese to style it.https://www.drupal.org/project/user/{uid} is indeed available for everyone to view, but I'd rather keep this simple and not get into the user page navigation changes right now. That page also doesn't show the number of commits.
Comment #7
naveenvalechaWell let's stick with the scope of this issue.Will post my comments in meta/plan/discussion issue.
Posting untestable patch. Need a dev site for testing this, if you have already setup site, lemme know, I had one dev d.o. site but I forget now which was that
Adding a single class for sandbox projects only; we don't need any class for full projects so let's them use the existing css.
Comment #8
naveenvalechaNow we have a class project-type-sandbox for the sandbox projects on the profile.
Screenshot attached.
Next step : after committing this patch in this repo we move the issue to bluecheese as drumm said.
Comment #9
naveenvalechaAdded a project-type-{t.field_project_type_value} class so that later we can style full projects as well.
Attached screenshot of profile with grey color on sandbox projects.
Comment #11
drummLooks good, committed with a bit of code shortening. Moving to bluecheese for the CSS style.
Comment #12
naveenvalechacool
Comment #13
naveenvalechaComment #14
drummThe dev site for this was lost due to filesystem issues. This is far enough along that testing with your favorite browser’s developer tools will work well. The remaining things to get right are:
sass/partials/common/_user-profile.scss
makes the most sense.Comment #15
naveenvalecha#14.1 Done
#14.2 Dark grey screenshots looks good to me.
Comment #16
DyanneNovaI don't think differently colored links are going to be clear to most users. Greying the link out makes it seem like clicking is disabled. It doesn't say anything about it being a sandbox.
Why not move the sandboxes out of the main list and below full projects?
Comment #17
naveenvalechaNice idea, but for full listing we have https://www.drupal.org/project/user
See #4, about the color change of sandbox issue.
Comment #18
drummA separate heading would bring more attention to the sandboxes, while I think naveenvalecha’s goal is to de-emphasize them. I’ve answered enough support requests about sandbox credit, removing the credit wouldn’t be a good option.
naveenvalecha - sandboxes are meant to be ephemeral, I think you could just delete any you no longer want.