Closed finnlewis closed 2 years ago
So present module:-
Given the discussion about referencing profiles, that might not be users, or having different fields for showing posting information, and changing availability of these on the form as well as how they are displayed, does start to feel like content types are going to be more helpful here. Unless we can leave the form alone and just change the display per the newsroom it's shown in (would still need, what, changing view mode on the view based on where it's emdedded?).
With the current set up it is possible to add another content type to the newsroom, it's not automated, you have to create the content type, add the reference field, and then manually add that content type to the search api index, and the non-search api view. There's no restriction on which content types can be posted into which newsrooms.
It sounds like the fixed categories / facets might not be what is wanted here; and not clicking through to a combined search. That requires at a minimum changing the non-search api view to a search api view which can then be restricted to the newsroom, such that the facets then only display results with content in the newsroom. I don't know if the content editor pseudo categories that directories have might not be more appropriate here than they are on directories. Altering the view might need thought about what to do with the featured posts - removing from default results - but when a facet is selected? But then do you want facet searching, text searching, search results on news / blogs / ... at all? And if so where should they appear?
Morning all. @msayoung are there any blogs in the reference sites that we could have a look at and compare against @ekes thoughts above? Cheers
thanks for the summary @ekes
has a search (search api) that is of all news article content, no matter newsroom; the global search facets are shown on the newsroom (so they click through to the global search from the newsroom, and aren't filtered by the newsroom).
These two points seem very strange to me. I had to install locally to understand / check what you were saying.
To clarify:
When you are on a newsroom we see the filters that apply to any news/blog content across the site: eg: https://demo.localgovdrupal.org/news - in this example there is a filter labelled 2022. there is no content in the current Newsroom created in 2022.
When you apply any filter you are taken to a page which lists all the articles on the site with that term, not just a filtered version of this page. Confusingly the layout also changes. https://demo.localgovdrupal.org/news/search?f%5B0%5D=date%3A2021&f%5B1%5D=date%3A2022
Anyway, I agree that we probably don't want this on microsites. Do we really want it at all? I'd love to see some research / testing on this. (maybe it already exists).
In so far as how the microsite litmus sites behave:
Most don't have any filters or news specific search:
Those that do have custom filter terms:
Some allow date filtering, but not from the main listing.
I can't see any that use featured articles.
Reading the comments above and mulling it over further, I'm leaning heavily towards two different content types for news and blogs.
There a number of content strategy type posts describing the fundamental differences between news and blogs which are interesting:
https://www.spindogs.co.uk/blog/should-you-separate-the-news-and-blog-sections-of-your-website/ https://www.ocreations.com/blogs-vs-news-whats-the-difference/
Largely comes down to news being factual and blogs being opinion, but also a different tone of voice and audience. Maintaining a clean separation makes more sense to me now from a content design perspective, and probably makes it cleaner from a technical architecture too.
This might also pave the way for a news microsite and a blogs microsite serving up different types of content to different audiences.
So how about we bring localgov_news into the microsites install with minimal changes. Then add a localgov_blog module with similar patterns and a new content type for blog posts.
When you are on a newsroom we see the filters that apply to any news/blog content across the site: eg: https://demo.localgovdrupal.org/news - in this example there is a filter labelled 2022. there is no content in the current Newsroom created in 2022.
When you apply any filter you are taken to a page which lists all the articles on the site with that term, not just a filtered version of this page. Confusingly the layout also changes. https://demo.localgovdrupal.org/news/search?f%5B0%5D=date%3A2021&f%5B1%5D=date%3A2022
Yes and further if you post more newsrooms they all have the facets for the global search, and click through to the search of all newsrooms.
Putting this in to the backlog. Question of blogs is parked, and News is already in.
@willguv I'm just discussing this with @msayoung
My memory is that this is an important feature for microsites. It is listed as a "should" in the backlog spreadsheet.
Shall we prioritise this for sprint 10?
Replying for the record...
We agreed in sprint planning that Groups 3/ Layout paragraphs are more important than this, but @msayoung @markconroy can start on this if time
Discussing in standup - we probably want to make this a stand alone module that can be used in Localgov core as well as microsites.
I've created a basic Blogs module with 2 content types (blog channel and blog post): https://github.com/localgovdrupal/localgov_blogs
@msayoung We don't have a spec of the blogs fields. Was going to follow largely what news does but let's discuss.
Hey @stephen-cox
Lovely.
My assumptions are
@finnlewis any other thoughts?
I've bodged a wireframe here: https://miro.com/app/board/uXjVO9o1iRk=/?moveToWidget=3458764533869596477&cot=14
Although, obviously the Layout paragraph bit won't be there for non-Microsite blogs by default
Thanks @msayoung. Most of this makes sense to me,
Ok, I have more definition, discussed with Will.
https://miro.com/app/board/uXjVOStMNW8=/?moveToWidget=3458764534399942518&cot=14
User story
As a site admin on a microsite I want to publish blog posts So that we can share regular updates on our project
As a site admin on a microsite I want to publish news posts So that we can share regular news on our project
Notes
We currently have the localgov_news (https://github.com/localgovdrupal/localgov_news) content type, but are thinking that a single 'article' content type might be able to provide blogs posts and news posts, with some subtle configuration options for author / date / categories erc.
Differences between News and Blogs:
Assumptions 1:
Assumptions 2:
Acceptance tests
To be confirmed.
[Ekes will investigate the current state of -play with localgov_news and we can confirm architecture]