Skip to content

Conversation

@bajrangCoder
Copy link
Collaborator

@bajrangCoder bajrangCoder commented Nov 12, 2024

Overview

This PR introduces a notification system similar to other editor

Features

  • Persistent Notifications: Notifications persist across sessions using localStorage
  • Customizable: Support for different notification types, icons, and actions
  • Resource Efficient: Optimized updates and memory management

Fixes

Usage Example for Plugins

acode.pushNotification({
  title: "File Saved",
  message: "Your changes have been saved successfully",
  {type: "success",
  icon: "save",
  autoClose: true}
});

Screenshots

Screenshot_20241112-185004~2

- Replace header icon indicator with notification-based alerts in case of plugin alerts
- Remove legacy plugin update icon from header UI
@bajrangCoder bajrangCoder merged commit 023a8fd into main Nov 12, 2024
4 checks passed
@bajrangCoder bajrangCoder deleted the notification branch November 12, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants