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

🔬 Move MIME types to their own internal library #18

Open
1 task
jadudm opened this issue Nov 10, 2024 · 0 comments
Open
1 task

🔬 Move MIME types to their own internal library #18

jadudm opened this issue Nov 10, 2024 · 0 comments

Comments

@jadudm
Copy link
Collaborator

jadudm commented Nov 10, 2024

At a glance

In order to keep data consistent
as a developer
I want my MIME types to be const/enum

Acceptance Criteria

We use DRY behavior-driven development wherever possible.

then...

Shepherd

  • UX shepherd:
  • Design shepherd:
  • Engineering shepherd:

Background

The MIME types are a mess. They're in the util library, and sometimes they're strings, and sometimes they're not.

They can be made consistent by creating an enumeration for the types the application uses, and some functions to convert to/from that representation. (E.g. for turning complex representations into canonical ones.)

This is a straight-forward refactoring, but it is scattered all over the code.

Security Considerations

Required per CM-4.

None.


Process checklist
  • Has a clear story statement
  • Can reasonably be done in a few days (otherwise, split this up!)
  • Shepherds have been identified
  • UX youexes all the things
  • Design designs all the things
  • Engineering engineers all the things
  • Meets acceptance criteria
  • Meets QASP conditions
  • Presented in a review
  • Includes screenshots or references to artifacts
  • Tagged with the sprint where it was finished
  • Archived

If there's UI...

  • Screen reader - Listen to the experience with a screen reader extension, ensure the information presented in order
  • Keyboard navigation - Run through acceptance criteria with keyboard tabs, ensure it works.
  • Text scaling - Adjust viewport to 1280 pixels wide and zoom to 200%, ensure everything renders as expected. Document 400% zoom issues with USWDS if appropriate.
@jadudm jadudm added this to jemison Nov 10, 2024
@github-project-automation github-project-automation bot moved this to triage in jemison Nov 10, 2024
@jadudm jadudm changed the title Move MIME types to their own internal library 🔬 Move MIME types to their own internal library Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: triage
Development

No branches or pull requests

1 participant