Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(dashboard): resource editor #204

Merged
merged 33 commits into from
Dec 14, 2023
Merged

Conversation

chrismclarke
Copy link
Collaborator

@chrismclarke chrismclarke commented Dec 11, 2023

Description

This is the start of work to integrate an administrative dashboard that will be used to manage content for different versions of the app. This PR focuses on authoring resources, which in turn requires interactivity with server storage and database (as required by supabase)

Dashboard pages

  • resources home that lists all resources on server
  • resources create that allows creation of new resources or editing existing

Supabase Components

  • uploader that allows users to upload new files to storage
  • file-picker that allows users to explore files already uploaded to storage
  • file-link that shows filename, icon and links directly to file

Supabase Core

  • Support for username/password auth methods (with default anonymous user)
  • Database tables and migrations to support resources (storage bucket and data tables)

Discussion

  • To review with UoR/focal points team to check any additional requirements

Follow-up tasks (not included)

  • Manage alternate resource versions per-country/language
  • Migrate all existing resources
  • Add support for link resources
  • Add support for resource collections
  • Synchronise server resources with app resources (currently requires manual export during build)
  • Optimise resources (e.g. compress images, provide video alternate resolutions)
  • Production server backup and update to support resources

Preview

Example resource manager - resource home page list, resource edit with file remove/upload/select

PICSA.Dashboard.1.webm

Screenshots / Videos

Include at least 1-2 screenshots of videos if visual changes

@github-actions github-actions bot added the App: Dashboard Updates related to Dashboard app label Dec 11, 2023
@chrismclarke chrismclarke marked this pull request as ready for review December 14, 2023 09:59
@chrismclarke chrismclarke changed the title Feat/admin resource upload Feat(dashboard): resource editor Dec 14, 2023
@chrismclarke chrismclarke merged commit 12c539a into main Dec 14, 2023
9 checks passed
@chrismclarke chrismclarke deleted the feat/admin-resource-upload branch December 14, 2023 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App: Dashboard Updates related to Dashboard app Feedback Discussion
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant