Skip to content

Remove enter key listener on states table actions form

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

Relates #456221 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshot_2024-05-14_at_12.25.30_PM

How to set up and validate locally

Follow these steps to create a dummy Terraform state from the Rails console.

  1. Start the Rails console: rails c.
  2. Run the following commands to create a Terraform state in a project:
    project = Project.last # Or any other project you'd like to create the state in
    
    # Initialize the state, providing the above project's ID and a name
    state = Terraform::State.new(project_id: project.id, name: "My TF state")
    
    # Persist the state to the DB
    state.save!
  3. Navigate to the project's Terraform states list at http://gdk.test:3000/:namespace/:project/-/terraform.
Edited by Paul Gascou-Vaillancourt

Merge request reports