crisisboard / opencrisisboard

OpenCrisisBoard (OCB) is an open-source, self-hosted communications board where communities can organize around local information
https://opencrisisboard.org/
MIT License
48 stars 17 forks source link

Expand admin panel capabilities (name and logo changes) #13

Closed aPruner closed 4 years ago

aPruner commented 4 years ago

Admin users should be able to change the name and logo of their OCB site deployment from the Admin panel view so that they better fit the community that uses the deployment.

TODO for this issue:

aPruner commented 4 years ago

Here's a UI/UX proposal for this feature (WIP: Work in progress)

I think we should add a Settings tab to the Admin panel, which currently only has a dashboard tab. See the following screenshot:

AdminPanelSettingsUIProposal

In the settings tab (highlighted by the red box), we can include a form for changing the name and logo. We can of course add subsequent fields into the form later on if necessary. If we want, we could even move forum creation into the settings tab too. Screenshot of mock incoming soon

Edit: Screenshot of the current mock for the Admin Settings page:

AdminSettingsMock

This mock represents the state of the page after the user has uploaded a new logo image, and done nothing else (changes haven't been submitted yet). Also, there is one small bug to fix, which is that for some reason, the Dashboard nav link is still active (outlined in the picture with the blue box). This should be a relatively easy fix.

I've fully built out the frontend project structure for this change, still just need to get a functional ImageUploader component going (for drag and drop image upload), and backend functionality working. I also of course need to test the components and ensure I haven't caused any regressions.

aPruner commented 4 years ago

I'll likely create a new issue for the unlocking/locking of boards, but that will also fall under the umbrella of Admin settings.

aPruner commented 4 years ago

28 PR opened

aPruner commented 4 years ago

28 merged! closing