Skip to content
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

[Compendium Content] Folder Colors in Spells Compendium #3751

Open
Rabulias opened this issue Jun 21, 2024 · 0 comments · May be fixed by #5005
Open

[Compendium Content] Folder Colors in Spells Compendium #3751

Rabulias opened this issue Jun 21, 2024 · 0 comments · May be fixed by #5005
Assignees
Labels
bug Functionality which is not working as intended ui User interface related features or bugs
Milestone

Comments

@Rabulias
Copy link

FVTT 11.315 and DND5E 3.2.1
It looks like the folder colors in the Spells Compendium were made with Cantrips being the first folder in the list, but the out of the box default sorting sorts them alphabetically, putting Cantrips at the end.

Spell Compendium Folders
In the screenshots above, on the left is the default. On the right is what I think it should be.

I would suggest changing the folder name (as I did above), but changing the folder colors also works for me. Just a minor nitpick, but someone went to the trouble to set the colors on the folders. The default looks jarring to me.

@Fyorl Fyorl added bug Functionality which is not working as intended ui User interface related features or bugs labels Jul 19, 2024
@arbron arbron added this to the D&D5E 4.2.0 milestone Jan 15, 2025
@arbron arbron self-assigned this Jan 15, 2025
arbron added a commit that referenced this issue Jan 15, 2025
Adds a new compendium flag `dnd5e.sorting` that sets the default
sorting for a compendium if the user hasn't already adjusted the
sorting. This allows for setting a compendium to be manually
sorted.

To implement this a new `setupModulePacks` method has been added
to the module registration system that is called during setup and
sets compendium applications and the sorting mode.

Also adds a new `log` utility method that adds the "D&D 5e | "
prefix automatically with a nice red color to make system-specific
logs distinct from Foundry core logs.

Closes #3751
arbron added a commit that referenced this issue Jan 15, 2025
Adds a new compendium flag `dnd5e.sorting` that sets the default
sorting for a compendium if the user hasn't already adjusted the
sorting. This allows for setting a compendium to be manually
sorted.

To implement this a new `setupModulePacks` method has been added
to the module registration system that is called during setup and
sets compendium applications and the sorting mode.

Also adds a new `log` utility method that adds the "D&D 5e | "
prefix automatically with a nice red color to make system-specific
logs distinct from Foundry core logs.

Closes #3751
@arbron arbron modified the milestones: D&D5E 4.2.0, D&D5E 4.3.0 Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality which is not working as intended ui User interface related features or bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants