-
Notifications
You must be signed in to change notification settings - Fork 0
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
Kaavasuositukset kaavakohteille #118
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yksi ehkä kriittinen kommentti olisi, että tallentuuko muokattaessa kantaan koskemattomista kaavamääräysryhmistä aina uusi assosiaatio?
Yksi keino noiden kaavamääräysryhmien assiosiaatioiden hallintaan voisi olla, että kaavamääräysryhmämodeliin lisäisi esim. association_status
-attribuutin ja se voisi olla existing
, new
, deleted
. Widgetissä ei tietenkään näytettäisi modeleita, joilla tuo on deleted
. Sitten kohteen kaavamääräysryhmät voisi loopata ja poistaa assosiaatiot, joilla status deleted
ja luoda ne joilla new
. Ja jättää huomioimatta existing
. Muuten pitää jotenkin etsiä kannasta ne jotka jo olemassa ja jotka poistuneet (kuten nyt oot tehnytkin get_dangling_associations).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enpä huomannut, että tarkistus onko kohde jo olemassa tehdään tuolla feature_from()
ssa. Ehkä selkeämpi olisi tarkistaa asia sen ulkopuolella?
c4dddd9
to
b3c12f3
Compare
- add plan proposition model - add widget for plan proposition - handle saving and loading plan propositions for plan regulation groups - add possibility to define plan propositions for custom plan regulation groups - add PlanThemeLayer code layer model - remove spacer and horizontal line layout items from plan regulation widget
- use LANGUAGE constant, defined in misc_utils for now - add AdditionalInformationTypeLayer and define get_additional_information_name for it - add get_attribute_value_by_another_attribute_value for AbstractLayer
b3c12f3
to
484c8f5
Compare
Based on PR #112