Closed Bug 1892019 Opened 2 years ago Closed 2 years ago

[toolbar redesign] Refactor toolbar into a new component toolbar2 that only new toolbar can use

Categories

(Firefox for Android :: Toolbar, task, P1)

All
Android
task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- affected

People

(Reporter: skhan, Assigned: skhan)

References

Details

(Whiteboard: [fxdroid])

Attachments

(5 files, 5 obsolete files)

With the recent information of the toolbar redesign just being utilized by fenix and not focus (or other consumers of AC) , we decided to investigate on creating a similar toolbar2 component in AC that has everything related to toolbar redesign and can just be used by fenix.

Severity: -- → N/A
Whiteboard: [fxdroid]
Attachment #9397628 - Attachment description: WIP: Bug 1892019 - Create Toolbar2 from Toolbar → Bug 1892019 - Create Toolbar2 from Toolbar
Attachment #9397628 - Attachment is obsolete: true
Attachment #9397665 - Attachment description: Bug 1892019 - Update Toolbar2 naming to match. → Bug 1892019 - Update Toolbar2 naming to match component name
Pushed by royang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d84d17193a35 Create Toolbar2 from Toolbar r=android-reviewers,gl https://hg.mozilla.org/integration/autoland/rev/7fcfe37a87ef Update Toolbar2 naming to match component name r=android-reviewers,gl

Backed out for causing gecko decision task bustages.

[task 2024-04-22T22:22:58.087Z] Generating tasks for build-components release-ui-widgets
[task 2024-04-22T22:22:58.123Z] Error loading tasks for kind build-components:
[task 2024-04-22T22:22:58.123Z] Traceback (most recent call last):
[task 2024-04-22T22:22:58.123Z]   File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/generator.py", line 311, in _run
[task 2024-04-22T22:22:58.123Z]     new_tasks = kind.load_tasks(
[task 2024-04-22T22:22:58.123Z]   File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/generator.py", line 76, in load_tasks
[task 2024-04-22T22:22:58.123Z]     tasks = [
[task 2024-04-22T22:22:58.123Z]   File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/generator.py", line 76, in <listcomp>
[task 2024-04-22T22:22:58.123Z]     tasks = [
[task 2024-04-22T22:22:58.123Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/transforms/task.py", line 2271, in check_run_task_caches
[task 2024-04-22T22:22:58.123Z]     for task in tasks:
[task 2024-04-22T22:22:58.123Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/transforms/task.py", line 2181, in check_task_dependencies
[task 2024-04-22T22:22:58.123Z]     for task in tasks:
[task 2024-04-22T22:22:58.123Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/transforms/task.py", line 2167, in check_task_identifiers
[task 2024-04-22T22:22:58.123Z]     for task in tasks:
[task 2024-04-22T22:22:58.123Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/transforms/task.py", line 2148, in chain_of_trust
[task 2024-04-22T22:22:58.123Z]     for task in tasks:
[task 2024-04-22T22:22:58.123Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/transforms/task.py", line 1991, in build_task
[task 2024-04-22T22:22:58.123Z]     raise Exception(UNKNOWN_GROUP_NAME.format(groupSymbol, path))
[task 2024-04-22T22:22:58.123Z] Exception: Treeherder group browser-toolbar2 (from taskcluster/kinds/build-components/kind.yml) has no name; add it to taskcluster/config.yml
[task 2024-04-22T22:22:58.124Z] Traceback (most recent call last):
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/taskcluster/mach_commands.py", line 209, in taskgraph_decision
[task 2024-04-22T22:22:58.124Z]     ret = taskgraph_commands["decision"].func(options)
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/main.py", line 703, in decision
[task 2024-04-22T22:22:58.124Z]     taskgraph_decision(options)
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/decision.py", line 199, in taskgraph_decision
[task 2024-04-22T22:22:58.124Z]     full_task_json = tgg.full_task_graph.to_json()
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/generator.py", line 170, in full_task_graph
[task 2024-04-22T22:22:58.124Z]     return self._run_until("full_task_graph")
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/generator.py", line 425, in _run_until
[task 2024-04-22T22:22:58.124Z]     k, v = next(self._run)
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/generator.py", line 311, in _run
[task 2024-04-22T22:22:58.124Z]     new_tasks = kind.load_tasks(
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/generator.py", line 76, in load_tasks
[task 2024-04-22T22:22:58.124Z]     tasks = [
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/generator.py", line 76, in <listcomp>
[task 2024-04-22T22:22:58.124Z]     tasks = [
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/transforms/task.py", line 2271, in check_run_task_caches
[task 2024-04-22T22:22:58.124Z]     for task in tasks:
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/transforms/task.py", line 2181, in check_task_dependencies
[task 2024-04-22T22:22:58.124Z]     for task in tasks:
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/transforms/task.py", line 2167, in check_task_identifiers
[task 2024-04-22T22:22:58.124Z]     for task in tasks:
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/transforms/task.py", line 2148, in chain_of_trust
[task 2024-04-22T22:22:58.124Z]     for task in tasks:
[task 2024-04-22T22:22:58.124Z]   File "/builds/worker/checkouts/gecko/taskcluster/gecko_taskgraph/transforms/task.py", line 1991, in build_task
[task 2024-04-22T22:22:58.124Z]     raise Exception(UNKNOWN_GROUP_NAME.format(groupSymbol, path))
[task 2024-04-22T22:22:58.124Z] Exception: Treeherder group browser-toolbar2 (from taskcluster/kinds/build-components/kind.yml) has no name; add it to taskcluster/config.yml
[task 2024-04-22T22:22:58.124Z] Creating default state directory: /builds/worker/.mozbuild
[task 2024-04-22T22:22:58.124Z] Creating local state directory: /builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69
[taskcluster 2024-04-22 22:22:58.551Z] === Task Finished ===
[taskcluster 2024-04-22 22:23:09.974Z] Unsuccessful task run with exit code: 1 completed in 52.36 seconds
Flags: needinfo?(skhan)
Pushed by royang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b5e273a4359 Create Toolbar2 from Toolbar r=android-reviewers,gl https://hg.mozilla.org/integration/autoland/rev/a00027bdee11 Update Toolbar2 naming to match component name r=android-reviewers,gl https://hg.mozilla.org/integration/autoland/rev/b65d6501e3d2 Add browser-toolbar2 to taskcluster config r=aryx
Pushed by imoraru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a9787c91fdca Exclude Toolbar2 resource files from licence lint. r=lint-fix CLOSED TREE
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by royang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3de3f9428f13 Fix description for toolbar clear URL text button string r=android-reviewers,skhan
Status: REOPENED → RESOLVED
Closed: 2 years ago → 2 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: [toolbar redesign] Investigate to see if we can refactor toolbar into a new component toolbar2 that only new toolbar can use → [toolbar redesign] Refactor toolbar into a new component toolbar2 that only new toolbar can use
Attachment #9398241 - Attachment is obsolete: true
Attachment #9398921 - Attachment description: Bug 1892019 - Utilize the new component toolbar2 inside fenix → Bug 1892019 - Add and utilize InteractionToolbar interface
Blocks: 1895748
Depends on: 1895381

Setting toolbar redesign's Nightly blockers to priority P1.

Priority: -- → P1
Attachment #9398921 - Attachment is obsolete: true
Attachment #9400591 - Attachment is obsolete: true
Attachment #9400592 - Attachment is obsolete: true

Closing this issue since all needed patches have landed and the the follow up patches will be abandoned.

Status: REOPENED → RESOLVED
Closed: 2 years ago → 2 years ago
Resolution: --- → FIXED
Flags: needinfo?(skhan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: