[M3 migration] Remove the M2 libraries from AC and Fenix/Firefox
Categories
(Firefox for Android :: Design System and Theming, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox142 | --- | verified |
People
(Reporter: 007, Assigned: 007)
References
Details
(Whiteboard: [fxdroid][group4])
Attachments
(3 files)
After the AC and Firefox code layers have been migrated to M3 and any showstopper migration bugs have been resolved, remove the M2 dependencies/libraries.
Updated•3 months ago
|
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
Also - remove the lint exceptions added via https://phabricator.services.mozilla.com/D252225
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 2•2 months ago
|
||
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Assignee | ||
Updated•1 month ago
|
Comment 5•1 month ago
•
|
||
Backed out for causing toolchain failures @ fenix/settings/logins/ui/AddLoginScreen.kt
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/dcb944d557a7ac7a5f200e0bbad19d3cfb1ecaf9
Failure log -> fenix/settings/logins/ui/AddLoginScreen.kt
Task :app:compileFenixDebugKotlin
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:16:34 Unresolved reference 'Icon'.
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:16:34: error: Unresolved reference 'Icon'.
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:17:34 Unresolved reference 'Scaffold'.
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:17:34: error: Unresolved reference 'Scaffold'.
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:18:34 Unresolved reference 'Text'.
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:18:34: error: Unresolved reference 'Text'.
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:19:34 Unresolved reference 'TopAppBar'.
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:19:34: error: Unresolved reference 'TopAppBar'.
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:47:5 Unresolved reference 'Scaffold'.
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:47:5: error: Unresolved reference 'Scaffold'.
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:49:13 @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:49:13: error: @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:52:9 Cannot infer type for this parameter. Specify it explicitly.
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:52:9: error: Cannot infer type for this parameter. Specify it explicitly.
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:53:9 @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:53:9: error: @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:56:37 @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:56:37: error: @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:56:49 @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:56:49: error: @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:76:5 Unresolved reference 'TopAppBar'.
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:76:5: error: Unresolved reference 'TopAppBar'.
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:79:13 Unresolved reference 'Text'.
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:79:13: error: Unresolved reference 'Text'.
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:80:24 @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:80:24: error: @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:81:38 @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:81:38: error: @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:86:13 @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:86:13: error: @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:88:56 @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:88:56: error: @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:90:38 @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:90:38: error: @Composable invocations can only happen from the context of a @Composable function
[task 2025-07-01T06:49:11.696+00:00] e: file:///builds/worker/workspace/build/src/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/ui/AddLoginScreen.kt:94:17 Unresolved reference 'Icon'.
Assignee | ||
Comment 6•29 days ago
|
||
Fixing this with the next push / lando attempt
Assignee | ||
Comment 7•29 days ago
|
||
Updated•29 days ago
|
Assignee | ||
Comment 8•29 days ago
|
||
Updated•29 days ago
|
Comment 10•29 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/250336628099
https://hg.mozilla.org/mozilla-central/rev/1942cc971ff0
https://hg.mozilla.org/mozilla-central/rev/7e9779790667
Assignee | ||
Comment 11•28 days ago
|
||
QE - can you give Firefox some general validation or smoke testing to see if there are any glaring visual defects?
We just migrated to a newer UI library, so some spec changes on components are expected and have been signed-off by UX, such as Buttons becoming rounded and Floating Action Buttons become rounded squares, but we should make sure we didn't miss anything during our design reviews and no features have been accidentally broken as a result of the migration.
Assignee | ||
Comment 12•28 days ago
|
||
If any defects are found, please file them in the most-relevant component and have them as a blocker for Bug 1813900.
Comment 13•17 days ago
|
||
Hi Noah,
QA ran a smoke testing on the latest Firefox for Android Nightly 142.0a1 build from Play Store (from 7/11), and everything looks ok:
- the snackbars were displayed correctly,
- saving pages as bookmarks, or in a collection works as expected,
- installing and removing extensions works as expected,
- downloading files works as expected,
- adding a wallpaper works,
- signing in with an account and syncing works as expected,
- watching videos, or listening to audios work as expected, PiP works as expected,
- searching via the widget, or from the address bar work as expected,
- moving tabs in the tabs tray works,
- private mode works as expected.
Description
•