User:Robhudson/D2C-on-AMO
Default to Compatible (d2c) means that add-ons are considered compatible if certain conditions are met (defined elsewhere).
API and d2c
Tracker bug: https://bugzilla.mozilla.org/show_bug.cgi?id=694658
This includes version check, the search API, and various other pieces that had to fall into place for detecting incompatilibities in our add-on validator.
Status: Search API not yet completed (bug 706385)
Open questions:
1. We need to decide whether we include incompatible add-ons in the search results based on the search query terms. For example, if somehow Firebug were not compatible with the user's version of Firefox and they searched for "fire", not displaying Firebug may be confusing to the user. Whereas displaying the add-on but with a disabled install button may also be unfriendly. Whatever we do in the search API should match what we do in site-search. The search API shows at most 30 add-ons and if the user wants to see more they are provided a link to site-search. If the search results differ, this will be confusing to the end user.
Discovery pane and d2c
Tracker bug: https://bugzilla.mozilla.org/show_bug.cgi?id=711698
Currently we're using the Firefox version, and if 10+, we switch to compatibility mode of "ignore" (bug 711700). Bug 711693 will send the compat mode to disco pane (I believe this will land in Fx 14). Bug 711698 is to update disco pane to use the provided compat mode.
Status: Disco pane using provided compat mode not yet implemented (bug 711698). Bug 711700 is implemented and behind the waffle switch "d2c-at-the-disco".
Buttons and d2c
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=733080
Status: Partially implemented and behind the waffle switch of "d2c-buttons":
- Done: The buttons.js takes what is provided about the version in the HTML data attributes and determines if the add-on is compatible taking into account the user's app and version.
- Left to do: Bug 733080 -- Display the reasons the current version isn't compatible in a tooltip, as well as display a link to older versions.
Other related bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=733547, which buttons use to determine if all the server-side checks pass or not.