53 Commits

Author SHA1 Message Date
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
Ashish Gupta
740541c0c7
CYPRESS: simplify side navigation click in cypress (#14818)
* simplify side navigation click in cypress

* make sidbar item uses common enum

* fix cypress failure of outside import
2024-01-23 15:30:05 +05:30
Shailesh Parmar
284ca34b18
#14554 test case name's length limitation-DBT (#14815) 2024-01-22 19:12:36 +05:30
Shailesh Parmar
dc02fbb358
#14387 UI: Test case values not loading on first edit, shows up on second (#14773) 2024-01-19 22:21:15 +05:30
Ashish Gupta
0415a908d6
MINOR: Change sidbar data-quality menu (#14789)
* Change sidbar data-quality menu

* minor changes

* localization keys added

* minor fix

* fix unit test

* removed unused routes
2024-01-19 22:13:26 +05:30
Ashish Gupta
2e9b60f2d0
feat(ui): revamping the sidebar navigation design (#14625)
* revamp sidebar design

* minor chnages

* menu fixes and test modifyed

* fix cypress test

* fix cypress test and test code improvement

* fix entity and database cypress test

* fix data-quality cypress and fix beta tags

* change incident-manager icon and fix flaky cypress issue

* fix user cypress issue
2024-01-16 13:09:37 +05:30
Chirag Madlani
6118353ee8
skip(test): cypress tests which are failing (#14659) 2024-01-11 08:51:14 +05:30
Ashish Gupta
d9d0400cec
feat(ui): supported resolution center in data quality (#14037)
* feat(ui): supported resolution center in data quality

* resolution details page added

* components added in test case result page

* connected listing and detail page

* added severity modal and addressed comments

* added support to edit status

* change resolution center name to incident manager

* severity crud support

* added incident-manager-api

* updated listing page and added navigation for incident manager in left menu bar

* updated icon

* added issue tab in incident manager

* translation-sync

* commented the security check for timebing

* updated label style

* added below filters in incident manager listing page
- Assignee
- Status
- Test case name

* fix status modal was not working in incident manager listing page issue

* - integrated permissions in incident listing page and details page
- added update owner functionality
- IncidentDetails page updated as per mock
- fixed DQ component added redirection from status

* added test case resolution stepper in issue tab

* updated task details tab as per mock

* updated testcase ui

* added beta tag in left panel

* added reference line in graph for single count

* fixed failing unit test

* added unit test for severity and severityModal component

* added unit test for testCaseIssueTab

* added unit test for testCaseResultTab component

* added unit test for testCaseIncidentManagerStatus component

* added unit test for TaskTabIncidentManagerHeader component

* added unit test for below component
- incidentManagerPage
- IncidentManagerDetailPage

* added cypress for incident manager

* fixed failing cypress

* updated ui as per mock

* translation sync

* skip cypress for incident manager

* fixed dataQuality cypress test

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2024-01-09 17:30:40 +00:00
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
Shailesh Parmar
d3ebe6fb4b
Minor: fixed profiler setting is not persist for sample data count (#14350) 2023-12-12 19:04:03 +05:30
Shailesh Parmar
9a0784913d
Feat: #11346 Add UI Support to Add Custom Profiler Metrics (#14132)
* #11346 Add UI Support to Add Custom Profiler Metrics

* fixed failing unit test

* fixed loading issue and added no profiler banner in column profile component

* create context provider and removed all the common props to context

* fixed failing unit test

* miner fixes

* added view part of custom metrics

* added:
- Edit action
- Delete action
- Basic structure of add form

* translation

* work on create custom metric for table and column.

* refactor structure in addCustomMetric page

* fixed failing unit test

* fixed failing cypress test and added create custom metric cypress test

* added cypress test for custom metric covered below scenarios
- Add
- Edit
- Delete
table and column custom metric

* added unit test for customMetricForm

* added unit test for
- NoProfilerBanner
- CustomMetricGraphs

* unit test for addCustomMetricPage

* added unit test for utils file

* fixed failing unit test

* fixed encoding issue

* addressing comments
2023-12-11 16:42:11 +05:30
Aniket Katkar
308381c56b
chore(ui): added cypress tests for soft delete entity flow (#13951)
* Added cypress for soft delete and entity edit actions check flow

* added cypress tests for teams page for soft deletion flow

* fixed entity deleting without entering confirmation text

* localization changes for other languages

* added cypress changes for delete widget confirmation text check

* fixed delete text retaining after closing modal

* refactored the cypress for soft delete flow to

* renamed the files according to the naming convention

* worked on comments and cypress test improvements

* fixed failing cypress

* fixed TagsAddRemove spec

* test code improvements

* moved util functions to appropriate files
reference type cypress comment fix

* replaced react router Link component with anchor tag

* Delete widget code refactoring

* fixed issue with child assets not updating correctly after soft deletion of database, database schema and service pages

* Fixed cypress imports

* Fixed delete modal input value retaining issue

* fixed import issue in dataQualityTest

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2023-11-27 15:31:52 +05:30
Shailesh Parmar
ca45765de4
#14083: ui is breaking while updating test case and resolution status (#14088) 2023-11-23 21:37:26 +05:30
Shailesh Parmar
48fd4f9ce6
cypress: fixed AUT failure part 5 (#13940)
* cypress: fixed AUT failure part 5

* fixed cypress failure

* fixed team cypress

* fixed errorplace holder
2023-11-11 00:08:32 +05:30
Shailesh Parmar
354c38107e
cypress: Auto skip test part 1 (#13858)
* cypress: Auto skip test part 1

* fixed skip test
2023-11-07 22:42:11 +05:30
Shailesh Parmar
306c8ecfbe
cypress: fixed AUT cypress test part 2 (#13818) 2023-11-02 10:39:10 +05:30
Chirag Madlani
d75e2e85f5
Fix aut (#13764)
* fix(test): AUT failures for 1.2

* fix cypress in query,addRemoveTier and data insight

* fix redshift with dbt

* update package

* fix yarn install

* skip service spec

* remove id from the ingestion json schema

* skip data quality and insight for main

* include service specs

* update CI

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2023-10-30 15:43:55 +05:30
Chirag Madlani
e87562c92e
Fix 1.2 feedbacks (#13665)
* fix(ui): feedbacks

No data placeholder visible before showing actial data

* fix wrong count for activity feed and tasks

* remove intermidiate no data placeholder for explore search

* fix superset cypress
replace table with internal table comp

* udpate cypress

* fix unit tests

* fix unit tests

* Fix what's new feedbcaks
remove user profile data from localStorage

* update whats knew content

* add debug logs to cypress

* fix: data products es query

* fix date time formate for executions
fix cypress warning of installation

* fix data product query

* remove debug logs for cypress

* fix persona permission on user page

---------

Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
2023-10-23 15:59:05 +05:30
Chirag Madlani
5202312f77
move services tests to service folder (#13573)
* move services tests to service folder

* skip DQ cypress

* fix cypress

* fixed some cypress
2023-10-16 23:08:07 +05:30
Ashish Gupta
197dd196fa
feat(ui): change sidebar label to tooltip hover and supported multi language (#12996)
* change sidebar label to tooplip hover and supported multi language

* fix alignment and cypress issues

* fix cpress issue
2023-08-29 13:01:06 +05:30
Pere Miquel Brull
4862b0df28
Fix #10344 - Use ingestionPipeline retries when deploying (#12926) 2023-08-23 14:52:54 +05:30
Sachin Chaurasiya
6e2a8d0e4f
feat(ui): generate ingestion workflow form from schema (#12774) 2023-08-20 12:01:06 +05:30
Shailesh Parmar
155df0f4bb
cypress: fixed DQ spec failure in main branch (#12825) 2023-08-10 12:30:16 +05:30
Shailesh Parmar
94fbbe5d98
cypress: fixed e2e cypress test (#12715)
* ui: fixed multiple API call in table profiler tab

* fixed welcome screen alignment issue

* cypress: fixed e2e cypress failure

* fixed setting modal issue

* encoded url for data quality

* revert isLoading changes in tableprofilerV1 tab

* fixed multi-api call on tab switch

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2023-08-03 09:57:55 +05:30
Shailesh Parmar
80e2fc37d0
ui: fixed ingestion button redirection issue, testCase api call issue (#12575)
* ui: fixed ingestion button redirection issue, testCase api call issue

* cypress fixed
2023-07-25 00:06:07 +05:30
Shailesh Parmar
4e217aa00f
ui: worked on skip test of the cypress (#12430)
* ui: worked on skip test of the cypress

* fixed data quality skip test

* fixed failing cypress
- redshiftWithDBT
- DataQuality
2023-07-17 11:27:40 +00:00
Teddy
c98a15ca19
Fixes #11705 - Update ingestion and backend to match new DQ flow (#11836)
* feat: refactor ingestion flow logic

* feat: ran python linting

* feat: update tests to match new workflow

* feat: ran python linting

* feat: update sample data test suite name

* feat: Added backend logic to support logical and executable test suites

* feat: clean up java and json code

* feat: added sample data for logical and executable test suites

* feat: remove executable from CreateTestSuite

* feat: ran python and java linting

* feat: added README info for data quality structure

* skipping cypress to keep main green

* fixed typescript type issue

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2023-06-01 23:19:13 -07:00
Sachin Chaurasiya
25370156c1
fix(#11575): filter pattern does not work if , in regex (#11849)
* fix(#11575): filter pattern does not work if `,` in regex

* chore: update the filter pattern component

* update cypress

* minor change

* chore: add `noImplicitAny` in tsconfig
2023-06-01 12:25:59 -07:00
Shailesh Parmar
78277fcc32
refactor(ui): replace custom tab component with antd component - final part (#11801)
* refactor: replace custom tab component with antd component - final part

* removed unneccessary props

* fixed failing cypress and unit test
2023-05-30 12:56:13 +05:30
Shailesh Parmar
7eba3e6b4a
refactor(ui): assets details page, replace custom tab with antd tabs - Part 2 (#11783)
* refactor(ui): assets details page, replace custom tab with antd tabs

* fixed failed unit test and cypress test
2023-05-29 12:06:19 +05:30
Shailesh Parmar
bebdb98e68
refactor(ui): replace custom tabs component with ANTD component for dataset details page (#11751)
* refactor(ui): replace custom tabs component with ANTD component for dataset details page

* fixed failing unit test and updated tour page

* fixed failing cypress

* replace custom tabs with antd tabs in all the version details page

* code smell

* refactor table details page

* fixed failing unit test and broken tour page

* fixed broken tour
2023-05-26 15:15:14 +05:30
karanh37
a81941f9eb
fix: resolve skipped cypress tests (#11722)
* fix: update cypress tests

* fix: cypress

* fix: font loading issue for production

* fix: cypress tests

* fix: alert cypress

* fix: add enter in operation

* fix: alert cypress

* remove un-neccessary check for add dbt ingestion title

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2023-05-24 12:44:21 +00:00
karanh37
0bac709588
feat(ui): landing page new design (#11630)
* feat: initial commit for landing page

* feat: add feeds widget

* fix: review comments

* fix: review comments

* feat: add mentions and task tab content

* fix: jest test

* feat: adding activity feed provider to handle all operations

* fix: update drawer component

* fix: add edit action for activity thread

* fix: update glossary spec

* fix: sonar issues

* fix: jest tests

* fix: use poppins font from package

* fix: update reactions

* feat: update focus on editor

* fix: add source code pro font for code style

* chore: update yarn lock

* fix: review comments

* fix: move left sidebar to page container

* fix: update jest tests

* fix: skip failing tests

* fix: cypress test

* fix: code smell
2023-05-23 14:26:52 +05:30
Chirag Madlani
cd464c4272
fix(ui): displayName as optional field (#11685)
* fix(ui): displayName as optional field

* fix cypress

* fix cypress

* fixed cypress

* fix glossary spec

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2023-05-19 17:59:54 +00:00
Sachin Chaurasiya
1546e78dbc
e2e: add e2e for service requirement doc panel (#11367)
* e2e: add e2e for service requirement doc panel

* fix: bigquery field name
2023-05-01 19:58:04 -07:00
Ashish Gupta
1cec768993
chore(ui): update no data placeholder across the app (#11192)
* Change Placeholder for add and supported Permission based placeholder too

* localization key added

* added filter,permission and no data placeholder

* localization key added

* fix unit test

* fix unit test

* supported filter placeholder for search and change entity glossary and tags placeholder in explore

* fix cypress issue

* supported filter placeholder in Table

* fix tests

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2023-04-25 12:36:40 +05:30
Aniket Katkar
fb4ed8f83a
ui: data quality improvements (#11220)
* Removed scrollbar in the test case table

* Fixed error thrown on test case details page

* added class to remove scrollbar

* Fixed padding in the graph and alignment of the parameters displayed

* Fixed flaky DataQualityAndProfilerTest

* Moved the expanded row content custom styling to component specific styling

* Changed the default data range in datePicker to `last 3 days`

* Fixed DatePicker value and results mismatch

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2023-04-24 22:14:48 +05:30
Teddy
3524df3389
Use display name in dq (#11200) 2023-04-24 22:12:40 +05:30
Sachin Chaurasiya
46ad72ff7a
feat(ui): Enhance markdown with custom rendering (#10903)
* chore(ui): Enhance markdown with custom rendering

* chore: sync locales

* revert: hook changes

* fix: styling

* chore: rename custom renderer

* chore: increase the font size

* chore(ui): add support for inline markdown parsing

* chore: add custom renderer for links

* chore: add comments

* chore: add custom renderer for headings

* chore : update copy button styling

* doc: add postgres doc as example

* chore: update postgres example.

* chore: resizable layout initial setup

* fix: unit test

* fix: markdown font size

* chore: add resizable panels on edit service page

* chore: address feedback

* chore: update custom renderer to support heading id

* chore: only render the second panel if required.

* feat: add support for scroll down to focused field section

* chore: add service icon for selected service

* chore: minor update

* chore: remove side panel text check.

* chore: update the heading styling

* chore: add resizable panel for add and edit ingestion page

* chore: show right panel when adding ingestion

* Fix connection config files with new structure

* chore: initial commit for generate formFields

* chore: add info popover

* fix: unit test

* chore: generate metadata workflow fields dynamically

* chore: generate other workflow fields dynamically

* chore: add key and id for form item

* chore: add support for fetching the workflow md files

* fix: cy tests

* fix: workflow form styling

* chore: work on styling as per feedback

* chore: refactor fields

* chore: add custom fields for description.

* chore: change description rendering for object and array fields

* chore: add support for ingestion field focus

* fix: test

* fixed failing cypress

* fixed failing cypress

* fixed issue related to re-render

---------

Co-authored-by: Nahuel Verdugo Revigliono <nahuel@getcollate.io>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2023-04-17 19:23:23 +05:30
Teddy
77b94f9ebb
fix: rename tests endpoint to dataQuality/<specificity> (#10970) 2023-04-14 00:14:49 -07:00
Chirag Madlani
c89bcb51b4
feat(ui): breadcrumb style updates (#10974)
* feat(ui): breadcrumb style updates
entity title styling

* fix localisation

* update explore card & summary panel breadcrumbs

* fix breadcrumbs for container, glossary & tags

* update breadcrumb styling at all the places

* fix service type missing from version components

* fix unit tests

* fix breadcrumb styling
fix icons related changes
fix link related issue

* fixed assets related feedbacks

* add external link for assets

* fix cypress

* fix breadcrumbs on the glossary

* fix glossary breadcrumb issue

* update databaseSchema page layout

* fix code smells

* fix code smells

* fix unit tests failing

* update tag icon and fix lineage cypress

* fix restore entity

* fix restore entity spec

* fix test id issue
2023-04-14 11:28:11 +05:30
Aniket Katkar
6cf982bb2f
feat#10614: consolidate 'OpenMetadata' service settings under one section. (#10768)
* Added 'Data Insight' and 'Search' pipeline deployment functionalities in separate pages from the settings

* Changes for localization for other languages

* fixed cypress test constant for changes made

* Removed 'OpenMetadata' service connection displaying in metadata category in settings. Also removed service details page and edit connection page for the same.

* modularized the ingestion component for flexible usability in 'Data Insights' settings page

* Fixed styling issues caused by long ingestion pipeline name inside the pipeline tables

* fixed failing cypress test

* fixed code smells

* fixed edit ingestion page breadcrumb

* Fixed long pipeline name overflow issue on success page

* Added Icon for data insight menu item

* Worked on comments

* localization changes for other languages

* fixed errors occurring due to wrong imports of OPENMETADATA constant

* fixed OPENMETADATA constant import error

* Fixed failing unit test

* Fixed typescript error

* Changes made to pass the pipelineType filter while fetching the ingestion pipelines for a service

* Added tabs in the elastic search re index settings page

* updated localization files for other languages

* Updated the no data placeholder for settings page ingestion pipelines tab

* added email configuration settings page

* localization changes for other languages

* fixed TriggerReIndexing component errors

* made changes to reflect the selected tabs in the URL for elasticSearch reIndex page

* fixed redirection issue from ingestion success screen to search settings page

* Added loader while loading email configurations

* changed the name of the button for adding elasticsearch reIndex pipeline

* added localization changes for other languages

* added 'Live' tab in the ElasticSearchReIndex Page

* localization changes for other languages

* added content in the locales folder for the description of the email configuration form fields.

* removed edit-config modal and moved the form to separate page with field descriptions in the right panel

* changed no data placeholder message for data insights and elastic search index pipeline

* localization changes of other languages

* changed the edit icon to use the newly added icon

* Replaced deprecated DropdownList component with antd Dropdown

* Replaced custom separator with antd Divider

* replaced logic to create query params string with qs

* removed unnecessary state to store active tab

* Removed extra div element between pageContainer and pageLayout

* Replaced manual mapping to get options with map function

* changed logic to show 'stopReIndexing' and 'reIndexAll' buttons

* Changed icon for stopped status for re-indexing

* Fixed menu item selector causing cypress failure

* fixed postgres spec

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2023-04-12 18:25:47 +05:30
Suresh Srinivas
c8b640674b
10041 part2 - Refactor and cleanup APIs (#10900)
* Use @Tag annotation to group APIs in the swagger documentation.

* Hide internal APIs

* Change API path events/subscription to events/subscriptions

* Change API path from automations/workflow to automations/workflows

* Change API path v1/testCase to v1/testCases

* Change API path v1/testDefinition to v1/testDefinitions

* Change API path v1/testSuite to v1/testSuites

* Rename Kpi and kpi in the documentation to KPI

* Change API path v1/testConnectionDefinition to v1/testConnectionDefinitions

* Update API section in the API documentation

* Fix test failures

* Correctly capitalize Test Cases and Test Suites in API docs
2023-04-03 13:03:48 -07:00
Sachin Chaurasiya
55fde2d775
chore(ui): add glossary and glossary terms count on landing page (#10640)
* chore(ui): add glossary and glossary terms count on landing page

* sync local files

* chore: update icon for glossary term

* fix: cy test

* sync locales

* address comment

* fix: cy test

* fix: cy test

* fix: cy test
2023-03-21 19:33:44 +05:30
Ashish Gupta
4ec185ff22
UI : Added Delete toggle and restore Testsuite functionality (#10479)
* Added Delete toggle and restore testsuite functionality

* Added cypress and address comments

* fix cypress and redirect to detailsPage

* missing localization for other languages

* Worked on Cypress comments

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2023-03-10 14:30:53 +05:30
Sachin Chaurasiya
5b94f5ae70
chore(ui) : Add missing localization (#10205)
* chore(ui) : Add missing localization

* fix : unit test

* chore : add missing locale keys

* chore : add missing locale keys

* fix: cy failures

* fix : cy test

* address comments
2023-02-16 17:28:00 +05:30
Pere Miquel Brull
1835de8bf2
Group airflowConfiguration into pipelineService config (#10120)
Group airflowConfiguration into pipelineService config (#10120)
2023-02-07 16:30:42 +01:00
Suresh Srinivas
1990ac56d9
10041 Part1 - Refactor and clean up System APIs (#10042)
* 10041 Part1 - Refactor and clean up System APIs

* Update the config resource endpoint url
2023-02-03 16:25:40 -08:00
Chirag Madlani
13357ab668
chore(ui): enable eslint rules for i18next (#9675)
* chore(ui): enable eslint rules for i18next
add sync language resources with main file

* chore : exclude i18next/no-literal-string for js, jsx, json and test files

* chore: add connection schemas in eslint ignore

* fix : missing localization part 1

* fix : missing localization part 2

* fix : missing localization part 3

* fix : missing localization part 4

* fix : missing localization part 5

* fix : missing localization part 6

* fix : unit test

* ignore mock files

* update i18next/no-literal-string to error from warning

* address comments

* fix cypress

* fix cypress

* fix element not found error on tests

* scroll to element before assertion

---------

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2023-02-03 20:48:41 +05:30
Ashish Gupta
942b553edc
UI : Fix Test cases breaking issue while editing (#10095)
* Fix Test cases while edit

* Added cypress for null test type

* fix unit test issue
2023-02-03 16:30:50 +05:30