Skip to content
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

Put CardBoard on sidebar with custom icon #30

Closed
darthmachina opened this issue Nov 3, 2021 · 6 comments
Closed

Put CardBoard on sidebar with custom icon #30

darthmachina opened this issue Nov 3, 2021 · 6 comments
Labels
epic/mobile kind/feature New feature or request

Comments

@darthmachina
Copy link
Contributor

This is one I'm not sure about but wanted to at least submit for discussion.

I'm wondering if it would be a good idea to have CardBoard be added to the sidebar on load instead of being one of the icons in the ribbon? Similar to how the Calendar plugin works when enabled. For me, I've dragged the page that's loaded onto the right sideboard and it seems to work really well. But it does just get the normal page icon instead of a dedicated one.

Huh, I thought it would limit you to just having it in a sidebar but I can drag the Calendar view onto the main board just fine. So, this would just be the default spot for it. And it would have a custom icon then as well which I think would be really nice.

@roovo
Copy link
Owner

roovo commented Nov 3, 2021

Don't you find that the side-bar is a bit narrow? The view is kinda built with a landscape rather than portrait feel to it, which is why I went straight for the main content windows. For it to work in the side bar, it would probably need to have keyboard navigation to save scrolling and perhaps better/custom styling for such narrow windows.

So I'm not sure on the merits of this, but happy to see how it gets used in the wild and work from there.

On the Icon: I presume there must be a way to attach an icon to the view so that when it is dragged into the sidebar it shows up. Just had a quick look and I see that there is an icon property in the View class in obsidian API so that might do it. I'll add a note onto the 'Happenings' project for adding the icon as that is a no-brainer!

@roovo roovo added the kind/feature New feature or request label Nov 3, 2021
@darthmachina
Copy link
Contributor Author

TBH, the icon thing would probably work just as well, as pages can be dragged into the sidebar as-is.

And the sidebar can be adjusted to be any width, just like pages. Right now I have about a 50-50 split between the notes area and the sidebar. The nice thing about having it in the sidebar for me is that when I click to edit a task CardBoard stays the same width as the note is opened in the note area and divides the space between notes, leaving the sidebar the same width. But, like I said, having it as a regular page it can still be dragged to the sidebar.

I'd be good with just setting the icon so it stands out a little more as not being a regular note, and it makes it more visible in the sidebar when it's tabbed with other items that exist there.

@roovo
Copy link
Owner

roovo commented Nov 3, 2021

Interesting, I've only ever left the sidebar as a narrow thing that I quite often hide! Just had a little play and it is kinda nice that you can show and hide the kanban easily, and it stays as it is without being impacted by any notes you have open. Will have to experiment more with how I'm using obsidian!

@roovo roovo mentioned this issue Nov 7, 2021
@roovo roovo added the wontfix This will not be worked on label Nov 10, 2021
@roovo
Copy link
Owner

roovo commented Nov 10, 2021

Am going to park this one in #42 and close it as it will not be on the radar for a while, but I don't want to loose track of it. Depending how things go direction-wise it could be re-opened sooner or later!

@roovo
Copy link
Owner

roovo commented Nov 30, 2022

not suing the parked list any more, so re-opening.

@roovo roovo reopened this Nov 30, 2022
@roovo roovo added needs-triage and removed wontfix This will not be worked on labels Nov 30, 2022
@roovo roovo changed the title [Feature Request] Put CardBoard on sidebar with custom icon Put CardBoard on sidebar with custom icon Nov 30, 2022
@roovo
Copy link
Owner

roovo commented Dec 28, 2022

Closing this one as the icon is in place and there is a more specific issue about supporting a single column view (#116) which I think is integral to better sidebar use/support. I don't plan on changing things so that CardBoard opens in the sidebar by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic/mobile kind/feature New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants