Closed Bug 1479413 Opened 7 years ago Closed 7 years ago

Modify the way AS router handles snippet preview endpoints

Categories

(Firefox :: New Tab Page, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 63
Iteration:
63.3 - Aug 6
Tracking Status
firefox63 --- fixed

People

(Reporter: andreio, Assigned: andreio)

References

Details

Attachments

(1 file)

ASRouter should not cache the preview endpoint. When using this feature the user would load multiple preview endpoints and explore different snippet variants, if the endpoints are stored it would make useless server requests, it also prevents from "exiting" the preview mode. An endpoint should be active only if it's specified in the newtab page URL. We should also document the entire process of: whitelisting a host, previewing a snippet, reading errors in the browser toolbox and navigating/using the ASRouter admin.
ni giorgos: please let me know if you noticed other issues or there are other things we should update.
Assignee: nobody → andrei.br92
Flags: needinfo?(giorgos)
A note to explore adding the "This is a preview" banner on top as we originally discussed.
Flags: needinfo?(giorgos)
Severity: normal → enhancement
Iteration: --- → 63.3 - Aug 6
Priority: -- → P1
Commit pushed to master at https://github.com/mozilla/activity-stream https://github.com/mozilla/activity-stream/commit/2e3c294f3a8ddaef5b84304cfaa2801c1d585faa Fix Bug 1479413 - Remove preview provider and message after it has been displayed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Blocks: 1481559
Blocks: 1479836
No longer blocks: 1481559
Target Milestone: --- → Firefox 63
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: