Closed
Bug 916236
Opened 11 years ago
Closed 11 years ago
Improvements to sketchfab plugin
Categories
(Webmaker Graveyard :: Popcorn Maker, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mjschranz, Assigned: mjschranz)
References
Details
Attachments
(1 file, 2 obsolete files)
1) It's editor is missing a label for the id input. 2) It's id input should be capable of parsing sketchfab URLs e.g: http://sketchfab.com/show/b7LzIm8JrnPw4GBDOMBNGYc39qM 3) We should move it down to the bottom of the plugin list. More of a preference than actual problem.
Comment 1•11 years ago
|
||
#2 is a bug in the regex in popcorn.sketchfab.js. `src = options.src.match( /((show|skfb\.ly)\/)?([A-Za-z0-9]{9,27})/ );` Notice {9,27} tries to capture the model id, but that "sketchfab" is also 9 characters long :/.
Assignee | ||
Comment 2•11 years ago
|
||
Ah, well that needs to be fixed and it needs to be obvious that this already was a present feature :P
I agree with :mjschranz. I would put it last in the list order of events. Moreover, I think we should call the event "3D Model" Suggested language for UI... Add a label above the URL field: "Sketchfab.com URL" Explanatory text below it: "You can include any 3D model from Sketchfab.com in your project. Your browser must support WebGL."
Assignee | ||
Comment 5•11 years ago
|
||
As said in the duplicate bug and emails, I've set this plugin to be hidden from our events list until the UI improvements are made. https://github.com/mozilla/popcorn.webmaker.org/commit/3c5c364dbe8efa157e7b2fe03c5b40e3f131d59e I haven't pushed this to our staging server, but if production pushes are to be made before this bug is resolved then we will be getting that commit up on prod as well.
Comment 7•11 years ago
|
||
- Makes Sketchfab its own editor (doesn't use default). - Adds blurb & video about Sketchfab to help understand the plugin :). - Uses some error propagation to tell the user when they've entered a bad url.
Attachment #805305 -
Attachment is obsolete: true
Attachment #805305 -
Flags: review?(bobby)
Attachment #806015 -
Flags: review?(schranz.m)
Comment 8•11 years ago
|
||
Comment on attachment 806015 [details] [review] https://github.com/mjschranz/popcorn.webmaker.org/pull/5 Some easy quick improvements. Add: EditorHelper.selectable( trackEvent, container ); To the editor helper. I noticed there is no select state on the stage container. Usually we get a green border/box shadow when selected. Same with when in edit mode, and hover. Sketchfab only seems to get the hover states. I think your css is overriding the select css? maybe? Also, why not enable the north west resize handle. Otherwise r+
Attachment #806015 -
Flags: review?(schranz.m) → review-
Comment 9•11 years ago
|
||
Actually, now that I'm thinking about borders, I wonder if sketchfab should have one at all? If I make something with a transparent background, I probably don't want a border either. That way I can overlay it over other images or video in more creative ways.
Comment 10•11 years ago
|
||
Merges with Matt's work, and includes fixes for Scott.
Attachment #806015 -
Attachment is obsolete: true
Attachment #806065 -
Flags: review?(scott)
Updated•11 years ago
|
Attachment #806065 -
Flags: review?(scott) → review+
Comment 12•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/popcorn.webmaker.org https://github.com/mozilla/popcorn.webmaker.org/commit/dd27d37d0c3eb3b2adc698e6c3f25c9a1b9e0879 Bug 916236 - Sketchfab plugin improvements [t916236] fix minor usability issues with sketchfab plugin; reenable it's ability to be seen [t916236] custom sketchfab for a blurb about Sketchfab.com [t916236] sketchfab background fix & URL error [t916236] editor helper fixes
Assignee | ||
Comment 13•11 years ago
|
||
Needs verification.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(schranz.m)
Resolution: --- → FIXED
Updated•11 years ago
|
Attachment mime type: text/plain text/plain text/plain → text/x-github-pull-request 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
•