Comments (11)
Long-term we probably want to use a split view with ToolbarView here (similar to e.g. Sysprof and Builder). I'm not sure what exactly that would entail, but I'd start by moving the primary menu to the left and the plus button to the center pane and making the window three vertically separate panels.
It could also be a nice opportunity to merge some of the sub-toolbar buttons on the right side into the headerbar itself, so maybe it could have some other structural advantages as well 🤔
from gaphor.
I guess this works as a next step, except for the headerbar/tab bar background mismatch in the center pane.
As for the sidebar colors, yes, they should both use the default sidebar colors, but not sure what the standard way to achieve that is. Might be good to ask in #libadwaita :)
from gaphor.
I looked into the toolbar view, but haven't got around porting to it. Due to the internal structure of Gaphor it's a bit more difficult than just changing the .ui
files unfortunately. (something that should be addressed too)
@bertob Do you have an opinion on the header bar style?
from gaphor.
The right side should be relatively easy to convert to a SplitView. The left side is now made with GtkPaned, which allows the user to resize. This is (currently) not possible with split views AFAIK.
I added a border above the "Open a Diagram" status page. I like to stick to the flat layout, since it looks more integrated with other OS'es (in particular macOS, which I use a lot).
from gaphor.
Is this what you had in mind?
The right sidebar looks nice. If I remove the minimize/maximize buttons, the toolbar can move to the header bar.
The left side looks a bit weird to me. The top-left header bit looks a bit out pf place. Also, it seems a tad darker than the right sidebar. Not sure why.
from gaphor.
More or less, yeah. Where exactly to move the undo/redo/zoom buttons is a bit tricky maybe, since these are probably useful when the sidebar is hidden. Maybe undo/redo and preferences could be in the middle sidebar, and the zoom buttons could be overlaid OSD buttons in the bottom right of the canvas, like in e.g. Maps?
As for the left side, I think it'd be ok as a next step if it used the same color for the entire panel rather than the object tree background being white. Longer-term it might be good to find a better spot for the UML/SysML/etc switcher, but I don't know the use cases for it well enough. Is this something people change often? If not, could it be a submenu in the primary menu?
from gaphor.
More or less, yeah. Where exactly to move the undo/redo/zoom buttons is a bit tricky maybe, since these are probably useful when the sidebar is hidden.
We can also leave them out, since there's keyboard shortcuts for them as well.
Maybe undo/redo and preferences could be in the middle sidebar, and the zoom buttons could be overlaid OSD buttons in the bottom right of the canvas, like in e.g. Maps?
Undo/redo in the middle header bar I suppose? I have to catch up on what's new for GNOME 46.
As for the left side, I think it'd be ok as a next step if it used the same color for the entire panel rather than the object tree background being white.
Longer-term it might be good to find a better spot for the UML/SysML/etc switcher, but I don't know the use cases for it well enough. Is this something people change often? If not, could it be a submenu in the primary menu?
The switcher is (probably) not changed that often, but it changes the proposed diagram types in the tree view context menu and changes the bottom-left toolbar. It may be good to know which profile is active.
And what about the colors? The left and right sidebar should have the same color, right?
from gaphor.
How 'bout this?
The left pane is still based on GtkPaned, so it can be resized, but with the same style as the (right side) property editor.
from gaphor.
Looks good to me 👍
from gaphor.
@all-contributors please add @bragefuglseth for design
from gaphor.
I've put up a pull request to add @bragefuglseth! 🎉
from gaphor.
Related Issues (20)
- Please add a toolbar in the Gaphor software interface HOT 1
- Add Mermaid Diagram Syntax Support and Markdown Export Capability HOT 2
- Windows: cairo freetype error on load HOT 2
- Elements do not show content until clicked on HOT 1
- Support multiple item flows on a connector in the UI and on diagrams
- Native ARM build for macOS HOT 4
- adding sequence diagram failed HOT 1
- Minor import issues in spripting.md HOT 4
- Stereotypes on diagrams
- shift-Z shortcut on Mac OS can rename diagram HOT 5
- Not able to add {readOnly} to property HOT 1
- Auto layout throws error HOT 6
- "Diagram has changed on disk" when saving a file to OneDrive on Windows HOT 4
- Error: "Handle is not an end handle" HOT 3
- [State Machines]: Resize / Rotate for fork / join pseudostates
- undo manager AssertionError HOT 5
- Element libraries HOT 1
- Dependency injection for property pages
- Windows: Corrupted Icons
- Developer installation crashes deep inside poetry -> meson with pygobject HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gaphor.