-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Observations list page #118
Comments
The existing observation form is a good start, here is how I see that tying into the above:
|
Apologies for posting such a novel here, but these are my running notes as I've been reviewing Alex's latest commits to Modelling the Observations listI want to separete our model for the Observations list into the constituent models for the the client and data plugin which will handle the rendering and HTTP requests, respectively. In doing so, I'm hoping it will reflect a model that's more idiomatic to Vue and single page applications in general. Note that currently, the db module and http module are actually lumped together into one big Vuex module ( (For reference, I've added a rough overview in the docs hightlighting how the app is structured around Vue's and Vuex's API's., which might help explain some of the rationale for what follows.) Editted: in order the reflect changes in #3 (comment)
|
I've been thinking more about the sync state (ie, By enforcing this separation between UI state and network state, we also get the advantage of using Vuex's built-in observables again, as we've been using for all other data plugin actions; that is, we can add another subscribe method to the data plugin, which listens for changes to the ready state, and then dispatches its own |
All great thoughts and details! +1 |
I originally posted this in a comment to [Issue #3](farmOS/field-kit#3 (comment)). It should still be cleaned up and expanded, but I feel it hits all the major beats of how we're leveraging the Vue ecosystem for the client and data plugin. The login plugin should be addressed, too, but it's pretty similar to the data plugin; it's also in need of some overhaul so I'd like to wait til that's done.
I originally posted this in a comment to [Issue #3](farmOS/field-kit#3 (comment)). It should still be cleaned up and expanded, but I feel it hits all the major beats of how we're leveraging the Vue ecosystem for the client and data plugin. The login plugin should be addressed, too, but it's pretty similar to the data plugin; it's also in need of some overhaul so I'd like to wait til that's done.
|
(Transferring all issues from old repository. See #92) |
Below is a rough idea for Observations list page, which I envision would be the first thing you see when you open the app. Here is a mockup as a JSFiddle: https://jsfiddle.net/4nL9khx3/21
The text was updated successfully, but these errors were encountered: