-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Muting, hiding, or adjusting lane colors is a nice focus-feature #139
Comments
Related to #135, but I think might be a more robust feature. |
Started looking into this. The main issue I see is that a // config/sort/lanes.json
{
name: "something"
metadata: {
mute: true||false // to track a CSS class that can do a simple opacity: 0.4-ish
}
} Seemed simple enough, but there are quite a few things that depend on |
@BaldissaraMatheus prob would be good to get your input here, before just hacking something. I'd rather hack on it further with your vision of what an object like In theory, something standardized would be ideal, not just for // Ideally a standard object that all objects can follow, if they need.
// most probably won't
// if it emulates a Mardown file structure (such as mentioned in issues #144 and #145)
// then it avoids UI inconsistencies, backend inconsistencies, etc.
// could easily translate a Task to JSON, Markdown, YAML, or whatever in the future, if desired.
{
frontMatter: {
uid: 12345,
title: "my lane",
description: "",
dueDate: "",
createdAt: ""
}
content: {
body: ""
}
footer: {
metadata: {
// a string or enum is better for future flexibility.
// "0.4" is effectively "true" for now, but one day could support
// several choices (if ever desired). If not, "0.4" just remains the "truthy" forever
mute: "0.4"
},
updateLogs: [],
comments: []
}
} Ideally a relationship between this ---
# front matter style block for important metadata
created: 8 Jan, 2025
title: Projects We Care About Session x
id: 12346
---
# My Markdown File for Stuff
- foo
- bar
- baz
<!--
# html style block for "noisy" metadata
metadata:
task.md:
log:
- updated:
- date: 2025, Jan 8
- column: backlog
- updated:
- date: 2025, Jan 7
- column: doing
- updated:
- date: 2025, Jan 3
- column: done
--> then a similar JSON could look like: // most of this may not be needed, but
// nice ot know up front that both JSON and Markdown
// can have symmetry if desired
{
frontMatter: {
uid: 12345,
title: "",
description: "",
dueDate: "",
createdAt: ""
}
content: {
body: ""
}
footer: {
updateLogs: [],
comments: []
}
} |
The JSON representation looks fine (maybe a too much info for this use case), but the I though about creating Maybe we could add a flag within the lane directory name, more or less like described in #152. By not having database we have to be a little creative |
Yeah definitely no need to overdo it, keeping it simple makes sense. There is a sweet spot of simplicity/consistency somewhere. I'm a bit inclined to think an |
I recall doing this in Trello years ago via some user-defined CSS, but for use cases like
Done
lane orRejected
orIce Box
, being able to Mute (70% opacity) or hide a lane is nice for reducing the UI clutter.I haven't thought about a UX for a lane with tons of cards (ie,
Done
lane with many items that are no longer necessary to see). I imagine aEmpty lane
button that moves them to a hiddenArchive
lane could be a handy maintenance feature.The text was updated successfully, but these errors were encountered: