Skip to content

Pajamas button migrations

Dan MH requested to merge pajamas-migration-danmh-1 into master

What does this MR do and why?

Here are some Pajamas button migrations

Import group from file - Choose file

The choose file button was adding a bunch of classes. I've removed these to be Pajamas compliant and receive future updates

Related issue #417819 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
127.0.0.1_3000_groups_new (5).png 127.0.0.1_3000_groups_new (6).png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Create a new group http://127.0.0.1:3000/groups/new
  2. Import group http://127.0.0.1:3000/groups/new#import-group-pane
  3. Test the Choose file… button

Import FogBugz user

Related #417820 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
127.0.0.1_3000_import_fogbugz_user_map (1).png No user facing changes

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Create a FogBugz free trial https://ignitetech.com/softwarelibrary/fogbugz/fogbugz-trial
  2. New Project > Import project > Fogbugz
  3. Enter your FogBugz details and continue to next step
  4. New user step
  5. Test Continue to the next step button

Embedded snippets

Although this migrates the markup the styles are not pulling from Pajamas. They are authored in app/assets/stylesheets/snippets.scss to be addressed in a follow up.

Related #417803 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
<span data-escaped-char>_</span>Users_dmh_Desktop_sites_index.html (1).png <span data-escaped-char>_</span>Users_dmh_Desktop_sites_index.html.png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Create a snippet
  2. Open the embed dropdown and copy the embed script
  3. Create a new html file on your computer called index.html
  4. Paste the embed script into your index.html file
  5. Open index.html file in a browser
  6. Test the 3 buttons
    1. Copy snippet contents
    2. Open raw
    3. Download

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Dan MH

Merge request reports