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

debugging events #5654

Open
2 tasks done
Brewal opened this issue Feb 20, 2025 · 0 comments
Open
2 tasks done

debugging events #5654

Brewal opened this issue Feb 20, 2025 · 0 comments
Labels

Comments

@Brewal
Copy link

Brewal commented Feb 20, 2025

Initial checklist

  • I understand this is a feature request and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Problem

I had an hard time looking for events I could use to customize the UI.
I found out that uppy uses namespace-emitter that allows to catch all events with a wildcard *.
The events I was looking for were dashboard:close-panel and dashboard:show-panel which I think are not documented.

I was expecting to see all the events using the debug mode of uppy.

Solution

Maybe the events should be logged when using the debug mode, or with another option (debugEvents i.e.).

Alternatives

One could also add in the documentation how to debug events "manually" :

uppy.on('*', function () {
    console.log(this.event);
});
@Brewal Brewal added the Feature label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant