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

Bead behavior #29

Open
3 tasks done
catherinecarter opened this issue Nov 12, 2024 · 0 comments
Open
3 tasks done

Bead behavior #29

catherinecarter opened this issue Nov 12, 2024 · 0 comments
Assignees

Comments

@catherinecarter
Copy link

catherinecarter commented Nov 12, 2024

This is a description of the bead behavior @marlitas and I discussed at standup on 11/12. Please fill in any information I may have missed.

For the Ten, Twenty, and Sum screens

  • The beads should default to be organized closest to the divider for both the left and right addends (currently the pink addend starts on the far left and the right addend starts closest to the divider)
  • The organize button should organize the beads into groups of 5 starting from the outside in (so any non-5 groups for both addends are closest to the divider)
  • Both groups should be closest to the divider

Sum screen-specific

  • Start the pink beads one bead-length from the divider and when more are added, they add to the left of the left-most bead
    • If the left-most pink bead is too close to the edge, move it (and any others too close to the edge) to the right to make room
    • If the shift of the beads and the divider requires one or more blue beads to also shift right, move as many blue beads as necessary but not more
  • Start the blue beads one bead-length from the divider and when more are added, they add to the right of the right-most blue bead
    • If there is a blue bead too close to the right edge to fit another bead, shift that bead and any others close to it to the left to create space for the new bead to appear
    • If the shift of the divider to the left touches a pink bead, also shift as many as needed (not more) also to the left to create space
  • When adding new beads, they shouldn't reorganize themselves unless situations described above occur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants