Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Indicate progress of the new remote sketch creation #1668

Closed
Assignees
Labels
priority: highResolution is a high priority topic: cloudRelated to Arduino Cloud and cloud sketches topic: codeRelated to content of the project itself type: enhancementProposed improvement
@kittaakos

Description

Describe the request

Follow-up of #1581. Show progress of new remote sketch creation.

Originally from #1581 (comment).


Testing it in production, the only issue I see is the missing user feedback after inserting the cloud sketch name and before the sketch is open. After naming, takes around 14 secs for the sketch to get pulled, and ~20s to open the workspace (video); a solution could be an extra step in the dialog after inserting the name, showing a spinner while the sketch get created and pulled, similarly to what we do in the firmware updater (screenshot)

Registrazione.schermo.2022年11月09日.alle.16.24.34.mov
Schermata 2022年11月09日 alle 16 00 50

see is the missing user feedback

It exists. The UX is precisely the same as when users manually sync the sketch. It's in the Remote Sketchbook, showing as Pulling.... But I agree it's not always clear when the tree node of the new sketch is not visible. Your screencast reveals the problem. Let's improve this.

Screen Shot 2022年11月09日 at 17 16 09

create_sync.mp4

Do you agree on that?
showing a spinner while the sketch get created and pulled, similarly to what we do in the firmware updater (screenshot)

Why block the UI? Why does IDE2 not show a progress notification in the right corner? Showing definite or indefinite progress this way is known by the users: it works for lib and platform installation/uninstallation and verify/upload. Can we stick to that?

Why block the UI? Why does IDE2 not show a progress notification in the right corner? Showing definite or indefinite progress this way is known by the users: it works for lib and platform installation/uninstallation and verify/upload. Can we stick to that?

Because the user is going to be dragged out of focus as soon as the new workspace appears, and it takes about 20s: is a bit annoying if we consider that, the user start writing a line of code, and as soon the sketch get pulled is dragged out of focus. In any case your proposal is a viable solution and we can discuss it with @ubidefeo, but as I said before:

could we address this with another issue and consider this PR approved for its fundamental scope?

Describe the current behavior

See the description.

Arduino IDE version

d24a391

Operating system

macOS

Operating system version

12.5.1

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details

Metadata

Metadata

Labels

priority: highResolution is a high priority topic: cloudRelated to Arduino Cloud and cloud sketches topic: codeRelated to content of the project itself type: enhancementProposed improvement

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /