Skip to content
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

Clear compilation/upload success notifications on subsequent actions #1464

Open
3 tasks done
per1234 opened this issue Sep 19, 2022 · 0 comments
Open
3 tasks done

Clear compilation/upload success notifications on subsequent actions #1464

per1234 opened this issue Sep 19, 2022 · 0 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@per1234
Copy link
Contributor

per1234 commented Sep 19, 2022

Describe the request

Automatically clear compilation and upload success notifications when a subsequent compilation or upload fails.

🙂 The "Notification Center" will only contain relevant notifications.

Describe the current behavior

The Arduino IDE opens a notification when compilation or upload of a sketch is completed.

This is a valuable feedback mechanism at the completion of the process. However, once a new compilation or upload has been initiated, the notification is no longer relevant.

Currently, the notification of completed compilations or uploads remain in the notification center even after a subsequent operation has failed until the user manually clears them.

  1. Create a sketch that will compile successfully:

    void setup() {}
    void loop() {}
  2. Select Sketch > Verify/Compile from the Arduino IDE menus.

  3. Wait for compilation to finish.
    🙂 A notification clearly communicates that the compilation finished:

    ⓘ Done Compiling

  4. Change the sketch so that it will fail to compile:

    #error
    void setup() {}
    void loop() {}
  5. Select Sketch > Verify/Compile from the Arduino IDE menus.

  6. Wait for compilation to finish.
    🙂 A notification clearly communicates that there was a compilation error:

    ❌ Compilation error: #error

    😕 The counter on the bell icon at the right side of the status bar shows there is an additional notification.

  7. Open the "Notification Center" by clicking the bell icon.

There are two somewhat contradictory compilation-related notifications in the "Notification Center":

❌ Compilation error: #error

ⓘ Done Compiling

🙁 The leftover notification, which is an indicator of success, might be confusing to the user
🙁 Users who like to keep a clean "Notification Center" will be annoyed by the need to manually clear the obsolete notification.

Arduino IDE version

2.0.0-snapshot-4e590ab

Operating system

Windows

Operating system version

10

Additional context

A previous request #1154 and PR #1275 provided clearance of the outdated notification when the sequence is as follows:

  1. Failed compilation or upload
  2. Successful compilation or upload

Originally reported at https://forum.arduino.cc/t/done-compiling-is-this-notification-needed/1030399/9

Related

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
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

1 participant