Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a8e0df99d1 | |||
| 70d588808e |
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.11.3] - 2026-02-03
|
||||
|
||||
### Changed
|
||||
|
||||
- Calendar filters now display side by side instead of stacked rows
|
||||
|
||||
## [0.11.2] - 2026-02-03
|
||||
|
||||
### Changed
|
||||
|
||||
34
CLAUDE.md
34
CLAUDE.md
@@ -1234,3 +1234,37 @@ Admin features always work; frontend requires valid license.
|
||||
- Merged to main (fast-forward)
|
||||
- Tagged: `v0.11.0`
|
||||
- Pushed to origin: dev, main, v0.11.0
|
||||
|
||||
|
||||
### 2026-02-03 - Version 0.11.2/0.11.3 (Calendar UI Improvements)
|
||||
|
||||
**Completed:**
|
||||
|
||||
- Improved Calendar admin page room column
|
||||
- Increased room column width from narrow to 200px minimum
|
||||
- Changed `table-layout` from `fixed` to `auto` for flexible column sizing
|
||||
- Added building name as second row under room name
|
||||
- Left-aligned room column content for better readability
|
||||
- Improved Calendar filter layout
|
||||
- Changed filter form to flexbox layout (side by side instead of stacked)
|
||||
- Added gap between filter dropdowns
|
||||
- Updated responsive styles for smaller screens
|
||||
|
||||
**Files Changed:**
|
||||
|
||||
- `src/Admin/Calendar.php` - Added building name display in room cell
|
||||
- `assets/css/admin.css` - Calendar table and filter layout improvements
|
||||
- `wp-bnb.php` - Version bumps to 0.11.2 and 0.11.3
|
||||
- `CHANGELOG.md` - Added v0.11.2 and v0.11.3 release notes
|
||||
|
||||
**Learnings:**
|
||||
|
||||
- CSS `table-layout: fixed` forces equal column widths; use `auto` for content-based sizing
|
||||
- When a parent container has flexbox but content is in a child element, the flex must be applied to the correct container (form element in this case)
|
||||
- Higher CSS specificity (`.bnb-calendar-table .bnb-calendar-room`) needed to override inherited styles
|
||||
|
||||
**Released:**
|
||||
|
||||
- v0.11.2: Calendar room column width and building name display
|
||||
- v0.11.3: Calendar filters side-by-side layout
|
||||
- Both versions tagged and pushed to origin
|
||||
|
||||
@@ -950,13 +950,17 @@
|
||||
|
||||
/* Calendar Filters */
|
||||
.bnb-calendar-filters {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
padding: 15px 20px;
|
||||
border-bottom: 1px solid #c3c4c7;
|
||||
background: #f9f9f9;
|
||||
}
|
||||
|
||||
.bnb-calendar-filters form {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.bnb-calendar-filters label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -1173,8 +1177,9 @@
|
||||
|
||||
/* Responsive */
|
||||
@media screen and (max-width: 782px) {
|
||||
.bnb-calendar-filters {
|
||||
.bnb-calendar-filters form {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.bnb-calendar-filters select {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Plugin Name: WP BnB Management
|
||||
* Plugin URI: https://src.bundespruefstelle.ch/magdev/wp-bnb
|
||||
* Description: A comprehensive Bed & Breakfast management system for WordPress. Manage buildings, rooms, bookings, and guests.
|
||||
* Version: 0.11.2
|
||||
* Version: 0.11.3
|
||||
* Requires at least: 6.0
|
||||
* Requires PHP: 8.3
|
||||
* Author: Marco Graetsch
|
||||
@@ -24,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
}
|
||||
|
||||
// Plugin version constant - MUST match Version in header above.
|
||||
define( 'WP_BNB_VERSION', '0.11.2' );
|
||||
define( 'WP_BNB_VERSION', '0.11.3' );
|
||||
|
||||
// Plugin path constants.
|
||||
define( 'WP_BNB_PATH', plugin_dir_path( __FILE__ ) );
|
||||
|
||||
Reference in New Issue
Block a user