-
Notifications
You must be signed in to change notification settings - Fork 29
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
Experiments table: improve styles #2070
Comments
Note: In a composition with these changes, we may want to rethink the sticky panel shadow and implement one from the design. I think the best if we could see both examples. Screen recording (video) probably will do the job. cc @julieg18 |
When you say "stick panel shadow", are you referring to the header shadow? Currently, the experiments column shadow should match the design on Figma while the header shadow is a little different from the Figma design :) |
Yes @julieg18 . Thanks
Cool. I just wanted to say that it's going to be easier to decide about the shadow after other changes are implemented. However, if you want, you can implement it right now like in Figma :) Q: How actually does the shadow change from theme to theme? Just for example: |
Just to make sure that we are on the same page - we should be using the same shadows as VS Code already has (e.g. command palette). |
@shcheklein there is a variety of options. Here are just a few examples used in VSCode (Visual Studio Code Toolkit): Also, I would not be so strict, as the rules change all the time. If we want to be a real conservative we will have to change the table, rows and other interactive elements. We do not follow this: Apropos rounded corners. I think we can come down a bit and try to be reasonable. I must to say my obsession with the straight corners for VSCode was just an obsession :) I am trying to fix this |
Bottom line I think we should use what exists as much as possible, but if we clearly have to use custom elements we should, for example, the errors, in this case, the usage of the X is wrong IMO. So this is a good example where we better use elements that are familiar to our users because we use them in other places (!). |
I don't think I have access to editing in Figma, but here is the box-shadow used for the header
Yes! The other values stay the same with the RGB value changing depending on the theme. |
The changes in this ticket will dictate what shadow is going to be used. Let's keep for now the shadows you already have and make sure to discuss them again when new styles are implemented. Thank you @julieg18 ! Can not wait to see the progress on this one :) |
@maxagin thanks, it has a lot of stuff that is not related (shadows, plots), but still doesn't answer basic questions - color schema (how do we pick color for borders?) Let's simplify, restructure and think through the implementation a bit. Things that come to my mind right away:
|
We have just figured out that the #000000 was deprecated, but it does not mean that the rest of the toolkit is outdated - this would be a small catastrophe :) The new spec in Figma answers all the questions about the colours (I hope).
Do we want to try my version, would you like to discuss other options, or should I remove this?
It is mentioned in the spec that there are styles for Checkbox and Star in the row hover state. |
What are those styles exactly? I don't see where it's specified
we can try it if you feel it's reasonable
I don't see the answers there tbh. Primarily about border colors for examples (that's where we were trying to apply #0000?) |
@julieg18 hi, I have updated the TODO list with the latest fixes in the ticket description. The Figma spec was redesigned. Let's meet today a bit later as we planned to go thru everything. |
Is it the same in the white theme? Green theme?
curious - What is Base 21? |
The
|
@maxagin where this variable is being used in the VS Code itself? (if it's used at all). Also, is there a way from Figma spec to understand that we should be taking |
Looks like |
so, |
Correct! Though I've started testing and I don't think we'll be able to use |
@julieg18 is this all we can use for the default dark theme or there are some more options? Thanks! |
Well, those are all the main variables that are commonly used for borders. While we could technically use a different variable and color (each theme has hundreds of variables), it's preferable that we use a border variable for the table borders since a border variable will most likely work best across all different kind of themes. |
@julieg18 is there more variables for borders that darker than |
I think that's the darkest border variable! |
I think we can always take a var value and also adjust it (e.g. make 10% darker). It can become too complicated with the different themes though, right? (e.g. on a light scheme we might want to make 10% lighter instead). We can try to come up with a formula that works though reasonably well ... |
Yes, but it is better to use existing variables. I will find the solution. Thanks |
Hey folks! I have updated the Figma, fixed styles and added some more related requirements. Please review and comment. Thanks! The updated TODO list: Rest state
Hover state
Resize columns
Select and star EXP/s
Star and checkbox behaviour
|
Didn't we decide to avoid adding column styles on hover due to it causing a lot of rerendering on the last demo meeting? |
@sroy3 didn't we planed to investigate this, before making any decisions? I am wondering how Weights & Biases managing this. |
We can maybe do something like this, but style would be very limited as we would just place a huge box over the selected column (no style breaks between cells). The second we start calculating or adding stuff into Redux, that would make it not worth it, unless we virtualize the table rows and columns. |
@sroy3 great! So we can give it a try 👍 Yes? |
Or something like this: Screen.Recording.2022-08-16.at.6.24.14.PM.movHere is the Figma example: |
@julieg18 if you want we can look at this during or next pairing session (we can move the meeting ahead also if you're not sure what else to do. |
EXPs table improvements. Original ticket https://github.com/iterative/design/issues/28
Figma
Rest state
Hover state
Resize columns
Select and star EXP/s
Star and checkbox behaviour
The text was updated successfully, but these errors were encountered: