Skip to content

The class/module list GUI does not update after operations automatically (requires clicking the box/restarting) #9

@marcus-ny

Description

@marcus-ny

Before:

Screenshot 2024-04-05 at 5.48.39 PM.png

After executing add command:

Screenshot 2024-04-05 at 5.48.51 PM.png

After restarting app:

Screenshot 2024-04-05 at 5.49.10 PM.png

Detailed description:

The module list does not update immediately after operations (example: tried with /add_class and /delete_class). Instead either a restart or clicking on the UI Box is required for the updates to be reflected on the GUI.

Steps to reproduce:

  1. Launch the app
  2. /add_class module/ACC1701X tutorial/T01

Output: Logger states "added ACC1701X T01". However, the GUI remains empty.

  1. Either restart the app or click on the leftmost UI Box to get the updated GUI.

I believe this bug can be slightly problematic from a user standpoint as well. After adding a class, it would be more intuitive to see the new classes I've added visually without having to restart the app. Having to click on the GUI can also be unintuitive considering this is mainly meant to be a CLI app.

(Note: this issue may be interlinked with the student list not updating after /list_students command as well)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions