League-of-Foundry-Developers / foundryvtt-devMode

A module with some tools to help enable Foundry VTT package developers.
MIT License
12 stars 15 forks source link

Option to not show IDs, but just the buttons #23

Closed arcanistzed closed 2 years ago

arcanistzed commented 3 years ago

Is your feature request related to a problem? Please describe. Displaying the IDs can have a performance hit if you have many Documents in your sidebar.

Describe the solution you'd like There would be an option which would prevent all of the IDs from being looked up and only give you the buttons for copying and printing.

akrigline commented 3 years ago

Is the display of the IDs really what's causing the performance hit? I would expect it to be more because of the Hook that runs so often, haven't looked too closely though.

akrigline commented 2 years ago

Took a look, this id doesn't actually come from anywhere but the existing DOM so I don't think it would affect performance in any significant way. Would rather not overload this with such an option.