Closed (fixed)
Project:
Project Browser
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Jul 2023 at 17:06 UTC
Updated:
15 May 2024 at 23:49 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
mhercheladding solution
Comment #3
mherchel🙌 🙌 🙌
Comment #7
marcoliverWorks fine for me. Needed another rebuild of the JS though.
Also, since the error message contains HTML markup, the placeholder used in
Drupal.tshould be prefixed with!instead of@so the markup does not get escaped.Comment #8
marcoliverSince I only changed the variable escaping in my previous commit and everything else looked fine, I'll mark this as RTBC.
Comment #9
chrisfromredfinComment #10
mherchelLooks like tests not passing CS
Comment #11
chrisfromredfinRebased, which made the tests work except for some sporadic timing-based failures on occasion. Increased timeout of waitForElementVisible() calls that I've seen failing.
Comment #12
marcoliverUpdated the MR against 1.0.x again to make it fit to merge. Test failures seem unrelated, fine on second run.
Marking as RTBC again.
Comment #15
chrisfromredfinMR !399 is the right one to use, but needs a rebase.
Comment #16
marcoliverMR is up-to-date again
Comment #17
chrisfromredfinGiven this error:
I think the rebase might be a little bad. We did merge a fix last week to remove the top pager, but it seems like the test is now checking for one pager, but there are still two pagers being displayed.
(Wow, thanks automated tests!)
Comment #18
marcoliverOops, my bad, should have waited for the pipeline!
Removed the offending pager, pipeline's green now!
Comment #20
marcoliverUpdated against 1.0.x, MR is mergeable again.
Comment #22
bernardm28 commentedSeems to be working as expected.

The easiest way to test is to paste the javascript code above on the console.
Comment #23
bernardm28 commentedComment #24
chrisfromredfinESLint and PHPStan are failing. The PHPStan failures should be solved with a rebase, based on a commit I made yesterday (h/t James Shields).
The ESLint errors I'm less sure about, but they certainly need to be fixed regardless.
Comment #25
bernardm28 commentedThe test failure with the phpunit functional test is weird on this one.
Not sure that error is related to the changes here.
Comment #26
chrisfromredfinI think as the result of a bad rebase, this re-introduces a pager at the top of the Project Browser; there should only be one pager at the bottom. The test caught exactly this situation.
Needs to be rebased / re-applied clean to latest 1.0.x.
Comment #27
chrisfromredfinComment #29
chrisfromredfinbeta blocker DOWN! Thanks so much everyone! big news. :)
Comment #31
bernardm28 commented