=== Little Notes ===
Contributors: jrmora
Tags: feedback, notes, revision, lightweight
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://jrmora.com/

Lightweight frontend sticky notes for website revision, alerts, design feedback and notices.

== Description ==

A lightweight, high-performance sticky notes system that allows administrators to leave pixel-perfect revision notes directly on the frontend using a simple shortcut.

**Little Notes** is designed for developers, designers, and site owners who need a clean, lightweight way to leave visual feedback, reminders, or informative alerts directly on the frontend of a website—without the bloat of heavy third-party platforms.

Unlike other feedback plugins that load massive scripts or alter your site's layout, Little Notes focuses strictly on performance. If no notes are present and the user is not an administrator, **zero frontend code is loaded**.

**Key Features:**

* **Performance First:** Zero performance impact for regular visitors when no notes are active.
* **Elastic Positioning:** Notes dynamically recalculate their positions during window resizing or scrolling, staying pinned exactly where you placed them.
* **Admin Dashboard:** Review all active notes across your pages and posts in a centralized table within your WordPress admin.
* **Quick Actions:** Delete notes for specific pages directly from the admin dashboard without visiting the frontend.
* **Clean Uninstall:** Deleting the plugin completely wipes all data from the `wp_options` table, leaving absolutely no database bloat behind.
* **Link Conversion:** Automatically detects URLs starting with `https://` or `http://` inside notes and turns them into clickable hyperlinks.

== Installation ==

1. Upload the `little-notes` folder to the `/wp-content/plugins/` directory, or upload the `.zip` file directly through the WordPress admin dashboard via **Plugins > Add New > Upload**.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Navigate to **Settings > Little Notes** to view your active notes dashboard.

**How to Use:**

1. Log in to your WordPress site as an administrator.
2. Visit any page or post on the frontend.
3. Hold the **ALT key** and **Left-Click** anywhere on the page to pin a new sticky note.
4. Type your message and click OK.
5. To permanently delete a note, click the **×** icon on the note and confirm. Regular visitors can close notes temporarily during their session.

== Frequently Asked Questions ==

= Does this plugin create custom database tables? =
No. Little Notes saves all data natively inside the default `wp_options` table using serialized arrays mapped to post IDs, ensuring maximum compatibility and lightweight operations.

= Can regular visitors see the notes? =
Yes, any visitor can see active notes. This makes it useful not only for internal design revision but also for public notices, quick updates, or contextual call-to-actions. However, only logged-in administrators can create or permanently delete notes.

= Will it break my theme layout? =
No. The plugin renders notes inside an absolute pointer-events canvas overlay, meaning it hovers on top of your content without shifting margins, padding, or breaking your CSS structure.

== Screenshots ==

1. The centralized Admin Dashboard displaying all pages with active revision notes.
2. A frontend preview of a sticky note pinned seamlessly over the content.

== Changelog ==

= 1.0.0 =
* Initial official release.
* Added Frontend ALT + Left-Click note placement.
* Added dynamic elastic positioning for window resizing and scrolling.
* Added Admin Dashboard with active notes overview and quick deletion.
* Added secure `uninstall.php` routine for complete database cleanup.

== Upgrade Notice ==

= 1.0.0 =
* Initial release of Little Notes. Ready for staging and production environments.

== Copyright ==

Little Notes is distributed under the terms of the GNU GPL v2 or later.