Skip to content

Add conference registration types CRUD + Public view#4408

Merged
oriolgual merged 13 commits intomasterfrom
conference_registration_types
Nov 7, 2018
Merged

Add conference registration types CRUD + Public view#4408
oriolgual merged 13 commits intomasterfrom
conference_registration_types

Conversation

@isaacmg410
Copy link
Copy Markdown
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 force-pushed the conference_registration_types branch from d196d1e to 05b8fa8 Compare October 31, 2018 14:52
@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 isaacmg410 force-pushed the conference_registration_types branch from c495eaf to 93cb8c7 Compare November 7, 2018 14:44
@isaacmg410
Copy link
Copy Markdown
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.

2 participants