-
-
Notifications
You must be signed in to change notification settings - Fork 435
Enable rename and delete options for Cloud Sketch and/or any of its files #1825
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
Comments
|
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
We should trigger the API call when the user delete the sketch folder. This is because if we delete the local version only, the user wouldn't have any entry point to trigger the "push" of this deletion to Arduino servers.
I don't see any issue with this behavior, is the same logic we have applied when a user create a new Cloud Sketch from the IDE 2: the API are called directly after the user create the Cloud sketch from IDE 2, he doesn't have to manually push it after creation. @kittaakos Do you agree? P.s. I didn't have any chance to discuss it with @ubidefeo yet. |
Ref: #1825 Signed-off-by: Akos Kitta <[email protected]> fix: local deletion Signed-off-by: Akos Kitta <[email protected]> s Signed-off-by: Akos Kitta <[email protected]>
Ref: #1825 Signed-off-by: Akos Kitta <[email protected]>
Since the possibility of Renaming/Deleting sketches from IDE 2 Sketchbook poses some issues and cases that needs time to be addressed and implemented (e.g. the user rename or delete a sketch that is currently opened from another IDE 2 workspace instance), as initial phase we are going to implement the rename/delete actions only within the opened sketch, in tabs contextual menu (with main .ino tab selected). |
The Create API should error 404 when deleting a non-existing folder (or sketch). Unfortunately, it fails with 500. Hence, IDE2 cannot use the |
Depends on #649 |
Getting the sketches is not reliable. I use the [
{
"board_fqbn": "",
"board_name": "",
"board_type": "",
"created_at": "2023-01-30T14:32:25.218987Z",
"href": "/create/v2/files/d/8a694e4b83878cc53472bd75ee928053:kittaakos/sketches_v2/rrrr2",
"id": "aa6e1ab0-46d1-44ed-86f1-1e2407edb1ad",
"is_public": false,
"libraries": [],
"modified_at": "2023-01-30T14:46:32.634Z",
"name": "rrrr2",
"path": "8a694e4b83878cc53472bd75ee928053:kittaakos/sketches_v2/rrrr2",
"tutorials": null,
"types": null,
"user_id": "b036b0a3-ef0e-44b1-af37-3c756f20fdf0"
},
{
"board_fqbn": "",
"board_name": "",
"board_type": "",
"created_at": "2023-01-23T16:08:38.100336Z",
"href": "/create/v2/files/d/8a694e4b83878cc53472bd75ee928053:kittaakos/sketches_v2/xxx/sketch_jan23bl",
"id": "8946cc38-e832-4be6-a510-81351cf24506",
"is_public": false,
"libraries": [],
"modified_at": "2023-01-23T16:08:40.547Z",
"name": "sketch_jan23bl",
"path": "8a694e4b83878cc53472bd75ee928053:kittaakos/sketches_v2/xxx/sketch_jan23bl",
"tutorials": null,
"types": null,
"user_id": "b036b0a3-ef0e-44b1-af37-3c756f20fdf0"
},
{
"board_fqbn": "arduino:avr:ethernet",
"board_name": "Arduino Ethernet",
"board_type": "serial",
"created_at": "2022-10-25T14:02:12.360033Z",
"href": "/create/v2/files/d/8a694e4b83878cc53472bd75ee928053:kittaakos/sketches_v2/alma",
"id": "7258bf5a-e1ad-45ae-82bc-bfde42071cb7",
"is_public": false,
"libraries": [],
"modified_at": "2023-01-16T14:51:12.480999Z",
"name": "alma",
"path": "8a694e4b83878cc53472bd75ee928053:kittaakos/sketches_v2/alma",
"secrets": [
{
"name": "SECRET_PASSWORD",
"value": "xxxx"
}
],
"tutorials": null,
"types": null,
"user_id": "b036b0a3-ef0e-44b1-af37-3c756f20fdf0"
},
{
"board_fqbn": "",
"board_name": "",
"board_type": "",
"created_at": "2023-01-16T10:57:24.474541Z",
"href": "/create/v2/files/d/8a694e4b83878cc53472bd75ee928053:kittaakos/sketches_v2/korte",
"id": "8d1c721b-dd40-4ad6-8a95-a725032905f9",
"is_public": false,
"libraries": [],
"modified_at": "2023-01-16T13:46:54.140329Z",
"name": "korte",
"path": "8a694e4b83878cc53472bd75ee928053:kittaakos/sketches_v2/korte",
"secrets": [
{
"name": "SECRET_PASSWORD",
"value": "xxx"
}
],
"tutorials": null,
"types": null,
"user_id": "b036b0a3-ef0e-44b1-af37-3c756f20fdf0"
}
] But I have only three sketches online. Which is the truth; the server response or the online editor? |
Closes #1599 Closes #1825 Closes #1826 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Here is another server bug |
Closes #1599 Closes #1825 Closes #1826 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Closes #1599 Closes #1825 Closes #1826 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Closes #1599 Closes #1825 Closes #1826 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Closes #1599 Closes #1825 Closes #1826 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Closes #1599 Closes #1825 Closes #1826 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Closes #1599 Closes #1825 Closes #1826 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Closes #1599 Closes #1825 Closes #1826 Closes #1847 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Closes #1599 Closes #1825 Closes #1826 Closes #1847 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Closes #1599 Closes #1825 Closes #1826 Closes #1847 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Closes #1599 Closes #1825 Closes #1826 Closes #1847 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Closes #1599 Closes #1825 Closes #1826 Closes #1847 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Closes #1599 Closes #1825 Closes #649 Closes #1847 Closes #1882 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Closes #1599 Closes #1825 Closes #649 Closes #1847 Closes #1882 Co-authored-by: Akos Kitta <[email protected]> Co-authored-by: per1234 <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
Describe the request
Allow the renaming and deletion of cloud sketches and individual additional files in cloud sketches via the Arduino IDE UI.
Describe the current behavior
It is not possible to rename or delete cloud (AKA "remote") sketches using Arduino IDE.
It is not possible to rename or delete individual additional files of cloud sketches using Arduino IDE:
Arduino IDE version
afb02da
Operating system
All
Operating system version
Any
Additional context
This will require investigation on allowed API calls and their repercussions
Issue checklist
The text was updated successfully, but these errors were encountered: