jgraph / jgraph/drawio

Allow default colors palette definition.

Open
#5,686 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug enhancement needs-info
Dominant language
JavaScript
Stars
8.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

  • [ X] I agree to follow the Code of Conduct that this project adheres to.

  • [ X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

  • problem description
    definition of custom color palette (for group/team usage) is not working in desktop flavor of drawio: configuration details "customPresetColors"/"PresetColors" sections in Extra/Configuration are not taken into account.

  • proposed solution
    Extra/Configuration is at least functional for "recentColors", so extend fucntionnality to missing sections could be really interesting.

  • proposed alternatives
    store these data in a dedicatd configuration file (editable outside of drawio desktop) could also be a good solution for easy deployment. For now, I did not found such a file.

  • Environment
    Windows 11, drawio desktop V29.3.6 installed via cjhocolatey.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the desktop flavor reads Extra/Configuration, using the existing recentColors handling as the reference point. Investigate where customPresetColors and PresetColors are expected to be consumed, then verify that a configured default palette is applied in the Windows desktop app. Done means the documented palette settings affect available colors without requiring a separate manual setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.