Closed (fixed)
Project:
Experience Builder
Version:
0.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2024 at 20:40 UTC
Updated:
7 Dec 2024 at 16:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
q0rban commentedWould you like the demo_design_system theme to be the default theme, or just installed and available?
Comment #3
cosmicdreams commentedIt certainly is nice to have really good looking components to use while demonstrating why this is an interesting thing to new eyes.
Comment #4
kristen polYes, please! 🙏
Comment #5
kristen polNote, the dev guide has all the install steps:
https://www.drupal.org/community-initiatives/starshot-demo-design-system...
Comment #6
guptahemant commentedI think its useful to include SDDS as well along with tugboat previews but we also need to call out that SDDS design system is being included with this preview for testing purposes.
Comment #7
wim leersComment #9
q0rban commentedI made an MR for this, but the preview gives a WSOD. The error is:
Any ideas?
Comment #10
kristen polInteresting… I’ll try to look today because I fly out tomorrow
Comment #11
q0rban commentedOkay, interesting. I don't see a "civic" theme in there. Should I use the "starshot_demo" theme?
Comment #12
effulgentsia commentedI think so. Per step 4 in https://www.drupal.org/community-initiatives/starshot-demo-design-system....
Comment #13
kristen polSorry… haven’t gotten to computer today but will try from the airport
Comment #14
kristen polWhoops! DrupalCon happened and then a week off... hmm... but, yes, you should enable starshot_demo.
Please see the steps here:
https://www.drupal.org/community-initiatives/starshot-demo-design-system...
Note: we are working today on getting rid of the components module dependency so that should be fixed soon.
Comment #17
q0rban commentedThank you, that did the trick.
Updated MR.
Note, this increases the build time to about 10 minutes.
Comment #18
q0rban commentedComment #19
kristen polLooks like it has everything. How do we test?
Comment #20
q0rban commented@kristen at the top of this issue, you will see a "View live preview" button, and if you click that button, you can test there. Credentials are admin/admin.
Comment #21
kristen polThanks!
It does "work":
https://mr323-zbzg3fgtmxhjnhiibdr2ns38ldwjk3r8.tugboatqa.com/
and the components show up in XB, but some reasons the props form isn't working... so not sure what has changed since Barcelona. SDDS hasn't had any commits since then, so I assume it's something in XB... but one of our devs rebuilt his local yesterday with XB+SDDS and it's all working so then it seems like it's just the Tugboat environment :shrug:
Only errors I see are a 404 for:
/themes/contrib/demo_design_system/starshot_demo/components/03-organisms/starshot-case-study/assets/starshot/starshot_banner_frame.svg
But the component images are showing up so :shrug:
Comment #22
q0rban commentedI wonder if this is a permissions issue. I've just pushed up a change that might fix that. Can you test again, Kristen?
Thank you!
Comment #23
kristen polSame issue... only happens when there's a component on the page with an image.
I don't think it's on our end as one of our devs has been working with it since last week without issue, but :shrug:
https://youtu.be/rWI4RRmkjjI
Comment #24
q0rban commentedThank you for the video, that was very helpful in replicating the issue!
It seems that this is an issue with Apache rejecting the response due to response headers being too large:
While the HTTP spec doesn't specifically limit the size of headers, it is common for many proxies to limit header sizes to 8KB. For that reason, it might be best to transfer any data in the response itself, rather than in headers.
Comment #25
kristen polThanks for debugging. Not sure what I we can do on the SDDS end... anything?
Comment #26
q0rban commentedI'm not sure! Do you know what is setting those response headers? Is it coming from SDDS or Experience Builder? Or something else?
Comment #27
effulgentsia commentedIt's an XB issue. I'll open an issue for it when I have a spare moment. Thanks for discovering it!
Comment #28
kristen polThanks 🙏
Comment #29
effulgentsia commented#3481343: XBEndpointRenderer adds response headers that sometimes exceed common server limits
Comment #30
wim leersComment #31
q0rban commentedDo we consider #3481343: XBEndpointRenderer adds response headers that sometimes exceed common server limits a blocker to this issue?
Comment #32
kristen polYes :(
Comment #35
q0rban commented@kristen-pol, now that #3481343: XBEndpointRenderer adds response headers that sometimes exceed common server limits is in, I've recreated the Tugboat Preview here. I tried to replicate the issue we were encountering before, but it seems like enough has changed that I'm not sure how to do so. Can you take a look to see if you can replicate? Thank you!
Comment #36
kristen polLet me take a look :)
Comment #37
kristen polI'm having the same issue I was having on my local a couple days ago... my understanding is there was a bug that has been fixed since then... I'm unclear how we can get the preview to update to the latest code.
Here's a video of the issue (it's uploading now)... you can't drag anything into the desktop area... there were no related errors.
https://youtu.be/0lTPqtZXwNc
Comment #38
q0rban commentedI have rebuilt the Tugboat Preview. I also rebased from 0.x.
Even though #3481343: XBEndpointRenderer adds response headers that sometimes exceed common server limits is in, it seems like we are still getting a response header over 8kb.
I reopened #3481343: XBEndpointRenderer adds response headers that sometimes exceed common server limits since it seems like the MR didn't get merged in.
Comment #39
kristen polThanks 🙏
Comment #40
q0rban commented@kristen-pol, looks like #3481343: XBEndpointRenderer adds response headers that sometimes exceed common server limits is in properly now, and I think our issue is fixed! Can you confirm?
Comment #41
kristen polLooking now.
Comment #42
kristen polActually... there's no live preview button.
Comment #45
q0rban commentedSorry, it must have expired. I closed and reopened the MR, so it's building again. It will last 5 days.
Comment #46
q0rban commentedComment #47
kristen polSorry, I should have remembered that by now o_O
It's working as expected! Thanks!
Video is currently uploading:
https://youtu.be/dYPWCiCK968
Comment #49
effulgentsia commentedThis is awesome! Merged to 0.x.