SynchroLabs / SynchroServer

The Synchro Server platform
https://synchro.io
1 stars 2 forks source link

Review Studio configuration permutations, document #45

Open BobDickinson opened 8 years ago

BobDickinson commented 8 years ago

Currently:

NO_STUDIO suppresses studio UX entirely

If you have no users configured, the Studio app list and sandbox are available publicly (only useful for internal/dev server).

If any users are configured, the Studio app list is available with a link to the sandbox (Edit/Debug) for each app. If that link is hit, then authentication is required to get to the sandbox.

If APP_PATH_PREFIX is defined, then the Web App link is present on the Studio app list (if that is present), and the web apps are served at that location.

There is no way to suppress the sandbox (Edit/Debug) link on the Studio app list. You might want to do this to use the Studio app list as a way to publish the app list / endpoints for developers or end users who you don't want to know about the sandbox.

There is also no way to server the web apps and not have the Web App link displayed on the Studio app list (not 100% sure of the use case for this, but seems like something you might want to do).

Maybe there should be a separate, password protected, page for the "dev" Studio app list that requires user/pass auth and shows the sandbox (Edit/Debug) link. And maybe a setting for whether to show the Web App link on the public Studio app list page.

Review, solve, and document.

bcr commented 8 years ago

The main landing screen also says "This is the Synchro.io API server, providing test and sample Synchro apps.", which could probably use some work also.

BobDickinson commented 8 years ago

I made the landing page tite/subtitle configurable and changed the defaults to more reasonable values, and updated docs re: same.