Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folding report page sections. #7690

Merged
merged 3 commits into from
May 6, 2024
Merged

Conversation

isoos
Copy link
Collaborator

@isoos isoos commented May 1, 2024

@isoos isoos requested a review from jonasfj May 1, 2024 14:43
app/lib/frontend/templates/report.dart Outdated Show resolved Hide resolved
@@ -189,6 +189,8 @@ class ModerationSubject {
}

late final fqn = '$kind:$localName';
bool get hasPackage => package != null;
bool get hasPublisher => publisherId != null;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
bool get hasPublisher => publisherId != null;
bool get isPublisher => publisherId != null;

Copy link
Member

Choose a reason for hiding this comment

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

Less, sure how hasPackage should be named :D

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Renamed to isPackage to keep it consistent.

@isoos isoos merged commit 0c03d2c into dart-lang:master May 6, 2024
31 checks passed
@isoos isoos deleted the report-sections branch May 6, 2024 14:13
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