Hello community!
I'm super excited to announce that I will be working on adding support for mock previews in extensions under Google Summer of Code this year! I'm here to gather your opinions and feedback about the project.
Mock previews are the dummy representation of visible components you see inside the designer when you drag and drop them. They are a crucial aspect of App Inventor's no-code philosophy, allowing you to visualize your apps' UI without having to go through a whole compilation process.
However, extensions currently cannot have mock previews. My goal this summer would be to fix this and make it possible for extensions to have mock previews.
I have created a design document for the project. It documents the low-level design details of the project, as well as gives you an idea of what creating mocks would look like for an extension developer. This is your call for participation, especially if you're an extension developer. Now is the opportunity to give your feedback and influence the design of the mocks API!
Here are some notable questions from the above document I'd love your opinions on:
- What are your thoughts on the proposed JavaScript API for creating mocks?
- Do you see any security flaws in the proposed solution? (Especially with the mocks having the ability to make network calls.)
- What would you use mocks for in your extensions?
- How should we go about adding support for external CSS?
Regards,
Shreyash