Reduce trigger functions for equal fields
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 28/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- postgresql
- Domain
- databases
Research direction
Start by locating the trigger functions associated with option/content_object_id and projection/content_object_id, then trace their references to user/option_id, meeting_user, meeting/projection_ids, and the proposed welcome_card model. The issue needs a design decision between combining functions and altering fields; done requires an agreed approach and confirmation that the redundant trigger functions can be removed or consolidated.
Written by the indexing model from the issue text.
Description
To reduce them we have two approaches. Either combining them with parameter adjustment and logic changes or removing/altering such fields.
The latter can be done for:
- option/content_object_id : user/option_id (Here we would need to reference meeting_user instead and would get rid of two functions)
- projection/content_object_id : meeting/projection_ids (Here we would need to add an in-between model like
welcome_card.)
- Dominant language
- PLpgSQL
- Stars
- 0
- Forks
- 25
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 16
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenSlides/openslides-meta
-
clean up
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
OpenSlides/openslides-meta#640 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenSlides/openslides-meta#561 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenSlides/openslides-meta#542 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
OpenSlides/openslides-meta#429 ·
Maintainers usually reply within 1 day
-
Cleanup DammiOpenclean up
Difficulty 3/5 1-2 days Newbie friendliness 58/100
OpenSlides/openslides-meta#635 ·
Maintainers usually reply within 1 day
All issues in OpenSlides/openslides-meta
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
bug db/postgres user-priority/P1
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
kagent-dev/kagent#3789 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day