danielfilipealmeida / adventure_studio

Integrated Development Environment (IDE) designed for creating text-based adventure games.
0 stars 0 forks source link

Extract Rooms list from NavigationSplitView into its own new view #1

Closed danielfilipealmeida closed 3 weeks ago

danielfilipealmeida commented 3 weeks ago

Description:

Currently, the Rooms list is part of the content in the NavigationSplitView. To improve code organization and make the UI more modular, we need to extract the Rooms list into its own separate SwiftUI view. This will enhance reusability and separation of concerns.

Task Breakdown:

  1. Create a new SwiftUI view to encapsulate the Rooms list.
  2. Ensure the new view is responsible for displaying the list of Rooms.
  3. Refactor the NavigationSplitView to include the newly extracted view in place of the current inline Rooms list.
  4. Verify that the new view maintains the same behavior and functionality as before, including navigation and data updates.

Acceptance Criteria:

Additional Notes: This refactor aims to improve maintainability and future scalability as the app grows.