Skip to content

Client-side editing: if code changed whilst offline, upload and compile once connection to server returns #1597

@zdateh

Description

@zdateh

Current Client-Side behaviour when "online" (connected to IRIS server):

  1. Edit routine/class
  2. Save
  3. Change is uploaded to server and compiled

Current Client-Side behaviour when "offline" (not connected to IRIS server):

  1. Edit routine/class
  2. Save
  3. Error message during upload as no connection to server

Makes sense, but once connection to the server is reestablished, your options to re-trigger the failed upload-to-server-and-compile seem to be:

  1. Save any previously changed routines/classes again (have to remember what you've changed offline - prone to failure)
  2. Do an 'Import and Compile' of your entire workspace (takes ages as it's uploading and recompiling EVERYTHING, when you only want to upload the changes)
  3. Switch branches away, and then back to your working branch - this seems to trigger an upload and compile of everything unique to the branch (works if using Git, but a bit of a hack)

Unless I've missed a better solution, I would like to suggest that once the connection to the sever is re-established, any changes saved offline are uploaded and compiled. Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions