Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

batches: Replace white spaces with a dash in Batch Change Name input#50825

Merged
st0nebreaker merged 1 commit into
mainfrom
aabs/change-spaces
Apr 18, 2023
Merged

batches: Replace white spaces with a dash in Batch Change Name input#50825
st0nebreaker merged 1 commit into
mainfrom
aabs/change-spaces

Conversation

@adeola-ak

@adeola-ak adeola-ak commented Apr 18, 2023

Copy link
Copy Markdown
Contributor

Closes: #50353. Gives the user a more successful path while naming their batch change. Spaces are not allowed, any space character inserted is replaced with a dash now.

Paired @st0nebraker & @adeola-ak

Note: We didn't think the input description should be updated. The user can infer that spaces are being replaced by dashes because of the action & rules stated. Let us know if you think the description should be updated with anything specific.

Screen.Recording.2023-04-18.at.12.08.48.PM.mov

Test plan

  • Ensure adding any space character is immediately changed with a dash when creating a new batch change

@cla-bot cla-bot Bot added the cla-signed label Apr 18, 2023
@sg-e2e-regression-test-bob

sg-e2e-regression-test-bob commented Apr 18, 2023

Copy link
Copy Markdown

Bundle size report 📦

Initial size Total size Async size Modules
0.00% (0.00 kb) 0.00% (+0.03 kb) 0.00% (+0.03 kb) 0.00% (0)

Look at the Statoscope report for a full comparison between the commits 4d140b3 and 9239bdd or learn more.

Open explanation
  • Initial size is the size of the initial bundle (the one that is loaded when you open the page)
  • Total size is the size of the initial bundle + all the async loaded chunks
  • Async size is the size of all the async loaded chunks
  • Modules is the number of modules in the initial bundle

@st0nebreaker st0nebreaker changed the title batches: batches: Replace white spaces with a dash in Batch Change Name input Apr 18, 2023
@st0nebreaker st0nebreaker marked this pull request as ready for review April 18, 2023 18:14
@sourcegraph-bot

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff af62faf...4d140b3.

Notify File(s)
@BolajiOlajide client/web/src/enterprise/batches/create/ConfigurationForm.tsx
@courier-new client/web/src/enterprise/batches/create/ConfigurationForm.tsx
@eseliger client/web/src/enterprise/batches/create/ConfigurationForm.tsx

@BolajiOlajide BolajiOlajide requested a review from a team April 18, 2023 18:25
@st0nebreaker st0nebreaker merged commit 8b4e1cb into main Apr 18, 2023
@st0nebreaker st0nebreaker deleted the aabs/change-spaces branch April 18, 2023 19:27
Comment thread client/web/src/enterprise/batches/create/ConfigurationForm.tsx
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace white spaces with a dash when entering name for a Batch Change in the UI

6 participants