-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Improve Layout Documentation, Add Screenshots #160
Comments
I expect that several people are going to be involved in this issue. Things I would love to see come out of this:
Anything else? |
To make this a bit easier, let's break this issue into several phases and we'll focus on phase one for now. Phase 1: Document all of the existing layouts. For each layout:
For now let's focus on concrete layouts. That is, skip layout combinators and layout modifiers. |
I went ahead and split up all the modules into two groups: Modifiers and Layouts. For the layouts I included a short description with a minimal setup to get a working About the screenshots: What's impressive looking? Should it be a light or dark theme? Should the layout be kept unmodified, ie. no Another suggestion would be to just generate/create a visual description like the image below (possibly add a red border around the master)? (Some of) these could also be transformed/converted to |
This is a great idea. I spent the last two days configuring XMonad and the docs can definitely be improved regarding the layouts. However, I think the approach suggested here is not the primary way to go. The approach sketched here, using phases, works if someone would systematically go through all the layouts and documents them. But seeing how little activity this issue has seen, I doubt that this is going to happen. Therefore I would suggest a more ad hoc way approach. 1) Create an issue to start a discussion about an aspect of the layouts. Be it overlapping functionality, suggestion to deprecate, etc. This way there won't be multiple discussion going on in the comments of this issue. 2) From the new issue link back to this issue. Now this issue can act as an overview and as a place more meta discussions; for example, the visual description suggestion of bforte. I am not familiar with the way GitHub handles and groups issues, but it seems rather simplistic. So this is what I came up with. |
I'm up for the task (the screenshot part). This weekend, I'll formulate a script to take these screenshots en massé. Then run it. Things to consider:
|
What do you mean by separate storage? That said, we really aren't using the github wiki yet. I've been trying to migrate us from the Haskell wiki, but it's been slow going because (for example) the FAQ page is positively primordial (doesn't even know about cabal much less stack, assumes you still run |
We've been using GitHub attachments (attach an image when writing a comment or editing a file through GitHub web interface, then copy the image URI and use it elsewhere) so far, but there's some risk these URIs will stop working in 5 or 10 years. If you want to mitigate that risk, it's probably okay to place the images on the xmonad.org website. |
Alright, xmonad.org it is. Any thoughts on the screenshot style? Or does my ricing-idea seem good? |
My own thought would be that we're focusing on the layouts, so ricing other things just draws attention away from the important part. |
Maybe you could post an example screenshot? But I also think that the focus should really be on the layout in question |
In these examples I rearranged the windows for their optimal use-case. I'll also plug I also plan on having 2+ screenshots for some layout modifiers, like |
That's actually a good idea, to show not only (say) before/after of Magnifier but also how it combines with various base layouts. |
I find these screenshots somewhat lacking in contrast due to the background color being very similar to the terminal background. Can you perhaps try using a background color that's distinctly not black/white, to make the layout itself stand out? Alternatively drop the white browser window and just use white background. Basically what I'd love to see is this level of clarity. It doesn't need to be perfectly clean, but the background color seems like an easy win. :-) |
Perhaps using thick borders instead of gaps could also increase the contrast |
And, to show how different stackset focal-points affect the behavior, like:
I'll tweak it for clarity. Either more gaps, &/or thicker borders. I'll fiddle with it.
Yes, I'll use something brighter. As a |
Progress update: spent a few hours making layouts. I'm almost ready to run the script. Just need to fix some ambiguous names... |
https://github.com/mikenrafter/xmonad-layout-screenshots |
@mikenrafter what's the status here? It would really be neat if we could include it in 0.17.1 (which may or may not be released soon-ish) |
As far as I'm concerned, it's all production-ready. |
Oh, I see; thanks! You said that some required manual intervention, so I figured you were still trying things out. Would you like to prepare a PR with these then? As a side-note, I'm not sure I get the joke
and perhaps these "official" pictures would do good without that :) |
"Eunuchs" |
I probably mentioned this in IRC, but to have it on record: cleaner images compress way better, whereas what we have here so far is on the order of dozens/hundreds of megabytes, which is just too much IMO. |
Problem Description
We need to audit all of the layout modules and improve their documentation. Many don't even say what they do or are very confusing. It would also be nice to take a screenshot of each layout and include it in the xmonad wiki with a link to the screenshot in the module documentation.
What to do?
Module Checklist
The text was updated successfully, but these errors were encountered: