Skip to content

5166: Remove item category#5205

Merged
cielf merged 2 commits into
mainfrom
5166-remove-item-category
Jul 5, 2025
Merged

5166: Remove item category#5205
cielf merged 2 commits into
mainfrom
5166-remove-item-category

Conversation

@dorner

@dorner dorner commented May 23, 2025

Copy link
Copy Markdown
Collaborator

Confirmed this field is not used anywhere and there is no data in it since 2019.

@dorner dorner requested a review from cielf May 23, 2025 20:45

@cielf cielf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm puzzled as to why we're removing the short name in this PR since I thought it had already been removed. Also, the tests are failing after multiple reruns.

@@ -1,8 +1,12 @@
class RemoveShortNameFromOrganizations < ActiveRecord::Migration[8.0]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't we already remove the short name in #5187?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't a new migration, it's just adding a check inside it so it wouldn't crash if it already ran.

@cielf

cielf commented Jun 29, 2025

Copy link
Copy Markdown
Collaborator

Back on me. per discussion with D in sunday meeting. Migration was changed so it wouldn't crash if it ran again.

@cielf cielf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @dorner -- it looks like there are references to category in the request specs, though -- For instance, in item_requests_spec.rb:

item_pullups = create(:item, name: "the most wonderful magical pullups that truly potty train", category: "Magic Toddlers", on_hand_minimum_quantity: 100)

@dorner

dorner commented Jul 4, 2025

Copy link
Copy Markdown
Collaborator Author

Should be fixed now!

@cielf cielf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@cielf cielf merged commit 0358129 into main Jul 5, 2025
23 checks passed
@cielf cielf deleted the 5166-remove-item-category branch July 5, 2025 17:00
@github-actions

github-actions Bot commented Jul 6, 2025

Copy link
Copy Markdown
Contributor

@dorner: Your PR 5166: Remove item category is part of today's Human Essentials production release: 2025.07.06.
Thank you very much for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants