This diff was generated as follows:
List all toml files in the tree:
`find * -name '*.toml' > /tmp/toml`
Manually edited /tmp/toml to drop non-relevant entries (objdir).
Ran the toml linter for all files:
`cat /tmp/toml | xargs ./mach lint -l test-manifest-toml --fix`
Differential Revision: https://phabricator.services.mozilla.com/D240948
- use tab-group-suggestions loading animation color
- set progressPercentage to init to 0
- add non-impactful references to the CSS variables to satisfy the test browser_parsable_css
Differential Revision: https://phabricator.services.mozilla.com/D243322
We handle this similarly to pasting into a prompt() dialog, so I
refactored that logic into a new ContentAnalysisUtils and call it from
both places.
Also drive-by cleanup of BUG_COMPONENT for a few Content Analysis
moz.build's
Differential Revision: https://phabricator.services.mozilla.com/D244818
We handle this similarly to pasting into a prompt() dialog, so I
refactored that logic into a new ContentAnalysisUtils and call it from
both places.
Also drive-by cleanup of BUG_COMPONENT for a few Content Analysis
moz.build's
Differential Revision: https://phabricator.services.mozilla.com/D244818
Instrument various events for enabling, showing preview and interactions. Support prefetch on enable with metrics. Include wllamapreview for success metrics.
Differential Revision: https://phabricator.services.mozilla.com/D243790
- add articleData excerpt back to as a source of description for Link Preview
- increase MAX_CONTENT_LENGTH to 5mb
- add imageurl extraction to extractNormalizedMetadata
- move extractMetadataContent to LinkPreviewChild.sys.mjs
- update test test_fetch_page_data
- update regex for contentType.match to suport optional quotes, i.e "utf-8"
- trigger 'unable-to-preview' error state only if title, description, and readerMode.textContent are all missing.
- add title fallback with filename component of url
- ensure imageUrl is with https
Differential Revision: https://phabricator.services.mozilla.com/D243670
Adding additional functionality for there to be a link in the message part of the optin component. Using a place holder link to support for now. This will be updated to a new SUMO article.
Differential Revision: https://phabricator.services.mozilla.com/D244069
- remove articleData.excerpt for description 'cause reader mode might come with its own error fallback text
- switch between normal vs. error type of og-card since error UI does not relate to the normal card layout anymore
- different placeholder feedback link
Differential Revision: https://phabricator.services.mozilla.com/D243348
- change text on Generating key points... if downloading model
- show % progress on below instead of the static text "This may take a moment the first time you preview a link. Key points should appear more quickly next time."
- add aiContentTitle to manage state of the heading text
Differential Revision: https://phabricator.services.mozilla.com/D243602
- skip non-English urls for keypoint generation
- update test for test_skip_generate_if_non_eng, test_link_preview_panel_shown, test_fetch_page_data
- add static html assets: readableFr.html and readableEn.html
- introduce pref to allow any or specified languages
Differential Revision: https://phabricator.services.mozilla.com/D243533
- temporarily copy over the code for isProbablyReaderable from Readability-readerable.js
- use reader mode html page to fix test_link_preview_panel_shown
- add test_skip_keypoints_generation_if_url_not_readable
Differential Revision: https://phabricator.services.mozilla.com/D243115
Update strings in STG user flow. Update button styles. Add new footer paragraph and link to model optin component. Expand the panel when showing suggested tabs. Fix messaging coloring when there are no tabs to suggest.
Differential Revision: https://phabricator.services.mozilla.com/D242786
* Update sidebar.main.tools default values and include a migration
* Modify updateDefaultTools in SidebarManager
* Update tests
Differential Revision: https://phabricator.services.mozilla.com/D240903
Allow setting a pref to override default onboarding config. Inject some dynamic behaviors, e.g., providers and limit. Refactor support link to custom action.
Differential Revision: https://phabricator.services.mozilla.com/D240085
- full width card even with narrow content
- reading time
- image padding
- site name 1.2em
- update font color using new css variable
- move content card shadow downward
- update border radius for image and padding
- update readingTimeMinsFast for single number or single min
Differential Revision: https://phabricator.services.mozilla.com/D242333
Introduce some text pre/post-processing and mostly hardcoded engine config in a new module. Allow some pref configuration.
Differential Revision: https://phabricator.services.mozilla.com/D241268
- add fetch in child process
- DOM parsing only once
- check content-type to be text/html before fetching content
- add custom request header x-firefox-ai so publisher has option to allow/disallow the fetch request
- more fetch safeguards(max content-length) may come in the near future
Differential Revision: https://phabricator.services.mozilla.com/D240654
- alt+hover to trigger LinkPreview
- add LinkPreview.sys.mjs modules
- disable browser.ml.linkPreview.enabled by default
- use setOverLink and LinkPreview.sys to handle keyboard shortcut
- dispatch CustomEvent OverLink from browser.js
- add/remove event listeners in sync with state of "browser.ml.linkPreview.enabled"
- update all_files_referenced to handle moz-src
Differential Revision: https://phabricator.services.mozilla.com/D239535
- alt+hover to trigger LinkPreview
- add LinkPreview.sys.mjs modules
- disable browser.ml.linkPreview.enabled by default
- use setOverLink and LinkPreview.sys to handle keyboard shortcut
- dispatch CustomEvent OverLink from browser.js
- add/remove event listeners in sync with state of "browser.ml.linkPreview.enabled"
- update all_files_referenced to handle moz-src
Differential Revision: https://phabricator.services.mozilla.com/D239535
- alt+hover to trigger LinkPreview
- add LinkPreview.sys.mjs modules
- disable browser.ml.linkPreview.enabled by default
- use setOverLink and LinkPreview.sys to handle keyboard shortcut
- dispatch CustomEvent OverLink from browser.js
- add/remove event listeners in sync with state of "browser.ml.linkPreview.enabled"
- update all_files_referenced to handle moz-src
Differential Revision: https://phabricator.services.mozilla.com/D239535
Add faders sticky to the top and bottom of provider selection container that avoid overlapping content with extra padding. Adjust margins/heights based on available space. Allow for experimentation with unresponsive pref.
Differential Revision: https://phabricator.services.mozilla.com/D239029
Allow querying int and string prefs too via functional syntax:
```
@media -moz-pref("pref-name", <value>) {
```
No argument means the pref exists and has a non-zero/false/empty value.
Unfortunately stylelint is still unhappy with this so we need to keep
the annoying comments...
Differential Revision: https://phabricator.services.mozilla.com/D237275