Skip to content

✨ Hide Interface #1632

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

Open
austincondiff opened this issue Mar 18, 2024 · 13 comments
Open

✨ Hide Interface #1632

austincondiff opened this issue Mar 18, 2024 · 13 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@austincondiff
Copy link
Collaborator

austincondiff commented Mar 18, 2024

Description

Provide an option to hide the interface, similar to how Sketch and Xcode handle UI minimization.

This would live under View → Hide Interface (or Show Interface if currently hidden), with a suggested keyboard shortcut of ..

When Hide Interface is enabled:

  • The toolbar shrinks (removing all toolbar items; the title displays the current active file).
  • The navigator area, inspector area, utility area drawer, and status bar all hide.
  • A floating line/character position indicator appears at the bottom right of the window.
  • In the View menu:
    • "Hide Interface" becomes "Show Interface"
    • "Hide Navigator Area" becomes "Show Navigator Area"
    • "Hide Inspector Area" becomes "Show Inspector Area"
    • "Hide Utility Area" becomes "Show Utility Area"

Behavior Notes

  • Toggling Show/Hide Interface and Show/Hide Navigator/Inspector/Utility Areas should be handled separately:

    • If the user hides the navigator area, hides the interface, then shows the interface, the navigator area remains hidden.
    • If the user hides the navigator area, hides the interface, then manually shows the navigator area, only the navigator becomes visible.
      • When the user shows the interface again, all other interface elements will return along with the navigator, which remains visible.
  • If any UI element is shown manually while "Hide Interface" is active, the hidden state persists for all other interface components. Re-toggling "Show Interface" restores the remaining hidden interface components.

  • We should disable animations specifically when toggling Hide Interface, so the change happens instantly.

  • Toggling Show/Hide Interface will only apply to the currently focused workspace

Alternatives Considered

This approach may later serve as the default behavior for single file mode, where "Hide Interface" is enabled by default and a workspace can be opened from that simplified window.

Additional Context

Xcode behaves similarly when opening a single file:

Screen.Recording.2024-03-18.at.8.53.20.AM.mov

Sketch example:

Screen.Recording.2024-03-18.at.8.48.10.AM.mov

Related issues

@austincondiff austincondiff added the enhancement New feature or request label Mar 18, 2024
@austincondiff austincondiff added good first issue Good for newcomers and removed triage needed labels Mar 24, 2024
@austincondiff austincondiff moved this from 🆕 New to 📋 Todo in CodeEdit Project Mar 24, 2024
@austincondiff austincondiff added this to the v0.2.0 milestone Mar 31, 2024
@siemvanoers
Copy link

Hello,

I am a 22-year-old student interested in contributing to your project. Recently, I have been reviewing the issues labeled as 'good first issue,' and I came across one that I feel confident I can tackle. I am enthusiastic about resolving this particular issue and confident in my abilities to do so.

Before diving in, I wanted to seek your approval to make sure that you're okay with me resolving this issue. If so, please let me know if you have any additional requirements that aren't listed above. I would love to hear them!

I look forward to hearing from you!

Kind regards,
Siem

@matthijseikelenboom
Copy link
Contributor

Hi,

Sure I can assign it to you. Although this is market "Good first issue", I personally think it does require quite some know how about Swift and macOS API's. But you're always free to try it.

But I recommend joining our Discord and join our weekly meetings so you can share your progress

@matthijseikelenboom matthijseikelenboom moved this from 📋 Todo to 🏃‍♂️ In Progress in CodeEdit Project May 8, 2024
@austincondiff
Copy link
Collaborator Author

Please note, I've added a "Blocked By" section to the issue description. We may want to look at those so we can hide/show everything mentioned above.

@FastestMolasses
Copy link
Member

@siemvanoers Are you still working on this?

@Devdre1909
Copy link

Hi @FastestMolasses

Can I be assigned to this?
I'm new to Swift but I enjoy hands on experince, and a community building somthing important.

@FastestMolasses
Copy link
Member

Sure!

@Devdre1909
Copy link

Thanks!
Joining Discord now.

@austincondiff
Copy link
Collaborator Author

@Devdre1909 Is this being worked on?

@ghost
Copy link

ghost commented Oct 18, 2024

Can i work on it?

@austincondiff austincondiff assigned ghost and unassigned Devdre1909 Oct 19, 2024
@austincondiff
Copy link
Collaborator Author

@nis-ship-it sure! I just assigned this to you.

@ghost ghost mentioned this issue Oct 20, 2024
5 tasks
@austincondiff austincondiff moved this from 🏃‍♂️ In Progress to 📋 Todo in CodeEdit Project Apr 17, 2025
@austincondiff
Copy link
Collaborator Author

Because #1916 was closed, moving it back to todo status. If anyone wants to work one it, it's fair game!

@SimonKudsk
Copy link
Contributor

Hi there. I'd love to take a look at this issue, if it's not taken.

@austincondiff
Copy link
Collaborator Author

Go for it!

Note: I've updated the issue description for clarity.

@SimonKudsk SimonKudsk mentioned this issue May 13, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: 📋 Todo
Development

No branches or pull requests

6 participants