Problem/Motivation
The question is how do we display the information that exists on the Drupal.org project pages on the Project Browser detail page in a way that makes the most sense to folks trying to decide on which project to download.
Steps to reproduce
Spin up a Drupal site with the Project Browser module installed. Select a specific module by selecting the module name in a card. The resulting page is the project detail page.
Then find the corresponding project page on Drupal.org.
Proposed resolution
- as seen here https://docs.google.com/presentation/d/1FsfBtN7zdRRRvJg7RWr_iJrB7viEVKJs...
Regular zoom meetings on this issue are happening at this time. The next scheduled discussion is Tuesday February 21, 4pm ET. Monitor the #project-browser channel on Drupal Slack for meeting times
| Comment | File | Size | Author |
|---|---|---|---|
| #55 | Quality Indicators.jpg | 2.07 MB | rkoller |
| #53 | Screenshot from 2025-01-06 15-06-57.png | 161.52 KB | matthieuscarset |
| #32 | Screenshot 2024-05-17 at 2.32.31 PM.png | 19.24 KB | bernardm28 |
| #30 | Screenshot 2024-05-15 at 12.49.34 AM.png | 196.64 KB | bernardm28 |
| #30 | Screenshot 2024-05-15 at 12.48.58 AM.png | 178.91 KB | bernardm28 |
Issue fork project_browser-3322594
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
chrisfromredfinComment #3
chrisfromredfinThe information architecture here represents what people in a BoF at Prague thought were the most important things.
Comment #4
chrisfromredfinI've kind of "mocked up" what I think the actual field mapping would be / look like from the d.o project pages.
https://projects.invisionapp.com/freehand/document/pwOhQ6IFC?zoomToItems...
Comment #5
rkollerComment #6
rkollerA few thoughts I forgot to post end of last week.
1. In general the high-level priority guide looks good. I only see one potential issue. Currently the template for the longer description is described in here: https://www.drupal.org/project/project_browser/issues/3230734#comment-14... . The template for itself also looks totally fine. the only potential problem i see is within the linked template you have for example the section
recommended modulesand in the priority guide you also have a section calledrelated modules. also you havepost installationandadditional requirementsin the template which overlaps withdocumentations and howtos later in the priority guide. so basically content isn't semantically grouped on the project detail page due to the fact that you have a mixed and heterogenous blob of text in the longer description (aka the body field) while the priority guide sections are homogenous.2. and i wonder if it would make sense to rename
brandingtologoin the priority guide cuz there was the idea to move the module name to the page title . cuz currently it is still calledextend drupalComment #7
tim.plunkettComment #9
lostcarpark commentedI think separating the project branding and the screenshots is important. I contributed a logo to the Upgrade Status project, and Gábor mentioned they looked a little odd together. As far as I know, currently the logo is just the first image. That won't be adequate for the new layout, since the browser will need to know if the first image is actually a logo or a screenshot.
Comment #10
chrisfromredfinCross-posting https://www.drupal.org/project/drupalorg/issues/3334783 -- seems like we may actually start using GitLab's logo.png as the logo if that's included in the repo.
Comment #11
chrisfromredfinComment #12
lostcarpark commentedRelated to this, I'm suggesting we update the documentation for project maintainers to include the logo in their repos in this issue: #3334550.
Comment #13
bsnodgrass commentedA quick note for those following this issue, there was a zoom meeting held yesterday 2/14 to review ideas and some mock-ups. Another meeting will be held next week during the regular time for the #project-browser slack channel site building committee time to continue the discussion.
Updated Summary with the next meeting time. I will be posting at least one issues related to our discussion later today.
Comment #14
chrisfromredfinOne vision to minimize and make this simpler, while relying on drupal.org for more information in the interim:
We believe there are two primary reasons why people would click through to a detail page:
1. I don't know what this module does based on its card, and I want to learn more to see if this is a module I want to try out.
2. I know that I want to try this module, but I don't know how to use it. (i.e. "Where in the interface will I find the module's configuration (Structure, Appearance, Configuration, Content, etc.)" as well as "How would I use it, try it, or set it up")
One thing to consider is that perhaps the detail page should really be a modal since this (a) has less information and (b) this kind of solves the 'h1' problem with being on a detail "page."
Comment #15
chrisfromredfinI'm feeling ambitious and I want to try and get this into core.
Comment #16
bsnodgrass commentedConsensus in the Site Builder asynch meeting this week. https://drupal.slack.com/archives/C01UHB4QG12/p1692131239990579
We should add a link on the Project Detail page to the D.O. project.
Comment #17
lostcarpark commentedI wonder could we get some people together during contribution a Drupalcon Lille to look at this?
Comment #18
chrisfromredfinComment #19
leslieg commentedWe have punted on the Project Detail page for quite some time and would like to get someone to work on this at DrupalCon Portland 2024. We have taken feedback from the Usability Study as well as from contributors at the various camps/cons and in slack and are proposing this layout. Please comment o the isssue or on the shared doc
Note - The proposed template for the Project page on Drupal.org is not included in MVP, however we will look at that in a future release
Comment #20
chrisfromredfinI liked this, big +1 for me - the only caveat is that I think we need to collapse-by-default the full description at small screens so that super-long descriptions don't push the fairly important quality metrics too far down the page. I have added this in the Google Doc. Updating the Proposed Resolution.
Comment #21
poker10 commentedSorry if this was explained somewhere else, but what exactly does the "Stable" and "Maintained" means?
Does the stability status relate to your installed branch (or in case the module is not installed to the newest branch)? Because a project can have a different stability statuses on various branches.
Is the "Maintained" just a status taken from the project configuration, which is misconfigured in a lot of projects and does not reflect reality? Or is it a list of maintainers?
Thanks!
Comment #22
chrisfromredfinSounds like you're interested in #3282163 and possibly also #3267678 ! ;)
Stable means whether or not the module's stable releases are covered by security policy, and the maintenance status is whether or not it is in one of the statuses that we consider "maintained" which is up through "seeking co-maintainer". (Yes, this is self-selected and maybe not accurate; one hope is that giving this field proper credit via project browser will encourage maintainers to keep it accurate, the other thought is maybe we drop it altogether - I encourage you to let us know your thoughts in those issues)
Thank you for your input!
Comment #23
kleighm commentedhttps://www.figma.com/file/I1WJBCptKycwAPvp9robir/Project-Browser-Issue-... I was looking at applying this design to the Browse Projects project page. It looks like we need to apply a class and markup since this is so close to the categories.
I have a few questions:
1) What is included in the categories section?
2) Would we include files and links in the images section under categories?
Comment #24
kleighm commentedComment #25
chrisfromredfinComment #28
bernardm28 commentedComment #30
bernardm28 commentedSince drupal already has a sidebar, I might copy some of its styles.

