How is there no clear cut method of upgrading plugins from client-resources to clientside-extensions? It seems like I have to basically throw away the entire front-end and rebuild it from scratch with zero references to real world situations present in the documentations?
How do I get the context path in CSE? How do I get inject serverside context into CSE? I can’t use PropertyProviders to inject properties anymore? I can’t use soy anymore?
I don’t even see deprecation notices for things I used to use. They’re just gone with no real replacement called out at all. This is super painful and is trial and error by fire.
Sorry for the attitude. This is a lot more work than I expected, and doesn’t even include the backend changes.
The previous apps had been heavily written on client-resources and apparently that’s all gone now. I wasn’t actually aware it was deprecated in Bitbucket 6 because I sure wouldn’t have used it if I knew it was going to be gone in Bitbucket 7.
I’m not 100% sure, but I think the client-resources as the method of serving and providing JS/CSS/Soy content to the plugin still works. I wasn’t able to find anything in the changelog, so I don’t think those are deprecated.
The CSE is a new plugin system and did replace the web-items and web-sections. For now, the replacement was done only on some of the pages and locations in Bitbucket UI.
Sorry, but I’m not aware of what the PropertyProviders are.
So, the webpack WRM plugin can help with using DataProviders:
Yet none of the locations in Bitbucket 7 work for the Pull Request view. I get CSE came into play here, but it’s super unclear what to do with plugin code that had been using these locations. I think you’ve answered my questions, no response required.
It doesn’t appear they have. Is there any suggestion on how to pull in data like this, without making tons of more requests or duplicating the activities request?
I can cache things, but then I need to hit the activities endpoint and page through it, or just produce them myself in an unpaged or paged endpoint. Before, I could simply get them from the client context.