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

Feature: set default tab in BullAdapter settings #264

Open
zxpectre opened this issue May 1, 2021 · 5 comments
Open

Feature: set default tab in BullAdapter settings #264

zxpectre opened this issue May 1, 2021 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@zxpectre
Copy link

zxpectre commented May 1, 2021

Greate project already! Simple suggestion for non technical users UX:

If only one could set the default open tab in BullAdapter settings, for example to "logs" instead of data, a non experienced user could find the UI usefull and understandable enough. We devs love json in data and error tab but humans don't haha. Just simple stupid suggestion I could use with my team.

const lastOne="also maybe set the array of tabs to show, to hide others.";

@felixmosh felixmosh added enhancement New feature or request good first issue Good for newcomers labels May 2, 2021
@felixmosh
Copy link
Owner

Thank you for the suggestion, I'm not sure if this feature has a lot of demand, let's see if so, I will implement it.

If it is crucial for you, you can make a PR :]

@sroettering
Copy link

I would also appreciate this feature.
We have jobs that can have a huge payload of around 100k uuids. The pages sometimes load terribly slow because every job starts on the data tab.

@felixmosh
Copy link
Owner

@sroettering you can filter out the jobs payload by providing a formatter...

const queueAdapter = new BullMQAdapter(queueMQ);

queueAdapter.setFormatter('data', (data) => 'FILTER OUT LARGE OBJECTS');
queueAdapter.setFormatter('returnValue', (returnValue) => 'FILTER OUT LARGE OBJECTS');

@sroettering
Copy link

Oh wow didn't know that. I will give it a try. Is it also possible to maybe collapse the json by default? Sorry for being a little bit off topic here

@felixmosh
Copy link
Owner

It is possible, can you open a new feature request please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants