- ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
I think we should wait for ๐ [policy, then docs] Change how we deprecate classes Fixed here so we can deprecate the whole class (Via the constructor)
- Status changed to Postponed
almost 2 years ago 2:27pm 23 January 2023 - ๐บ๐ธUnited States smustgrave
Sounds like a plan. Will postpone until then
- ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
The blocker is in, so let's trigger a deprecation in the constructor
- ๐บ๐ธUnited States xjm
The policy has been adopted now, so let's move the deprecation to the constructor.
But wait, why are we removing this handy button? The IS doesn't say. This seems contrary to the whole pattern of making blocks have the same patterns as other content. The content administration page has a button, the content type administration page has a button, etc.
- Status changed to Needs work
almost 2 years ago 11:58pm 23 January 2023 - ๐ฌ๐งUnited Kingdom joachim
This issue isn't removing the button, but the text link that's inside the table.
> Block content's admin listing has a 'Add new block' link in the 'results not found' message.
> But there is already an 'add new block' action button like every other content entity list builder.However, this issue disagrees with โจ Add link to add a new entity in an empty entity list controller table Needs work , which wants to add the text link to ALL entity types.
- Status changed to Needs review
almost 2 years ago 5:24pm 24 January 2023 - ๐บ๐ธUnited States smustgrave
However, this issue disagrees with #1798540: Add link to add a new entity in an empty entity list controller table, which wants to add the text link to ALL entity types.
That I can't answer. Maybe @xjm or @larowlan?
Added the deprecation to the listing class though.
- ๐ฎ๐ณIndia nayana_mvr
Verified the patch #75 and tested it on Drupal version 10.1.x. The patch works fine and I have added the before and after screenshots for reference. But as mentioned in above comments, the problem statement of this ticket contradicts with the ticket โจ Add link to add a new entity in an empty entity list controller table Needs work
- ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
I commented on โจ Add link to add a new entity in an empty entity list controller table Needs work - personally I think that we shouldn't have a specific block-content views area plugin for when things are empty, but instead a generic one. However โจ Add link to add a new entity in an empty entity list controller table Needs work does not address that, it only addresses ListBuilders which in reality or normally overridden with a view for content entities. I've asked over there for an issue summary update to outline if that issue intends to tackle that question too.
From my point of view, I think it makes sense to remove the specific block-content one and provide a generic one, but it'd be good to see confirmation that is possible in โจ Add link to add a new entity in an empty entity list controller table Needs work first.
Less single-use entity thingsโข๏ธ and more generic is the direction I think we should be going in. What do others think? I imagine given the work @joachim has done to make generic entity menu link/action/task handlers he may feel the same way.
- ๐ฎ๐ณIndia saket-001
As mention in issue the patch #75 works fine but no links are there for new entity.
- ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
@saket-001 that is the intention of the issue
I think we should postpone this on โจ Add link to add a new entity in an empty entity list controller table Needs work , until it at least gets the issue summary update
- Status changed to Postponed
almost 2 years ago 9:45pm 21 February 2023 - ๐บ๐ธUnited States xjm