Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget Features API #1389

Open
mlewand opened this issue Dec 29, 2017 · 0 comments
Open

Widget Features API #1389

mlewand opened this issue Dec 29, 2017 · 0 comments
Labels
changelog:api A changelog entry should be put in the API section of the changelog. plugin:widget The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:feature A feature request.
Milestone

Comments

@mlewand
Copy link
Contributor

mlewand commented Dec 29, 2017

Are you reporting a feature request or a bug?

Feature request

Provide detailed reproduction steps (if any)

While working on Easy Image we had to create a few widget components/features that seemed reusable:

  • caption - Simply a possibility to set a caption, displayed in a provided widget element. Such feature is already present in the image2 widget, it is also required by easyimage. I can see it being useful in case of table widget, where you could edit table <caption> element.
  • linking integration - Integration with link plugin (it's commands). It's already used by image2.
  • resizer - Currently present only in image2. I can see it working for many other plugins.
  • drag handler - Currently available in widget core, should be extracted to a separate opt-in extension.

There are much more examples.

Having all that in mind it would be nice to create a reusable API.

I'll further update this issue with more details as we shape things up.

At this point we're experimenting with it as a part of Easy Image implementation, where widget feature API is provided by imagebase plugin. As we get closer to the final solution, we'll move it to core widget system.

@mlewand mlewand added changelog:api A changelog entry should be put in the API section of the changelog. plugin:widget The plugin which probably causes the issue. target:major Any docs related issue that should be merged into a major branch. type:feature A feature request. labels Dec 29, 2017
@mlewand mlewand added this to the Backlog milestone Dec 29, 2017
@msamsel msamsel added the status:confirmed An issue confirmed by the development team. label Mar 6, 2018
@f1ames f1ames removed the target:major Any docs related issue that should be merged into a major branch. label Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:api A changelog entry should be put in the API section of the changelog. plugin:widget The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:feature A feature request.
Projects
None yet
Development

No branches or pull requests

3 participants