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

Citizen proposal status #400

Draft
wants to merge 10 commits into
base: develop
Choose a base branch
from
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

* [PR-400](https://github.com/itk-dev/hoeringsportal/pull/401)
Citizen proposal status fixtures and template
* [PR-400](https://github.com/itk-dev/hoeringsportal/pull/400)
Citizen proposal status

## [4.2.2] - 2024-04-10

* [PR-392](https://github.com/itk-dev/hoeringsportal/pull/392)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,19 @@ dependencies:
- field.field.node.citizen_proposal.field_author_name
- field.field.node.citizen_proposal.field_author_phone
- field.field.node.citizen_proposal.field_author_uuid
- field.field.node.citizen_proposal.field_city_council_meeting_date
- field.field.node.citizen_proposal.field_content_state
- field.field.node.citizen_proposal.field_getorganized_case_id
- field.field.node.citizen_proposal.field_more_info
- field.field.node.citizen_proposal.field_proposal
- field.field.node.citizen_proposal.field_remarks
- field.field.node.citizen_proposal.field_status_description
- field.field.node.citizen_proposal.field_status_title
- field.field.node.citizen_proposal.field_vote_end
- field.field.node.citizen_proposal.field_vote_start
- node.type.citizen_proposal
module:
- allowed_formats
- datetime
- field_group
- text
third_party_settings:
Expand All @@ -29,7 +32,7 @@ third_party_settings:
label: GetOrganized
region: content
parent_name: ''
weight: 20
weight: 10
format_type: details
format_settings:
classes: ''
Expand All @@ -38,6 +41,23 @@ third_party_settings:
open: true
description: ''
required_fields: true
group_status:
children:
- field_content_state
- field_city_council_meeting_date
- field_status_title
- field_status_description
label: Status
region: content
parent_name: ''
weight: 11
format_type: fieldset
format_settings:
classes: ''
show_empty_fields: false
id: ''
description: 'Used to set a status for the proposal.'
required_fields: true
id: node.citizen_proposal.default
targetEntityType: node
bundle: citizen_proposal
Expand Down Expand Up @@ -81,6 +101,18 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_city_council_meeting_date:
type: datetime_default
weight: 29
region: content
settings: { }
third_party_settings: { }
field_content_state:
type: options_select
weight: 28
region: content
settings: { }
third_party_settings: { }
field_getorganized_case_id:
type: string_textfield
weight: 26
Expand Down Expand Up @@ -122,6 +154,22 @@ content:
allowed_formats:
hide_help: '1'
hide_guidelines: '1'
field_status_description:
type: text_textarea
weight: 31
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_status_title:
type: string_textfield
weight: 30
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
status:
type: boolean_checkbox
weight: 9
Expand All @@ -140,7 +188,6 @@ content:
hidden:
created: true
field_author_uuid: true
field_content_state: true
field_vote_end: true
field_vote_start: true
langcode: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ dependencies:
- field.field.node.citizen_proposal.field_author_name
- field.field.node.citizen_proposal.field_author_phone
- field.field.node.citizen_proposal.field_author_uuid
- field.field.node.citizen_proposal.field_city_council_meeting_date
- field.field.node.citizen_proposal.field_content_state
- field.field.node.citizen_proposal.field_getorganized_case_id
- field.field.node.citizen_proposal.field_more_info
- field.field.node.citizen_proposal.field_proposal
- field.field.node.citizen_proposal.field_remarks
- field.field.node.citizen_proposal.field_status_description
- field.field.node.citizen_proposal.field_status_title
- field.field.node.citizen_proposal.field_vote_end
- field.field.node.citizen_proposal.field_vote_start
- node.type.citizen_proposal
Expand Down Expand Up @@ -127,9 +130,12 @@ hidden:
field_author_email_display: true
field_author_phone: true
field_author_uuid: true
field_city_council_meeting_date: true
field_content_state: true
field_getorganized_case_id: true
field_more_info: true
field_status_description: true
field_status_title: true
langcode: true
links: true
published_at: true
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ dependencies:
- field.field.node.citizen_proposal.field_author_name
- field.field.node.citizen_proposal.field_author_phone
- field.field.node.citizen_proposal.field_author_uuid
- field.field.node.citizen_proposal.field_city_council_meeting_date
- field.field.node.citizen_proposal.field_content_state
- field.field.node.citizen_proposal.field_getorganized_case_id
- field.field.node.citizen_proposal.field_more_info
- field.field.node.citizen_proposal.field_proposal
- field.field.node.citizen_proposal.field_remarks
- field.field.node.citizen_proposal.field_status_description
- field.field.node.citizen_proposal.field_status_title
- field.field.node.citizen_proposal.field_vote_end
- field.field.node.citizen_proposal.field_vote_start
- node.type.citizen_proposal
Expand Down Expand Up @@ -60,9 +63,12 @@ hidden:
field_author_email_display: true
field_author_phone: true
field_author_uuid: true
field_city_council_meeting_date: true
field_content_state: true
field_getorganized_case_id: true
field_more_info: true
field_status_description: true
field_status_title: true
field_vote_end: true
field_vote_start: true
langcode: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ dependencies:
- field.field.node.citizen_proposal.field_author_name
- field.field.node.citizen_proposal.field_author_phone
- field.field.node.citizen_proposal.field_author_uuid
- field.field.node.citizen_proposal.field_city_council_meeting_date
- field.field.node.citizen_proposal.field_content_state
- field.field.node.citizen_proposal.field_getorganized_case_id
- field.field.node.citizen_proposal.field_more_info
- field.field.node.citizen_proposal.field_proposal
- field.field.node.citizen_proposal.field_remarks
- field.field.node.citizen_proposal.field_status_description
- field.field.node.citizen_proposal.field_status_title
- field.field.node.citizen_proposal.field_vote_end
- field.field.node.citizen_proposal.field_vote_start
- node.type.citizen_proposal
Expand Down Expand Up @@ -46,6 +49,9 @@ third_party_settings:
header:
- node_title
left:
- field_city_council_meeting_date
- field_status_description
- field_status_title
- 'dynamic_block_field:node-citizen_proposal_support_counter'
- field_proposal
- field_remarks
Expand All @@ -59,7 +65,7 @@ third_party_settings:
fields:
'dynamic_block_field:node-citizen_proposal_support_counter':
plugin_id: 'dynamic_block_field:node-citizen_proposal_support_counter'
weight: 1
weight: 4
label: hidden
formatter: default
node_title:
Expand All @@ -82,35 +88,59 @@ content:
label: above
settings: { }
third_party_settings: { }
weight: 5
weight: 8
region: left
field_author_name:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 4
weight: 7
region: left
field_city_council_meeting_date:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 1
region: left
field_more_info:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 10
weight: 12
region: right
field_proposal:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 2
weight: 5
region: left
field_remarks:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 6
region: left
field_status_description:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 2
region: left
field_status_title:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 3
region: left
field_vote_end:
Expand All @@ -120,7 +150,7 @@ content:
timezone_override: ''
format_type: hoeringsportal_date
third_party_settings: { }
weight: 8
weight: 10
region: right
field_vote_start:
type: datetime_default
Expand All @@ -129,12 +159,12 @@ content:
timezone_override: ''
format_type: hoeringsportal_date
third_party_settings: { }
weight: 7
weight: 9
region: right
sharing_buttons:
settings: { }
third_party_settings: { }
weight: 9
weight: 11
region: right
hidden:
field_author_allow_email: true
Expand Down
Loading
Loading