7 Commits

Author SHA1 Message Date
Ashish Gupta
89b083b6f2
revamp announcement card (#16016)
* revamp announcement card

* cypress fix and minor improvement

* fix sonar issue

* refactor ProfilePicture view and support cypress and fix sonar lint issue

* added and fix some unit test

* fix and added unit test

* changes made as per comments

* fix sonar issue

* skip cypress failure due to flakiness
2024-04-30 15:19:57 +05:30
Sriharsha Chintalapani
7a3a271f26
Add entityReferences and entityReferenceList as custom properties (#15448)
* Add entityReferences and entityReferenceList as custom properties

* ui: allow to add custom properties for all available property types.

* make entity type as an array

* Fix label typo and import order in AddCustomProperty component

* Remove unnecessary property types with format

* Refactor CustomPropertyTable.tsx to handle array config and enum config

* Add entity reference options and update custom property form

* Add EntityReference and EntityReferenceList as a custom property

* add validation for date format

* Add date and dateTime input support to PropertyValue component

* Fix import order and add search functionality to type dropdown

* Fix custom property cypress tests

* add input for number, email, timestamp, timeInterval, duration, time, sqlQuery,

* add input support for entityReference and entityReferenceList

* Add placeholders for email, timestamp, start time, end time, and duration inputs

* Refactor PropertyValue component to use destructuring for timeInterval object

* Add minWidth style to PropertyValue component and include SQL query editor

* Add entityReference and entityReferenceList as a generic types and not reference to the existing types

* Remove services from entity reference types list

* handle property values for different property type

* Update ExtensionTable to handle object values in CustomPropertyTable

* Add entity reference list rendering and styling

* Fix file paths in complexTypes.json

* Add regex constant for UNIX timestamp in milliseconds and update language files

* Refactor custom property configuration and add new options

* Fix import order and update property value handling

* add unit tests for different input types for different property type

* add unit test for different property type values

* fix cypress tests

* add cypress test for CRUD for different types

* add cypress test for entity ref and entity ref list property type

* add cypress tests for all the 11 entities which support custom properties

* fix cypress test for createCustomPropertyForEntity

* Add new interfaces and types for CustomPropertyTable

* add cypress test for custom property to create via APIs for entities

* add cypress tests for string,integer, markdown, number, duration, email

* add cypress test for enum property for all entities

* add cypress test for sqlQuery, timestamp and timeInterval property

* fix cypress test for sqlQuery input

* fix flaky cypress test for sqlQuery input

* address comments

* Refactor import statements and update ENTITY_PATH enum

* Update import statement in CustomProperty.ts

* change TimeInterval to Time Interval

---------

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2024-03-26 11:02:44 +05:30
Chirag Madlani
1be7475505
chore(ui): add tags for cypress spec files (#15167)
* chore(ui): add tags for cypress spec files

* update labeler.yaml
2024-02-17 12:06:59 +05:30
Chirag Madlani
b1d0235713
fix(ui): minor ui fixes for the release 1.3 (#14977)
* fix(ui): minor ui fixes for the release 1.3

* wrap ingestion tab with isadmin flag

* update beta service list

* fix layout for form buttons

* cleanup
2024-02-01 19:27:34 +05:30
Chirag Madlani
5180f17e53
fix(ui): Delete widget not working with other lang (#14769)
* fix(ui): Delete widget not working with other lang

* fix cypress tests

* fix tests

* fix udpate displayName issue

* fix tests

* fix owner issue

* fix failures
2024-01-24 00:42:42 +05:30
Chirag Madlani
ae884d54de
test(e2e): organise ingestion tests (#14649)
* test(e2e): organise ingestion tests

* fix ingestion tests

* push all the service ingestions

* fix name regexp issue

* fix database spec

* aut fixes

* fix follow entity tests

* fix follow test case

* fix soft delete tests

* fix tests

* fix dashboard

* fix left side bar issue
2024-01-16 16:38:40 +05:30
Chirag Madlani
98f3f0708c
[WIP] Cypress organise (#14419)
* chore(test): organise cypress tests

* improve entity tests

* update tests

* support service spec

* fixed glossary term issue

* support custom properties

* fix tier flakiness

* fix failing tests

* fix service spec and add search index tests

* update tests

* enhance tests to cover Database related entities

* fix database spec

* fix tests

* add dashabord datamodel entity

* run all the specs

* fix import error

* fix test

* fix some tests

* support soft deleted checks

* address comments

* fix test failures

* fix test failures

* reduce test results count to avoid cypress limit

* fix test issues

* fix updateDisplayName spec

* fix custom property and visit entity issues

* Fix DQ tests
2024-01-08 15:23:39 +05:30