4793 Commits

Author SHA1 Message Date
dependabot[bot]
e1806b50a5
Bump loader-utils in /openmetadata-ui/src/main/resources/ui (#8578)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 22:44:02 +05:30
Shailesh Parmar
1538972341
UI: Fixed Data is getting round off at the time of formatting in en-US (#8576) 2022-11-08 16:55:05 +05:30
Aniket Katkar
00bac5c929
Fix #8481 (UI): Changed how team assets are shown similar to explore page (#8526)
* Changed how entity details are shown in 'My Data' and 'Following' tabs on user details page

* Changed how team assets are shown similar to explore page

* removed isUndefined as isEmpty will cover that

* - Renamed 'GlossaryTermAssets' interface to 'AssetsDataType' to use it commonly and made the required changes for where it was used
- Code optimisation to reuse repeated code blocks
- Localization changes for 'UserPage'

* - Code optimisation by using common util functions
- Localization changes for 'TeamsPage' and 'TeamDetailsV1'
- Fixed spelling mistakes
2022-11-08 16:42:00 +05:30
Shailesh Parmar
abc9247899
UI: Updated lineage UI as per new mock (#8568)
* UI: Updated lineage UI as per new mock

* fixed function icon issue in edit mode

* removed unit test related to pipeline label name

* center nodes on expand/collapse column lineage view

* addressing comments
2022-11-08 13:48:28 +05:30
Sachin Chaurasiya
ef579ce9b4
Fix #8540 Session ID does not reset for web analytic (#8562) 2022-11-07 23:21:40 +05:30
Aniket Katkar
ecee66fce9
Fixed wrong field names showing in the validation messages for add and edit announcement modal. (#8564) 2022-11-07 23:07:31 +05:30
Aniket Katkar
af7f8b691a
Fixed issue where wrong data was being sent to the PATCH API call for table resulting in error while removing tags for columns (#8557) 2022-11-07 19:30:28 +05:30
Aniket Katkar
e44fafad88
Fix #7737 (UI) : Changed how entity details are shown in 'My Data' and 'Following' tabs on user details page (#8524)
* Changed how entity details are shown in 'My Data' and 'Following' tabs on user details page

* removed isUndefined as isEmpty will cover that

* - Renamed 'GlossaryTermAssets' interface to 'AssetsDataType' to use it commonly and made the required changes for where it was used
- Code optimisation to reuse repeated code blocks
- Localization changes for 'UserPage'
2022-11-07 19:21:12 +05:30
Shailesh Parmar
5fee438b87
Feat UI: Added Tracing for lineage and Column lineage (#8542)
* Feat: Added tracing feature for lineage

* fixed stack overflow issue for tracing logic

* restrict highlighing column lineage on click of node

* added support for column lineage tracing

* added unit test for util function

* updated icon color as per font color
2022-11-07 17:00:51 +05:30
Sachin Chaurasiya
aa7c31ec31
Fix #8490 Wrong message in the required message on Policy page (#8522)
* Fix #8490 Wrong message in the required message on Policy page

* Fix unit test

* rename functions to conditionFunctions

* Address review comments

* Address review comments

* Fix cypress test data test id.

* FIx unit test
2022-11-04 11:20:36 +05:30
Aniket Katkar
d93b46ef31
(UI) #7790 : Added support to preserve search text for users and admins list page (#8478)
* Added support for preserving search text for users and admins list page

* added comments for better understanding of code

* Used URLSearchParams for adding parameters to url for userListPage

* renamed search parameter from 'name' to 'search'
2022-11-03 22:32:07 +05:30
Shailesh Parmar
0f0489a7d4
Feat: Added pipeline as edge from ui (#8503)
* Feat: Added pipeline as edge from ui

* fixed failing unit test

* removed pipeline

* added unit test for util function
2022-11-03 17:46:49 +05:30
Chirag Madlani
60a97ea8bc
fix(ui): redirect to sign-in when user is not authorized (#8512) 2022-11-03 16:08:50 +05:30
Teddy
f4cc2b57a7
Fixes #8353 - Implement Aggregation Endpoint for dataInsight (#8464)
* Moved webanalytics type in its own folder

* Added data insight chart api endpoint

* Jave formatting

* Added resource descriptor

* Added metadata entity endpoint

* Added aggregation endpoint for dataInsight

* Fix tag name

* Added logic to ingestion pipeline resource to add ES config info if pipeline type is dataInsight

* Fix pageViewEvent import issue

* Changed dataType to PERCENTAGE and NUMBER

* Cleaned up PR by removing metadata resource and ingestionPipeline sink logic

* Update openmetadata-service/src/main/resources/json/data/dataInsight/totalEntitiesByTier.json

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>

* Update openmetadata-service/src/main/resources/json/data/dataInsight/totalEntitiesByType.json

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2022-11-03 14:51:14 +05:30
Mayur Singal
1386b43607
Fix #6141: Ingestion Pipeline Status Updates (#8216)
* Fix #6141: Ingestion Pipeline Status Updates

* List Pipeline Status API & Improvements

* Rename State field to PipelineState in UI

* Convert Pipeline Status array to single object

* fix braking UI

* Rebase Fixes

* Profiler, TestStuite & DataInsigts Pipeline

* py_format

* fix logs page not loading
add pipelineStatus endpoint

* fix recent run changes

* Fix Tests

* address review comments for ui

* fix failing checks

* fix unit tests

* fix cypress test

* remove loader test as not using it

* wait for API when we click on the tab

* fix cypress waitFor api

* fix failed cypress tests

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2022-11-03 14:37:26 +05:30
Mihir Kulkarni
0bc2d92aba
#7994 Updating password error message to mention numbers. (#8103) 2022-11-03 13:01:14 +05:30
Sachin Chaurasiya
63ceeb2a33
Fix #8497 Update Table styling (#8498) 2022-11-03 10:52:47 +05:30
Shailesh Parmar
91b395bc17
Fixed Cypress flakiness for add owner test in service spec (#8504) 2022-11-03 10:10:32 +05:30
Sachin Chaurasiya
f3b9e2c59c
Fix UI(#8467) : Only allow admins to create and update bot and user entities (#8491)
* FIx UI : Only allow admins to create and update bot and user entities. #8467

* Add helper text for ADMIN_ONLY_ACTION
2022-11-02 22:43:46 +05:30
Mayur Singal
fa68a1f18f
Fix #6754: Added User Details for Usage (#8449) 2022-11-02 14:07:41 +05:30
Chirag Madlani
ef5108c47b
chore(ui): remove unused files (#8487) 2022-11-02 13:55:42 +05:30
Sachin Chaurasiya
e7e646e9a8
Revert #7292 : Add ConditionalAllow check for Create Operation Permission (#8488) 2022-11-02 11:57:42 +05:30
Sachin Chaurasiya
19a3f1f47b
Add Unit tests for data insight component (#8469) 2022-11-01 19:07:08 +05:30
Ashish Gupta
75e8866490
UI :- Added restore option for soft deleted Teams (#8306)
* Added restore option for soft deleted Teams

* Changes as per comments

* change function name to generic and specify return type
2022-11-01 18:35:51 +05:30
Sachin Chaurasiya
0701ef955e
Fix #7802 Differentiate Tags & Glossary Terms (#8471)
* Fix #7802 Differentiate Tags & Glossary Terms

* Fix governance dropdown label and arrow spacing

* Skip dashboard entity for announcement
2022-11-01 17:58:24 +05:30
Shailesh Parmar
82ddcbc014
Fix UI | Enable 2-finger scroll zoom-in/zoom-out on the Lineage tab#6942 (#8477)
* Fixed UI | Enable 2-finger scroll zoom-in/zoom-out on the Lineage tab #6942

* addressing comments
2022-11-01 17:23:21 +05:30
Chirag Madlani
ca91bafa39
fix(ui): show full content for ellipsis column names (#8443)
* fix(ui): show full content for ellipsis column names

* fix unit tests and mock i18next

* address comments

* fix cypress failure

* address review comments
improve unit tests console errors
2022-11-01 16:26:40 +05:30
Onkar Ravgan
5819c45937
Databricks + DBT issue (#8391)
* Databricks dbt issue fixed

* fixed typo

* Added optimizations

* skipping flaky dashboard test

Co-authored-by: Onkar Ravgan <onkarravgan@Onkars-MacBook-Pro.local>
Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2022-11-01 13:41:41 +05:30
Sachin Chaurasiya
9ac438fbd1
Feat (ui #8160) : Implement Analytics report page (#8294)
* Feat (ui) : Add Data Insight Page

* Minor improvements

* Add constant and utils for data insight

* Create Separate component for each metric

* Add random data generator

* Add data-insight to the navbar

* Fix navbar

* Fix data insight route

* Remove pie charts

* Add mock data for existing graphs

* Add component for other metrics

* Fix dataKey and Y axis issue

* Correct the comment

* Add Tier Filter

* FIx data insight table styling

* Change legend positions for the graph

* Add Custom Renderer for graph legend

* Addressing review comments

* Address comment

* Address comment

* Address comment

* Address review comments

* Address review comment

* Addressing comments

* Addressing comment

* Refactor page and it's component

* Update table.less to apply border and shadow for table only if bordered prop is passed.

* Add custom style for data insight cards

* Create common component for dropdown label

* Fix dropdown label issue

* Address review comment
2022-11-01 09:50:53 +05:30
Shailesh Parmar
e68f35ec85
Fixed: Custom property failing cypress test (#8460)
* Custom property cypress

* testing out entity topic name

* Fixed Custom property topic search issue

* removed import of deleted file
2022-11-01 09:46:01 +05:30
Shailesh Parmar
5bdb9d0cfd
UI: Fixed filter issue on redirection from tags page to explore page (#8457) 2022-10-31 21:39:52 +05:30
mosiac1
c4ab0c795b
Fix #8450 Explore page pagination not working (#8451)
Add useDeepCompareEffect package to handle effects with objects as
dependencies
2022-10-31 21:38:07 +05:30
Ashish Gupta
6c0008276b
Fix UI :- fix the window resizing issue in Service page on hover (#8459)
* Fix the window resizing issue in Service page on hover

* fix cypress issue
2022-10-31 21:09:21 +05:30
Shailesh Parmar
a6a02a9e55
UI: Added expand all column button and full screen view for lineage (#8425)
* UI: Added toggle button to expand and collapse column view in lineage

* added full screen view support for lineage

* added fullscreen lineage support for dashboard, pipeline and topic entity

* added full screen icon and support for mlmodal

* updated fitview and full-screen icon

* added primary color for the icons

* addressing comments

* changed constant to upper case

* removed un-necessary spaces and updated border color as per mack

* removed commented code

* fixed failing unit test
2022-10-31 20:12:29 +05:30
Ashish Gupta
953932c176
Fix UI :- Fix the active tab for explore page after refresh (#8420)
* fix the active tab for explore page after refresh

* changes as per comments

* simplify the method and make generic Entity type
2022-10-31 18:40:18 +05:30
Shailesh Parmar
63f8f9a15b
Cypress: Fixed failing cypress for role page (#8381)
* Cypress: Fixed failing cypress for role page

* fixed data quality test

* fixed memory getting full and cypress getting crush issue

* fixed explore page getting unresponsive
2022-10-29 09:05:20 +05:30
Sachin Chaurasiya
c74d5a9b18
Fix #8396 Multiple webanalytics events send per single page load (#8402)
* Fix Multiple webanalytics events send per single page load #8396

* Add comments

* Do not throw error for collect API
2022-10-28 14:45:35 +05:30
Sachin Chaurasiya
537499fa61
Fix #8361 Ingestion logs pass wrong breadcrumbs and URL (#8382) 2022-10-28 14:44:46 +05:30
Ashish Gupta
8e95e10da2
Added row count seperator in table entity (#8393) 2022-10-28 10:08:04 +05:30
Ashish Gupta
e50876d284
Fix UI :- fix the Team redirect url in mentions (#8384)
* Fix the Team redirect url in mentions

* added regex for to validate teams
2022-10-28 10:06:40 +05:30
Mohit Yadav
6efe6df96b
[LDAP] Added Ldap-Authentication (#8256)
* [LDAP] Add Ldap-Authentication

* Refactor Basic to Service Layer

* added read login config

* pom updates

* review comments

* review comments

* move authenticator after authorizer

* merge conflicts resolve

* add init method , for initializing authenticator

* sonar fix
2022-10-27 22:56:20 +05:30
Ashish Gupta
5944ad7c43
UI :- Added loading state on Save button in Modal (#8185)
* Added loading state on Save button in Modal

* added additional files

* Added localisation

* fix cypress issue

* changes as per comments

* changes as per comments
2022-10-27 18:27:09 +05:30
Sachin Chaurasiya
b7039cd717
UI : Change App bar items (#8302)
* UI : Change App bar items

* Change dropdown left margin

* Addressing review comments

* Addressing review comments

* Warp Test suite page with layout

* Revert getTestSuitePath --> getTestSuiteDetailPath

* Addressing review comments

* Fix cypress test

* Addressing review comments

* Fix cypress test

* Addressing comments

* Add dataSource
2022-10-27 10:24:43 +05:30
Finn McClusky
b80865ad96
ISSUE-8261: changed loading state in TeamsPage from number to boolean so multiple resources can be loaded at once without creating UI artefacts (#8309)
Co-authored-by: Finn McClusky <finnmcclusky@aquila.local>
2022-10-27 10:06:19 +05:30
mosiac1
552ccd5340
Remove INITIAL_FROM constant to fix UI tests (#8367) 2022-10-26 07:11:57 -07:00
mosiac1
ad7e4a2341
UI (#6189) | Refactor Explore and ExplorePage, add Logical Query Builder (#8140)
* Add logical query builder and Explore page refactor

* Add file headers

* Change search aggreagation keys

* Move query builder utils, remove comments

* Add comments

* Rename AdvancesSearch.constants.ts

* Add review changes

* Handle deleted elements correctly in Explore

The `deleted` field needs special handling because `showDeleted === false` should return only documents where `deleted` is false, but `showDeleted === true` should return documents regardless of their `deleted` field.

* Fix facet filter issue

Issue was the following: the user set a facet filter on `aggregationKey` and `value`. Then user changes the query builder so that in the new result there is no bucket in `aggregationKey` with `value`. The facet filter would still be used, but not visible to the user and not removable.

* Fix facetFilter tests

* Move isFilterObject type guard

* Use antd tabs for Explore component

* fix cypress failure

* miner fix in cypress

* fix typo

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2022-10-26 03:47:49 -07:00
Suresh Srinivas
0d75eb9ff2
Fixes #8313 Deprecate botPrincipals from open metadata configuration (#8314) 2022-10-21 20:49:41 -07:00
Suresh Srinivas
229b56e7b3
Fixes #8236 - Initialize bots from JSON data files (#8304) 2022-10-21 08:38:52 -07:00
Pere Miquel Brull
339f123f92
Fix #7477 - Paginate Airflow logs (#8145)
* Paginate last dag logs

* clean logic

* Prep pagination

* Prep pagination

* Format

* Update docker/local-metadata/docker-compose.yml

Co-authored-by: Nahuel <nahuel@getcollate.io>

* UI : Add pagination support for airflow logs

* Addressing review comments

Co-authored-by: Nahuel <nahuel@getcollate.io>
Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2022-10-21 17:32:56 +05:30
Ashish Gupta
02997a2023
UI :- Added Redeploy option in Ingestion Pipeline action (#8251)
* Added Redeploy option in Ingestion Pipeline action

* move expression to commonUtils

* change function to generic

* added localisation

* fix unit test issue
2022-10-21 12:46:39 +05:30