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

feat(app): push recent RTP run card click to protocol details #14906

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

ncdiehl11
Copy link
Collaborator

@ncdiehl11 ncdiehl11 commented Apr 15, 2024

Overview

Because we don't yet have designs displaying details of a recent protocol run card with specific runtime parameter values, we want to allow the user to reset parameter values afer clicking a recent run card for an RTP-containing protocol. Behavior for non-RTP protocols will not change and will push the user directly to protocol run setup.

In the future, ideally, we can communicate RTP overrides on the recent run card and produce unique cards for different parameter selections on the same protocol ID. In this way, we can clone the run and avoid having to re-select parameters.

Test Plan

  • push this branch to Flex ODD
  • send an RTP protocol and a non-RTP protocol to the Flex
  • setup run both protocols to produce recent run cards on the robot dashboard recent run carousel
  • click the non-RTP recent run card and verify that you are pushed directly to protocol run setup
  • click the RTP recent run card and verify that you are pushed to protocol details to have the ability to reset parameter values
Screen.Recording.2024-04-15.at.3.28.26.PM.mov

Changelog

  • check for RTPs on recent run card
  • on click, push to protocol details if RTPs exist
  • add test for RTP recent run click

Review requests

auth

Risk assessment

medium

…etup

Because we don't yet have designs displaying details of a recent protocol run card with specific
runtime parameter values, we want to allow the user to reset parameter values afer clicking a recent
run card for an RTP-containing protocol. Behavior for non-RTP protocols will not change and will
push the user directly to protocol run setup.
@ncdiehl11 ncdiehl11 requested review from koji and jerader April 15, 2024 19:23
@ncdiehl11 ncdiehl11 marked this pull request as ready for review April 15, 2024 19:23
@ncdiehl11 ncdiehl11 requested a review from a team as a code owner April 15, 2024 19:23
Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

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

left a few minor comments but good job! lgtm!

@ncdiehl11 ncdiehl11 merged commit bf69ad8 into edge Apr 15, 2024
20 checks passed
@ncdiehl11 ncdiehl11 deleted the feat_app-odd-rtp-recent-run-card branch April 15, 2024 20:41
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