behave-app / behave

MIT License
0 stars 0 forks source link

multiple entry of the same subject/behaviour at the same frame #24

Closed kasiawojczulanis closed 6 months ago

kasiawojczulanis commented 7 months ago

Could we block (or at least make it optional) a possibility to enter exactly the same subject and behaviour for the same frame? In the little auk case, if one enters the same subject/behaviour >1 (e.g. appears) it messes up the story behind (e.g. if a bird appeared the next record for that bird should be disappears/enters/whatever but not appears).

reinhrst commented 6 months ago

Just to make it clear, you're describing the following situation right:

You stay on one frame and press (P)arent (A)ppears, and then without changing frame you would again press (P)arent (A)ppears. In that case, by the time you press the second "A" it should disallow this right?

I'm not sure this is universal enough that I would want to add it. For instance you could imagine that you have subject "Unknown" and you have 2 unknown subjects both doing the same thing, and you want to record both (no idea what other people want, but I can imagine there is some case for this).

One thing that I am thinking about is having some sort of custom rules, where things like this should be possible (and lots of other things as well). It should also be able to catch things like a subject appearing and later appearing again without disappearing in the meantime, etc.

Let me know if this is a big issue for you now (as I recall, the "Big Function" should catch this, right?); if not I'll leave it to some future iteration.

kasiawojczulanis commented 6 months ago

It is not big issue, and the "Big function" should detect the issue if occurs. So, not a big deal. And good point about two unknown subjects doing the same. I would consider is a close issue!