-
Notifications
You must be signed in to change notification settings - Fork 2
Add Clear button, add Domain header, housekeeping #5
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
base: master
Are you sure you want to change the base?
Conversation
| console.log(ruleObject); | ||
| } | ||
|
|
||
| cssText = ruleContentToCssString(ruleObject['content']); |
There was a problem hiding this comment.
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 == "") { |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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.
Reordering for a cleaner diff.
|
@HalilCan sorry for the ping. Is this project still being maintained? |
This PR primarily adds a Clear button, but in addition:
There was a Paragraph element hidden in the panel, so I repurposed it to show the domain.
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.
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
activestate) 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:This is pretty minor, but it helped me understand the structure of the code better when I was looking at making changes