PankuConsole icon indicating copy to clipboard operation
PankuConsole copied to clipboard

Remove multi-windows, use one main window instead

Open Ark2000 opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.

The current multi-window feature in Panku Console, while flexible, may lead to a cluttered user interface and potentially confusing user experience. Many modern development tools have moved towards a single-window interface with tabbed content areas, which provides a cleaner and more manageable workspace.

image

This is the current main console window, everytime you click the tab will create a new popup window which is unnecessary.

image A mess.

Describe the solution you'd like

  1. Introduce a "Single Window Mode" option in Panku Console settings.
  2. When enabled, this mode would consolidate all functionality into one main window with a tabbed interface.
  3. Add an option to disable new popup windows, defaulting to true in Single Window Mode.
  4. Gradually phase out the multi-window feature in future updates, making Single Window Mode the default.

Describe alternatives you've considered

  • Keeping the multi-window feature but improving window management
  • Implementing a hybrid approach where some functionalities remain in separate windows while others are consolidated

Additional context

  • This change aligns with issue #192, which aims to improve usability on mobile devices.
  • Single Window Mode would enhance the user experience across various platforms, especially on devices with limited screen real estate.
  • It would simplify the codebase and potentially make it easier to maintain and extend the console's functionality in the future.

Proposed Implementation Steps

  • Create a new configuration option for Single Window Mode
  • Develop a configurable tabbed interface for the main window
  • Implement logic to route all functionalities to the appropriate tabs instead of new windows
  • Update documentation to reflect the new mode and its benefits
  • Gradually deprecate the multi-window feature in future releases

Potential Impact

  • User Experience: Cleaner, more intuitive interface
  • Cross-platform Compatibility: Better support for mobile and smaller screens
  • Maintenance: Potentially simpler codebase to maintain
  • Performance: Possible improvements due to reduced overhead of managing multiple windows

Ark2000 avatar Sep 12 '24 03:09 Ark2000

@worron , what's your opinion? Also, I'm wondering how to collect more user feedback.

Ark2000 avatar Sep 12 '24 03:09 Ark2000

II don't have a strong opinion on this option. A single window mode is kinda cool and all, I just can't 100% confirm it worth the effort. Both approaches have advantages and downsides. Also, I heavily use tiling windows manager on my PC for a long time, so my view may be a bit screwed in favor of multi windows interface. Anyway, it's definitely worth try to collect some user opinions (reddit post maybe?) before launching such deep refactoring.

On the other side I totally agree about current multi window management doesn't feel so smooth. Mentioned alternative

Keeping the multi-window feature but improving window management

seems like very perspective direction. I was thinking about window placement tool, similar to what godot Control nodes have. Probably I can try to implement something similar for panku windows, if it looks like a good idea.

placement_tool

worron avatar Sep 12 '24 14:09 worron