Add [Edit] button to view source mode navigation if user is the author of the package

RESOLVED FIXED

Status

Mozilla Labs Graveyard
FlightDeck
P4
minor
RESOLVED FIXED
8 years ago
7 years ago

People

(Reporter: zalun, Assigned: zalun)

Tracking

Details

(Assignee)

Description

8 years ago
If user is the author of the package (add-on/library) displayed in "view source" mode there should be a way to directly switch to "edit" mode.
A nicety, but not impeding any repetitive pain points.
Severity: normal → trivial
Priority: -- → P4
(Assignee)

Comment 2

7 years ago
it is a pain sometimes - I don't know if for others, but if I'm in edit and I would like to share the link, it's not easy. Same the other side - if someone pointed to me to my add-on I'd like to have an easy option to switch to edit mode
Well I feel like the solution that would easily serve this concern is to simply default the view to editor if the user is logged in and owns the package, and default it to view source in all other cases. Can this be done easily with redirects?

Updated

7 years ago
Assignee: nobody → zaloon
Blocks: 612457
Severity: trivial → minor
(Assignee)

Comment 4

7 years ago
It would involve a few changes to the edit - it should allow to Copy in example. But I think there is no problem with that. Then there will be simply no "view" mode for owners.
(Assignee)

Comment 5

7 years ago
Fixed with this commit
https://github.com/mozilla/FlightDeck/commit/f04cf5cb38117c3f2d3a85cfda21a1a0e9e62ca8
(Assignee)

Updated

7 years ago
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED

Updated

7 years ago
Component: FlightDeck → FlightDeck
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in before you can comment on or make changes to this bug.