Closed Bug 1485193 Opened 7 years ago Closed 6 years ago

Link-ify policies documentation to the online docs

Categories

(Firefox :: Enterprise Policies, enhancement, P2)

enhancement

Tracking

()

VERIFIED FIXED
Firefox 77
Tracking Status
firefox63 --- wontfix
firefox77 --- verified
firefox78 --- verified

People

(Reporter: Felipe, Assigned: gaurijove, Mentored)

References

Details

(Keywords: good-first-bug)

User Story

- Add an open/close arrow to open the schema details of each policy
- Link-ify each policy to its external documentation (using target="_blank")

Attachments

(1 file)

The policies have a built-in short description that is displayed in the Documentation tab of about:policies, but the official online documentation at [1] has more details and examples for each policy. We should link-ify each policy to the online docs. I'm not sure if the entire policy name should be a link (and then we need to find a way to expand the inline schema), or if there should be another icon (like an outbound icon) to link-ify [1] https://github.com/mozilla/policy-templates/blob/master/README.md
It makes sense for the entire policy name to be a link, as shown in this example: https://codesandbox.io/s/qvv0j7lk2j?module=App.js Including the “Open in New” icon makes sense logically, but showing the same icon to the right of every policy would be too much. And if we choose to store schema inside each row, that fact should be communicated in a more obvious way. For example, by using a downward arrow: https://codepen.io/team/carbon/full/gXGabM/ Thoughts?
Flags: needinfo?(felipc)
Yeah, sounds good. That's the direction I was thinking of too.
User Story: (updated)
Flags: needinfo?(felipc)
Assignee: nobody → kanika16047
Priority: -- → P2
Hello Kanika, are you still working on this bug?

Hi! Im on Firefox 66 and I think the schema is showing in an acceptable manner i.e. you click on a row to toggle between showing or hiding the schema. Is this an acceptable behavior?

Yes, that's an acceptable behavior, but we'd also like to update the policy templates docs and link directly to there as well.

So, is all that's left to do currently is to linkify each of the policies to their online official documentations?

So, is all that's left to do currently is to linkify each of the policies to their online official documentations?

Yes, but first we need to cleanup the official documentation. It's being worked on,

Ah! Okay, that's excellent.

Is there a bug we can follow for that?

Is there a bug we can follow for that?

No bug, it's just general Github work that's going on. If anyone wants to help, I can provide info.

Hey, I'm new to the community and was looking to help out. Would I be able to take this on as a first issue?

Yes, the documentation is now cleaned up and available here:

https://github.com/mozilla/policy-templates/blob/master/README.md

and can be linked to.

Hello! May I work on this?

Flags: needinfo?(felipc)

Actually, I'll own this. I'll take a look.

Flags: needinfo?(felipc)

Thanks a lot!

Assignee: kanika16047 → gaurijove

Jayati: I made one small request in phabricator. Thanks for the patch!

Flags: needinfo?(gaurijove)

Hi Mike! I don't see any comment on phabricator. What change exactly do i need to make?
Thanks for reviewing :)

Flags: needinfo?(gaurijove) → needinfo?(mozilla)

Has the documentation for the two left oug policies been added?

Weird. My request didn't make it. I just added it. I just want it to open in a new tab (not the same tab).

As far as the two missing policies, no documentation hasn't been added. things will always be a little out of sync.

Flags: needinfo?(mozilla)
Attachment #9137760 - Attachment description: Bug 1485193 - Link with documentation in about:policies. r=Felipe → Bug 1485193 - Link with documentation in about:policies. r=mkaply
Attachment #9137760 - Attachment description: Bug 1485193 - Link with documentation in about:policies. r=mkaply → Bug 1485193 - Link with documentation in about:policies. r=Felipe
Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/3c8e09333531 Link with documentation in about:policies. r=mkaply
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77

Hello,

Confirming this issue as verified fixed using Windows 10x64, Ubuntu 18.04 and macOS 10.15.5. Verified on 77.0(ID:20200525134724) and 78.0a1(ID:20200526213752).
Policies from the documentation tab are now link-able .

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: