-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workflow Executions: Share results (#895)
* Add migration to add shared_with_namespace column to workflow executions * Add checkbox to workflow execution creation form * Update workflow execution creation tests * Define new scope for returning shared workflow executions * Add shared workflow executions to list of WEs for a project * Create new policy for getting shared workflow executions * Update load_workflows to add workflows shared to the Project * Remove scope for getting user and shared workflows * Update system tests since we added new fixtures * Add workflow execution section in Groups sidebar * Create new workflow execution controller for Groups * Add new workflow execution controller test file * Create new policy for viewing workflow executions in Groups * Add new scope for finding shared WEs in a Group * Add an index page for group workflow executions * Update translations * Update group routes * Create test for new group_shared scope * Fix errors for calling groups workflow executions page * Add test for calling new workflow execution page * Add workflow execution table toGroups * Update translations * Fix bug where namespace.project is called on a group * Include shared workflow executions in the show route * Update tests for project workflow execution controller * Remove changes relating to group to move to new branch * Fix rubocop warning * Add namespace_type variable to translations * Modify checkbox prompt to use proper namespace type * Remove action buttons from show page * Fix workflow executions submissions tests * Fix format of class list * Allow user actions for shared workflows they submitted * Update description for workflow index page * Add UI tests to ensure shared workflows are displayed properly * Simplify rendering row action logic * Hide prompt when creating automated workflow executions * Use namespace_id to get namespace_type * Update nextflow_component_test.rb * Use nested translations for shared_with_namespace * Update component test with proper namespace ids * Update submissions_test with new translations * Normalize translations * Modify nextflow component to not show empty div * Update workflow execution tests to be less flakey * Update table to render Actions cell consistently * Fix bug with exporting shared workflow executions * Fix table component actions cell logic * Update workflow execution policies and tests * Remove unnecessary shared_with_namespace check * Include checkbox when using an automatable pipeline * Add new fixture files for export tests * Create fixtures for export testing * Fix policy bug when user is not submitter or bot * Add shared workflow tests to data_exports_test * Fix bug where incorrect redirect path is used * Simplify redirect_to_project method
- Loading branch information
Showing
31 changed files
with
814 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
db/migrate/20250108200329_add_shared_with_namespace_to_workflow_executions.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# frozen_string_literal: true | ||
|
||
# Migration to add a new shared_with_namespace column to the workflow executions table | ||
class AddSharedWithNamespaceToWorkflowExecutions < ActiveRecord::Migration[7.2] | ||
def change | ||
add_column :workflow_executions, :shared_with_namespace, :boolean, default: false, null: false | ||
end | ||
end |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.