ddata-core's People
ddata-core's Issues
Create test for Search model
Need to be tested:
- The model needs to be created
- The model needs to be created as a correct type
- The model should have all required properties
- All properties should have correct type
- The model should have the following functions:
- init
- prepareToSave
- The above listed functions should provide correct output
ddata-core base model-ben a prepareFieldsToSaveAsBooelan elírás
prepareFieldsToSaveAsBooelan helyett prepareFieldsToSaveAsBoolean-ra kell javítani
dd-select value
Simple mode-ban az érték string lesz és nem szám.
Create test for Notification model
Need to be tested:
- The model needs to be created
- The model needs to be created as a correct type
- The model should have all required properties
- All properties should have correct type
Create test for Base model
Need to be tested:
- The model needs to be created
- The model needs to be created as a correct type
- The model should have all required properties
- All properties should have correct type
- The model should have the following functions:
- init
- prepareToSave
- validate
- getValidatedErrorFields
- setDate
- getCurrentISODate
- toISODate
- toISODatetime
- toISOTime
- getCurrentUserId
- getDefaultDevizaId
- calculateDateWithoutWeekend
- prepareFieldsToSaveAsString
- prepareFieldsToSaveAsNumber
- prepareFieldsToSaveAsBooelan
- initModelOrNull
- initAsBoolean
- initAsBooleanWithDefaults
- fieldAsBoolean
- initAsString
- initAsStringWithDefaults
- fieldAsString
- initAsNumber
- initAsNumberWithDefaults
- fieldAsNumber
- getCurrentTime
- The above listed functions should provide correct output
select componens nem _id végződésű property esetén nem működik
<dd-select>
componens használatakor, ha a field
mezőben nem _id
a property végződése, akkor nem működik.
A propertynek csak undefinede
-et állít be.
A ddata-ui-input homepage url-je nem jó
Create test for SearchResult model
Need to be tested:
- The model needs to be created
- The model needs to be created as a correct type
- The model should have all required properties
- All properties should have correct type
- The model should have the following functions:
- init
- The above listed functions should provide correct output
Create test for BaseSearch model
Need to be tested:
- The model needs to be created
- The model needs to be created as a correct type
upgrade to angular 14
Create test for BaseCreateEdit component
Need to be tested:
- The component needs to be created
- The component should depends on the helperService
- The component should have all required input parameters
- The isModal input should be set the property to false
- The saveToStorage input should set the property to true
- The model property input should create a new empty model based on the given type
- The other properties of the component should be set correctly from the data input
- The component should have the following functions:
- the ngOnInit function should runs the load function,
- the load function should load one instance of model with a given
id
, - the save function should save the current model,
- the save saveAsNew function should save the model as a new instance,
- the stepBack function should navigate to the
{model.api_endpoint}/list
URL, - the stepBack function in case of modal dialog should emits
null
insaveModel
output - The component should have a saveModel ouput parameter
- saveModel should be an EventEmitter
Create test for InitialData model
Need to be tested:
- The model needs to be created
- The model needs to be created as a correct type
- The model should have all required properties
- All properties should have correct type
- The model should have the following functions:
- set refreshTime
- get refreshTime
- The above listed functions should get and set data correctly
dd-select autocomplete mode
It could work as example code on this link:
https://www.w3.org/WAI/ARIA/apg/example-index/combobox/combobox-autocomplete-none
But the listed items should be loaded from items
property or from an observable.
Add description to functions
first on base model functions (prepareToSave and others)
[dd-select] Teszt
a folyamat nem igazán jól van tesztelve. Jelenleg ezt teszteled:
- létrehozod a komponenst
- beállítod rajta a dialogSettings mezőt
- kinyitod a dialogot
- a komponenshez hozzáadsz egy kijelölt elemet
- Helyette ezt kellene tesztelni:
- létrehozod a komponenst
- beállítod rajta a dialogSettings mezőt
2.1. beállítod a dialog beállításokban, hogy melyik model-ek vannak kijelölve - kinyitod a dialogot (elemre kattintással, nem property állítgatással)
- ellenőrzöd, hogy ki van-e jelölve, aminek ki kell
- bezárod a dialogot (elemre kattintással, nem property állítgatással)
- ellenőrzöd, hogy a megfelelő helyen a HTML-ben megjelenik-e a kiválaszott adat
- újra kinyitod (elemre kattintással)
- próbálod kattintással módosítani a kiválasztottakat
- bezárod
- ellenőrzöd, hogy a megfelelő helyen a HTML-ben megjelenik-e a kiválaszott adat
Review test for Filesize pipe
Need to be tested:
The pipe should be transforms data correctly when:
- the value is null
- the value is undefined
- the value is 0
- the value is not divisible with 1024
- the unit is 'kb'
- the unit is 'mb
- the unit is 'gb'
- the decimals are 0 or undefined
dd-select single mode id felülírás
Ahol a dd-select single módban van használva, ott a model.id-t is felülírja nem csak a model.property_id-t, valamint a selected() és selectModel()-ek nem emittálódnak.
dd-input-date componens nem működik
Ha írok bele dátumot '2020-01-01' akkor hibásnak érzékeli.
Ha rákattintok a dátum ikonra nem hozza elő a napárat és nem tudok dátumot választani
Review test for Description pipe
Need to be tested:
-
The pipe needs to be created
-
The pipe should be transforms data correctly when:
- the value is null or undefined
- the value contains a phone number
- the value contains an email address
- the value contains an url
- the value contains a description
- the value contains other plain text
Create test for Paginate model
Need to be tested:
- The model needs to be created
- The model needs to be created as a correct type
- The model should have all required properties
- All properties should have correct type
WARNING: Circular dependency
build time:
WARNING: Circular dependency: dist\ddata-core\esm2015\lib\ddata-core.module.js -> dist\ddata-core\esm2015\lib\services\error-handler\app-error-handler.js -> dist\ddata-core\esm2015\lib\ddata-core.module.js
Create test for File model
Need to be tested:
- The model needs to be created
- The model needs to be created as a correct type
- The model should have all required properties
- All properties should have correct type
- The model should have the following functions:
- init
- prepareToSave
- The above listed functions should provide correct output
Create test for SearchModelFunctions model
Need to be tested:
- The model needs to be created
- The model should have all required properties
- All properties should have correct type
- The model should have the following functions:
- init
- setUrl
- setIcon
- The above listed functions should provide correct output
Create test for Selectable model
Need to be tested:
- The model needs to be created
- The model needs to be created as a correct type
- The model should have all required properties
- All properties should have correct type
Select Component single select behavior documentation example
Hibaüzenet részletezése
ddata-ban ne statikus hibaüzenet jelenjen meg nem feldolgozható kérés
, hanem specifikusan azt mutassa a hibaüzenet, hogy pontosan mi a hiba.
WARNING: Cannot call a namespace ('pluralize')
build time: WARNING: Cannot call a namespace ('pluralize')
dd-select should has a component as parameter what can show multiple selected items
Right now the dd-select component can show selected items as tags, but what if I pass in a list component for this purpose?
This feature can give a huge personalization advantage for the component. For example if I can select products with images I can show the product image with this feature. Or if I select color samples for product, I can show a nice colored square list.
Create test for BaseSearchResult model
Need to be tested:
- The model needs to be created
The model needs to be created as a correct type
Create test for ValidationError model
Need to be tested:
- The model needs to be created
- The model needs to be created as a correct type
- The model should have all required properties
- All properties should have correct type
date field egyáltalán nem működik
value change nél rosz változónév van meg adva a modelnek this.model[this.field]
helyett this.model[this._field]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.