mitodl / mit-open

BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

rename field to channel #1170

Closed gumaerc closed 3 months ago

gumaerc commented 3 months ago

What are the relevant tickets?

Closes https://github.com/mitodl/mit-open/issues/734

Description (What does it do?)

This PR renames FieldChannel to Channel, along with all related code mentioning "field" or "fields" to "channel" or "channels."

How can this be tested?

Realistically, the entire app should be smoke tested but I'm not sure what else to recommend here as it's such a massive rename. First of all, when you spin up the app the migrations should apply successfully. Beyond that, the code should be gone through with care to ensure that there haven't been any unintended side effects.

gumaerc commented 3 months ago

@mbertrand @shanbady Thanks for looking at this. I went through all the files referencing the word "field" in any way again with a fine toothed comb and I think I found all the remaining references. If y'all can just give it one last quick onceover I think we can merge this thing.

gumaerc commented 3 months ago

@shanbady You might want to make sure you're looking at the right branch, as I renamed all of those pages yesterday (FieldPage.tsx, etc.)