Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ui freezing due to images in feed changes #17703

Merged
merged 7 commits into from
Sep 5, 2024
Merged

Conversation

Ashish8689
Copy link
Contributor

@Ashish8689 Ashish8689 commented Sep 4, 2024

Describe your changes:

Fixes

  • I worked on fixing ui freezing due to images in feed changes
  • Decrease the feed list size to 25 for better performace.
Screen.Recording.2024-09-05.at.2.54.35.PM.mov

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@Ashish8689 Ashish8689 added the UI UI specific issues label Sep 4, 2024
@Ashish8689 Ashish8689 self-assigned this Sep 4, 2024
@github-actions github-actions bot added e2e:DataAssets safe to test Add this label to run secure Github workflows on PRs labels Sep 4, 2024
@Ashish8689 Ashish8689 added e2e This will trigger e2e test workflows and removed e2e:DataAssets labels Sep 4, 2024
Copy link
Contributor

github-actions bot commented Sep 4, 2024

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 65%
65.1% (37170/57096) 41.58% (14779/35541) 43.92% (4524/10301)

Copy link

cypress bot commented Sep 4, 2024

openmetadata    Run #34936

Run Properties:  status check errored Errored #34936  •  git commit f6e6ef81fd: reduce feed size to 25 to get better performance in case of large image feed in ...
Project openmetadata
Branch Review fix-feed-breaking
Run status status check errored Errored #34936
Run duration 13m 20s
Commit git commit f6e6ef81fd: reduce feed size to 25 to get better performance in case of large image feed in ...
Committer Ashish Gupta
View all properties for this run ↗︎

Test results
Tests that failed  Failures 7
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 12
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 129
View all changes introduced in this branch ↗︎

Tests for review

Failed  cypress/e2e/Pages/EntityVersionPages.spec.ts • 6 failed tests • cypress-ci-mysql-pr-10717905611-1

View Output Video

Test Artifacts
Version page tests for data assets > Pipeline version page should work properly > Pipeline version page should show description, tag and child field name changes properly Screenshots Video
Version page tests for data assets > Pipeline version page should work properly > Pipeline version page should show owner changes properly Screenshots Video
Version page tests for data assets > Pipeline version page should work properly > Pipeline version page should show tier changes properly Screenshots Video
Version page tests for data assets > Search Index version page should work properly > Search Index version page should show description, tag and child field name changes properly Screenshots Video
Version page tests for data assets > Search Index version page should work properly > Search Index version page should show owner changes properly Screenshots Video
Version page tests for data assets > Search Index version page should work properly > Search Index version page should show tier changes properly Screenshots Video

@Ashish8689 Ashish8689 marked this pull request as ready for review September 5, 2024 06:47
@Ashish8689 Ashish8689 changed the title WIP: fix ui freezing due to images in feed changes fix ui freezing due to images in feed changes Sep 5, 2024
@Ashish8689
Copy link
Contributor Author

@chirag-madlani changes made as per comments!

chirag-madlani
chirag-madlani previously approved these changes Sep 5, 2024
Copy link

sonarqubecloud bot commented Sep 5, 2024

@chirag-madlani chirag-madlani merged commit 5201a0d into main Sep 5, 2024
15 of 19 checks passed
@chirag-madlani chirag-madlani deleted the fix-feed-breaking branch September 5, 2024 12:46
Ashish8689 added a commit that referenced this pull request Sep 5, 2024
* fix ui freezing due to images in feed changes

* minor fixes

* change the method to old as there may be case where only updatedValue will be there and we need to show in prettify way rather the showing default message

* fixes around typography styling

* reduce feed size to 25 to get better performance in case of large image feed in the first 25 feeds

(cherry picked from commit 5201a0d)
hurongliang added a commit to hurongliang/OpenMetadata that referenced this pull request Sep 6, 2024
* main: (39 commits)
  MINOR - Better PII classification for JSON data (open-metadata#17734)
  New Email Templates (OSS) (open-metadata#17606)
  fix pom. (open-metadata#17682)
  GEN-1333 Add TS validation on DQ and Porfiler data ingestion (open-metadata#17731)
  make cost analysis as collate only (open-metadata#17719)
  Minor: remove unused dependency (open-metadata#17709)
  test: migrate login config to playwright (open-metadata#17740)
  minor(test): fix ingestion related flaky for aut (open-metadata#17727)
  fix expand all operation on terms page (open-metadata#17733)
  Docs: Updating the Image Reference for Bots (open-metadata#17736)
  fix ui freezing due to images in feed changes (open-metadata#17703)
  add links to menus (open-metadata#17659)
  supported followed data in Following widget using search api (open-metadata#17689)
  minor(ui): align dependency version to fix vulnerabilities (open-metadata#17729)
  Fixes some things on the APICollection (open-metadata#17704)
  DOCS - OSS deployment is flagged as Collate False (open-metadata#17722)
  minor: disable image upload support in description editor (open-metadata#17697)
  fix user spec flaky playwright test (open-metadata#17684)
  fetch domains before any widget is loaded (open-metadata#17695)
  minor(test): migrate persona spec (open-metadata#17701)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e This will trigger e2e test workflows safe to test Add this label to run secure Github workflows on PRs UI UI specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants