From 2194f898fd26e57865d57e397084b1dded6da5bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Mon, 18 Nov 2024 18:06:44 +0100 Subject: [PATCH] Improve admin UI for event-category mapping Based on evaluation results. --- CHANGELOG.md | 6 ++++++ activitypub-event-bridge.php | 2 +- assets/css/activitypub-event-bridge-admin.css | 6 ++++++ templates/settings.php | 12 ++++++++---- templates/welcome.php | 6 ++++++ 5 files changed, 27 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1f6405..43fa75e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +## Fixed + +* Improved admin UI for event-category mapping + ## [0.2.1] - 2024-11-16 ### Added diff --git a/activitypub-event-bridge.php b/activitypub-event-bridge.php index 961af39..dd332a0 100644 --- a/activitypub-event-bridge.php +++ b/activitypub-event-bridge.php @@ -3,7 +3,7 @@ * Plugin Name: ActivityPub Event Bridge * Description: Integrating popular event plugins with the ActivityPub plugin. * Plugin URI: https://event-federation.eu/ - * Version: 0.2.1 + * Version: 0.2.1s * Author: André Menrath * Author URI: https://graz.social/@linos * Text Domain: activitypub-event-bridge diff --git a/assets/css/activitypub-event-bridge-admin.css b/assets/css/activitypub-event-bridge-admin.css index c89ec6e..0b8c58d 100644 --- a/assets/css/activitypub-event-bridge-admin.css +++ b/assets/css/activitypub-event-bridge-admin.css @@ -177,3 +177,9 @@ code.activitypub-event-bridge-settings-example-url { overflow-x: auto; word-break: break-all; } + +.activitypub-event-bridge-settings .select-cell::before { + content: "\21D2"; + margin-right: 8px; + color: inherit; +} diff --git a/templates/settings.php b/templates/settings.php index 309590f..725252c 100644 --- a/templates/settings.php +++ b/templates/settings.php @@ -62,13 +62,17 @@ $current_category_mapping = \get_option( 'activitypub_event_bridge_event_ -

-

+

+

+ + + + - - +
name ); ?> + name ); ?>