Skip to content

Fix how profile pictures are stored #115

@ashstewart7

Description

@ashstewart7

Purpose

Fix how we're storing staff data, especially around profile pictures.

Is your feature request related to a problem? Please describe.

At the moment, our current way of having a staff.JSON file linking to Discord's own profile picture hosting is flawed for two main reasons:

  • It cannot work with blank profile pictures as Discord handles these separately, hence why tgrtim has had to be accounted for individually.
  • When a staff member changes their profile picture, the image breaks, rather than just being outdated.

Proposed Solution

Instead of having a JSON file, use a normal .JS file with an exported object, this would (since React weirdness around having to import local images) allow us to download all the profile pictures and link to them directly, rather than using Discord's own links.

Acceptance Criteria

Please list the requirements the implementation of this feature should meet.

  • Profile pictures should be downloaded and linked to directly rather than using Discord's own hosting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions