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

Redesign for 1.0 #11

Closed
rowanc1 opened this issue Mar 29, 2020 · 1 comment
Closed

Redesign for 1.0 #11

rowanc1 opened this issue Mar 29, 2020 · 1 comment

Comments

@rowanc1
Copy link
Member

rowanc1 commented Mar 29, 2020

Initial Braindump for re-architecture for ink-components 1.0

  • Minimal (if any) syntax changes for HTML elements
  • Move to typescript
  • Move to a more pluggable redux system that includes allowing it to be used in a larger application
    • This also means that cross-variable scope access should be relatively easy
  • Remove the IFrame creation by default and move to centralized redux
    • This means that by default execution of variables should happen in the same window, which is fine in most developed applications where the source is trusted
    • This is not ok with user-generated content, however, the pluggable redux system should be able to handle the abstraction in those cases
    • Provide the execution library for the functions, this could be replaced in the future.
  • Remove as many opinionated styles as possible and move to JSS and/or the lit element style updates
    • Regardless these should be pluggable
  • Remove boilerplate from the property creation if possible. Maybe through wrappers or post-processing the class?
    • Right now there is a ton of redundancy that is just setting up class properties, this could be done after the class is created? Object.defineProperties or similar?
    • Another goal of this is to express the properties as data so they can be used in other places
  • This will likely mean breaking up into a few different libraries that could be used independently (CV, Chart, etc.) which is hopefully more maintainable. Have a single repo of these packages.
@rowanc1
Copy link
Member Author

rowanc1 commented Apr 29, 2020

Well, that took exactly one month to do. :) Going forward I should be in a much better position to move faster!

Still some other tasks to complete, e.g. resume, references, tooltips, etc.

@rowanc1 rowanc1 closed this as completed Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant