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

Enhancement: Show _description on popup when choosing a hook config #18

Open
xnl-h4ck3r opened this issue Jul 19, 2024 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@xnl-h4ck3r
Copy link

Hi Kevin
In https://github.com/kevin-mizu/domloggerpp/releases/tag/1.0.5 it says
A new _comment root key is available within the configuration JSON (https://github.com/kevin-mizu/domloggerpp/issues/6) (Thanks @xnl-h4ck3r).
I assume you meant _description instead of _comment though?
It could be useful in the extenion popup to show the _description value below the Hooking selection box, showing the description of the chosen config if it is set.
Thanks
Xnl

@kevin-mizu
Copy link
Owner

Hey xnl-h4ck3r

Oops, you're right, I made a mistake with the release. It's now updated. I checked the source code, and it should be working fine with _description (ref).

About adding the _description within the extension popup, I'm wondering if it's a good idea. I'm afraid some users wouldn't want it present as it would take up a lot of space, forcing them to scroll a lot just to access the setting. This would be inconvenient for users who use this key but don't want to see the description. 🤔

In my opinion, it is too specific to be added, as I would need to make it configurable within the settings, making the app a bit more complex for a simple text.

I might be wrong. What do you think about it?

Cheers,
Kévin

@xnl-h4ck3r
Copy link
Author

Hi @kevin-mizu. Yes, I think you have a point. Most users wouldn't want that.
Another thought though, would it be a good idea to also allow _description under each hook, and maybe show that description as a tool tip when you hover over each hook button on the devtools panel, to gove a bit more context if a user wants it?
Thanks

@kevin-mizu
Copy link
Owner

It could be an interesting update! For the moment, I'm focusing on bug fixes and core feature implementation. I'll try to implement this later on.

@xnl-h4ck3r
Copy link
Author

Yeah. no rush obviously. Just an idea :) Thanks!

@kevin-mizu kevin-mizu added the enhancement New feature or request label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants