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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add conference registration types CRUD + Public view #4408

Merged
merged 13 commits into from Nov 7, 2018

Conversation

isaacmg410
Copy link
Contributor

@isaacmg410 isaacmg410 commented Oct 30, 2018

馃帺 What? Why?

This PR adds a selective registration by registration types configur days. --> 1st Iteration #4048
Distinguish early and late registration

馃搶 Related Issues

馃搵 Subtasks

  • Add CHANGELOG entry
  • Add documentation regarding the feature
  • Add/modify seeds
  • Add factories
  • Add CRUD Registration Types
  • Add public view
  • Add tests

馃摲 Screenshots (optional)

Description
screenshot-localhost-3000-2018 10 30-11-38-49

@ghost ghost assigned isaacmg410 Oct 30, 2018
@ghost ghost added the status: WIP label Oct 30, 2018
@isaacmg410 isaacmg410 changed the title [WIP] Add conference registration types CRUD + Public view Add conference registration types CRUD + Public view Oct 31, 2018
@ghost ghost added the status: WIP label Oct 31, 2018
@isaacmg410
Copy link
Contributor Author

@decidim/lot-core ready to review :)


def conference_meetings(registration_type)
meeting_components = registration_type.conference.components.where(manifest_name: "meetings")
Decidim::ConferenceMeeting.where(component: meeting_components).where(id: @form.attributes[:conference_meeting_ids])
Copy link
Contributor

Choose a reason for hiding this comment

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

What's a Decidim::ConferenceMeeting? Shouldn't it be scoped to Decidim::Conferences?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe yes, but 'Decidim::ConferenceMeeting' is already in master. If 'ConferenceMeeting' should be scoped to 'Decidim::Conferences', in my opinion is out of this scope and it will be better to do in another PR.
What you think?

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems fair, let's do it in another PR!

@isaacmg410
Copy link
Contributor Author

@oriolgual requested changes applied 馃槃

@ghost ghost added the status: WIP label Nov 7, 2018
@ghost ghost assigned oriolgual Nov 7, 2018
@oriolgual oriolgual merged commit 213bee2 into master Nov 7, 2018
@oriolgual oriolgual deleted the conference_registration_types branch November 7, 2018 15:16
@ghost ghost removed the status: WIP label Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants