vitiral / artifact

The open source design documentation tool for everybody
http://vitiral.github.io/artifact/docs/index.html
Other
559 stars 38 forks source link

web-ui: think about increasing size of empty select field #199

Closed vitiral closed 5 years ago

vitiral commented 6 years ago

this would make it easier to... erm... select.

vitiral commented 6 years ago

Moved from @crackcomm

It's shrunk for

Otherwise:

vitiral commented 6 years ago

So I remember a little bit... I didn't want it to display fully when the user wasn't trying to select anything since it was displaying the same information twice. Reducing the size was basically a hack to clean up the UI.

I'm sure there is a better solution but my CSS Wizard skills are not great enough.

crackcomm commented 6 years ago

I don't think you need too much wizardry, just make it a separate class 😜

EDIT oh, it won't solve the problem 👍

vitiral commented 6 years ago

basically I wanted to make it smaller and invisible when the user wasn't selecting it but larger and visible when the user was. For some reason I had trouble (can't remember why...). I ended up just srinking the box so you couldn't even SEE the artifact when it wasn't selected and that worked.

crackcomm commented 6 years ago

What do you think about using a default Defined at: - first from the list?

crackcomm commented 6 years ago

Maybe only when there is a single file, but I'd appreciate that.

vitiral commented 6 years ago

I'm confused, where do I put Defined at?

crackcomm commented 6 years ago

I made a screenshot yesterday for reply but I must have forgotten, sorry.

I was talking about Create New form and default Defined at input value.

vitiral commented 6 years ago

oh, I see. Or maybe start empty but cache the last-used one and use that if the user selected one previously?

crackcomm commented 6 years ago

Last used one is even better.

vitiral commented 5 years ago

Done, I removed the select UI because it didn't work in elm and I kind of like it this way. Users should be allowed to put whatever they want.

vitiral commented 5 years ago

It would be good to have auto-complete in the future when the rust web-dev ecosystem is more mature.

crackcomm commented 5 years ago

@vitiral I haven't used artifact in quite a while and I'm astounded by the progress you made, especially the graphs are infinitely useful. It could use even more graphs! 😂

crackcomm commented 5 years ago

Maybe in form of embedding graphs.

I must admit that this tool really speeds up implementation of systems ^^

vitiral commented 5 years ago

Graphs Within Graphs

vitiral commented 5 years ago

You can put graphs in your design doc

https://vitiral.github.io/artifact/#spc-read

crackcomm commented 5 years ago

Yeah, I've noticed that later, awesome 👍