1683 Commits

Author SHA1 Message Date
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
Sachin Chaurasiya
2a1992dd76
Feat (#8258) Integrate Collect API on UI to collect the pageView Data (#8260)
* Feat (#8258) Integrate Collect API on UI to collect the pageView Data

* Extract Referrer

* Add unit test
2022-10-21 12:32:43 +05:30
Shailesh Parmar
1a0147b16b
Refactor(UI): Refactor lineage component code (#8269)
* Refactor(UI): Refactor lineage component code

* addressing all the comments

* Added unit test for lineage utils file

* fixing failed unit test
2022-10-21 11:41:45 +05:30
Aniket Katkar
7db929a5bc
Added unit tests for Signup page. (#6509)
* Added unit tests for Signup page with 94% statements coverage and 85% branch coverage

* Merge branch 'main' into signup-unit-tests

* Worked on comments

* Worked on comments

* Fixed failing tests and improved the coverage.

* - Moved mocked data to seperate file
- Removed repetative code
2022-10-21 11:39:15 +05:30
Shailesh Parmar
7dbf58ed13
Fix UI: Improve add user into team flow #7789 (#8106)
* Fix UI: UI: Improve add user into team flow #7789

* fixed failing cypress

* addressing comments
2022-10-21 10:31:33 +05:30
Ashish Gupta
fe77f710a1
fix the remove icon visible in Dropdown other than owner (#8291) 2022-10-20 23:47:16 +05:30
Sachin Chaurasiya
28dea47ffe
bump(ui): Upgrade react-quill to 2.0.0. (#8277) 2022-10-20 19:57:56 +05:30
Ashish Gupta
6ad828ef98
UI :- Added EmptyPlaceholder for no data Modal store (#8220)
* Added EmptyPlaceholder for no data  Modal store

* import fix for table

* added unit test along

* changes as per comments
2022-10-20 17:45:42 +05:30
Shailesh Parmar
38cd7eb6af
Cypress: Fixed flaky cypress for mydata and DBT spec (#8257)
* Cypress: Fixed flaky cypress for mydata and DBT spec

* added api wait for removing owner

* fix the multi api call on while removing owner

* fixed flaky cypress for tags page

* fixed entityDetails page

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2022-10-20 16:59:46 +05:30
Chirag Madlani
1d3f2b6a86
fix(ui): replace tab with antD tabs (#8092)
* fix(ui): replace tab with antD tabs

* update styling for tabs

* fix unit tests
rename files

* remove unwanted css

* fix unit tests failing

* fix file names

* fix cypress failure
2022-10-19 20:56:42 +05:30
Chirag Madlani
38e32af072
fix(ui): call logout api to invalidate token (#8243) 2022-10-19 20:55:31 +05:30