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

Invokers #4836

Open
kof opened this issue Feb 5, 2025 · 1 comment
Open

Invokers #4836

kof opened this issue Feb 5, 2025 · 1 comment
Assignees
Labels
complexity:high Multiple weeks of work or more prio:2 Always look for prio:1 issues first before working on prio:2 type:feat Features and enhancements

Comments

@kof
Copy link
Member

kof commented Feb 5, 2025

Based on https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API

With this users will be able to have arbitrary js code on the client that can read/update any data variable. Ultiimately this will enable memberships, ecommerce and any type of private / authenticated views.

  1. User defines a command. Value can be a string or js code.
  2. If js code there must be a function which will have access to variables in the current scope
  3. Function would be arbitrary js function that runs on the client and can do anything, then able to setVariable()
@kof kof added type:feat Features and enhancements complexity:high Multiple weeks of work or more prio:2 Always look for prio:1 issues first before working on prio:2 labels Feb 5, 2025
@TrySound
Copy link
Member

TrySound commented Feb 9, 2025

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity:high Multiple weeks of work or more prio:2 Always look for prio:1 issues first before working on prio:2 type:feat Features and enhancements
Projects
None yet
Development

No branches or pull requests

2 participants