Skip to content

Add sidebar support #140

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

Merged
merged 6 commits into from
Jul 30, 2024
Merged

Add sidebar support #140

merged 6 commits into from
Jul 30, 2024

Conversation

fregante
Copy link
Collaborator

Screen.Recording.2.mov

@@ -5,7 +5,7 @@
"manifest_version": 3,
"homepage_url": "https://github.com/hankxdev/one-click-extensions-manager",
"default_locale": "en",
"permissions": ["management", "storage"],
"permissions": ["management", "storage", "sidePanel"],
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll have to "explain" this permission after the upload on the dashboard, but it's not shown to the user

@@ -15,6 +15,9 @@
"default_icon": "logo.png",
"default_popup": "index.html?type=popup"
},
"side_panel": {
"default_path": "index.html"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Chrome breaks if I specify the type 🤷‍♂️ so I ended up removing it altogether and simplifying the code

inset: 0;
z-index: -1;
border: solid 1px #595a5e;
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Felt unnecessary

p:has([value='tab']:checked, [value='sidebar']:checked)
~ p:has(label[for='width']) {
display: none;
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

c

@fregante fregante merged commit 1efa082 into main Jul 30, 2024
6 checks passed
@fregante fregante deleted the sidepanel branch July 30, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show in sidePanel
1 participant