Skip to content

Instantly share code, notes, and snippets.

@austinginder
Last active April 10, 2023 01:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save austinginder/2d07176beabddb8fbac1f54c60f313d6 to your computer and use it in GitHub Desktop.
Save austinginder/2d07176beabddb8fbac1f54c60f313d6 to your computer and use it in GitHub Desktop.
On Xero reconcile page, expand shortened descriptions back to full descriptions. Copy and paste into Chrome's DevTools. Solves https://productideas.xero.com/forums/939198-for-small-businesses/suggestions/45691177-reconciliation-include-more-reference-details-in
items = document.querySelectorAll('span[data-testid="notes"]')
items.forEach((item) => {
item.innerHTML = item.title
})
document.querySelector("body").addEventListener("click", evt => {
if ( event.target.classList.contains("okayButton") ) {
items = document.querySelectorAll('span[data-testid="notes"]')
items.forEach((item) => {
item.innerHTML = item.title
})
}
});
@jggretton
Copy link

Noticed you posted this on a Xero ticket - very useful! Thanks
PS. let me know if you ever stick it in a Chrome extension :)

@austinginder
Copy link
Author

I accidentally double posted to Xero's forums so I deleted one of my comments in case you were wondering. Glad this is helpful :). I'm not going to put this into an extension however maybe someone else could. Whenever Xero changes their reconcile page this will most likely break.

@shaire422
Copy link

Hi Austin, you recently pasted this link in xero, which I assume has been removed, is there any way of sending me a new link?

Idea: Bank Reconciliation - Show more statement lines per page

This is just a UI issue that needs fixed. All of the information is already there. Here is my workaround fix: https://gist.github.com/austinginder/dcde9a68f137fa60f1353736124da21f. Copy and paste the javascript in your browser developer console and it will reveal the full details. I use this every time I reconcile :)

@austinginder
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment