Skip to content

Conversation

@AndruC
Copy link

@AndruC AndruC commented Jun 5, 2024

This PR primarily adds a Clear button, but in addition:

  • hostname was added as a header

There was a Paragraph element hidden in the panel, so I repurposed it to show the domain.

  • text box changes

I was confused as both a user and a developer looking at code, seeing the "Oops..." message, so this was clarified. Also, the text field has been emptied out when visiting a new domain. This prevents the need for users to manually delete the text each time.

  • CSS simplification

I didn't think the extension had much of an identity, so I simplified the look across the board. This fixed a design bug in which button clicks (ie active state) had no visual distinction. I realize this is somewhat up to taste but I think it's an improvement until a stronger design is presented:

image

  • restructuring

This is pretty minor, but it helped me understand the structure of the code better when I was looking at making changes

  • white-space nonsense erring towards consistency

console.log(ruleObject);
}

cssText = ruleContentToCssString(ruleObject['content']);
Copy link
Author

@AndruC AndruC Jun 5, 2024

Choose a reason for hiding this comment

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

Moved to :447

console.log(cssText);
}

if (cssText == "") {
Copy link
Author

Choose a reason for hiding this comment

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

Moved to :449


<body>

<p id = "hostname-container" class = "flex block-container"> </p>
Copy link
Author

Choose a reason for hiding this comment

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

Moved into #textbox-container. The rest is white-space.

@AndruC
Copy link
Author

AndruC commented Jun 9, 2024

@HalilCan sorry for the ping. Is this project still being maintained?

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.

1 participant