You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some time ago, I wrote a plugin for active admin to handle large excel uploads. The problem with the large uploads is that it blocks the main thread if we are processing things synchronously. If we process large files using some worker process, the user does not get any feedback after the processing is done.
My proposal is for the second approach.
One good way to give feedback to the user is by emailing after the processing is complete. But that is a traditional solution and the user has to migrate away from the tool.
Can something similar to this be useful here? I would like to spend some time bringing a new functionality for this and will start writing a detailed proposal.
The text was updated successfully, but these errors were encountered:
I can't speak for the other maintainers, but here is my point of view...
The idea with Action Cable is good for User Experience. I've always wanted this feature. But there are a few things you/we should be aware of:
Compatibility with Rails 4 should remain (without Action Cable)
Writing new tests for such feature is mandatory
The code-complexity may increase significantly
If there would be very complex/extensive changes then, perhaps, it would be better to make it as a separate Gem(it may depend on active_admin_import, no restrictions / MIT license)
It wouldn't be easy, if you @shivgarg5676 are ready for this challenge then go for it 🚀 🌚 🎉
Some time ago, I wrote a plugin for active admin to handle large excel uploads. The problem with the large uploads is that it blocks the main thread if we are processing things synchronously. If we process large files using some worker process, the user does not get any feedback after the processing is done.
My proposal is for the second approach.
One good way to give feedback to the user is by emailing after the processing is complete. But that is a traditional solution and the user has to migrate away from the tool.
Another good approach is to use action cables to give live feedback to the users. I have a basic implementation here.
https://github.com/shivgarg5676/active_admin_excel_upload
Can something similar to this be useful here? I would like to spend some time bringing a new functionality for this and will start writing a detailed proposal.
The text was updated successfully, but these errors were encountered: