Global color palettes launch

Gustav Staprans · Friday Demos · September 27, 2024 · 9:58

The open launch of our global color palette controls, along with some more elegant change management for folks tuning global palettes over time.

Try it yourselfThe full week on docsadministrationvisualization

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. I can uh demo now um okay great so I should be showing off an omni dashboard uh demo dashboard this dashboard is on playground uh and all the changes you're going to see today are live in the app so any customers who have the the new color set things uh or color schemes feature flag we'll be able to access all these features so this is a dashboard where I've created a bunch of visualizations using the default color schemes and then show off some of the different functionalities so this um this here is just a basic chart I created a chart I didn't apply any colors of any kind in that case it takes uh just a blue as its default in this case I've said

  2. uh you know I want to apply the default colors for discret data in this case I have a chart that is using the default colors for continuous data and so continuous data it'll use a color palette that looks like this like it's a nice gradient for discrete its individual colors for each data point uh here I just have a whatever a map with showing off the continuous data again and then a heat map as well I've added these different chart types just to show that um all the new color scheming work works should ideally work on every single chart type that we have and so yeah these are all defaults so let's go into our color pallet settings here where we have our different uh

  3. pallets we have our discret pallets and our continuous let's change our pallet uh our discrete pallet to dog and let's change our continuous pallet to free so I've now updated my defaults from the Omni which is the built-in default and blues which is the buil-in default these new ones I'm going to come back I'm going to reload my dashboard and just like that we now have our our new custom color palletes applying to our dashboard if we come in here and if we go back to the color settings and we decide that we want to edit one of these pallets so let's edit dog let's make it a little bit nicer um it got bumped down but you can see there's some new colors in

  4. here let's reload this dashboard again and we should see that um now we got those new colors in our our visualizations in addition to you know setting a c setting the default pallet as a custom one like all these ones up here or this one we can also set our defaults as built-in pallets as well so something that we provide out of the box so in this case pastel one is now going to be our discrete default you can reload you'll see your charts using that color palette but let's set it back to dog really quick and then I want to show off that we can download and schedule uh with all these custom uh color pets applied to our visualizations so I'm give it

  5. a second it has to do a bunch of different charts it's going to work there we go okay so we got our new dashboard you can see great we downloaded we got all of our custom color schemes and our download our continuous uh schemes and our discret schemes and the last thing I want to show off here is what the experience is like when you're making new charts and visualizations once you have these default pallets set so let's make a new visualization um let's do products we'll do Brand Products count by brand pretty simple data let's open up a chart here let's change the limit so you can actually see what's going on um so you can see that it uh picks a new default

  6. color originally that was that blue but now the first color the default color it picks is the very first color of your default palette so in this case that's dog so it's going to pick this color here if we want to get a better look at that we can open up the options and see that the left axis is colored with that that first color of your default palette once we start to apply colors to the Chart so let's say we want to explicitly apply colors to Brand now it's going to pull in the rest of your pallet and this will apply as you switch to different chart types um which maybe this data is not not suitable for um different chart types uh um

  7. I was thinking yeah so anyways we have some other chart types that it can apply to but uh yeah I'll look into some of this stuff if maybe there's a bug here um and then same thing for if we switch to the other uh we switch the measure it's going to apply the continuous pallet we come in here um you'll see that this is currently the default pallet um but it's um it's not explicitly applied so let's say I want to set my pallet explicitly as the freedom pallet so I'll click free now this viz is locked to to this pallet so if I come and I change to something else like greens and then I reload this uh this viz it's no longer going

  8. to change which is slightly different than the original the behavior I showed off before where it'll always update to the default but if you explicitly apply it it'll stick to that pallette um yeah so what happens for existing visualizations do they have existing pallets applied or are they all kind of floating right now yeah unless someone explicitly applied a um a color palette to to it all existing viz will update to the new I don't think there's anything wrong with that that's just yeah yeah so like uh you know if you're making changes on like omn app or whatever with this just be wary there's probably a lot of vizes that are going to suddenly change their colors um but you do have this escape

  9. hatch of being able to come in and and select it and it be sticky from that point on um to through default changes and I think that wait one more pedantic question uh is it is it stuck to the name or is it stuck to the pallet it's stuck to the pallet so like if I actually I have let's go back to the dashboard really quick um oh jeez my documents demo Dash I think it's stuck to the N like the named yeah so but I can change whatever dog B yeah it's yeah I don't really mean the name I mean the object I guess yeah yeah yeah so if you change the colors in that named palette it will those will change on the

  10. biz because attached to the back yeah so like lock to free we change it from blue to green it will move if we move the default it would still stay with free blue to green yeah so now if we reload this like like oh I didn't let's set this as the default um yeah now all these charts are going to have those new colors as well okay yeah and you cannot delete a pallet that is a default um it's not going to appear in the UI and it also is blocked by the back end so yeah you shouldn't be able to uh what happens if you delete a pallet that's not the default and things are set to it um that's a good question I

  11. think they take the default they like um yeah I'll need to double check and confirm that um but that's the expective behavior sorry I'm just beating up ridiculous questions here if uh if someone wanted to set a different pallet on a per customer basis do we have do we feel like we have a good route for people that want to do stuff like that I would say the way that we the way I would think about that is uh in integrating pallets into themes like the do like the themes that we have and then the theme is dynamic and can be dynamically applied for customer or would be able to in yeah it just it uh it seems like the next request that is coming

  12. is exactly that like I am putting out thing for my universities and like I want Duke to have blue and white and I want UVA to have like black and orange or whatever yeah so we'd probably do that somewhere in here default pallet within a theme but if you've overr if you've like moved away from the default on anything it's going to be sticky but if it's default it's Dynamic and yeah yeah so there's a few wrinkles here um we're also going to add some warnings so like you know if you edit a pette we want to maybe show a warning like editing this will update viz deleting this will update viz like things like that so like this is really easy to do right

  13. now we'll just make it like provide some additional warnings around how this can impact your instance yeah that's that's about it I think that kind of covers you know the kind of original scope of this project for flyer there's going to be follow on like what we just talked about with you know per customer color pets um but as far as what we want to deliver for them by October 7th this this should cover that