Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧹 Marketplace: Move into Order::NotificationMethod #1564

Conversation

zspencer
Copy link
Member

The top-level marketplace namespace is getting pretty cluttered, and since this relates pretty squarely to the Order domain, and there is already an Order::PlacedMailer and Order::ReceivedMailer it seemed like a reasonable place to put it.

The top-level `marketplace` namespace is getting pretty cluttered, and
since this relates pretty squarely to the `Order` domain, and there is
already an `Order::PlacedMailer` and `Order::ReceivedMailer` it seemed
like a reasonable place to put it.
@zspencer zspencer requested a review from a team June 15, 2023 02:12
@zspencer zspencer added the 🧹 refactor Includes non-behavioral changes label Jun 15, 2023
@zspencer zspencer merged commit bec726b into marketplace/order-notification-method-ui Jun 15, 2023
@zspencer zspencer deleted the marketplace/notification_method/move_into_namespace branch June 15, 2023 02:23
zspencer added a commit that referenced this pull request Jun 28, 2023
The top-level `marketplace` namespace is getting pretty cluttered, and
since this relates pretty squarely to the `Order` domain, and there is
already an `Order::PlacedMailer` and `Order::ReceivedMailer` it seemed
like a reasonable place to put it.
zspencer added a commit that referenced this pull request Jun 29, 2023
- #1511

🧹 `Marketplace`: Move into `Order::NotificationMethod` (#1564)

The top-level `marketplace` namespace is getting pretty cluttered, and
since this relates pretty squarely to the `Order` domain, and there is
already an `Order::PlacedMailer` and `Order::ReceivedMailer` it seemed
like a reasonable place to put it.

🥗 Request specs for `Order::NotificationMethods`
zspencer added a commit that referenced this pull request Jun 29, 2023
- #1511

🧹 `Marketplace`: Move into `Order::NotificationMethod` (#1564)

The top-level `marketplace` namespace is getting pretty cluttered, and
since this relates pretty squarely to the `Order` domain, and there is
already an `Order::PlacedMailer` and `Order::ReceivedMailer` it seemed
like a reasonable place to put it.

🥗 Request specs for `Order::NotificationMethods`
zspencer added a commit that referenced this pull request Jun 29, 2023
- #1511

🧹 `Marketplace`: Move into `Order::NotificationMethod` (#1564)

The top-level `marketplace` namespace is getting pretty cluttered, and
since this relates pretty squarely to the `Order` domain, and there is
already an `Order::PlacedMailer` and `Order::ReceivedMailer` it seemed
like a reasonable place to put it.

🥗 Request specs for `Order::NotificationMethods`
zspencer added a commit that referenced this pull request Jul 1, 2023
- #1511

🧹 `Marketplace`: Move into `Order::NotificationMethod` (#1564)

The top-level `marketplace` namespace is getting pretty cluttered, and
since this relates pretty squarely to the `Order` domain, and there is
already an `Order::PlacedMailer` and `Order::ReceivedMailer` it seemed
like a reasonable place to put it.

🥗 Request specs for `Order::NotificationMethods`
zspencer added a commit that referenced this pull request Jul 1, 2023
- #1511

🧹 `Marketplace`: Move into `Order::NotificationMethod` (#1564)

The top-level `marketplace` namespace is getting pretty cluttered, and
since this relates pretty squarely to the `Order` domain, and there is
already an `Order::PlacedMailer` and `Order::ReceivedMailer` it seemed
like a reasonable place to put it.

🥗 Request specs for `Order::NotificationMethods`

* Update app/furniture/marketplace/breadcrumbs.rb

Co-authored-by: KellyAH <[email protected]>

* 🧹 `Marketplace`: pull `NotificationMethod` out of `Order`

Interestingly enough, to `button` method pointed out a problem with
putting the `Order::NotificationMethod`, in that the *routing* to the
`notification_methods` is not in the `order`; which was causing the
inferred translation lookup to go squiggly.

I took the hint and pulled it out of the `Order` namespace.

* Alphabetize the routes

---------

Co-authored-by: KellyAH <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧹 refactor Includes non-behavioral changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants