Page MenuHomePhabricator

DefaultView: Create a custom Argument Reference component with a selector instead of a text input field
Closed, ResolvedPublic

Description

Description

When selecting an Argument Reference, because we are using the fallback generic component of ZObjectKeyValueSet, we need to input the Z18K1/Key id manually.
It would be more user friendly to simply offer the argument reference available options in a dropdown

Current behavior

Desired behavior/Acceptance criteria

  • Argument reference should be an ad-hoc component with a dropdown that allows us to select the available arguments in the function being implemented.

(There might be use cases for entering a Key id manually, but the main uses cases will be to select one of the existing arguments)

Devices and Design (URLs or screenshots)

  • Desktop: ...
  • Small screens/mobile: ...

Completion checklist

Details

Event Timeline

gengh renamed this task from Select argument references instead of type key IDs to DefaultView: Create a custom Argument Reference component with a selector instead of a text input field.Jun 20 2023, 9:05 AM
gengh updated the task description. (Show Details)
gengh updated the task description. (Show Details)
DVrandecic lowered the priority of this task from High to Medium.
DVrandecic updated the task description. (Show Details)

Change 961728 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] [WIP] Create an Argument Reference component

https://gerrit.wikimedia.org/r/961728

Jdforrester-WMF changed the task status from Open to In Progress.Sep 28 2023, 6:06 PM

Change 961728 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Create an Argument Reference component

https://gerrit.wikimedia.org/r/961728

Etonkovidova subscribed.

wikifunctions betalabs (the example in the task description - https://wikifunctions.beta.wmflabs.org/wiki/Z10748?action=edit&view=default-view)

Screen Shot 2023-10-11 at 3.24.52 PM.png (1×1 px, 81 KB)

Checked on wikifunctions wmf.30 - https://www.wikifunctions.org/view/en/Z11135

Screen Shot 2023-10-11 at 3.30.08 PM.png (1×2 px, 211 KB)
Mobile
Screen Shot 2023-10-11 at 3.44.52 PM.png (1×796 px, 107 KB)