primocms / primo

Primo is a visual CMS with a built-in code editor, Svelte blocks, and static site generator.
https://primocms.org
MIT License
1.92k stars 474 forks source link

Debug mode #344

Closed rallisf1 closed 10 months ago

rallisf1 commented 10 months ago

Is your feature request related to a problem? Please describe. Primo is still under heavy development and it's only natural for bugs to occur but it is very difficult to troubleshoot as is.

Describe the solution you'd like A setting or even query parameter ?debug=true that would expose the page and section ids.

Describe alternatives you've considered You currently have to scour through the ajax requests in the network tab.

mateomorris commented 10 months ago

Good idea! Added in latest version.

image
rallisf1 commented 10 months ago

You're fast!

It would be great if you could add a couple more features

  1. In the dashboard page (website listing), add the website uuid under the site url
  2. Display the used symbol uuid next to the section uuid
  3. Display the symbol uuid inside the 3-dot dropdown menu in the sidebar
  4. Copy any id on click
mateomorris commented 10 months ago

Easy change 😄 Okay will add those when I get a chance

mateomorris commented 10 months ago

Okay now you it's showing IDs for the sites, active page, sections, and symbols. And you can copy any of them by clicking on them.

image