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
Hi,
I would like to work on this, I started looking into the code, but I will need some help.
As far as I know, the refresh icon is controlled by isFetching state.
The last action when getting file is RECEIVE_CONTENT, I suppose I need to add/change the isFetching for this type of action.
Am I correct? Thanks for any advices.
Hi @Martin-Zeithaml,
Yes, you are looking in the right direction, but as I see, the RECEIVE_CONTENT action is fired when everything is ready, so at this moment we should turn off the spinning (set isFetching: false) so you should look for the REQUEST_CONTENT action that starts the fetching.
You need to add handling of REQUEST_CONTENT action to the editor reducer and turn on fetching there, and then set it to false in RECEIVE_CONTENT and also to the INVALIDATE_CONTENT in case the fetching will fail.
And then you need to map this isFetching to the USSTree state.
You can see how it is done for MVS explorer with two isFetching props (isFetchingTree and isFetchingDatasets) here
In the unix file explorer, the circular arrow does not spin when it's fetching the file. So the user thinks his click did nothing.
The text was updated successfully, but these errors were encountered: