fozy81 / kelpie Goto Github PK
View Code? Open in Web Editor NEWThe easy way to plan your research projects.
The easy way to plan your research projects.
Need ability to delete forms from method and some ability (if only by deletion) to re-order forms.
id
key?If question not changed, they are reset to text type input. Only update question which have been edited.
Form order should remain the same as order they are added to task - manually or by adding method(s).
Currently adding a new form will added it but best if new form is added but opens the edit form mode.
Initially idea: Needs create form component to update this.edit == true? pass this down are attribute on form-card.hbs?
UPDATE: Need to change data on form model - include edit attribute - then change that attribute whether in edit mode or not
Currently multi-entry forms add multi entries to the same form. Instead, responses entered and saved together should create a new form. This keeps each 'save' into the form identifiable with a unique formEntryId. However, we don't want to display a form for each entry in the task. So multi-entry forms will only display a form for the first replicate of that formId. But when clicked on will display all responses for that form beneath the form entry section.
rep
to form model (and demo data)rep
multi-entry form when opening taskIssue:
Currently Projects don't show the percentage completion. Currently % completion is calculated dynamically for forms and tasks. This is not likely to remain scale-able as number of questions, forms, tasks and projects increases. Furthermore, project route does not currently load tasks, forms and questions models partly for performance so % completion can't be dynamically calculated in that route.
Suggestions:
Write code to allow 'add question' button to work.
Need to add empty question? Increment counter each time 'add question' is clicked. Then display the empty question for number of count?
on 'click' this.addQuestiont then @Tracked count this.count {let count += 1 }
Create addQuestion component?
addQuestion
functionconsole.log('works')
etc )@track
question count = ''
?this.countt
addQuestion
- display messageaddQuestion
component?Multi entry response can't be blank, it will use previous response value.
A form may or may not have an associated container such as a sample bottle or packaging box. A form can have a default container associated with it which is added by default when the form is added to task. This default container is selected when editing the form.
When form(s) share a container - we will need to display that container to click on. Once clicked on the container will open and display the forms inside. This could be recursive (Russian doll style). With a box containing smaller boxes, containing bottles etc.
Forms without containers will be display as currently - directly in the Task template. These are rendered first (i.e. container == NULL)
If container == true, then only display the container details. When the user clicks on the container, filter the forms for matching containerRecordID and display those forms.
To allow recursive containers, parentContainerId == containerId (displayed at top level), then when clicking on the top level /parent container filter for other containers where parentContainerId == containerId (of top level container) and so on...
Update models:
template - formTemplate i.e. model: form-template.js store: formTemplate
action - questionTemplate
Update associated components / routes / templates
Add models
projectTemplate
taskTemplate
Adding tag functionality not working currently
Currently if removing record (project, form, tasks etc) They are destroyed. Instead only add archived = true flag. And don't display. Then these can be restored or destroyed with extra steps.
Issue:
Currently all remote documents are synced to local db. This won't scale.
Fix:
Only sync a limited number of most relevant documents to local db, but if online, allow search/data entry for all remote documents?
Steps:
Multi entry forms don't appear correctly if added in a method.
Update models
Create container component
level
from container/taskUpdate task component
level
from container/taskEdit form updating and form creation code
Does this work easily with updates or changes etc?
Remove console logs
Pass all linting tests and add to CI
Option to archive methods if no longer needed (similar to forms)
After adding a response to multi-entry form, make the responses displayed below the form editable.
Create response table component.
Leaflet map input?
Issue
When clicking save button while editing form, the questions aren't saved correctly. However, if 'save and add' button clicked the questions and form are correctly saved and added to the task.
Expected
When clicking save button the form and the related questions should be saved correctly. They can then later been added to a task or method, and all related questions displayed.
To do
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.