Closed Bug 875580 Opened 11 years ago Closed 11 years ago

Publish Thimble pages to the new make detail page

Categories

(Webmaker Graveyard :: Thimble, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: brett, Assigned: thecount)

Details

(Whiteboard: s=2013w23)

Attachments

(1 file)

Thimble pages should be published into the new detail page as an iframe.
Sooo, the actual code here is small.

The html page I pulled in is a big whole sale from bug 871727. Needs work to better fit into thimble.

Also, I have a bunch of css from the original that was less, that I lazily compiled over to css. Looks terrible.

I think I'll probably boil that page down into something that's much easier to digest.

So, this is in review, not because it is done, but because I want to do more in other tickets.
Attachment #754000 - Flags: review?(pomax)
Comment on attachment 754000 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/78

We're duplicating a lot of code, I'd like to have most of the shared code paths between the new make detail publish and the older regular published unified in functions that both middleware functions can call, with the required libraries cached at the app.js level.
Attachment #754000 - Flags: review?(pomax) → review-
Pomax agreed with the code duplication, but the review was more for general direction, which is wrong.

We want only one page for google analytics reasons.
Status: NEW → ASSIGNED
Comment on attachment 754000 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/78

Updated it to inject instead of making a second publish.
Attachment #754000 - Flags: review- → review?(pomax)
There is a massive css file, and a small chunk of javascript used here.

I think there is value in having those files stored on webmaker.org and having both popcorn and thimble linking to the same files.
Comment on attachment 754000 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/78

Some nits in the pull request, but also a request to first make the details page generic. It currently holds a random make's information, I'd rather see placeholder texts etc. that indicate what goes in the field so it's easier to iterate on.
Attachment #754000 - Flags: review?(pomax) → review-
Comment on attachment 754000 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/78

Updates.

Some placeholders added.
Attachment #754000 - Flags: review- → review?(pomax)
Comment on attachment 754000 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/78

pretty nice, added the example on how to ensure code runs once jquery's available, too.
Attachment #754000 - Flags: review?(pomax) → review-
Comment on attachment 754000 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/78

Should be good now.
Attachment #754000 - Flags: review- → review?(pomax)
Comment on attachment 754000 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/78

comments in the pull request - also a concern about styling but that's more a follow-up issue and I will raise it after we land this.
Attachment #754000 - Flags: review?(pomax) → review-
Comment on attachment 754000 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/78

Updates.

Let me know if something is wrong with the created at time. It seems to be off on my machine, off in both this new patch, and the old, which was fine yesterday. I suspect it's actually something to do with the time on my machine.

Currently waiting for an hour to roll over to test it for sure. Hopefully you get better results and this is something to do with my system. If not, I'll look into it.
Attachment #754000 - Flags: review- → review?(pomax)
I'm actually not sure about popcorn's time to english function I pulled in. Looks like it has bugs. I don't trust it yet.

I'll go fix up my other tickets then come back to it.
Comment on attachment 754000 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/78

R+, but file a followup bug to have our CSS file turned into a less file instead. It's pretty large, so it's going to be worth doing.
Attachment #754000 - Flags: review?(pomax) → review+
Comment on attachment 754000 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/78

Addendum: few nits in the pull request about the time code. R+ with them fixed.
Comment on attachment 754000 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/78

Throwing this back on you for one final look.

Filing a follow up ticket to search on title.
Attachment #754000 - Flags: review+ → review?(pomax)
Follow up bug 878074
Staged: https://github.com/mozilla/thimble.webmaker.org/commit/a3037fa20882d7bba04a74d65c12bda7e84ec4e9
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: s=2013w23
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: