- 🇦🇺Australia pameeela
Based on the latest comments, this is blocked on not having the data about when a module was last updated.
On the UX side, I am not sure. As a few have pointed out, the updated date is not necessarily useful. But there is already a sort for 'Newest', and I think recently updated is more useful than that. Perhaps once this becomes unblocked we could replace the Newest filter with this?
(I tried to find where the 'Newest' sort was added to see if there was any discussion but I couldn't find it.)
- 🇮🇳India narendraR Jaipur, India
Hi @Chris, is this issue relevant now as we have JSONAPI endpoint in use or should we close this?
- 🇺🇸United States chrisfromredfin Portland, Maine
Still relevant in that we want to support it as a sort-order, but we need to get that data from the backend. I'm not sure if the recency of updated that people are looking for is the recency of updating the actual project page, though. So we don't want to use the node updated date of the module_project node.
I think what we actually want is something like "date of last commit to the repo in any way" or "recent release." However, I'm also not sure if people want this from the perspective of wanting to find _NEW_ modules only, in which case it makes more sense to sort by the module_project node's _created_ date.
I am going to punt this to the Site Builders Subcommittee for their next meeting and leave it postponed for now.
I know @mandclu has opinions on this, also.
- 🇺🇸United States leslieg
Thanks @chrisfromredfin. That's an interesting question. I'll bring this up for discussion at next Tuesday's Sitebuilder Subcommittee meeting.
My personal opinion is to use creation date of the project on drupal.org. Since the default filters are "Covered by Security Policy" and "Maintained", then the list of newest projects should eliminate projects that aren't ready for prime time yet. (Advanced filters would still allow this option if someone wanted to see all new projects.)
I think using "last_updated" as the sort would always promote the largest modules as they are constantly updating their codebases. Maybe that isn't true all the time, however I don't think it's what people have asked for when using this sort.
Will update here after we meet on Tuesday.
- 🇺🇸United States drumm NY, US
Is this sort order actually needed? What is the use case for it? Will many people use it?
- 🇺🇸United States leslieg
While we were doing discovery. this was added as a sort due to people asking - how do I find modules that were added recently so I can decide if there is something newer than what I am currently using. Not sure how many foks would actualy use it. Maybe we start with "sort by relevance" only and then re-address this option if folks start asking for it. Interested in @chrisfromredfin thoughts
- 🇺🇸United States teknorah Mokena, IL, US
What about instead of a drop down sort by option on the grid view, having a sortable updated field (by clicking on the column title) on the list view? This way, the special use case would be covered, but maybe less confusing in the sort by options?