Closed fernandolucchesi closed 3 months ago
Putting on hold, to discuss with sanity to see if there is a way to hide create option with out a language.
On hold, because we want to hide the manage translations option
@fernandolucchesi @padms - any updates from Sanity on this issue?
@fernandolucchesi Should we introduce a new role to make the translations metadata document readonly as suggested here
@padms that could work, we would then need to refactor all the custom roles we have and replace the default "Editor" role, since the default one cannot be edited. Afterwards, change the SSO role mapping so people don't need to re-apply on accessIT
Have to modify plugin to hide the manage translation button
@meols This is ready for testing. This upgrade affects all the documents. Hence, every aspect of creating, updating, deleting, duplicating a document and/or it translations has to be tested.
Actions like linking a reference document, allowing same slug etc has to be tested. Algolia indexing, redirects, routes are to be tested. Also, manage translation button is disabled for all roles except admin and developer.
Some comments on this - will test further today, but we have more or less completed testing.
@meols
Do we need to implement the extra click with “Translations”? We prefer to continue to visually see which language we are on immediately. The current language of the document is at the bottom of the page. I will see if we can add a more prominent badge at the bottom of the document or within the document with the flag.
Can we continue to have the flags to indicate language? I will check this
When toggle is on (e.g. image is decorative), can the active toggle continue to be green? Its possible. Will fix this too.
Can active publish button continue to be blue (published status OK with light grey)? Will fix this too.
What is the “Vision” menu option in the top for? (Beside Schedule) Can it be hidden for editors? This is enabled only in the staging environment, hidden in all other environments.
Thanks Padmaja! I'll do some more testing today. Here is a suggested order of sites to update:
@meols Added the flag and the language on the document as well as at the bottom of the document. I am still working on the colors and I haven't figured out the stable fix yet, if its ok, can we take the colors fix in a new card?
Migration plan