Skip to content

General flat bank viewer tags - #891

Closed
jokasimr wants to merge 4 commits into
mainfrom
general-flat-bank-viewer-tags
Closed

jokasimr wants to merge 4 commits into
mainfrom
general-flat-bank-viewer-tags

Conversation

@jokasimr

Copy link
Copy Markdown
Contributor

Alternative to #871

@jl-wynen

Copy link
Copy Markdown
Member

I messed around with this a bit and it seems to work ok. Drag and drop is a bit janky. It doesn't always show you where you are dropping a tag and it sometimes leaves extra space behind:
drag-jank
The input also changes size when you type. (I think they never fixed that because it is normally invisible) I decided against relying on it initially because of that.

How about adding a button to remove a row from the sliders and add it to one of the axes? That way, you don't have to type dim names and we could disable the text input.

@jokasimr

Copy link
Copy Markdown
Contributor Author

How about adding a button to remove a row from the sliders and add it to one of the axes? That way, you don't have to type dim names and we could disable the text input.

I considered that but I preferred the cleaner version with fewer buttons. It also seemed more idiomatic to rely on the built-in mechanism for adding tags.

I agree the drag and drop seems a bit janky, but it didn't seem like a significant issue. I didn't notice the extra space, that is strange.

@jl-wynen

Copy link
Copy Markdown
Member

I didn't notice the extra space, that is strange.

This happens when you drag a box to the other row and then back. It leaves a space where you hovered the box.

It also seemed more idiomatic to rely on the built-in mechanism for adding tags.

I wouldn't call this idiomatic because it is meant for adding things, not moving them around. As it stands, there is no clear explanation what you can and cannot enter.

@jokasimr

Copy link
Copy Markdown
Contributor Author

I wouldn't call this idiomatic because it is meant for adding things, not moving them around. As it stands, there is no clear explanation what you can and cannot enter.

It says "Add dimension", which is pretty clear in my opinion. It also gives a dropdown of suggestions when you start typing.

@jl-wynen

Copy link
Copy Markdown
Member

It says "Add dimension", which is pretty clear in my opinion.

Because you know how this works. This could also be interpreted as adding a completely new dimension, e.g,. by binning in that dim.

It also gives a dropdown of suggestions when you start typing.

Only when you type characters that match an existing dim.

@jl-wynen

Copy link
Copy Markdown
Member

In any case, if you want this solution, please review the code yourself first.

@jokasimr

jokasimr commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor Author

I think it would be better if we decided what type of user interface is most appropriate before I spend time cleaning this up. 🤔

You seem skeptical of this approach. Are there any concrete modifications that would make you prefer this approach to the one you already implemented? If not I don't see why we should continue on this track.

@jl-wynen

Copy link
Copy Markdown
Member

I like this approach. Like I said, I rejected the idea earlier because I thought that it wouldn't work well enough. But it seems to be fine. My only annoyance is having to type dimension labels. (And a minor change: I would hide the text explaining the slicers when there are none.)

@jokasimr

Copy link
Copy Markdown
Contributor Author

I'll clean this up and address those issues.

@jokasimr
jokasimr marked this pull request as ready for review November 20, 2026 08:42
@jokasimr
jokasimr requested a review from jl-wynen November 20, 2026 08:43
@jl-wynen
jl-wynen force-pushed the general-flat-bank-viewer-tags branch from 379352f to 6b2f26e Compare November 20, 2026 13:35
@jl-wynen

Copy link
Copy Markdown
Member

Closing in favour of #871

@jl-wynen jl-wynen closed this Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants