arch-kiosk / arch-kiosk-office

💼 central place for collaboration
GNU Affero General Public License v3.0
1 stars 0 forks source link

simply comparing todo and todo done does not work #35

Closed urapadmin closed 3 years ago

urapadmin commented 5 years ago

when comparing the todo and the done code it needs more than just a text compare. Write a function for it

urapadmin commented 5 years ago

ja, that bug entry hurts. I think it is referring to the registration UI and the current state of a collected material.

urapadmin commented 3 years ago

while the observation is correct: Just comparing them on a text level would not suffice to signal whether or not there is something left to do. But I can't see where I do that, so I don't know where to change what. -> not_in_v1

urapadmin commented 3 years ago

Ah, there: One can select "something left to do" and that refers to a field named "calc_done_equals_todo". And there I should at least throw away all "!" and then check if every character in todo appears in done.

urapadmin commented 3 years ago

@test 10.8.2

This is about the registration for collected material (registrar and specialists/collected material).

First of all something about registration codes - for the user's manual:

H=Expected back from the field R=to be registered C=Ceramics need processing C!=Priorized Ceramics Processing W=to be washed P=to be photographed S=to be sieved D=to be drawn

If this is correctly configured and the mentioned conventions are met (most of them are not programmatically enforced but the system relies on them), the registration understands if all todos for a collected material are done.

This has relevance only for the view "something left to do":

luizaogs commented 3 years ago

Everything seems to be working.

Of relevance for the user's manual, because it took me forever to figure it out: the heart refreshes the page.

urapadmin commented 3 years ago

no, it doesn‘t. Or rather it does but only as a side effect. The heart sets the date filter to the current season.

On 28. Jul 2021, at 23:19, luizaogs - @. @.> wrote:

 Closed #35.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or unsubscribe.

luizaogs commented 3 years ago

Ha, funny. Then how does one refresh? By switching views? The done CM are not disappearing by themselves, hence my search for a refresh button.

urapadmin commented 3 years ago

I‘d say you are our first registrar who realizes that she is missing a refresh button :) I will make one.

On 28. Jul 2021, at 23:40, luizaogs - @. @.> wrote:

 Ha, funny. Then how does one refresh? By switching views? The done CM are not disappearing by themselves, hence my search for a refresh button.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or unsubscribe.

luizaogs commented 3 years ago

I keep giving you more things to do! Sorry.

urapadmin commented 3 years ago

@test v11

A button for Luiza on my last official day as a research assistant.

since we already have a users-manual tag: The date that is set as a filter when clicking on the heart button is configured in general/season_date and has to be a valid date and(!) time. There was also a problem with the field in the config which I have patched with v11. But with the patch the season_date is wiped out so please set it afresh.

luizaogs commented 3 years ago

Well, thank you for the button :) And for giving me an excuse to stop reading about damn Mesopotamia for 10 minutes ...

I feel like I should be giving you something on your last official day as a research assistant, but instead I give you a dumb question: what is the correct format for the date and time in configuration? I couldn't find it in the wiki.

urapadmin commented 3 years ago

oh, but you already gave me an enigmatic quote, remember? "Der Wahnsinn, Gegenstand meiner Untersuchungen, war bisher eine Insel, verloren im Ozean der Vernunft; ich beginne zu vermuten, dass es ein ganzer Erdteil ist." Now I own this nice Suhrkamp edition of the Machado de Assis novella in not any longer mint condition.

But you had a question: I am not sure. Here I was able to use European date dd.mm.yyyy hh:mm as well as american mm/dd/yyyy hh:mm. It might depend on your regional settings.

luizaogs commented 3 years ago

American worked for me, didn't try European because I am lazy.

Ah yes -- that looks quite different in German, doesn't it? And well, as long as the book isn't stinky! (I kinda like stinky books, though I prefer to think of them as "vintage" rather than "stinky".)

urapadmin commented 3 years ago

I have to wash my hands after vintage :o) but I really was lucky. Somebody had the book on the shelf but never in her hands. It was really like new. And we make good books (much unlike the Brits and the Americans), so no acid or anything browned the pages. Happy :o)

luizaogs commented 3 years ago

Ha. Good!! I too am not a huge fan of American book-making. Brazilian paper tends to be much better.