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

[Bug]: review page version activity box can get cut #15198

Closed
1 task done
diox opened this issue Nov 25, 2024 · 7 comments · Fixed by mozilla/addons-server#22922 or mozilla/addons-server#22932
Closed
1 task done
Assignees
Milestone

Comments

@diox
Copy link
Member

diox commented Nov 25, 2024

What happened?

STR:

  • Enable enable-activity-log-attachments switch
  • Submit an unlisted add-on (single version)
  • Get it auto-approved
  • Soft-Block it
  • Harden the block

Look closely at the version history in the review page: there is a visual artifact where the the text of the last activity appears to go over the border of the cell

Screenshot 2024-11-25 at 14-28-54 rabbil-rabugong-narkato – Add-ons for Firefox

(There are likely faster/easier ways to reproduce - but you probably need a single version, then enough single-line activities to be higher than the left-side column)

What did you expect to happen?

The text shouldn't go over the border like that

This is caused by enable-activity-log-attachments because when it's enabled, it adds another cell to each row of activity... but only those, the rest of the table only have 2 cells per row.

Is there an existing issue for this?

  • I have searched the existing issues

┆Issue is synchronized with this Jira Task

@diox
Copy link
Member Author

diox commented Nov 26, 2024

We should either move the attachment to the second column instead of its own column, or ensure there are 3 columns for every row.

@ioanarusiczki
Copy link

ioanarusiczki commented Nov 28, 2024

I've seen this now on -stage at version unblocked

unblockedversion

later edit
on dev

on dev

@diox
Copy link
Member Author

diox commented Dec 2, 2024

A variant I saw in production, with more history (I'm only including a partial screenshot since this is prod data):
Screenshot 2024-12-02 at 16-52-00 TinEye Reverse Image Search – Add-ons for Firefox

@ioanarusiczki
Copy link

I've checked on dev that enable-activity-log-attachments is enabled.

I could reproduce it with:

https://reviewers.addons-dev.allizom.org/en-US/reviewers/review-unlisted/634903

or with reviewer notes https://reviewers.addons-dev.allizom.org/en-US/reviewers/review/634904

@chrstinalin
Copy link

It looks like there's some OS-related trickery here, as I'm unable to reproduce those bugs on my MacOS machine (tables render as expected), but does indeed occur on my Windows machine. @ioanarusiczki Could I confirm which OS you're using?

For context, on my MacOS machine --
image
image

@ioanarusiczki
Copy link

@chrstinalin yes, I was using Win11

@ioanarusiczki
Copy link

Yes, it looks good now on win too.

win11_1

Version notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment