From 2b4ff1362ff1310018e6e8a4f89652b2f7b91844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Mon, 18 Nov 2024 18:07:39 +0100 Subject: [PATCH] Improve admin UI for event-category mapping Based on evaluation results. --- CHANGELOG.md | 6 ++++++ assets/css/activitypub-event-bridge-admin.css | 6 ++++++ templates/settings.php | 12 ++++++++---- templates/welcome.php | 6 ++++++ 4 files changed, 26 insertions(+), 4 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/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 ); ?>