-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Plugin config #80
Merged
Merged
Plugin config #80
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This makes it possible to have clients request any data using parameters. It's basically a glorified real-time live data REST API over websockets, really. The cool thing about it is that it's implemented with React Suspense so to the developer, it behaves as if you were just calling a function. Closes #59
Replaced the WebSocket netsend API with HTTP, since it makes it easier to include the uploaded files inline. Todo: Create a utility function for moving files wherever you want, most likely placing them inside the assets folder. The good news is that the input function is able to decide whatever they want to do with the file, which is nice.
Begin storing data as YAML, to make it easier to edit by hand. Refactor the db-fs package to use class inheritance rather than wrapping objects. This provides a neater experience, with fewer hacks for the end user, although the implementation itself is full of hacks ;) Created a function that can check existing names to make sure names aren't being duplicated. This makes it possible to use names as IDs while still keeping them unique. Add a Snapshot button to the development version of the app. This serves as the save button, which makes it so you can restart the server to get it back to an expected state, but click the button to save the state again. Started writing plugins to the file system. Yay!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Depends on #71, #76, #72. Don't merge until those are merged.
Begin storing data as YAML, to make it easier to edit by hand.
Refactor the db-fs package to use class inheritance rather than wrapping objects.
This provides a neater experience, with fewer hacks for the end user,
although the implementation itself is full of hacks ;)
Created a function that can check existing names to make sure names
aren't being duplicated. This makes it possible to use names as IDs
while still keeping them unique.
Add a Snapshot button to the development version of the app. This
serves as the save button, which makes it so you can restart the server
to get it back to an expected state, but click the button to save the
state again.
Started writing plugins to the file system. Yay!
Related Issue
Refs #57
How Has This Been Tested?
Manual tests only, for now.
Types of changes
change)
Checklist: