=== Basis Tables ===
Contributors: roehler
Tags: table, data, editor, csv, ajax
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Modern, performant tables for WordPress with responsive, accessible features. TablePress-like editor with inline editing and AJAX saving.

== Description ==

Basis Tables provides a modern table editor inspired by TablePress, with a focus on speed and admin UX:

- Inline editing: click any cell, type, and it saves automatically via AJAX without page reload
- Context menu on right-click: copy/paste, add/delete rows/columns, duplicate, set column values
- Column visibility, header sorting, per-column filter icon in header
- Modules system to toggle optional features
- Accessibility: ARIA live region, keyboard shortcuts (Enter to save cell; Ctrl/Cmd+S for row), compact view

Developer-friendly:
- Nonce-protected AJAX endpoints
- Migrations ensure DB schema integrity automatically
- Debug logging built-in (toggleable): see AJAX requests and errors in the console

Project site: https://basistables.com
Author: https://roehler.nrw

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin through the Plugins screen in WordPress
3. Create a table via the Basis Tables menu and start editing

== Frequently Asked Questions ==

= Why don’t values save? =
- Ensure JavaScript loads in the admin (no console errors). Built-in logging prints `[BasisTables]` lines.
- Nonces must be valid; reloading the page regenerates them. If you use persistent admin tabs, try a refresh.
- The plugin self-heals DB schema on admin requests; if tables came from an older version, the schema will be upgraded.

= Does it work like TablePress? =
We aim for a familiar UI. Some features are still in progress. Feedback welcome.

== Changelog ==

= 0.1.0 =
- Initial public version with inline editing, context menu, autosave, and modules page.

== Upgrade Notice ==

= 0.1.0 =
- Database schema will be verified and upgraded automatically on first admin load.



== Source Code and Build ==

All JavaScript and CSS in this plugin are human-readable and not minified.
There is currently no build step. The distributed files under assets/js and assets/css are the original source.

For reviewers:
- assets/js/admin.js – original source (no minification)
- assets/js/block.js – original source (no minification)
- assets/js/frontend.js – original source (no minification)
- assets/css/admin.css – original source (no minification)
- assets/css/frontend.css – original source (no minification)

If a build pipeline (e.g., npm/webpack) is introduced in the future, this readme will document the repository URL and build instructions.
