◢◢ Launching a new community
Creating a pending community in the database
Much of this will be done by the content team rather than the tech team but it's
good to know the process anyway.
- Create the community via the custom admin plugin in Strapi
- If you have any assets, add them to the Images section
- Skip the Tags section since we don't use these anymore
- Under
Key Members, click Add member. Use the search bar to find a user to add and assign
the appropriate roles. It will not be possible to make the community active until at least one
user has been given the Administrator role.
- The admin plugin doesn't currently have the means for adding campaign details, so you
will need to find the community with the
Community section of the Content Manager in
Strapi admin
and add them there. While here you should also ensure that the community is not in draft mode, and press the
Publish button if not.
- It's worth noting that this community will only be visible to members of the community, who
at this point should only be people added in step 4
Updating the menu
- The new community should be added to the side menu. This is currently hard coded and so
you will need to update the
use-left-nav-data.ts file.
- Add the item to the the
data constant, under children of the appropriate space, i.e. any new video game
community should be a child of the Video Games space.
- If there is any doubt as to where the community should be placed, assume that they are in alphabetical order.
- The community should be an object with the following fields:
text - The community name as it appears on the menu
slug - The community slug
isJoined - Should be false
isActive - Should be false
- If the community is still in a
pending state, it will only appear if the logged in user is a member
of that community.
Going live
- Deploy the changes to the menu
- Set the community to
Active in the admin panel
- Check that the community is visible as a logged out user and as a non-staff user. Also
check that the threads don't 404. If they do, it's possible that they are still cached and it will need
to be busted. The easiest way to bust the cache is to edit the hotness in the Strapi admin.