Skip to content

Conversation

@calumbell
Copy link
Contributor

Description

This PR fixes an issue on the front-end where creature actions were displayed alphabetically instead of by their order they appear in their original source statblocks. This fixes numerous issues on the /monsters/[id] page where the order of the action lists really didn't make any sense and made finding them more difficult to parse (ie. multiattack infromation appearing after the attacks it references.

This change was made possible open5e/open5e-api#668 on the API.

Related Issue

Closes #683

How was this tested

First, the code was visually AB tested against the staging branch to make sure the creature items were being ordered in the first place. Then several monsters in the WOTC and A5E SRDs were compared to their source blocks to make sure that the order of the actions was correct.

Finally, tests and build processes were run to make sure there were no unintentially app-breaking side-effects

@calumbell calumbell merged commit ba7ab6c into open5e:staging Apr 19, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sort Creature actions by their "order" property

2 participants