Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Error in activity reporter not visible, need to scroll to the top #544

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Juliana216
Copy link

Bugfix: Add a scrollToMessage method for the vcd-banner-activity-reporter. This increases the visibility of success and error messages by having them in the view of the user.

Testing Done:

  • Edited examples locally to have a page where the error/success message is not visible.
  • Observed that the scrolling to the error/success message worked.
Screen.Recording.2023-12-04.at.12.17.32.PM.mov

COR-12499
https://bugzilla.eng.vmware.com/show_bug.cgi?id=2858757

@juanmendes
Copy link
Contributor

Please create a new example under activity reporter that shows this behavior

@Juliana216 Juliana216 force-pushed the topic/jsica/COR-12499 branch from b09499e to 3bdbbdb Compare December 5, 2023 16:34
jsica added 2 commits December 5, 2023 11:58
Add a scrollIntoView method for the vcd-banner-activity-reporter. This increases the visibility of success and error messages by scrolling the activity reporter banner into view.

Testing Done:
- Added examples to have a page where activity banner is not visible so the scrollIntoView method is used.
- Observed that the scrolling to the activity banner was successful.

Signed-off-by: Juliana Sica <[email protected]>
Add a scrollIntoView method for the vcd-banner-activity-reporter. This increases the visibility of success and error messages by scrolling the activity reporter banner into view.

Testing Done:
- Added examples to have a page where activity banner is not visible so the scrollIntoView method is used.
- Observed that the scrolling to the activity banner was successful.

Signed-off-by: Juliana Sica <[email protected]>
@Juliana216 Juliana216 force-pushed the topic/jsica/COR-12499 branch from 3bdbbdb to 67b6059 Compare December 5, 2023 16:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants