EFForg / EFForg/starttls-backend

Remove category from status messages

Open
#220 0 comments 0 reactions 0 assignees View on GitHub
api
Dominant language
Go
Stars
18
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Instead of including the string "Warning: You're still in testing mode", for example, we should let `warnings` be a key under messages.

(This was a suggestion from another potential of the consumer of the API, and was also inconvenient when styling the frontend.)

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Trace where the backend constructs status messages and inspect the API response shape consumed by the frontend; confirm that warnings are represented under a messages.warnings key instead of embedded as a category in the text. Done means the response shape supports frontend styling without the 'Warning:' prefix and relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.