
Global color palettes
A first look at global color palette controls - now manage palettes for the Omni environment including diverging and gradient palettes with a full admin UI
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I can uh hop in with a demo here and I want to give Sarah a preemptive shout out for all of her incredible work on this um so let me share my browser window so I'm actually on demo right now and I the reason I'm doing that is I want to kind of go back in time before some of these changes were made so you can see how the app looked beforehand so I have a chart here which is just browser by event count very simple and um we have this color option here so in this case I have browser right um actually let's do events count event counts instead and I want to change the color palette here so I'm going to click this
and you'll see that I have all these built-in hardcoded palettes Blues greens whatever um they're all quite nice and then when I want to build a custom pallet I would come down here and click this custom which immediately is kind of weird that it's like swatches and not a gradient I click in I come along and when I want to edit this palette it again it's like it's functional but it like the design language is getting a little bit funky here this is squared off if I want to add colors I can only add them at the end if I want to delete I can only delete off the end so like if I wanted to change this yellow or remove this yellow I'd have
to delete all the way down to the yellow and then add back right so it's it's functional um and it it's also link to this specific chart right so if I were to make a new query here um that new query is not going to have that um it's not going to have that custom pallet um associated with it so I'll come along to my new query jop in events counts come down to custom and boom it's it's not saved there's no sort of concept of a global color palette here so that's what I'm demoing today is uh the first bit of code or functionality that's landed for Global color pallets so let's go to our settings page let's go to this new chart pallets
um and you can see this is showing all of the color pettes that are built into the instance right now so these are just hardcoded by default we have a bunch of discret color pallettes with swatches and we have this continuous these continuous pallets as well and I will start off by showing um creating new Global color palettes for the whole onni instance here so I'll keep it keep it simple to begin with and I'll just do a nice hot dog theme uh and you'll see that it shows up here as a a pallette that's saved to your instance if you want to edit this pallet um let's say we added some colors here you know let's make this a blue color at the end
and I want to come back here and I want to delete an earlier color you'll now see that there's this little selection uh piece that is is highlighting the colors so you can actually Target and delete uh individual colors in your pallette uh on top of that you can come into this nice hex editor so if you're designer and you have a bunch of colors that you've already predefined outside of the app um you can just come along you can drop those in to the app and this is responsive as well so I can come along and add new colors I could come over here delete a color and it's going to update in the hex editor so this is nice hopefully pretty convenient to
use um hex editor that's paired with this updated color pallette editor as well so we've made our hot dog editor or hot dog palette a little bit nicer um so let's name it hot dogy uh give it a new name save it and boom we've got our our new discret color p for instance we can also delete these pallets if we want to so say goodbye to the hot dog um and then we can also we built or Sarah mostly did some design work to make the continuous pallet editor distinct and hopefully better than the previous experience by adding this nice kind of gradient view as you're editing your continuous pallets cool yeah if you add new colors in you'll kind of see this this
gradient up update as you go right you can add new uh new colors and it's all going to you know hopefully be a pretty good experience looks like there's a little bug there where sometimes the Gustav remind me what happens if people are touching this when it's in use the behavior right now is like let's say this is your default pallet for your whole instance and you edit this it's not going to change on any charts it's currently applied to so it only gets updated for new charts that are built on the default pallet okay are we do we want to have a way to push the change through potentially or is that going to be possible I just I'm envisioning someone doing a Rebrand
and asking this we've um we've talked about basically uh adding these pallets into themes at some point and using themes as the mechanism for them like bulk updating content but we don't want this like there's also the case for embed customers that like they don't want to accidentally change all the saved content we need it to be could just see both literally be like I I think this is one where neither of them is going to be universally right but I think that people will ask for whichever one we don't do so I think we're going to need to have some answer like it could be the API even but I think we're going to need some way of figuring out how to push through
an update globally if we don't do that by default and if we do do it by default we're going to need not push it through so like I feel like we're on the right side actually because one is like action based but I still think people are going to want that we wanted to make that op in but yeah we've talked about it as something that we'll like need to figure out that's solv for of like the updating yeah wait did I understand that correctly like if I you know I have a pallet called accent and I use it in five charts and then I go change the definition here of accent those five charts are not going to change yes that is that would
be surprising Behavior to me as a user I think it's going to change I I I don't think you want it to Al like you're like mention you're going to want it both ways because I long but like if you have a chart saved with accent and then you change the definition of accent is it still does that chart then like move into a custom thing it's not like using the name it's like keeps its original definition like I don't think you want to accidentally go like people will customize their charts and stuff specific so the colors they trying to use and then if that just changes on them one day because some here yeah I I completely agree with the statement that we need
sort of both capabilities I'm just saying when you give something a name and then you edit it in This Global context you my expectation as a user would be that it would would update things yeah we had discussed maybe even doing like if you update an existing pallet that's here it updates everywhere but changing the default wouldn't change like if we switch say your default pallet is the Omni default and then you switched it to the category 10 we wouldn't switch the default pallet on any existing charts those charts would stay so like there's there's layers of options in here which we need to figure out exactly what we'll do once we get into changing existing pallets changing you know uh the default deleting the
default stuff like that we're not letting people touch our our base ones right no not now where think about eventually it'd be nice to be able to to duplicate them and like modify them right like something like duplicate one and rearrange the colors like drag and drop and rearrange and stuff like that um it would be nice to be a be able to hide some right like just reduce your options to just a few that you want people to have immediately available so there's lots of lots of opportunity here um but uh you know we're trying to focus hard on getting just your instance default to be set to something different just a lot of steps to get there um I also missed this what
is the timeline on this this is for upcoming customer deal so this all this functionality is in the product right now and then we're working on the um the other side of this which is having this in the basically flow through to the the workbook okay and show up as a default or show up as a a custom in here so yeah it's like you can build them but you can't use them in the app yet yeah so I would say like within weeks is probably a fair timeline thank you if people want to make pallets they can start making pallets uh we do have a flag for it so we'll have to turn it on um but yeah weeks cool thank you yeah and
then I kind of highlighted it a little bit here just now but you'll if you remember from the beginning of the demo in this kind of color options picker for the gradient uh it's no longer a bunch of swatches down here um and so we're starting to pick at the small pieces of the workbook editor and bring some of the nice new UI and so you can see it's not as harshly squared and rounded here we still need to bring the rest of the new editor into this UI as well um but all that's that's coming in soon so step by step