Skip to content

Bug 1995467 - Show dependency tree on meta bugs by default - #2636

Merged
dklawren merged 3 commits into
mozilla:masterfrom
kyoshino:1995467-dep-tree
Jun 2, 2026
Merged

Bug 1995467 - Show dependency tree on meta bugs by default#2636
dklawren merged 3 commits into
mozilla:masterfrom
kyoshino:1995467-dep-tree

Conversation

@kyoshino

@kyoshino kyoshino commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Bug 1995467 - Show dependency tree on meta bugs by default

Here’s an overdue PR for my assigned task 🙇🏼

  • Add the is_meta property to bug objects in the BMO extension as the meta keyword convention is BMO-specific.
  • Overhaul the legacy Dependency Tree page to support dynamic loading and toggling of the tree view without a full page reload.
  • For meta bugs, replace the flat dependency list in the References section with an embedded interactive tree widget loaded via showdependencytree.cgi?embed=1. This provides the same experience as the standalone tree page, but without leaving the bug page.
  • Add a Hide Dependency Tree button to revert to the flat list; References module starts expanded for meta bugs.
  • Fix the off-by-one $realdepth bug. It was incremented unconditionally on every recursive call, inflating the value by 1.

@dklawren dklawren left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. r=dkl

@dklawren
dklawren merged commit e7fe605 into mozilla:master Jun 2, 2026
8 checks passed
@kyoshino
kyoshino deleted the 1995467-dep-tree branch June 2, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants