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

[WIP]Add fields to meetings #3080

Closed
wants to merge 7 commits into from

Conversation

isaacmg410
Copy link
Contributor

@isaacmg410 isaacmg410 commented Mar 22, 2018

馃帺 What? Why?

This PR adds new fields to meetings.

  • Checkbox to show whether or not there is a space for conciliation an field for the description of the service.
  • Checkbox to show whether the space is enabled for people with functional diversity
  • Checkbox to show whether simultaneous translation will be provided. and a Field to introduce the languages

馃搶 Related Issues

馃搵 Subtasks

  • Add CHANGELOG entry
  • Add migration to add new fields
  • Add new fields to form and validatations
  • Add new fields to create and update commands
  • Add translations
  • Add new fields when duplicating a meeting
  • Show new fields in front view
  • Refact specs

@ghost ghost assigned isaacmg410 Mar 22, 2018
@ghost ghost added the status: WIP label Mar 22, 2018
@@ -55,6 +55,11 @@ def copy_meeting!
component: @meeting.component,
registrations_enabled: @meeting.registrations_enabled,
available_slots: @meeting.available_slots,
has_conciliation_service: @form.has_conciliation_service,
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't have a technical issue with this, but maybe conciliation is not the right term?

Conciliation: "the action of stopping someone from being angry; placation."

Maybe family friendly space or childcare service would make more sense @decidim/product ?

Copy link
Contributor Author

@isaacmg410 isaacmg410 Mar 28, 2018

Choose a reason for hiding this comment

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

@decidim/lot-core According with @decidim/product we decide to change the admin functionality with a jsonb field, called for example 'services_offered' and store in them the information of the services. They can add up to 4. Any help on how to do it will be helpful 馃槂

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd say the adding this limit (4) might add a lot of complexity, and since this is something only admins will use I wouldn't limit it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What do you propose? Are you agree to use a jsonb field with all the services with translations? Or do you think there's a better way?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm OK with using a JSONb field, but without limiting the number of services

@codecov
Copy link

codecov bot commented Mar 23, 2018

Codecov Report

Merging #3080 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #3080      +/-   ##
=========================================
+ Coverage    98.6%   98.6%   +<.01%     
=========================================
  Files        1718    1718              
  Lines       41076   41094      +18     
=========================================
+ Hits        40502   40520      +18     
  Misses        574     574

@isaacmg410 isaacmg410 changed the title [WIP] Add fields to meetings Add fields to meetings Mar 23, 2018
@isaacmg410 isaacmg410 changed the title Add fields to meetings [WIP]Add fields to meetings Mar 26, 2018
@rbngzlv
Copy link
Contributor

rbngzlv commented Apr 8, 2018

Closing in favor of #3150.

@rbngzlv rbngzlv closed this Apr 8, 2018
@ghost ghost removed the status: WIP label Apr 8, 2018
@rbngzlv rbngzlv deleted the 3044_additional_fields_to_meetings branch April 8, 2018 15:41
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

3 participants