Jump to content

Recommended Posts

Posted

@adrian, yes, that's the code prefix I'm using.

In the checkIfUnsavedChanges() JS function I logged the two pieces of code that are compared to see if there are unsaved changes:

if(snippet && tab) {
	var snippet_code = snippet.code.replace(/\s+/g, ' ').trim();
	var tab_code = tab.code.replace(/\s+/g, ' ').trim();
	console.log("snippet_code: " + snippet_code);
	console.log("tab_code: " + tab_code);
}

image.png.6337d8311659a9cb923f59fc3ee25ce0.png

So the snippet code that's loaded from tracyConsoleSnippets in local storage seems to have the prefix included.

  • Like 1
Posted

Thanks @Robin S - when I was testing last night with adding a code prefix, I was forgetting to reload the page with the console panel open. I was just re-saving a snippet and checking that the prefix was added to the saved file, but until the page is reloaded, the loaded snippet code wasn't including the prefix.

Thanks for your help testing and fixing. It's now available in the latest version.

FYI - next step is to move all the cached stuff from localStorage to IndexedDB so there is the room (and performance) to store the results pane for each entry in the history stack.

  • Like 1
  • 3 months later...
Posted

Hi everyone,

Tracy is now using the brand new AdminNeo project. It's been quite a rollercoaster in the Adminer world with the apparent death of Adminer, to AdminerEvo, and then AdminerNeo, then the revival of Adminer, and now AdminNeo. I have been following both Adminer and AdminNeo and deciding which one to use and while I do worry that AdminNeo might not survive given the long history of the original Adminer (now it's alive again), the theme we were using was written by the AdminNeo developer and I just can't live with any of the Adminer themes by comparison. AdminNeo also introduces a robust external login system (instead of the hack needed by Adminer), so that's where we are now.

Along the way I also added styling to page IDs so you can now tell if a page is hidden, unpublished, both, or trashed:
image.png.f07c2ec3edd48bd56f789d965207ce0a.png

I have also added a modal viewer for images, audio, and video, along with download functionality, along with thumbnails for images.

image.thumb.png.e439654347a2d13824786cd9af8ff4d2.png

image.thumb.png.31470361a593905ebb1369477cc79b43.png

And we also finally have a nice interface for the full Adminer Process module (Setup > Adminer) when not in Standalone mode - @Robin S - I think you might actually want to use this now 😜

Please let me know if you notice any issues or have any suggestions.

  • Like 8
  • Thanks 4
  • 1 month later...
Posted

Maybe not useful for everyone, but I find I am often searching for content via Adminer and when the results are from a repeater item page, I need to figure out which is its "forPage". I have just added a new forPage row to the PageInfo section of the RequestInfo panel that lets you view or edit directly from here making things much easier.

image.png.ad9ad911261ad1ebd1b0b92a6a5c9f02.png

  • Like 6

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...