Skip to content

clean-conversation-sidebar broken in new issue view #8024

Closed

Description

@fregante

Description

The feature needs to be rewritten because the DOM is completely different and hopefully more consistent.

I think the feature should look something like:

observe('[class*="Heading-Heading"]', maybeHide);

function removeIfMatching(node, text) {
	if (node.textContent === text) {
		node.remove();
	}
}

function maybeHide(heading) {
	switch (heading.textContent) {
		case 'Assignees': 
			removeIfMatching(heading.nextSibling, 'No one');
			break;
	}
}

With simple sections using removeIfMatching while others just using custom detection/removal.

How to replicate the issue + URL

Extension version

24.11.5

Browser(s) used

Chrome

Token ⚠️

  • I set a token in the options page. I understand that some features require a token to work.

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions