Skip to content
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

Bugs with saving and showing choiceboards #930

Open
emilnormann opened this issue Dec 5, 2022 · 1 comment
Open

Bugs with saving and showing choiceboards #930

emilnormann opened this issue Dec 5, 2022 · 1 comment
Assignees
Labels
Priority: high High priority, its required to work Type: bug Bugs and other insects

Comments

@emilnormann
Copy link
Contributor

emilnormann commented Dec 5, 2022

Description

There are many issues related to the saving and showing off choiceboards. They are all assumed to be related and able to be fixed at the same time. The two problems are: Choiceboards not being updated until they are actually pressed and choiceboards not being saved correctly.
This can lead to behavior such as changing a choiceboard from having four choices to instead have two. It then shows as having two choices. Then if you view as citizen it shows as having four choices and when swapped back to guardian it shows as four as well.

To Reproduce
These bugs are not always consistent and produce inconsistent behavior assumed to be depending on pc and server.

Steps to reproduce the behavior:

  1. Log in as guardian
  2. Create new citizen
  3. Click the new citizen
  4. Create new week plan
  5. Click new weekplan
  6. Create new activity
  7. Edit activity and add new choices until it has four options
  8. Go to the weekplan screen
  9. Edit the activity and delete two of the choices
  10. Go to the weekplan screen
  11. Switch to citizen mode
    Observe the choiceboard will likely have four options here
  12. Switch to guardian mode
  13. Log in
    Observe the choiceboard will likely have four options here
  14. Click the activity
  15. Go to the weekplan screen
    Observe the choiceboard will likely have two options here

Expected behavior
The chosen pictograms for an activity should be consistent both across the citizen and guardian view and should update correctly after changes have been made.

Actual behavior and screenshots
Instead the amount of choices will sometimes stay as if unchanged and sometimes come later after the activity has been viewed multiple times.

@emilnormann emilnormann added Type: bug Bugs and other insects Priority: high High priority, its required to work labels Dec 5, 2022
PeterEllefsen added a commit that referenced this issue Oct 25, 2023
@NonBinaryAtkHeli
Copy link

#968 Virker det her? Test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: high High priority, its required to work Type: bug Bugs and other insects
Projects
None yet
Development

No branches or pull requests

4 participants