VBAndCs / sVB-Small-Visual-Basic

Small Visual Basic (sVB) is an educational programming language, created by Eng. Mohammad Hamdy as an evolved version of Microsoft Small Basic (SB). It is meant to be easier and more powerful at the same time, to introduce programming basics to kids and beginners of any age, provided that they can use the English keyboard on the Windows OS.
Other
233 stars 16 forks source link

Accidentally published private or unfinished project to web due to lack of confirmation step #84

Closed dynamicboy closed 2 months ago

dynamicboy commented 2 months ago

I've accidentally hit 'Ctrl + Shift + S' or the 'Publish' button on the toolbar multiple times, resulting in my unfinished or private projects being published to the web.

It's really frustrating! There's no confirmation step in the publishing process.

So, I hope the next version of sVB will cancel the keyboard shortcut for publishing and intercept the publishing process with a confirmation dialog.

Additionally, I suggest moving the publish button to the end of the toolbar.

2024-09-18_203044

dynamicboy commented 2 months ago

I may temporarily disconnect from the internet while coding with sVB to avoid accidentally publishing the project online.

VBAndCs commented 2 months ago

This can be easily done (except for changing the buttons location) I had added some restrictions before, like preventing publishing too small source codes, and checking the source for compiler errors before publishing it. I will also add a confirmation message before publishing. Thanks.


From: dynamicboy @.> Sent: Thursday, September 19, 2024 3:35 AM To: VBAndCs/sVB-Small-Visual-Basic @.> Cc: Subscribed @.***> Subject: Re: [VBAndCs/sVB-Small-Visual-Basic] Accidentally published private or unfinished project to web due to lack of confirmation step (Issue #84)

I may temporarily disconnect from the internet while coding with sVB to avoid accidentally publishing the project online.

— Reply to this email directly, view it on GitHubhttps://github.com/VBAndCs/sVB-Small-Visual-Basic/issues/84#issuecomment-2359908034, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQ5MVQVH7LYKRRHGZ72VCLZXJA7RAVCNFSM6AAAAABONT4S4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZHEYDQMBTGQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

VBAndCs commented 1 month ago

Fixed in sVB 3.0.9.6 https://marketplace.visualstudio.com/items?itemName=ModernVBNET.sVBInstaller


From: dynamicboy @.> Sent: Wednesday, September 18, 2024 12:50 PM To: VBAndCs/sVB-Small-Visual-Basic @.> Cc: Subscribed @.***> Subject: [VBAndCs/sVB-Small-Visual-Basic] Accidentally published private or unfinished project to web due to lack of confirmation step (Issue #84)

I've accidentally hit 'Ctrl + Shift + S' or the 'Publish' button on the toolbar multiple times, resulting in my unfinished or private projects being published to the web.

It's really frustrating! There's no confirmation step in the publishing process.

So, I hope the next version of sVB will cancel the keyboard shortcut for publishing and intercept the publishing process with a confirmation dialog.

Additionally, I suggest moving the publish button to the end of the toolbar.

2024-09-18_203044.png (view on web)https://github.com/user-attachments/assets/cf441190-4532-4be8-ab31-c42a3ec8b063

— Reply to this email directly, view it on GitHubhttps://github.com/VBAndCs/sVB-Small-Visual-Basic/issues/84, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQ5MVUQDHSIANCUWGUXTNDZXFZKDAVCNFSM6AAAAABONT4S4SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZTGNRVHA2DIOA. You are receiving this because you are subscribed to this thread.Message ID: @.***>