InvenTree icon indicating copy to clipboard operation
InvenTree copied to clipboard

[FR] Switch to websockets for progress bars/notifications

Open matmair opened this issue 1 year ago • 4 comments

Please verify that this feature request has NOT been suggested before.

  • [X] I checked and didn't find a similar feature request

Problem statement

Currently we need to reload pages/run constant fetching to get results of long running tasks/changed page details. That leads to unneeded traffic.

Suggested solution

After #6173 is merged we can introduce websockets and use them for notifications, progress bars, page indiactors and more

Describe alternatives you've considered

The current way works well enough

Examples of other systems

No response

Do you want to develop this?

  • [X] I want to develop this.

matmair avatar Jan 16 '24 23:01 matmair

Sounds like that would offer a huge improvement!

SchrodingersGat avatar Jan 17 '24 09:01 SchrodingersGat

This depends on the migration to Django 4 but after that it should be simple - I have a bunch of projects with this setup. I can just borrow the structure from there.

matmair avatar Jan 17 '24 12:01 matmair