Page MenuHomePhabricator

mediawiki.special.block [vue]: migrate ExpiryField's custom input to Codex
Open, Needs TriagePublic

Description

Overview

The cross-team collaboration project called “Multiblocks” uses Codex to create a Vue.js version of the Special:Block form. Currently, the ExpiryField uses Roan’s workaround patch to create custom inputs. The workaround patch was initially created before custom inputs were implemented into Codex’s Radio and Checkbox components. Let’s migrate the expiration field to use Radio’s custom input.

Acceptance Criteria

  • Migrate the existing code to use Radio's custom-input slot.
  • Remove any "hack" styles that made this workaround work but are no longer needed when using a slot.
  • Ensure tests pass.

Event Timeline

lwatson renamed this task from [placeholder] Multiblock: migrate custom input usage to Codex to [placeholder] Multiblock: migrate custom input to Codex.Sep 17 2024, 8:05 PM
lwatson renamed this task from [placeholder] Multiblock: migrate custom input to Codex to mediawiki.special.block [vue]: migrate ExpiryField's custom input to Codex.Sep 18 2024, 12:43 AM
lwatson added a project: Multiblocks.
lwatson updated the task description. (Show Details)
CCiufo-WMF added subscribers: MusikAnimal, CCiufo-WMF.

@MusikAnimal Not urgent, but putting this on your radar. I don't think it's necessary as part of the initial goal of just migrating the existing Special:Block page to Vue+Codex, but you might want to make this swap when implementing the actual Multiblocks functionality.

We're also happy to make this change ourselves with review help from CommTech :) I don't believe we've used this new component feature in production yet.