Closed (fixed)
Project:
Entity Embed
Version:
8.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Plan
Assigned:
Issue tags:
Reporter:
Created:
30 Sep 2015 at 19:57 UTC
Updated:
22 Jun 2019 at 17:24 UTC
Jump to comment: Most recent
Comments
Comment #2
dave reidComment #3
wim leersGiven #2593315: Improve documentation of hook_entity_embed_alter() and #2593379: Analyze/improve/fix handling of bubbleable metadata in entity_embed, I think we need to first seriously scrutinize the APIs of Entity Embed, to prevent API changes after RC?
Comment #4
chrissnyderAny update on a possible RC release? Is there any issue I can assist with that may be preventing an RC release?
Comment #5
wim leersThis of course blocks #2577887: Entity Embed 8.x-1.0.0 release.
Comment #6
wim leersI've been triaging the
entity_embedissue queue to help this module get to a stable release. Acquia is sponsoring me to do this to help get Media in Drupal core to stable, which requires solving #2801307: [META] Support WYSIWYG embedding of media entities, which in turn requires moving a subset ofentity_embed's functionality into core.I've told the main module maintainer about this, and he was supportive: https://twitter.com/davereid/status/1061052785297448963 🎉
So … now that I've triaged the majority of the issue queue and patterns have started to emerge, I'm going to start updating this issue to get clarity. Expect lots of updates here in the coming weeks.
Comment #7
wim leersComment #8
wim leersComment #9
wim leersComment #10
wim leersComment #11
wim leersComment #12
wim leersComment #13
wim leersThere are currently 69 open
entity_embed8.x-1.x issues.I selected 24 issues (see issue summary), 7 of which are postponed, and 7 are already RTBC.
These are the ones that I believe that are either crucial for the short-term stabilization of Entity Embed or are crucial for #2801307: [META] Support WYSIWYG embedding of media entities to happen in core, which is going to contain a crucial subset of the Entity Embed module.
That means we have exactly ten issues that need attention now and would materially help Entity Embed get closer to stability.
Note that I am not an official maintainer. I am merely asked to help the Media Initiative with #2801307: [META] Support WYSIWYG embedding of media entities, which requires moving a subset of Entity Embed into core. I felt triaging the Entity Embed issue queue is essential, because it maximally informs us about hitherto unknown unknowns: we now have a very good idea about which areas in Entity Embed need to be stabilized, which bugs are getting in the way: we know what already works well and what does not yet.
I pinged @Dave Reid about this a few weeks ago, and he responded very positively: https://twitter.com/davereid/status/1061052785297448963 — I hope you still feel the same way, Dave 😊
Comment #14
phenaproximaA lot of things got committed! :) Refreshing linked issue statii.
Comment #15
oknateRemoving issue marked as duplicate.
Comment #16
wim leersRemoving another duplicate: #2628712: Persist the classes specified in <drupal-entity class> onto the rendered entity is now considered a duplicate of #2917132: EntityEmbedBuilder removes data- attributes set by other text filter plugins!
Comment #19
wim leersYay, everything in the bucket is now DONE, as well as several other issues! @phenaproxima and I already committed a bunch of patches last Friday evening (because @slashrsm granted us commit access). Yesterday and today @marcoscano, @phenaproxima and I have been collaborating on a bunch of patches at the Media sprint in Barcelona: https://twitter.com/_marcoscano_/status/1069932097119444992
Comment #20
wim leersNow everything in is also done!
Comment #21
wim leersAdded
to , since that is likely to be a common expectation.
Comment #22
wim leersMost of is now done (all the issues directly affecting , and the issues added in #21 are also done. 🎉
Comment #23
oknateI have added an additional test coverage class for #2466013: Write test for CKEditor integration. Please review.
Comment #24
wim leers@oknate Thanks! Will do :)
Comment #25
damienmckennaWould it be useful to release a new beta? There hasn't been a new release in 2 1/2 years.
Comment #26
damienmckenna#2614350, #3011228 and #2560787 were closed and marked "works as designed".
Comment #27
damienmckenna#2990624 was marked as "cannot reproduce".
Comment #28
wim leersSorry. I feel very bad for the silence here. I asked to not yet ship RC a few months ago because I was uncertain about one of the changes we committed in December, and would rather not see them get shipped in a release.
With JSON:API shipped as part of Drupal 8.7, getting Media embedding added to Drupal core is now my #1 priority. And since it's going to be based on Entity Embed's code, I can promise significant progress on this in the coming days and weeks!
Comment #29
oknateI think this module needs some additional maintainers. Wim Leers is the only active maintainer and very busy with JSON:API.
Comment #30
oknateThank you, Wim! I see some activity this morning!
Comment #31
damienmckenna@Wim: Thanks again.
Comment #32
wim leersIndeed :) I’m off today and Monday is a holiday here in Belgium, but expect much more progress next Tuesday!
I already committed one regression fix that would otherwise have appeared in the RC. I think there is one more.
Comment #33
wim leers#3027445: Add tests to ensure `data-langcode` works when that translation does not exist; should fall back to default translation is another fix we need for the text filter plugin.
Comment #34
wim leersRemoving:
per #2614364-8: Quick Edit of host entity "leaks" into embedded entities: disable Quick Edit since it does not affect media embeds, which is the majority use case for the Entity Embed module.
Comment #35
wim leersComment #36
wim leers#2752253: Document correct filter_html_image_secure + filter_align + filter_caption + entity_embed filters order, write tests, and ensure correct by default landed!
Thanks to @oknate, #2466013: Write test for CKEditor integration is very close!
And I'm now digging in to #2544020: CKEditor plugin not written with CKEditor >=4.4 in mind; rewrite it based on core's `drupalimage` plugin. Expect more progress this week.
Comment #37
wim leers#2466013: Write test for CKEditor integration landed, this provides a huge confidence boost in this module. Thanks so much for taking the lead on that, @oknate! 👏
Comment #38
wim leersAdded #3052482: Expand EntityEmbedFilter's test coverage: test many more edge cases, change to kernel test.
Comment #39
wim leersTo not keep the >36K
entity_embed-using sites waiting for the fixes that have landed in the past few years since https://www.drupal.org/project/entity_embed/releases/8.x-1.0-beta2, I just tagged https://www.drupal.org/project/entity_embed/releases/8.x-1.0-beta3 per this discussion:Comment #40
wim leersNo influx of new bug reports against
beta3, despite it being the first release in 2.5 years and already ~8500 sites having updated to it (out of a total of ~44K, or about 20% — see https://www.drupal.org/project/usage/entity_embed).More important: most remaining issues have progressed significantly: the ones (#2998005: [PP-1] Support Drupal core's Media Library + #2924391: [media entities] Regardless of @EntityEmbedDisplay plugin, Media entities representing a `image/*` MIME type should be able to have a per-embed `alt` and `title`), but also the one (#3052482: Expand EntityEmbedFilter's test coverage: test many more edge cases, change to kernel test). That leaves "just" the ones, which I've started on yesterday. And 12 additional issues have already been committed. Thanks to @jurgenhaas, @dpi and especially @oknate.
As of a few days ago, https://www.drupal.org/project/issues/entity_embed?version=8.x fits on a single page (<= 50 issues). And now the remaining bug reports are mostly those for the D7 branch; the D8 branch has less than half of the remaining bug reports! (And most of those are for the https://www.drupal.org/project/entity_browser integration
Hopefully we'll be able to continue to make good progress, which would mean RC1 next week. Unless @phenaproxima, @marcoscano or @oknate think doing a
beta4first is more appropriate. Personally, I think it's about time we do an RC.Comment #41
oknateI think an rc1 is fine. I don't think we'll be changing any APIs.
Comment #42
phenaproximaI don't feel strongly about it either way, to be honest. At this point, we shouldn't be changing APIs anyway, regardless of stability; Entity Embed has been in wide use for years, and changing its API (even if we technically can) would be detrimental.
For me, the sticking point would be tests -- do we have enough coverage for an RC? Maybe not, but even if we don't, I still don't think it matters that much. Our tests are not part of our API, and we can do whatever we want with them, whenever we want. So hey...why not go for RC? :)
Comment #43
marcoscano+1 for RC1!
Huge thanks to @oknate, @Wim Leers and all others that are knocking things out here!
Comment #44
oknateI have a few issues that we might want to discuss before creating an rc1. There is a bit of a disorganized custom context handling around which plugins are shown on the button configuration form and within the EntityEmbedDialog. In fact there is a @todo item to update the plugin manager to use ContextAwarePluginManagerTrait. The plugins also have some context functionality that should be use the core trait and methods (if not overridden). Also, there are usability issues that could benefit from the EntityEmbedDisplay plugins being configurable.
Here are some issues I think we should consider exploring before releasing an RC 1. If we don't think it would change any APIs, then they could wait. But the idea of allowing the plugins to be configurable when creating an embed button would require schema changes and perhaps an upgrade path.
On the other hand, because development slowed on this module, and it's used by so many sites. Perhaps it's time to move towards a stable release, and breaking changes could be added to a new release branch.
Comment #45
marcoscanoThat's my reasoning too... d.o usage reports ~40K sites on the D8 version of this module (which would indicate an even higher real usage out there...). At this point, regardless of the 1.x branch status, any breaking changes should go into a 2.x branch, IMO.
Comment #46
wim leersAgreed.
I think #3058972: EntityEmbedDisplayManager should use ContextAwarePluginManagerTrait and #3058425: Add ContextAwarePluginInterface to EntityEmbedDisplayInterface in #44 therefore would have to happen in a 2.x branch. As far as I'm concerned, we can start the 2.x branch as soon as 1.0 is released; if this is going to be the only breaking change, then that's still fine.
#3058846: EntityEmbedDisplay plugins should be configurable on the embed button form can be done without breaking BC AFAICT.
#3058872: Entity Embed render array shouldn't cache separately from host field wouldn't break anything.
Comment #47
wim leers#2924391: [media entities] Regardless of @EntityEmbedDisplay plugin, Media entities representing a `image/*` MIME type should be able to have a per-embed `alt` and `title` just landed, which leaves only three areas:
EntityEmbedDialogavailable in this scenario, since it's not designed to be part of multi-step forms. (Not to mention alt/title per-media-image-embed, which just became available in #2924391.) It also will need a way for sites to opt in to this alternative selection UI, because otherwise it'll disrupt existing workflows (different UX, and no more per-embed overrides yet).Given the above, I intend to tag RC1 this week! (Either tomorrow or on Sunday.)
Comment #48
phenaproximaAgreed.
Agreed. Tests should only block releases when they are related to a critical bug.
With regard to the CKEditor issue cluster...I'm not really qualified to weigh in on whether those should block RC1.
Comment #49
wim leers#2544020: CKEditor plugin not written with CKEditor >=4.4 in mind; rewrite it based on core's `drupalimage` plugin, #2282957: Caption should work like the drupalimage plugin (editable in WYSIWYG, not in dialog) and #2511404: Image entities/fields embedded using Entity Embed cannot be linked in CKEditor just landed. Time for RC1!
https://www.drupal.org/project/entity_embed/releases/8.x-1.0-rc1
Comment #50
oknateThanks, Wim!