-
Notifications
You must be signed in to change notification settings - Fork 5
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
extendable plugins with developer ecosystem #414
Comments
matthewwong525
changed the title
Functional tags with developer ecosystem
Functional commands with developer ecosystem
Nov 1, 2022
Are plugins already implemented? |
matthewwong525
changed the title
Functional commands with developer ecosystem
extendable plugins with developer ecosystem
Mar 11, 2023
fleetingnotes/fleeting-notes-plugins#1 will be completed with this so it can have immediate value! |
Let's make it a lot easier:
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
User workflow:
/url
text will be deleted automatically when function successfully runs. If it fails, it'll stay there and a popup will say that command failed. Only if they select the autocomplete option will it trigger.Developer workflow:
url
).main.ts
request_body
which defines the parameters to pass in. these will be. maybe something like this? :release.json
and make a PR to the sample repo. json might look something like:So there will be 3 files in the sample repo:
main.ts
,releases.json
,README.md
Integration guideline
my ideas on how to integrate this. please provide your suggestions as well.
[flutter_js](https://medium.com/@mustafatahirhussein/javascript-with-flutter-is-it-possible-c6ed53704c1b)
is a viable option to make a request (on all platforms) and get it to work. Create aplugin.dart
file / class underlib/services
. This class will have functions to convert a string javascript file to an actual flutter function that is callable (maybe store it for access later?).releases.json
from the repo and perform an upsert to a new table calledplugins
with all the data specified inreleases.json
.plugins
table and allow the user to add plugins into their application in the flutter app. Once the plugins are enabled, store the information on the enabled plugins locally. Also when they are enabled, it will pull the "latest" github releasemain.ts
file and parse it usingplugin.dart
class created in step 1.exports.settings
object parsed from theplugin.dart
class. also, there'll be an alias command so that they can change it from/url
to/whatevertheywant
.considerations
flutter_js
doesn't work consider using edge functions and database webhooks. (but preferably want to do it on client side)The text was updated successfully, but these errors were encountered: