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

fix(api): update error message to title case #16851

Conversation

TamarZanzouri
Copy link
Contributor

Overview

closes https://opentrons.atlassian.net/browse/RQA-3587.
title case error message

Test Plan and Hands on Testing

reproduce a tip not attached error and make sure when you view the details they are in title case

@TamarZanzouri TamarZanzouri requested a review from a team as a code owner November 15, 2024 16:57
Copy link

codecov bot commented Nov 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (chore_release-8.2.0@7cbee8e). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@                  Coverage Diff                   @@
##             chore_release-8.2.0   #16851   +/-   ##
======================================================
  Coverage                       ?   92.43%           
======================================================
  Files                          ?       77           
  Lines                          ?     1283           
  Branches                       ?        0           
======================================================
  Hits                           ?     1186           
  Misses                         ?       97           
  Partials                       ?        0           
Flag Coverage Δ
g-code-testing 92.43% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Co-authored-by: Ed Cormany <edward.cormany@opentrons.com>
Copy link
Contributor

@ecormany ecormany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

detail: str = "No tip detected."
detail: str = "No Tip Detected"
Copy link
Contributor

@SyntaxColoring SyntaxColoring Nov 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, but FYI the contract for detail does not say it should be TitleCase. And in fact in many cases it will need to be sentence-case, if it's a couple of sentences long.

@TamarZanzouri TamarZanzouri merged commit c94a64c into chore_release-8.2.0 Nov 18, 2024
21 checks passed
@TamarZanzouri TamarZanzouri deleted the RQA-3587-flex-error-recovery-view-error-details-error-codes-are-title-case-except-for-no-tip-detected branch November 18, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants