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

Bug: Execution Page's back button returns Workflows route from Launch Plan route #patch #760

Conversation

FrankFlitton
Copy link
Contributor

@FrankFlitton FrankFlitton commented May 17, 2023

TL;DR

Fixes routing behaviour for back arrow button for Launch Plans workflow execution detail referred pages.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

Added fromLink to router state to use existing logic to match other workflow tables.

Follow-up issue

NA

@welcome
Copy link

welcome bot commented May 17, 2023

Thank you for opening this pull request! 🙌

These tips will help get your PR across the finish line:

  • Most of the repos have a PR template; if not, fill it out to the best of your knowledge.
  • Sign off your commits (Reference: DCO Guide).

@FrankFlitton FrankFlitton force-pushed the bug-fix-launch-plan-execution-detail-page-back-button branch from cd6b82d to 2154eab Compare May 17, 2023 04:49
Signed-off-by: Frank Flitton <fflitton@gmail.com>
@FrankFlitton FrankFlitton force-pushed the bug-fix-launch-plan-execution-detail-page-back-button branch from 2154eab to 9c57fdf Compare May 17, 2023 04:53
@ursucarina ursucarina requested review from a team, ursucarina, jsonporter and socalledso and removed request for a team May 17, 2023 14:53
@ursucarina
Copy link
Contributor

Nice work adding the extra tests 💯

ursucarina
ursucarina previously approved these changes May 17, 2023
@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

Merging #760 (f6bc815) into master (3e8f517) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #760   +/-   ##
=======================================
  Coverage   65.90%   65.90%           
=======================================
  Files         489      489           
  Lines       11917    11918    +1     
  Branches     2198     2198           
=======================================
+ Hits         7854     7855    +1     
  Misses       4063     4063           
Impacted Files Coverage Δ
...onents/Executions/Tables/WorkflowExecutionLink.tsx 94.11% <100.00%> (+0.36%) ⬆️

@@ -1,7 +1,7 @@
import * as React from 'react';
Copy link
Member

Choose a reason for hiding this comment

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

I see in some places we use import * as React but in other we use import React from "react".

Probably we dont need the * as react anymore?

socalledso
socalledso previously approved these changes May 17, 2023
@FrankFlitton FrankFlitton dismissed stale reviews from socalledso and ursucarina via f6cd482 May 17, 2023 17:05
Signed-off-by: Frank Flitton <fflitton@gmail.com>
@FrankFlitton FrankFlitton force-pushed the bug-fix-launch-plan-execution-detail-page-back-button branch from f6cd482 to a191e04 Compare May 17, 2023 17:09
@jsonporter jsonporter merged commit e316bef into flyteorg:master May 17, 2023
12 checks passed
@welcome
Copy link

welcome bot commented May 17, 2023

Congrats on merging your first pull request! 🎉

wild-endeavor added a commit to flyteorg/flyte that referenced this pull request May 22, 2023
Signed-off-by: Yee Hing Tong <wild-endeavor@users.noreply.github.com>

### Admin - v1.1.100
* Inject user identifier to ExecutionSpec by @ByronHsu in flyteorg/flyteadmin#549
* Fix flaky test by @eapolinario in flyteorg/flyteadmin#563
* Add oauth http proxy for external server & Extract email from azure claim by @ByronHsu in flyteorg/flyteadmin#553
* Remove single task execution default timeout by @hamersaw in flyteorg/flyteadmin#564
* Revert conditional setting of SecurityContext when launching security context by @wild-endeavor in flyteorg/flyteadmin#566

### Console - v1.8.2
* Export Flytedecks support for TLRO by @james-union in flyteorg/flyteconsole#757
* fix: filter executions by version and name by @ursucarina in flyteorg/flyteconsole#758
* fix: task recent runs should filter by version by @ursucarina in flyteorg/flyteconsole#759
* Bug: Execution Page's back button returns Workflows route from Launch Plan route #patch by @FrankFlitton in flyteorg/flyteconsole#760
* chore: add item when mapped task by @jsonporter in flyteorg/flyteconsole#761
* Feature: Fullview Flyte Deck modal by @FrankFlitton in flyteorg/flyteconsole#764

### Propeller - v1.1.90
* Add grpc plugin to loader.go by @pingsutw in flyteorg/flytepropeller#562
@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 1.8.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants