text icon indicating copy to clipboard operation
text copied to clipboard

Move loading of the translation language list from initial state to OCS API call

Open juliusknorr opened this issue 1 year ago • 0 comments

When looking at intitial state optimizations @nickvergessen suggested to move the list of languages that text provides to the frontend from the current intitial state value passing to using the OCS API endpoint and fetch it on demand.

On some AI translation provider there are just tons of mutations of languages added which adds up in size of the initial state which we only need once showing text or even the translation dialog.

juliusknorr avatar Feb 05 '24 17:02 juliusknorr