pnp / vscode-viva

With the SharePoint Framework Toolkit extension, you can create and manage your SharePoint Framework solutions on your tenant. All actions you need to perform during the development flow are at your fingertips.
https://marketplace.visualstudio.com/items?itemName=m365pnp.viva-connections-toolkit
MIT License
34 stars 14 forks source link

💡 [Feature]: hide toolkit features that require being signed in to tenant until successful authentication #263

Open Adam-it opened 4 days ago

Adam-it commented 4 days ago

🎯 Aim of the feature

We should hide some functionalities of the toolkit that require the user to be logged in when we are not signed in to the tenant

image

also, we should recheck if we have correct checks done and not signed in error handling for those features because it is still possible to run them using VS Coda command palette

image

📷 Images (if possible) with expected result

No response

🤔 Additional remarks or comments

This may be a bit tricky as the command views are registered once so what I would do is start without showing the commands that require auth and when logged in just refresh the views and show them. Similar thing is already done with the appcatalog view image