Closed
Bug 883192
Opened 12 years ago
Closed 12 years ago
thimble "make details" living on the page instead of an iframe causes page CSS to override make detail styling
Categories
(Webmaker Graveyard :: Thimble, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: michiel, Assigned: mjschranz)
References
Details
Attachments
(2 files, 2 obsolete files)
The only real fix is to sandbox, and have the makedetails live as an iframe on the made page for Thimble. This is a big change, and I'll leave it up to scott to determine whether this is doable today. If not, it's a fast-fast-followup.
| Assignee | ||
Comment 3•12 years ago
|
||
We already moved to this kind of deployment in Popcorn Maker. This is a patch I was working on for getting this to work in Thimble.
Attachment #762736 -
Flags: review?(scott)
Attachment #762736 -
Flags: review?(pomax)
Attachment #762736 -
Flags: review?(kate)
Comment 4•12 years ago
|
||
Hmm, not working for me.
Comment 5•12 years ago
|
||
Comment on attachment 762736 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/120
I added a screenshot of what I got when I tried to use this.
Also, the made with and remix buttons should probably be responsive and stick to the left and right sides. If I shrink my window, they should stay in view.
Attachment #762736 -
Flags: review?(scott) → review-
Comment on attachment 762736 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/120
This does not solve the problem that the ticket is for. There's two problems:
- make detail CSS affecting the page
- page CSS affecting the make detail HTML
we already solved (1) by namespacing, so that part's good, but we can't solve (2) without isolating the make details in an iframe.
Attachment #762736 -
Flags: review?(pomax) → review-
Comment 7•12 years ago
|
||
OK, I got the page to display.
I still have issues with the css of the details bar.
Also, the css in the actual details page looks off.
Attaching a screen shot of what I get now.
Comment 8•12 years ago
|
||
Attachment #762772 -
Attachment is obsolete: true
Updated•12 years ago
|
Assignee: scott → schranz.m
| Assignee | ||
Comment 9•12 years ago
|
||
NEw PR. Most code is the same but I did add in one namespace fix.
Attachment #762736 -
Attachment is obsolete: true
Attachment #762736 -
Flags: review?(kate)
Attachment #762825 -
Flags: review?(scott)
Attachment #762825 -
Flags: review?(pomax)
| Reporter | ||
Comment 10•12 years ago
|
||
Comment on attachment 762825 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/128
this puts the details themselves in an iframe, which is a good start, but the make details bar is still "on page", so that still gets messed with quite spectacularly (i,e, http://s3.amazonaws.com/org.webmadecontent.staging.thimble/pomax/thimble/vidyo-conan-hack)
Attachment #762825 -
Flags: review?(pomax) → review-
Comment 11•12 years ago
|
||
Just add:
.wrapper {
position: relative;
- width: 1020px;
+ width: 100%;
margin: 0 auto;
}
to the details.css file to clear up my final nit. (the maring 50px can be done in another ticket beause it is webmaker.org, correct?)
Comment 12•12 years ago
|
||
Also, ensure the /templates/tutorial path still disabled any css needed to disable the details bar.
Comment 13•12 years ago
|
||
Comment on attachment 762825 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/128
R+ when you have a ticket to sort out the width of the bar, and the tutorial template does not show the details bar,
Attachment #762825 -
Flags: review?(scott) → review-
| Assignee | ||
Comment 14•12 years ago
|
||
Comment on attachment 762825 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/128
Updated.
Attachment #762825 -
Flags: review?(scott)
Attachment #762825 -
Flags: review?(pomax)
Attachment #762825 -
Flags: review-
Comment 15•12 years ago
|
||
Comment on attachment 762825 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/128
Comment in the ticket.
Attachment #762825 -
Flags: review?(scott) → review-
| Reporter | ||
Comment 16•12 years ago
|
||
Comment on attachment 762825 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/128
I'm okay with this, as long as the "mobile" mystery element is either explained or removed =)
Attachment #762825 -
Flags: review?(pomax) → review+
Comment 17•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/thimble.webmaker.org
https://github.com/mozilla/thimble.webmaker.org/commit/7d6b19b21a6d18ba554205b00d2f071ff95c75a9
Fix Bug 883192 - Change details page layout for new make details
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Attachment #762825 -
Flags: review- → review+
Updated•12 years ago
|
Attachment mime type: text/plain text/plain → text/x-github-pull-request text/x-github-pull-request
You need to log in
before you can comment on or make changes to this bug.
Description
•