Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selected timesheet add button not appearing #1

Open
olivercrask opened this issue Jan 27, 2021 · 4 comments
Open

Selected timesheet add button not appearing #1

olivercrask opened this issue Jan 27, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@olivercrask
Copy link

Thanks for developing this, looks like a very useful tampermonkey script!

I've added the script to tampermonkey in FireFox and the starred projects feature seems to work well, but I cannot find a way to copy a selected timesheet onto another day.

I would expect "When I hover mouse over any date which is not in a past month
Then an "Add" button appears next to every day" but this is not visible in my timesheets view once a timesheet is selected.

Cheers,

@olivercrask olivercrask changed the title Add selected timesheet to another day not working Selected timesheet add button not appearing Jan 27, 2021
@mirogta mirogta added the bug Something isn't working label Jan 28, 2021
@mirogta
Copy link
Owner

mirogta commented Jan 28, 2021

@olivercrask Thank you for your kind feedback and raising a first issue in this project!

I've published a new version which should fix the reported issue.

You can either manually update to the latest version on the Tampermonkey Dashboard, or you can simply wait (for a day) and the new version should be auto-updated for you.

After you update to the version 0.0.20 of this script, please reload Xero Projects page using "Hold down the Shift key and left-click the Reload button" (see advice here). A new menu option called "My Time" should appear on top of the Xero menu.

image

Why did it stop working?
(technical details, if someone's interested)

Xero made quite a few changes in go.xero.com which unfortunately made my Tampermonkey script incompatible. Some parts of my script are a bit brittle and depend on exact elements on the page which unfortunately Xero keeps changing. I haven't decided yet if it's worth the effort to make my script less brittle and not depend on exact elements in Xero, or if it's actually less effort to keep up with their changes and keep changes in sync after they introduce a new "breaking" version, which means that this script would stop working until I fix it. In the past 12 months, they have introduced breaking changes only twice. I'm open to feedback.

Unfortunately, this means Help and Intro capabilities of this Tampermonkey script are currently also broken (raised as #3) and the main Xero menu navigation is also a bit broken (once you get to the My Page, it seems you can't switch back to e.g. Projects anymore). But the main functionality should however work.

@mirogta
Copy link
Owner

mirogta commented Jan 29, 2021

@olivercrask please let me know if the "My Time" works in your Xero instance now.

@olivercrask
Copy link
Author

Hi Miro,
My Time is appearing for me now and I can open it up, but its not showing any time entries

image

Cheers

@mirogta
Copy link
Owner

mirogta commented Jan 29, 2021

@olivercrask thanks for the screenshot - sorry to hear it still doesn't work for you.

Are you familiar with FireFox Developer Tools? If yes, I'd much appreciate if you could help me troubleshoot this problem - it will only take a minute or two:

  • While on the "My Time" page...
  • Press Ctrl+Shift+I and a Developer Tools panel should appear in Firefox
  • Switch to the Console tab, there should be some errors visible already.
  • Please ensure that all the Errors, Warnings, Logs, Info, Debug and XHR toggles are enabled.
  • "Clear the Web Console output" using a Bin button on the left hand side of the Console
  • Reload the "My Time" page... new logs should appear in the Console
  • Right click on any of the messages in the Console tab and select "Export Visible Messages to > File". The console log will be saved to a file on your computer.
  • Please view the file - there shouldn't be any personally identifiable attributes, but best to check (like a name or a company or a password).
  • If you're happy with sharing the content of the file, please post it here. Or if you prefer, you can send it directly to miroslav.sommer@gmail.com and I'll find at which point it breaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants