epam / UUI

React-based components and accelerators library built by EPAM Systems.
https://uui.epam.com/
MIT License
180 stars 67 forks source link

Data Table: Show loader for specific table line instead of blocker for entire table #2489

Closed DzmitryTrubchyk closed 2 months ago

DzmitryTrubchyk commented 2 months ago

Requestor: EPM-PRL

As is

In case bulk selection and applied actions, table changes to Blocker state image

Proposal

Show loader for specific table line instead of blocker for entire table image

DzmitryTrubchyk commented 2 months ago

Comments from Design Leads:

ilya-gorchakov-epam commented 2 months ago

Resolution: Added to UUI backlog, as good UX proposal, but postponed due to high efforts & small potential adoption

jakobz commented 2 months ago

TLDR: This UX pattern can be difficult to implement in general. We can recommend this pattern only on screens where we can afford the best UX possible, like heavily used end-user-facing screens. We don't recommend using this pattern at back-office/admin pages.

This pattern lets user fire a long-running operation, and let user continue using UI: changing filters, navigating through pages, select other rows, etc.

A lot of corner-cases might happen due to this:

For sure, certain tables can be dead-simple, with no filtering/sorting, and only with batch operations on them. And the pattern described might look as a good fit. However, the same table can be staffed with features in the future. And all these changes would need to consider this asynchronous batches, and work-around all related problems.