-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Options/Settings Page Functionality #721
base: main
Are you sure you want to change the base?
Conversation
src/_locales/en/messages.json
Outdated
@@ -244,5 +244,9 @@ | |||
"inPageUI-tooltip-button-share-passive": { | |||
"message": "If you click this button, Facebook will be able to track your visit to this site.", | |||
"description": "" | |||
}, | |||
"fbcSettingsTitle": { | |||
"message": "Preferences", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Firefox is moving to "Settings", is there a reason to use "Preferences"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New title is "Optional Settings"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've never seen the concept of "Pptional settings" outside of technical configuration files. What's the reasoning behind this choice, vs just "Settings"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3b8c629
to
5cd20d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Self-review notes from sync review with @tcinotto
<input class="settings-checkbox" id="allowInstagram" type="checkbox" name="instagram" value=""> | ||
<div class="checkbox-copy"> | ||
<label for="allowInstagram">Allow Instagram to load outside of the Facebook container</label> | ||
<p>This setting allows for embedded Instagram posts to load on websites outside of the Facebook Container. Note that enabling this setting may allow Facebook to track you across other websites.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move "Note that enabling this setting may allow Facebook to track you across other websites." to its own paragraph, highlighted with warning colors/treatment.
<input class="settings-checkbox" id="hideBadgeContent" type="checkbox" name="hideBadgeContent" value=""> | ||
<div class="checkbox-copy"> | ||
<label for="hideBadgeContent"><img class="inline-fbc-icon" src="fbc-icon.svg" alt=""> Hide FBC Badge </label> | ||
<p>This setting hides the badge from appearing (including on hover) on Share/Login elements across non-Facebook sites.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add additional copy explaining that sites can still be added to the FB container via the panel
<input class="settings-checkbox" id="replaceTab" type="checkbox" name="replaceTab" value=""> | ||
<div class="checkbox-copy"> | ||
<label for="replaceTab">Open all Facebook-owned links in a new tab</label> | ||
<p>This setting changes how opening Facebook-specific links behaves. The default behavior is to replace the current tab with the new link.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much larger conversation: With Facebook's parent company name change, should we reference "Meta" in some spots?
<p>This setting changes how opening Facebook-specific links behaves. The default behavior is to replace the current tab with the new link.</p> | |
<p>This setting changes how opening Meta-specific links behaves. The default behavior is to replace the current tab with the new link.</p> |
…eset settings back to default
…ng the active tab, discarding the history state
…background.js, rather than unchecking/checking all the boxes.
…ly bbuild list of domains
…Facebook Container. (Treated the same way as about: pages)
… background color
…sites (both in the Settings and Doorhanger)
d7ae282
to
79eb79a
Compare
Features
This PR adds a preferences panel (accessible from both the add-on panel and the
about:addons
page). Beyond adding this space for future options/prefs, I added two options to start:Resolved/mentioned issues:
TODO
Testing
TBD
Screenshots
Gear Icon to open prefernces page:
about:addons
preferences pane (WIP)