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

Simplify ticket system #2014

Merged
merged 11 commits into from
Sep 17, 2023
Merged

Simplify ticket system #2014

merged 11 commits into from
Sep 17, 2023

Conversation

oshiro3
Copy link
Contributor

@oshiro3 oshiro3 commented Sep 3, 2023

思ったより変更範囲が多くなってしまった感じですがチケットで処理していた部分を Profile の Enum で置き換えるように変更しました。

@oshiro3 oshiro3 requested review from jacopen and takaishi September 3, 2023 10:13
@oshiro3 oshiro3 self-assigned this Sep 3, 2023
@github-actions
Copy link

github-actions bot commented Sep 3, 2023

@github-actions github-actions bot added the reviewapps Build ReviewApp environment automatically if this label is granted label Sep 3, 2023
Copy link
Contributor

@takaishi takaishi left a comment

Choose a reason for hiding this comment

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

routes.rbにordersとcancel_ordersが残っているので削除をお願いします!

<div class="col-12 col-md-6" id="participation" >
<%= form.label :participation, "参加方法" %></br>
<%= form.radio_button :participation, :online, { class: "radio_button_participation", id: "participation_online" } %>
<%= form.label :online, { for: "participation_online" } %>
Copy link
Contributor

Choose a reason for hiding this comment

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

現地参加 リモート参加 などの表記がよさそうです。

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

表記を変更しました。

@@ -0,0 +1,5 @@
class AddParticipationColumnsToProfile < ActiveRecord::Migration[7.0]
def change
add_column :profiles, :participation, :string
Copy link
Contributor

Choose a reason for hiding this comment

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

現地参加可能な人数は上限があるので、それを管理できるようにしてもらえますか?
チケットの時はticketsテーブルに管理用のカラムがありました。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

定員を Conference に持たせて管理するようにしました。

@oshiro3 oshiro3 requested a review from takaishi September 17, 2023 02:29
@github-actions
Copy link

Simplecov Report

Covered Threshold
60.13% 60%

Copy link
Contributor

@takaishi takaishi left a comment

Choose a reason for hiding this comment

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

LGTM!

@takaishi takaishi merged commit 696cc40 into main Sep 17, 2023
@takaishi takaishi deleted the simplify_ticket_system branch September 17, 2023 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reviewapps Build ReviewApp environment automatically if this label is granted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

現地参加・オンライン参加の仕組みをシンプルにする
2 participants