2804 Commits

Author SHA1 Message Date
Chirag Madlani
d4b2621e9d
fix(ui): pipelineDetails page update (#8582)
* fix(ui): pipelineDetails page update

* fix Lineage and Activity & Task tab UI

* complete ui changes for pipelineDetails

* fix failing tests
add localizations

* fix tree view on execution tab

* fix wrapping for tree nodes

* comment addressed

* added missed localization

* add test ids for tabs

* fix cypress failing for ingestion

* fix missing condition
2022-11-10 21:37:35 +05:30
Sachin Chaurasiya
2e158237ea
Feat #8639 UI : Show charts latest value in data insight overview card and rename datasets to data assets (#8641)
* Fix #8639 UI : Show charts latest value in data insight overview card and rename datasets to data assets

* Add data summary for entities chart

* Add Percentage symbol for Percentage chart

* Add web charts summary data

* Address review comments

* Change active user index
2022-11-10 21:18:49 +05:30
Aniket Katkar
b2e2d9cff3
Worked on UI improvements from #8513 (#8647) 2022-11-10 20:02:57 +05:30
Aniket Katkar
af3a0df7ba
Fix(UI) #8549: Fixed issue with URL in the description breaking due to characters limit. (#8604)
* - Fixed issue where url was breaking in the description preview due to character limit
- Added localization in RichTextEditorPreviewer

* changed the limit of max description characters to show in preview

* Fixed failing unit tests

* Worked on comments

* - Fixed errors
- Improved the function to trim the description for preview

* Fixed failing unit tests
2022-11-10 19:47:23 +05:30
Aniket Katkar
a6822aa094
Fix(UI): Explore page bugs (#8607)
* - Made  changes to show more information about tables in data card on explore page
- Fixed bugs related to entity summary panel

* Replaced Space components for vertical flex with Row and Col for ColumnSummary
2022-11-10 13:32:37 +01:00
Sachin Chaurasiya
43ea44a0f9
Feat (#8161) Implement logic to fetch report data part-2 (#8605)
* Feat (#8161) Implement logic to fetch report data part-2

* Fix _get_user_details should return dict not None Type

* Format average session

* Make user name clickable

* Add provision for showing percentage symbol in graph tooltip

* Add summary support for entities

* Fix format issue

* Fix unit tests

* Fix labeling issue

* Add PageViewsByEntities chart

* Add DailyActiveUsers chart

* Add description to charts

* Fix unit tests

* remove startTs Overriding

* Address review comment
2022-11-10 09:56:04 +01:00
Shailesh Parmar
1a31baa2f9
Feat: Added Search functionality for lineage (#8609)
* Feat: Added Search functionality for lineage

* fixed edit mode search box overlap issue

* addressing comments
2022-11-10 12:27:15 +05:30
Chirag Madlani
c83690d07e
feat(ui): update pipeline status UI (#8253)
* feat(ui): update pipeline status UI

* fix typos

* minor update

* Merge branch 'main' into support-7127

* design updates

* minor fixes

* address review comments

* fix tests

* fix cypress failing due to wrong localization keys
2022-11-09 16:04:47 +05:30
Sachin Chaurasiya
70e2fda452
Feat ( #8161) Implement logic to fetch report data part-1 (#8499)
* Feat  ( #8161) Implement logic to fetch report data

* Add profile picture support for user and owner

* Add custom tooltip for graph

* Add description for charts

* Change WebAnalytics to Web Analytics

* Update entities to datasets

* Change dropdown to select widget

* Add KPIs Button

* Add constant for tab

* Add constant and utils

* Add APIs and interface

* Add state in the data insight page

* Change total to latest

* Create prepareGraphData util

* Add API integration to get TotalEntitiesByType chart

* Create common method to get the graph data

* Rename common method

* Add method to get the graph data by tier type

* Add API integration to get PercentageOfEntitiesWithDescriptionByType chart

* Add API integration to get PercentageOfEntitiesWithOwnerByType chart

* Fis unit test

* Add API integration to get TotalEntitiesByTier chart

* Add unit test

* Add logic to get latest count

* Fix typescript warnings

* Make dataReportIndex as default param for API request

* Add debounce to graphs

* Add filtering support for charts

* Addressing review comments

* Address review comment

* Address review comments
2022-11-09 14:31:22 +05:30
Shailesh Parmar
3c6e467829
Feat: UI Added feature to show edge information onClick of edge (#8599)
* Feat: UI Add feature to show edge information onClick of edge

* move interface to separate file
2022-11-09 13:21:02 +05:30
Aniket Katkar
7c395a82d4
Feat(UI): Added EntitySummaryPanel in Explore page (#8591)
* Added EntitySummaryPanel in Explore page

* Worked on comments to optimise code for EntitySummaryPanel

* fixed faling unit test for explore component
2022-11-09 11:11:01 +05:30
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