Hey everyone,
I’m in the middle of creating a new Editor for Foreman. I thought about opening a thread because I want to open a debate about changing the current UX. This new editor will also help us get rid of a big Technical Debt(Lots of jquery code ) . I’ll jump right into showing the progress:
The button of the current view should be shown as active ( blue )
Tabs that change the view should be on the left
Functionality and Dropdowns should be on the right
I Know this should be a practical and easy to use application but I wanted to try using icons instead of text, every icon shows a tooltip on hover after a 500ms delay
This Diff view is being reviewed in another PR and being used in the Audits page aswell. It shares the Github theme and can be switched from Unified to Split. I’m not sure about the position of the Unified and Split button in this case, any feedback is appreciated.
Fullscreen
The previous fullscreen method would change CSS classes to display the editor inside the layout borders. Now clicking on fullscreen opens a modal that covers ~90% of the screen estate. The modal content is based on the current view as shown below:
Each of the dropdowns has a header when you open them to describe their purpose
So from left to right → Syntax, Keybinding, Theme
I thought about giving an option for a light theme as addition to Monokai, so i added a theme dropdown aswell.
The hide content icon masks the content ( like a password )
I put all the icons in the screenshot for demonstration, they are never all together in our Editor views:
Wow…impressive work so far. Correct me if I’m wrong…the “Default” dropdown changes the keybinding to for example Emacs ?
Imho the theme option (and a little bit the keybindings also) goes a bit too far for the usage of an editor within Foreman. But as I said, that is only my personal flavour.