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

Changes to Sorting Algorithm Dropdown Menu #186

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

skbedi
Copy link

@skbedi skbedi commented Dec 10, 2023

Changes:

  • Sorting Algos are now sorted by complexity and then alphabetical order
  • Grid is now a list of all the sorting algos in order

Why: (resolves #175)

  • This issue asked for improvement in the selection dropdown so it is easier to find the algorithms and a design change "to fit all algorithms and their names"
  • This new design resolves both of these issues

How:

  • after creating new branch called dropdown, first sorted the algorithms in algs.py (comments in the doc show how)
  • in display.py altered class DropdownBox(InputBox): to fit new requirements.

**Testing: **

  • visually tested list to make sure all options were available and clickable
  • clicking on each option chose the right sorting algo.

**Screenshots: **

Screen.Recording.2023-12-10.at.1.11.44.PM.mov

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

Successfully merging this pull request may close these issues.

Improve the algorithm selection dropdown
1 participant