Skip to content

Backport 15202#15628

Open
Darshan-upadhyay1110 wants to merge 2 commits intodistro/collabora/co-25.04from
private/darshan/backport-15202
Open

Backport 15202#15628
Darshan-upadhyay1110 wants to merge 2 commits intodistro/collabora/co-25.04from
private/darshan/backport-15202

Conversation

@Darshan-upadhyay1110
Copy link
Copy Markdown
Contributor

Backport: #15202

  • Resolves: #
  • Target version: main

Summary

TODO

  • ...

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

  - Use flexbox for link row with URL expanded and action buttons right-aligned
  - Remove arrow from popup card, reduce vertical margin and align spacing
  - Use object-fit cover on preview images, switch font sizes to rem
  - Inset preview image with rounded border for clear visual separation
  - Show fetched page title in the link row and raw URL in the preview
  - Move preview-update DOM logic into URLPopUpSection.updatePreview() so the popup owns its markup instead of being poked from Map.WOPI.js
  - Compare previews against the stored url, not the link element's innerText, so follow-up responses are no longer dropped
  - Update Calc clipboard test to assert the popup container is visible now that the arrow element is gone
  - Cache the preview and link elements on the section so we avoid repeated getElementById lookups in updatePreview and callbacks

Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I6832c4d8ac687d1f939a0a7d10d7526713f1efff
  - The 'Copy Hyperlink from pop-up' test was checking for '.arrow-div.reverse' to verify the popup was positioned below the cell without overlap.
  -The arrow element was removed in the hyperlink tooltip layout cleanup, so the selector no longer matches.
  - Update the test to check that the hyperlink popup container is visible instead.
  - The overlap-prevention logic in URLPopUpSection.resetPosition still repositions the popup below the cell when there is no room above, it just no longer renders an arrow.

Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: Ica42864faf9ab805400a30050a05fbdee2990b5b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To Review

Development

Successfully merging this pull request may close these issues.

1 participant