tomatoers / tomato

A simple, usable, and efficient pomodoro app designed for elementary OS
GNU General Public License v2.0
67 stars 15 forks source link

Change the Main Window into a transient dialog #23

Closed sgpthomas closed 7 years ago

sgpthomas commented 7 years ago

tomato-as-dialog This is just a very crude picture of what I am thinking of. Some gui code would need to change a bit to work better with the dialog. It would be cool to have the whole dialog colored.

Argument for this: By the nature of this app, the Tomato window is not really meant to keep open and interact with. Instead you interact with it in short bursts. I think transient dialogs fit this purpose well, and look pretty good doing it.

Agenda is an app that does something similar. If you're interested in this idea, I can fill out my code a bit more and submit a pull request.

sgpthomas commented 7 years ago

mostly works now :) Let me know what you think. I'll propose a branch if I can figure out how.

tomato-dialog-1

tomato-dialog-2

luizaugustomm commented 7 years ago

@sgpthomas I don't know. I think it might break a "rule" of elementaryOS HIG:

Your application will appear native to the desktop and share the same elegant look as default applications.

What do you think @danrabbit and @cassidyjames?

danirabbit commented 7 years ago

I've actually been playing with an app that does this. Check out the css

Then with that stylesheet you just override colorPrimary when you want to change colors

sgpthomas commented 7 years ago

@luizaugustomm if you like the idea, I will keep working on it and refine what I've done so far. i personally think it looks pretty good