Closed
Bug 663577
Opened 14 years ago
Closed 14 years ago
Snippet Service Improvements: Push w/o Developer
Categories
(Snippets :: Service, defect, P1)
Snippets
Service
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: osmose, Unassigned)
References
Details
Component of https://bugzilla.mozilla.org/show_bug.cgi?id=659773
We want a way for non-developers to use the interface to push snippets to production after creating them in staging. Currently this requires a developer to export and import the snippets between the two.
Assignee | ||
Updated•14 years ago
|
Component: Snippets → General
Product: Mozilla Services → Snippets
Comment 1•14 years ago
|
||
This is our biggest Snippet Service improvement "ask" for Q4 2011 because it will cut down the amount of time needed to enter a snippet in half.
The process right now is extremely manual.
Let's get this back on the roadmap for Q4.
Assignee: mkelly → nobody
Severity: enhancement → normal
Component: General → Service
Priority: -- → P1
QA Contact: snippets → service
Reporter | ||
Comment 2•14 years ago
|
||
I've done a big more digging, and what I've found is that we can preview snippets on production without releasing them to the public using the preview feature.
When creating the snippet, uncheck the 'Disabled' checkbox and check the 'Preview only?' checkbox. Then, change your snippet url to:
https://snippets.mozilla.com/preview
You will be able to see all normal snippets, as well as any snippets that have 'Preview only?' checked. However, preview snippets will NOT appear at the normal snippet URL, meaning we can put snippets onto production, mark them as preview only, and test them without showing them to users.
Is this a sufficient solution? This would remove stage from the snippet creation process entirely. The only code change I would perform is probably to add the preview checkbox column to the list view in the admin panel to make it easier to mark snippets as preview or not.
Comment 3•14 years ago
|
||
(In reply to Michael Kelly [:mkelly] from comment #2)
> I've done a big more digging, and what I've found is that we can preview
> snippets on production without releasing them to the public using the
> preview feature.
>
> When creating the snippet, uncheck the 'Disabled' checkbox and check the
> 'Preview only?' checkbox. Then, change your snippet url to:
>
> https://snippets.mozilla.com/preview
>
> You will be able to see all normal snippets, as well as any snippets that
> have 'Preview only?' checked. However, preview snippets will NOT appear at
> the normal snippet URL, meaning we can put snippets onto production, mark
> them as preview only, and test them without showing them to users.
>
> Is this a sufficient solution? This would remove stage from the snippet
> creation process entirely. The only code change I would perform is probably
> to add the preview checkbox column to the list view in the admin panel to
> make it easier to mark snippets as preview or not.
I really like this idea. It makes the whole process more simple. My only question is around previewing - would that make the preview URL this?
https://snippets.mozilla.com/preview/1/Firefox/7.0.2/20110901042012/Darwin_Universal-gcc3/en-US/release/Darwin%2010.8.0/default/default/
Reporter | ||
Comment 4•14 years ago
|
||
(In reply to Laura Forrest from comment #3)
> I really like this idea. It makes the whole process more simple. My only
> question is around previewing - would that make the preview URL this?
>
> https://snippets.mozilla.com/preview/1/Firefox/7.0.2/20110901042012/
> Darwin_Universal-gcc3/en-US/release/Darwin%2010.8.0/default/default/
Yes, that would be correct. It shows both snippets that are active and snippets that are preview only.
Reporter | ||
Comment 5•14 years ago
|
||
We've been using this new process for a few weeks and it has been working without issue. Marking as fixed.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•