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

Feature: Fullview Flyte Deck modal #764

Merged
merged 4 commits into from
May 19, 2023
Merged

Feature: Fullview Flyte Deck modal #764

merged 4 commits into from
May 19, 2023

Conversation

FrankFlitton
Copy link
Contributor

@FrankFlitton FrankFlitton commented May 19, 2023

TL;DR

Added a button to allow Flyte Deck modal expands full screen. Also, added escape to close listener for the modal.

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 a button to toggle fullscreen. Passed a conditional CSS class to the MUI Paper component to change the size. The full view size accounts for the small view port constraint for tablets and touch screens with dynamic viewport sizing.

Close on Esc key is achieved with a useEffect document listener pattern.

Tracking Issue

Remove the 'fixes' keyword if there will be multiple PRs to fix the linked issue

fixes flyteorg/flyte#2774
flyteorg/flyte#3701

Follow-up issue

NA

Signed-off-by: Frank Flitton <[email protected]>
Signed-off-by: Frank Flitton <[email protected]>
@codecov
Copy link

codecov bot commented May 19, 2023

Codecov Report

Merging #764 (7a86551) into master (333940f) will increase coverage by 0.00%.
The diff coverage is 71.42%.

@@           Coverage Diff           @@
##           master     #764   +/-   ##
=======================================
  Coverage   65.91%   65.91%           
=======================================
  Files         489      490    +1     
  Lines       11919    11950   +31     
  Branches     2198     2202    +4     
=======================================
+ Hits         7856     7877   +21     
- Misses       4063     4073   +10     
Impacted Files Coverage Δ
...tions/ExecutionDetails/ExecutionDetailsActions.tsx 24.00% <33.33%> (+0.11%) ⬆️
...ponents/Executions/ExecutionInputsOutputsModal.tsx 43.47% <50.00%> (+0.29%) ⬆️
...sole/src/components/common/ClosableDialogTitle.tsx 53.84% <50.00%> (-0.70%) ⬇️
...le/src/components/Entities/EntityDetailsHeader.tsx 84.61% <75.00%> (-1.50%) ⬇️
...ges/console/src/components/hooks/useKeyListener.ts 91.66% <91.66%> (ø)
...ExecutionDetails/ExecutionDetailsAppBarContent.tsx 89.18% <100.00%> (+0.30%) ⬆️
.../components/Launch/LaunchForm/LaunchFormDialog.tsx 78.26% <100.00%> (+2.07%) ⬆️

@FrankFlitton FrankFlitton changed the title Wip: Full view Flyte Deck modal Feature: Fullview Flyte Deck modal May 19, 2023
@jsonporter jsonporter merged commit c69f010 into master May 19, 2023
@jsonporter jsonporter deleted the full-view-modal branch May 19, 2023 22:24
wild-endeavor added a commit to flyteorg/flyte that referenced this pull request May 22, 2023
Signed-off-by: Yee Hing Tong <[email protected]>

### 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
Development

Successfully merging this pull request may close these issues.

[UI Feature] Make Flyte Deck modal expandable
3 participants