john_helt
john_helt
Mmarimo
Created by john_helt on 1/16/2025 in #help-support
getting the output object from a cell, in which we append the output
Actually, I think this is a bug. It doesn't matter if it's rendering in an accordion or not, so I opened a ticket on github: https://github.com/marimo-team/marimo/issues/3461
3 replies
Mmarimo
Created by john_helt on 1/6/2025 in #help-support
justify elements with vstack
You are right. It is working, when you split it into columns like that. While I was working into creating a better layout for my app, I came up with the idea to wrap my elements in html and use html templates to both position and style the elements. I feel it's a good hybrid and gives me a lot of flexibility.
9 replies
Mmarimo
Created by john_helt on 1/6/2025 in #help-support
justify elements with vstack
I feel like that doesn't really give the grid layout, because the text field is always the same width, but the labels may vary
9 replies
Mmarimo
Created by john_helt on 1/6/2025 in #help-support
justify elements with vstack
No description
9 replies
Mmarimo
Created by john_helt on 12/18/2024 in #help-support
controlling column width in tables
I hope not, but I will check out the great_tables library
9 replies
Mmarimo
Created by john_helt on 12/18/2024 in #help-support
controlling column width in tables
that's my mental cycle apparently
9 replies
Mmarimo
Created by john_helt on 12/18/2024 in #help-support
controlling column width in tables
sorry I found that this was a repeat of a question I had earlier 3 months ago 😄
9 replies
Mmarimo
Created by john_helt on 12/10/2024 in #help-support
Handling race conditions
not exactly, they may hold other marimo objects, yes, and I didn't know that so thanks for pointing that out 🙂 but metadata could include stuff like "id", "tooltip" strings etc, that may be passed to factory methods, i.e. things that aren't marimo objects
7 replies
Mmarimo
Created by john_helt on 12/10/2024 in #help-support
Handling race conditions
Thanks! That's what I thought as well. So I've refactored to work with mo.ui.dictionary, and I realized I would love to be able to use nested dictionaries for this though, because I want to pass some metadata about the components as well
7 replies
Mmarimo
Created by john_helt on 10/28/2024 in #help-support
pre-selecting a table row
3 replies
Mmarimo
Created by john_helt on 10/24/2024 in #help-support
differences between mo.ui.dictionary and python dict?
thanks for the very detailed explanation. It makes sense. I guess it would be great info to add on the docs as well?
7 replies
Mmarimo
Created by john_helt on 10/22/2024 in #help-support
running async inside sync cells
the function I need to call is inside a callback that is triggered when the user clicks a button. but I cant use async callbacks can I, so I have to make it sync ..
7 replies
Mmarimo
Created by john_helt on 10/22/2024 in #help-support
running async inside sync cells
Thanks, I did read about that, but it seems very hacky indeed 🙂
7 replies
Mmarimo
Created by john_helt on 10/1/2024 in #help-support
Accessing session cookies from marimo
thanks for the suggestion. I made this work, but then I realized that the cookies I was aiming for was not the ones set on the client, but rather the ones sent by on the instantiation request. This is because my marimo deployment is behind a proxy which appends a cookie to the request, which contains a username that I would like to fetch in marimo to build in some kind access control
4 replies
Mmarimo
Created by john_helt on 9/30/2024 in #help-support
Disabling UI at runtime
Unfortunately, I couldn't get that to work. Maybe it would be an idea to add "disabled" as a keyword to any type of HTML (or a callout style)?
8 replies
Mmarimo
Created by john_helt on 9/30/2024 in #help-support
Disabling UI at runtime
great! I'll try this out!
8 replies
Mmarimo
Created by john_helt on 9/30/2024 in #help-support
Disabling UI at runtime
I'm working alot with composite components stacked using vstack or batch
8 replies
Mmarimo
Created by john_helt on 9/30/2024 in #help-support
Disabling UI at runtime
It could be a stack of components assembled with vstack or hstack.
8 replies
Mmarimo
Created by john_helt on 9/17/2024 in #help-support
Controlling table column width
I worked around it using checkboxes and, vstack and hstack with "widths"
7 replies
Mmarimo
Created by john_helt on 9/17/2024 in #help-support
Controlling table column width
no worries, thanks for your quick reply
7 replies