Skip to content

Bug Bash: Backend Core Reliability #91

Description

@jennifer-luo-dev

Bug Bash: Backend Core Reliability

Assigned To: Anson, Brianna

Bug Fixes:

  • Invalid email resend bug
  • Export without name fails silently
  • Duplicate report names
  • Name default to email on invalid input

Validate Email When Invite User

Make sure that the email exists before inviting a user. If not valid, do not add the user to the database and show an error message showing that the email is not valid. The design should be similar to what has been done on the login page.

Duplicate report names

If a user saves a report with a name that already exists in saved reports, save the report with the name and increment the title. For example, if a user saves a report as "Untitled Report" and that name already exists, increment the title to "Untitled Report (1)". If that exists, make the title "Untitled Report (2)" and so on and so forth.

Export Without Name Fails Silently

Right now, exporting or saving a report without entering a name does nothing. For now, default the title to "Untitled Report". When the user edits the name, the name should be updated in the backend for the in-progress report.

Name default to email on invalid input

Right now, the name defaults to email on invalid input. Instead, you should generate an error that prompts the user to put in a valid name (without special characters like '!'). This happens on the admin page when the user invites a member and is prompted for the new user's full name.

Image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions