Skip to content

Add Recently Used Abacus Types as Quick Access Buttons in Top Toolbar #2016

@Shekar-77

Description

@Shekar-77

Description
Currently in the Abacus activity, users must open the abacus type selector every time they want to switch between different abacus configurations.
When users frequently switch between two abacus types (for example Chinese and Soroban), this requires repeated navigation through the selector menu.
To improve usability and reduce interaction time, the last two abacus types used by the user should be displayed directly in the top toolbar as quick-access buttons.
This allows users to switch between recently used abacus types with a single click.

Proposed UI Change
Add two dynamic buttons in the top toolbar showing the last two abacus types used.
Current Toolbar
[Abacus] [Open] [Settings] [Duplicate] [Close]
Proposed Toolbar
[Abacus] [Recent1] [Recent2] [Open] [Settings] [Duplicate] [Close]

Where:
Recent1 = most recently used abacus type
Recent2 = second most recently used abacus type

These icons should display the same icon used in the abacus selector menu.

Expected Behavior

When a user selects an abacus type from the selector menu:
The type is added to the "recently used" list.
If the selected type already exists in the recent list:
Move it to the front.
Only the last two used types are stored.
Clicking a recent button should immediately switch to that abacus type.

How ui is expected to look after:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions