Skip to content
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

Support all possible entity property types #36

Closed
vyacheslav-pushkin opened this issue Dec 24, 2019 · 7 comments
Closed

Support all possible entity property types #36

vyacheslav-pushkin opened this issue Dec 24, 2019 · 7 comments

Comments

@vyacheslav-pushkin
Copy link
Collaborator

vyacheslav-pushkin commented Dec 24, 2019

  • ✅ Add support for remaining temporal fields:
localDate, localTime, localDateTime, offsetDateTime, offsetTime
  • ✅ Render InputNumber for numeric fields:
long, decimal, int, double

Support for big numbers is tracked under separate ticket #99 as it depends on REST API changes

  • ✅ Add support for masked fields. Render masked field for uuid.
  • ✅ Fix displaying of Associations:
    • Values of many-to-many Associations are not displayed in DataTable
    • Associations should be shown in the same manner as in the Generic UI:
        - One-to-many Associations are not shown anymore at the owning side
        - One-to-one Associations are not shown anymore at the inverse side
  • ✅ Do not display byteArray (similar to Generic UI)
  • ✅ Support long, uuid and all temporal types in DataTable's custom filters
@web-devel web-devel self-assigned this Jan 13, 2020
@web-devel web-devel added this to the 2020.1 milestone Jan 16, 2020
vyacheslav-pushkin added a commit that referenced this issue Feb 3, 2020
affects: @cuba-platform/react-core, @cuba-platform/react-ui, @cuba-platform/rest

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 3, 2020
affects: @cuba-platform/react-ui, @cuba-platform/rest

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 4, 2020
affects: @cuba-platform/react-ui, @cuba-platform/front-generator

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 5, 2020
affects: @cuba-platform/react-core, @cuba-platform/react-ui, @cuba-platform/rest

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 5, 2020
affects: @cuba-platform/react-core, @cuba-platform/react-ui, @cuba-platform/rest

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 5, 2020
affects: @cuba-platform/react-ui, @cuba-platform/rest

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 5, 2020
affects: @cuba-platform/react-ui, @cuba-platform/front-generator

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 6, 2020
affects: @cuba-platform/react-ui, @cuba-platform/rest

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 6, 2020
affects: @cuba-platform/react-ui, @cuba-platform/front-generator

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 6, 2020
affects: @cuba-platform/react-ui, @cuba-platform/front-generator

- Values of many-to-many Associations are now displayed in DataTable
- Associations are now shown in the same manner as in the Generic UI:
  - One-to-many Associations are not shown anymore at the owning side
  - One-to-one Associations are not shown anymore at the inverse side

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 6, 2020
affects: @cuba-platform/front-generator

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 6, 2020
affects: @cuba-platform/react-ui

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 7, 2020
affects: @cuba-platform/react-ui, @cuba-platform/rest

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 7, 2020
affects: @cuba-platform/react-ui, @cuba-platform/front-generator

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 7, 2020
affects: @cuba-platform/react-ui, @cuba-platform/front-generator

- Values of many-to-many Associations are now displayed in DataTable
- Associations are now shown in the same manner as in the Generic UI:
  - One-to-many Associations are not shown anymore at the owning side
  - One-to-one Associations are not shown anymore at the inverse side

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 7, 2020
affects: @cuba-platform/front-generator

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 7, 2020
affects: @cuba-platform/react-ui

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 13, 2020
affects: @cuba-platform/react-ui, @cuba-platform/rest, @cuba-platform/front-generator

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 13, 2020
affects: @cuba-platform/react-ui, @cuba-platform/rest, @cuba-platform/front-generator

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 13, 2020
affects: @cuba-platform/react-ui, @cuba-platform/rest, @cuba-platform/front-generator

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 17, 2020
affects: @cuba-platform/react-ui, @cuba-platform/rest, @cuba-platform/front-generator

related to #36

BREAKING CHANGE:
PropertyType is now a mandatory prop of DataTableIntervalEditor and
DataTableListEditorDateTimePicker, and a mandatory argument of helper functions
in DataTableIntervalFunctions.ts.
vyacheslav-pushkin added a commit that referenced this issue Feb 18, 2020
affects: @cuba-platform/react-ui, @cuba-platform/rest, @cuba-platform/front-generator

related to #36

BREAKING CHANGE:
PropertyType is now a mandatory prop of DataTableIntervalEditor and
DataTableListEditorDateTimePicker, and a mandatory argument of helper functions
in DataTableIntervalFunctions.ts.
vyacheslav-pushkin added a commit that referenced this issue Feb 18, 2020
affects: @cuba-platform/react-ui, @cuba-platform/rest, @cuba-platform/front-generator

related to #36
vyacheslav-pushkin added a commit that referenced this issue Feb 20, 2020
affects: @cuba-platform/react-ui, @cuba-platform/rest, @cuba-platform/front-generator

related to #36

BREAKING CHANGE:
PropertyType is now a mandatory prop of DataTableIntervalEditor and
DataTableListEditorDateTimePicker, and a mandatory argument of helper functions
in DataTableIntervalFunctions.ts.
@IskandarovRost
Copy link

IskandarovRost commented Apr 29, 2020

QA:

  1. Check BigDecimal value of different formats, separators, presigion, scale (https://doc.cuba-platform.com/manual-7.2/entity_attr_annotations.html#numberFormat_annotation)
  2. Display ID of UUID entity. is there a difference between ID and UUID datatype
  3. Double property. make some bizare NumberFormat
  4. Make an integerFld mandatory and specify some custom validation message
  5. Check read-only field displaying
  6. Check both Enum types
  7. Check embedded attribute
  8. Bean Validation error, String values longer than defined in model, etc
  9. Check security for a user: permissions to attributes.

@IskandarovRost
Copy link

IskandarovRost commented Apr 30, 2020

Reopen
To some entity add UUID propety
In Vaadin specify the value "6ea827b2-d51f-bd58-cbe8-aa68aace6eab" (or take some ID of some entity)
Create front module
Create entity management component for this entity.

AR: Something is wrong with the mask as could not specify such character sequence

image.png

@IskandarovRost
Copy link

IskandarovRost commented Apr 30, 2020

See also #141 about embedded attributes
And "Support for read-only properties" #190

@vyacheslav-pushkin
Copy link
Collaborator Author

@IskandarovRost

Reopen
AR: Something is wrong with the mask as could not specify such character sequence

This ticket is quite a large feature, so it's best if we track such bugs as separate tickets. Could you pls open one and assign it to me? Thanks.

@vyacheslav-pushkin
Copy link
Collaborator Author

Opened #197, moving this ticket back to QA.

@IskandarovRost
Copy link

IskandarovRost commented May 19, 2020

Text fields are the same for String properties with different length.
Created enhancement #217

@IskandarovRost
Copy link

closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants