techservicesillinois / ticket-assister

Ticket Assister: Helping you work TeamDynamix tickets more efficiently
Other
0 stars 0 forks source link

Desktop rules: quick new ticket and search #36

Open ekcom opened 10 months ago

ekcom commented 10 months ago

Rules to run on the desktop page:

  1. Press n to open a new ticket

    • Opens in a new window
    • Similar to how the "+ Incident Form" works
    • A helper method to open ticket has already been implemented (somewhere in the codebase)
  2. Press / to search

    • Jump to "Search or Enter ID" box

For these rules, will need to set up a key event listener in the inner iframe as well as the TDX desktop /Default.aspx is really a wrapper of an iframe.

One possible route is to have the content script injected directly into the iframe. The desktop page must modify the content on its iframes so that it maintains the overall state. Note that the underlying iframes like to change in TDX, so this may not be very straightforward.