dasish / qddt-client Goto Github PK
View Code? Open in Web Editor NEWDASISH Task 3.2 - Front end web app for QDDT
Home Page: https://qddt-test.nsd.no/
License: GNU General Public License v3.0
DASISH Task 3.2 - Front end web app for QDDT
Home Page: https://qddt-test.nsd.no/
License: GNU General Public License v3.0
In the menu, rename Domain-
org.hibernate.exception.SQLGrammarException: could not extract ResultSet; nested exception is org.hibernate.envers.exception.AuditException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet
Requested url : "audit/category//all"
When selecting an item in a grid for editing, it opens correctly, but when u select anything in modal form, focus changes in list to first element.
Find a way to keep focus on selected item.
After a topic is created, request "topicgroup/list/by-study" cannot get any topics.
This bug is related to QDDT backend. I cannot create issues on QDDT, so create one here.
Some of the event logic inside EventEmitter.next() could be used to transport more data, instead of barely doing anything.
Right now a we have code like the following code, which instead of sending a string, could send a User object to the listening component.
this.loginEvent.next('event');
checkout the latest qddt and create a category scheme (Type "List") with one category ("VERY_BAD") from demo.
Exception Message
{
"id" : "statement",
"url" : "http://nsd277.nsd.lan:8080/category/create/",
"exceptionMessage" : "could not execute statement; SQL [n/a]; constraint [uk_98qo8cf5kyu4c5d0bcrd04cqg]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement"
}
On page to create different categories still to be named Category
And a new page where the "Template" creation is made (List/Range/Missing values)
Call this page Category Schema
and use Category list, Scale & Missing Value as names instead of List/Range/Missing values.
Currently when a comment is added, the application is fetching the last entities in as a pageable resource. We are likely going to have to consider adding items on the fly locally for the user adding a comment if the server is seeing to much load from this.
For now, there are not any tests in the application. This will change as Angular 2 gets closer to exiting its alpha.
Currently, we are looking for a better strategy than wait(); for asynchronous tests. Feel free to comment if anyone has any pointers or fixes for this.
Refs #24,
A category template has been supported. A category template is a group including categories or sub-groups of categories.
Change what is lazy and what is eager
Survey + study by user
topic + concept by study
QuestionItem +question + responsedomain by concept/instrument
instrument by study
revision on demand.
please fix them. It's better that you can create an issue before you commit any code so that others can understand why you commit and when you finish committing. The issue number can be referred in your commit message.
In order to improve on loading time
change code to load revision history on demand (i.e. when user click on "link")
not when page loads. That will also fix a "bug" that revision isn't updated after a save
So can include underlines, bold text etc.
It is not possible to attach questions to concepts. Important for in the near future testing
Refs #24
remove Column index and add Column value.
What's supposed to do at your api?
Currently its just a simple hack, it needs to be improved.
It is based on a lot of null / not null and hide/show flags in home.component.
Refs #24
direction can be vertical and horizontal, even at any degree.
Already concept is added directly into main body of the tool
We agreed when I came to Bergen that question text would also be added directly in main part of tool (as part of question item)
TEST
There is a "-" sign next to survey but not next to Study or Module
Is the idea of the "-" to let you move up a level in the same way that "+" moves you down a level? Useful to have for Study or Module but not Survey which is the highest level
This is changes to the backend api, and not yet implemented in frontend, so implications should be miniscule.
Possibly dangerous to have such an easy delete option next to questions
At the same time it would be helpful to be able to delete concepts/questions - and text within these - in case they mistakenly get entered in the wrong place. It should be possible to undo genuine human error (spotted and corrected prior to a published version) without having to assign a rationale/new version
Is it possible to add an undo button which can be used from anywhere in the tool to undo the last action - in case you press a button and for e.g. delete something by mistake
It just doesn't work when I try to save
Should be possible to add authors (name and affiliation) for survey, study and (especially) module
In ESS it is not necessary to have this function for individual concepts or questions - though this might be useful for other studies
Create a concept component that can add,remove and reorder child concepts.
The root concept will always have a topic as its parent.
and every concept has 0 or more question "attached" to it
questions could be added from a simple dropdown for the time being. (but should be selected from a search-result later on)
the hierarchy should be visual similar to how the comments are drawn.
I had the same problem today as Lizzy had last week - I entered a question and it showed up as saved
But when I tried to attach it to a concept it didn't come up as an option
It was the question "conflit"
Response domain has to be supported in qddt-client. Category will be implemented as well.
Or make it more generous
Some concept/module descriptions are quite long
Firstly, a survey program is created. Its revision has a revision number (1) with Reason "created". When a study is created for this survey. The survey will have two revision numbers: (1) and (2), where both of the reasons are "created". But the revision number of the new created study will be (2).
(@hildeorten, please check whether this workflow is consistent with what you expect.)
In IE10, XMLHttpRequest required Cross Origin Resource Sharing (CORS) or required CORS preflight.
This will result in the failure of creating questions.
The menu on the right-hand side should list all Complex (parent) and sub (child) concepts in a module, for navigating between concepts while working on the concept level
Refs #24
support range from and to.
The input from @hildeorten :
It is only for scale domain that the direction is important (see issue #29 ). In a code domain codes can also be alphanumeric like 'NO','SE'. A code list also supports alphanumeric.
Codelist:
'NO' Norway
'SE' Sweden
If click on a concept in the right hand TOC then don't get taken to that concept
This function will be very useful
Refs #24
Code List has hierarchy structure which is able to link code list or category list.
The history icon - clock wrapped in an arrow - doesn't seem to be working. Even where there are edits implemented it shows no info on history
I tested it for concepts specifically
If app functionalities depend on browser, browser versions and browser settings, we have to inform people at HQ and NSD about it
After creating and editing category templates several times, this exception happens. But this error maybe does not occur immediately when the first category template is created.
categoryType:"LIST"
children:[{id: "378949ec-65d0-11e5-9d70-feff819cdc9f", modified: [2015, 1, 1, 12, 0, 1],…}]
description:"sdf"
label:"s3"
name:"S3"
Uncaught could not execute statement; SQL [n/a]; constraint [uk_98qo8cf5kyu4c5d0bcrd04cqg]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
We need more user accounts in qddt as soon as the Resonse domains have been published
move concept to other part of concept-tree
The current client shares one username ([email protected]) to login. As a result, if a new visitor logins with it, the existing authentication will be invalidate. It's better to create one username for each user.
When user press submit, the dialogboxes doesn't close.
this is true for
/survey/edit/survey_edit.components.ts
/study/edit/study_edit.components.ts
/topic/edit/topic_edit.components.ts
/concept/edit/concept_edit.components.ts
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.