rdmorganiser / rdmorganiser/rdmo

[DMP Review] enable multiple combined evaluations of relations for conditions

Open
#975 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

type:feature-request
Dominant language
Python
Stars
133
Forks
60
Avg merge
3d 14h
Merged PRs (30d)
21

Description

Rationale / Begründung

Conditions are currently targeting only one attribute and are resolved for a single relation.
It should be possible to evaluate multiple attributes in one condition each against different target texts/options.

These conditions can be connected via AND or OR.

In the edit Condition interface:

  • support for multiple sources that can be related via "AND / OR", for example via a tabbed menu interface.
  • Add a tab view for each source allowing the user to add or remove it
  • Add a Radio-button "AND / OR" to switch between the type of conditional

PS it might sound like a ConditionSet but it should be editable as a normal Condition in order to not overflow the UI with complexity.

Affected

Users, Managers

Minimal functionality
  • allow for multiple relations that are combined when a Condition is resolved
  • add the required new settings to the edit Condition interface
Nice-to-have functionality
References / Verweise

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with rdmo/conditions/models.py around the referenced Condition definition, then trace the Condition edit interface and its resolution flow. Define how multiple relations are represented and combined with AND or OR, and how sources can be added or removed. Done means a Condition supports multiple combined relations and the edit interface exposes the required settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.