120 Commits

Author SHA1 Message Date
Shailesh Parmar
d3a98b7559
Feat(ui): update displayName part 3 (#11593)
* Feat(ui): update display name part 3

* fixed code smell
2023-05-16 10:14:31 +05:30
Shailesh Parmar
e6dbb80ad7
Cypress: fixed cypress failure for the main branch (#11590) 2023-05-15 14:03:27 +05:30
Sachin Chaurasiya
abb1437979
fix(#11545): data Insight report Improvements (#11550)
* fix(#11545): data Insight report Improvements

* minor change

* address comments

* change send now to send

* fix sonar cloud flagged bug

* add cypress test

* address comments

* sycn local keys

* fix cy test
2023-05-11 21:46:29 +05:30
Shailesh Parmar
e0a4361376
cypress: worked on flaky cypress in main (#11506)
* cypress: worked on flaky cypress in main

* adding glossary remove owner failure fix

* reverting change of cypress.config
2023-05-10 18:29:52 +05:30
Shailesh Parmar
3ad9512400
fixed: Weekly Ingestion Workflow do not get Executed #11391 (#11427)
* fixed: Weekly Ingestion Workflow do not get Executed #11391

* addressing comments

* fixed float value was converted in to int issue in test case result

* miner fix

* updated cypress wait for ingestion

* added scrollintoview

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2023-05-05 20:10:31 +05:30
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
Shailesh Parmar
33c429f67c
fixed kafka cypress test (#11313)
* fixed kafka cypress test

* added API wait for dbt

* added wait on database

* reverting cypress.config changes
2023-04-27 14:00:45 +00: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
Shailesh Parmar
937864245c
ui: implemented whats new alert, and improved flow to show whats new modal (#11210)
* ui: implemented whats new alert, and improved flow to show whats new modal

* show alert only on home page
2023-04-22 08:50:24 -07:00
Aniket Katkar
7fb30b9548
ui: facet filter and tags-container overflow bug fixes (#11119)
* Changed facet filter buckets render length. Only top 10 most used filters will be shown in the left panel.
Fixed the overflow issue of tags-container component for longer tag name

* Fixed overflowing issue while adding tags
Improved Tags component and use antd tag to show tags

* Reduced the gap

* Fixed tooltip placement issue with facet filters

* Fixed breadcrumb issue on dataInsights and ESReIndex pipeline logs page

* Fixed cypress tests

* Added delay for tooltip popup to avoid cypress flakyness

* Added delays to the tooltips and changed positions to avoid flakyness in cypress

* Fixed failing cypress tests

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2023-04-21 19:01:30 +05:30
Chirag Madlani
1301b09e36
fix(test): dbt cypress flakiness (#11155)
* fix(test): dbt cypress flakiness

* added wait for ingestionPipelineStatus

* fixed wait issue

* added API wait

* revet removal of service interception

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2023-04-20 18:41:46 +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
Shailesh Parmar
a3ce1dfa4e
fixed glossary & service failing cypress (#11073)
* fixed glossary failing cypress

* fixing update glossary term test

* cypress config

* cy-test

* added API wait for `Updating data of glossary should work properly`

* added additional timeout

* skipping update term test from glossary spec
2023-04-17 07:28:04 +00:00
Ashish Gupta
1419d09b46
Fixes #10330 : Revamp entity tags style and added icon based on it's type (#10804)
* Revamp entity tags style and added icon based on it's type

* fix test and patch request

* changes as per comments

* minor improvements

* fix test and minor changes

* remove icon from entity cards

* added seperate column

* minor changes

* fix unit test

* fix unit test

* changes as per commets

* unit test fixes

* fix cypress issue

* fix cypress issue

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2023-04-14 10:07:01 +00: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
Shailesh Parmar
d30e2d89d6
cypress: fixed flaky cypress of main branch (#10996)
* fixed failing cypress on main

* updating cypress config to test

* updating ingestion check

* revert changes related cypress.config

* added api wait for service details page API
2023-04-12 17:57:52 +05:30
Aniket Katkar
1d93000466
fix(ui): fixed flaky cypress test for TeamsHierarchy spec (#10958)
* Fixed flaky TeamsHierarchy spec

* updated cypres.config

* updated cy config

* fixed flaky service related cypress

* fixed addRoleandAssigntouser spec

* updated test

* updated merge conflict issue

* reduce machine to 2 for cypress

* skipping tags cypress due to #10979

* unskip test

* revert check for status code not checking

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2023-04-10 15:16:20 +00:00
karanh37
445ac90ef9
feat(ui): glossary versions page (#10966)
* fix: glossary right panel position fix

* fix: review comments

* feat: add deeplinks to tabs in glossary terms page

https://github.com/open-metadata/OpenMetadata/issues/10713

* fix: glossary feedback

* chore: update svg icon

* fix: missing localization keys

* fix: review comments

* fix: missing localization keys

* fix: review comments

* fix: jest tests

* feat: glossary ui improvements

* fix: missing localization keys

* fix: added error placeholder for assets

* fix: add icon to references

* fix: table issues

* feat: add glossary versions page

* fix: remove display name validations

* fix: localization keys

* fix cypress

* fix: button alignment

* fix: glossary version improvements

* fix: remove tooltip as not needed

* fix: update space direction

* fix cypress failure for ingestion tab

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2023-04-08 15:26:43 +05:30
Chirag Madlani
8c6ae7f682
fixes: #10604: json viewer not loading properly (#10868)
* fix(ui): owner assignment issue
fix refresh token frame timeout issue
improve tier card
 - Remove clear all button
 - add remove button at tier level
fix: #10604

* fix tier select button styling
fix follow unfollow for dashboard

* fix unit tests

* fix unit tests

* change active tab based on owner

* fix sonar-cloud code smells

* fix edit owner cy failure

* fix cypress

* fix cypress for service and entityDetails

* fix cypress

* fix dashboard entityName issue

* fix unit tests

* fix cypress tests

* fix owner assigning cypress
2023-04-07 19:44:37 +05:30
karanh37
c1cbee3d1b
fix: user selectable list popover issues (#10799)
* fix: user selectable list popover issues

* fix: skip glossary tests

* fix: team cypress tests

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2023-04-06 22:55:45 +05:30
Pere Miquel Brull
cdd473c3b7
Add ingestionIpInfoEnabled configuration (#10870)
* Add ingestionIpInfoEnabled configuration

* Format

* hide ip address if api response if not 200

* removing dependancy on ip-modal and checking default state

* updated status code for ip to 204 to check default state

* fixed failing cypress

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2023-04-06 16:27:07 +02:00
Shailesh Parmar
8ac6ce9f7a
cypress: fix flaky cypress test from main (#10937)
* cypress: fix flaky cypress test from main

* fixed tags spec

* skipping `Add tag at DatabaseSchema level with task & suggestions` test
2023-04-05 20:32:48 +05:30
Shailesh Parmar
592ae305c3
upgraded cypress to v12.9.0 and fixed service connection cypress (#10891)
* upgraded cypress to v12.9.0 and fixed service connection cypress

* fixing failing cypress

* updated cy setting

* fixed restore cy test

* added API wait for users spec

* fixed suspected specs

* Fix ES aligning suggests with Java

* separate the tag test for DatabaseSchema

* updated tags spec

* skip advance search

* fixed failing API's

* await on tags api

* debounce search api

* update numKeptInMemory flag to minimum

* fix unit tests and skip failed tests

* fixed failing cy test

* fixed redirection

---------

Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2023-04-05 00:06:11 +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
0a92a897a1
chore(ui): add support for service documentation (part-1) (#10668)
* chore(ui): add support for service documentation md file

* sync local

* chore: add method for fetching markdown file

* chore(ui): add support for service documentation

* chore: move fields to connections

* chore: update logic to fetch requirements

* chore: right panel component for service

* fix: key prop is not present in the skeleton component

* chore: only fetch md files when required fields are present

* chore: use hook for fetching airflow status

* chore: refactor add service component

* chore: remove id prefix and id separator prop from form builder

* fix: fieldName issue on right panel

* fix: active Field name issue

* fix:unit test

* test: add unit test

* chore: handle edit service form

* chore: add fallback logic

* fix: cy test

* chore: update service doc md files/folder structure,

* chore: push image example

* Athena docs

* Add glue docs

* Add hive related changes

* chore: take last field for fetching field doc

* add datalake

* Added connection information for oracle and redshift (english + french)

* fix: fallback logic

* Bigquery & Snowflake Requirements

* mysql and amundsen requirements (#10752)

* Revert removal of descriptions

* Add Doc For Mssql and Postgres

* Added powerbi conn md files

* Align requirements files

* Add Kafka and Redpanda

* refined powerbi docs

* Add Tableu requirements, move Athena and Glue fields, change footer some connectors

* Add missing connectors fields descriptions default

* re: datalake

* Add Tableau field descriptions

* fix: markdown styling

* chore: improve button styling

* chore: rename right panel to service right panel and move it to common

* fix: doc for select and list field , cy test.

* fix: unit test

* fix: test connection service type issue

* Added powerbi docs link in req

* Add info on hive

* Remove unused markdowns

* Add req for datalake

* add hive requirements header

* Snowflake & Biguqery

* Update Mssql and Postgres

* mysql and amundsen requirements updated

* Update Mssql and Postgres

* added username

* chore: fix cy expression issue

* chore: reset active field state on step change.

* fix: affix target container issue

* fix: unit test

* fix: cypress for postgres and glue

---------

Co-authored-by: Milan Bariya <52292922+MilanBariya@users.noreply.github.com>
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: Ayush Shah <ayush@getcollate.io>
Co-authored-by: Teddy Crepineau <teddy.crepineau@gmail.com>
Co-authored-by: ulixius9 <mayursingal9@gmail.com>
Co-authored-by: NiharDoshi99 <51595473+NiharDoshi99@users.noreply.github.com>
Co-authored-by: Milan Bariya <milanbariya12@gmail.com>
Co-authored-by: Onkar Ravgan <onkar.10r@gmail.com>
Co-authored-by: Nahuel Verdugo Revigliono <nahuel@getcollate.io>
Co-authored-by: Nihar Doshi <nihardoshi16@gmail.com>
2023-03-29 14:18:17 +05:30
Chirag Madlani
bae95c5314
feat(ui): consistent user dropdown for owner and reviewers (#10617)
* feat(ui): consistent user dropdown for owner and reviewers

* feat(ui): consistent user dropdown for owner and reviewers

* make component working with pages
update styles
add few more components like count details, color update on tags

* remove AddUserModal component

* fix owner edit for netity page

* add tests for selectable list

* remove reference for OwnerWidgetWrapper
update tests to reduce console error on test run

* remove count

* fix sonarcloud and ui

* remove OwnerWidget

* minor fixes

* verify reviewer and owner modal behavior

* fix tests

* fix minor UI glitches

* fix unit tests

* fix cypress

* fix cypress failures

* fix search and glossary cypress failure

* minor fix

* fix remaining cypress tests

* remove intercept for terms

* fix issues

* address comments

* skip falky test to avoid failures
2023-03-28 14:39:41 +05:30
Pere Miquel Brull
78d7dd8789
[WIP] - Test Connection - Prepare the new test connection ingestion+UI logic (#10660)
* Prepare the new test connection ingestion logic

* Update test assert

* Update Test Connection for SQA Sources

* Correct return type and method doc

* Handle decryption

* Non SQA Database Sources

* Add the run_automation script in ingestion-base

* Dashboard Test Connection Changes

* Pipeline, Messagin, MlModel & Metadata Sources

* ui: test connect flow-1

* Unmask connection parameters before sending to Ariflow

* ui: test connect flow-2

* Address review comments and pylint

* pytest fix

* ui: test connect flow-3 (refactoring and style fix)

* ui: test connect flow-4 (fix test connection status logic)

* sync local file

* ui: test connect flow-5 (fix lowercase issue and styling)

* ui: test connect flow-5 (show toast notifications)

* test: add unit test

* ui: test connect flow-5 (update service page test connection button)

* Databrick fix & pytest fix

* pylint

* Update test

* Fix merge

* S3 Test connection

* add style for mandatory step

* sync locales

* chore: add service name in workflow request

* Unmask using original service connection parameters

* Fix test connection unmasking

* Wrap inspector function to eliminate error outside test conn

* Fix linting

* fix:cy test

* Fix linting

* address comment

* refactor and fix connection type casing issue

---------

Co-authored-by: ulixius9 <mayursingal9@gmail.com>
Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
Co-authored-by: Nahuel Verdugo Revigliono <nahuel@getcollate.io>
Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com>
2023-03-28 06:29:13 +02:00
Ashish Gupta
f54efc649b
Fixes #10543 : Fix searchbar persistence issue after user get deleted by search. (#10753)
* Fix the searchbar on user page after delete action

* minor changes
2023-03-26 20:06:03 +05:30
Ashish Gupta
1389270cc8
UI : Fix the Mouse pointer on tags button (#10589)
* Fix the Mouse pointer on tags button

* fix cypress issue

* fix cypress issue
2023-03-16 20:43:04 +05:30
Ashish Gupta
cc8168ca9d
UI : Increase tag input size and added tooltip on options (#10397)
* Increase tag input size and added tooltip on options

* Increase width for glossary and shift icon to icon props

* fix cypress issue

* change cypress for selecting tag
2023-03-06 19:21:21 +05:30
Chirag Madlani
f12e2c32e6
chore(ui): advance search spec refactoring (#10167)
* chore(ui): advance search spec refactoring

* fix tier select button test id

* fix cypress json

* fixed single search with condition test cases

* cypress setting update

* fix tests

* fix failures

* revert cypress config

* fix flaky tests

* fix flakyness

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2023-03-03 18:50:35 +05:30
Ashish Gupta
b59de5c7a5
UI :- Change normal select to ANTD select in Service Page (#9710)
* Change normal select to ANTD select in Service Page

* fix cypress and unit test issue

* remove empty space

* fix cypress issue

* code optimization

* fix tests

* optimize the code and changes made as per comments

* fix unit test issue
2023-03-02 11:16:30 +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
Sachin Chaurasiya
4bf60bd2f4
fix(#9775): UI - Teams owner can only be another user not another team (#9789)
* fix(#9775): UI - Teams owner can only be another user not another team

* fix:cy tests
2023-01-18 13:44:35 +00:00
Chirag Madlani
ec61e94bb8
chore(ui): support lint & prettier for cypress files (#9728) 2023-01-15 18:24:10 +05:30
Chirag Madlani
b7198df486
test(ui): clean alerts that cypress created for tests (#9697)
* test(ui): clean alerts that cypress created for tests

* fix main failures

* await on AriFlow api to avoid element got vanished

* fix flaky
2023-01-12 19:35:33 +05:30
Sachin Chaurasiya
bdb8a55cfe
refactor : Add useAirflowStatus hook (#9473)
* chore : Add useAirflowStatus hook

* Add interface for hook

* Expose the fetch status method

* update hook return value

* refactor : use useAirflowStatus hook to get the airflow status

* Update useEffect to fetch data based on airflow status

* update license

* fetch workflow if airflow is available

* Revert "Update useEffect to fetch data based on airflow status"

This reverts commit c8cea80d4d2637d1c9163f650a34783c8efe376b.

* fix : cy failures

* address comments

* fix : unit test

* fix : cy test
2023-01-10 06:13:05 +00:00
Aniket Katkar
de271d80a7
fix(ui): cypress test fixes and improvements (#9574)
* fixed skipped cypress tests and fixed flaky tests

* removed unnecessary comments

* fixed failing tests for myData spec

* Fixed glossary cypress tests
2023-01-04 14:28:50 +05:30
Onkar Ravgan
dc157ee286
Fixed ingestion tags with new tags API (#9552)
* Fixed ingestion tags with new API

* fix cypress failures

* wait for tags API

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2022-12-31 07:33:02 -06:00
Chirag Madlani
cb78343898
fix(ui): tag api related changes to UI (#9532)
* fix(ui): tag api related changes to UI

* fix api calls

* fix tests

* fix tag cypress tests

* address comments

* update tag api calls

* fix tests

* fix unit tests

* fix unit tests failures

* fix cypress failure

* fix tests

* fix unit tests
2022-12-31 00:47:02 +05:30
Chirag Madlani
d030c6cbfe
fix(ui): automate license header process via pre-commit hook (#9523)
* fix(ui): automate license header process via pre-commit hook

* remove header duplications

* update .less files license header
2022-12-27 12:37:58 +05:30
Ashish Gupta
8c250f5f80
fix cypress issue for while deleting service (#9416) 2022-12-20 10:46:51 +00:00
Aniket Katkar
2abe40f08c
Fixed failing cypress for glossary (#9380)
* Fixed failing cypress for glossary spec

* Removed formatting of spec files for easy review

* reverted file formatting for glossary spec

* reverted formatting for glossary spec
2022-12-18 10:31:22 +05:30
Ashish Gupta
7c181a5a89
Dbt worflow (#9302) 2022-12-16 17:00:28 +05:30
Chirag Madlani
38f9e0555d
fix(ui): add description around filter pattern (#9133)
* fix(ui): add description around filter pattern

* update localization text

* cleanup common utils

* add docs link to description

* doc : change pattern helper text as per comments

* fix : filter pattern checkbox opacity

* Fix cy tests

* Revert : filter pattern styling

* Fix : cypress test

* text updated as per comment

* fix cypress failure

* fix cypress for checkboxes

* address comments

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2022-12-13 16:14:48 +05:30
Shailesh Parmar
1b155e042b
Added localisation support part 2 (#9220)
* Added localisation support part 2

* updated label

* updated localization

* addressing comments

* removed use of tolower and added seprate key
2022-12-10 10:16:19 +05:30
Aniket Katkar
d2b61d6065
Fixed failing flaky cypress tests. (#9150)
* Fixed failing flaky cypress tests.

* Fixed flaky cypress tests for glossary

* fixed glossary test
2022-12-06 09:49:52 +00:00
Ashish Gupta
7241c3a975
Cypress: Added test related to redirection from home page (#9112)
* Cypress: Added test related to redirection from home page

* fix cypress issue
2022-12-02 20:54:25 +05:30