Some of the items on the right panel below do not yet exist. I imagine I should leave a placeholder.

Comment #31
leslieg commented"Some of the items on the right panel below do not yet exist. I imagine I should leave a placeholder."
@bernardm28. Which items in the right sidebar are you refering to?
Comment #32
bernardm28 commentedI was thinking on this items.
There is a button for add/install button but the items underneath i did not see them on the svelte file.
Those include
Comment #33
kleighm commentedComment #34
chrisfromredfinTwo things at a minimum -
1. Let's remove the boxes at the right hand column, and just stack that information up with some decent spacing.
2. We really want to show the "summary" of the body field, then the images, THEN the full description. I'm not sure if there's backend work needed here to make that happen, but we should have access to the summary field separately from the full description. The summary is what we're showing on the cards view, so we want to repeat it, then show the images, then the full description.
I think there are some other improvements to be made:
- Get rid of the "Details" heading
- get rid of the "Categories:" label and just show the chips
- let's get rid of the module author (i.e. "By Dave Reid") altogether
- let's make the slideshow actually work?? 😬
Comment #36
bhogue commentedI didn't get to
from #34, but I think I hit all the other asks.
Comment #37
bernardm28 commentedI'm considering using https://biggerpicture.henrygd.me instead of making our own gallery since that supports multiple types.
Thoughts? I will add it to the MR tomorrow.
Comment #38
anicotoI made a revision of the page, and found some improvements.
Styles improvements:
1. Make the Logo 80px width
2. Fix the categories and project details alignment so is staked below the title.
3. Remove border and background from carousel arrows. Make them 40width.
Accessibility:
Follow general guides from https://www.w3.org/WAI/tutorials/carousels/ (I should be able to find better documentation if needed)
1. Carousel should be accessible from the keyboard. User should be able to tab true the carousel controls and move back and forward.
2. Remove the Aria-hidden from the carousel container. And maybe added to the hidden slides instead.
3. Images should be contained on a list element.
4. Add carousel dots (meatballs) at the bottom. Dots should have data-slide=# corresponding to the number on the slide.
5. Add aria-label='Next slide' to the carousel arrow next and 'Previous slide'
Comment #39
bernardm28 commentedSo it looks like the carousel does not work because we renamed
project.field_project_images to project.project_images but the fixture only finds one image with that name.
FYI updating a fixture within drupalPod is very slow.
Comment #43
chrisfromredfinFYI rather than rebuild the entire fixture there's a separate command which will update you with the difference between the code-based fixture and the latest data from d.o.
Project Browser itself is an example of a project you can use the detail page for - because it uses the body template, has images appropriately, has a logo, etc.
Comment #44
chrisfromredfinComment #45
lostcarpark commentedI think this is working well, but a couple of things struck me.
Apart from these minor details, I think this is a great step forward.
Comment #46
chrisfromredfinUsing this MR branch, if I go to a detail page, and then I hit "back to browsing >" at the top left, then I get an error.
browse:1 Uncaught SyntaxError: "undefined" is not valid JSON
at JSON.parse ()
at stores.js:46:30
at main.js:7:2
If we can fix this, and/or any other major issues that might be caused here, then I think we should merge this as-is and add small follow-ons for the additional feedback from James (others share these opinions :) )
Comment #49
chrisfromredfinThis is at a point where it's passing tests, and we've at least switching the layouts of the columns. There will be a lot of follow-ups, but they will be smaller in scope and easier to manage and continually rebase as they'll be smaller.
I'm going to merge this, with tremendous amounts of gratitude to those who've worked on it! I hope we can keep up the good work with some other, smaller-scoped issues. :)
Comment #52
matthieuscarset commentedTried PB in a Drupal CMS instance locally and I was surprised that there is nothing about the authors/maintainers of a module in the page details.
I do not find info about this section in the previous comments on this issue 🤔 (I can't access the Figma to see if there's more details there).
Can we explain why we do not display the information of the authors and the maintainer(s) of a given module ?
I think it is valuable info to have.
Comment #53
matthieuscarset commentedTo be more precise, I was expecting to see the avatar of the maitainers of the module in this sidebar:
Comment #54
chrisfromredfin#19 links to a shared Google Doc with a revised, simplified mockup.
I would not be opposed to a new issue being opened that brings in elements of the original wireframe back in, but I would want it to be run through usability with our target audience. I'm not here to snub open source developers, I am one, but I every addition should be intentional.
But either way, not in this issue. :)
Comment #55
rkolleri would orient towards the top tasks exercise we did a few months back. that illustrated which details were important to people assessing a module on a details page. but looks like the sheet got removed? https://docs.google.com/spreadsheets/d/17JiSqr5VHOfupdGLo6pLatM2VfxOy3vw... #gid=127356256 at least the link i've provided on the invision board is not valid anymore? and i'Ve attached the screenshot from the invision board from the discussions that spun out after the exercise was done.
Comment #56
poker10 commentedI agree with @matthieuscarset that the information about maintainer(s) is important, as they invest time to maintain the modules and should be mentioned where possible. Also without the names, it may look like Drupal is maintaining everything.
Was a new issue created for this yet?
Comment #57
matthieuscarset commentedI did not open an issue for this. Please do so @poker10 if you feel the courage to argument about displaying author/maintainer information.
Comment #58
chrisfromredfinActually, you did! :) Added a related here for cross-reference purposes.