Page MenuHomePhabricator

DefaultView: Create ZTester View and Component
Closed, ResolvedPublic

Description

Description

  • Create ZTester custom component following the same patterns as other default/* components created for the DefaultView
  • Create ZTester view page, which shows the ZTester component as central content, plus other widgets that enrich the tester creation:
    • function explorer widget
    • implementation results widget
    • direct navigation with url setup of function ID
    • etc

Desired behavior/Acceptance criteria

  • Objects of type Z20/Tester should be rendered by default with this component in both edit and view mode
  • Styles according to the attached designs*

Devices and Design (URLs or screenshots)

Figma: https://www.figma.com/file/6gTBJnC187UBURVBdZ73NR/T334489-Tester-view-and-component?node-id=38-6058&t=VLX5FJJcNtoolwZy-0


Completion checklist

Related Objects

Event Timeline

the tester component is built on top of the previous designs, and solutions reached for the implementation component. specifically, the implementation component of type composition. the only difference is that the tester component has two compositions instead: one for the function call, and one for the result validation. figma file attached to the task description!

image.png (962×2 px, 238 KB)

AAlhazwani-WMF removed a project: Design.
AAlhazwani-WMF subscribed.

task ready to be picked up by engineering!

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

[mediawiki/extensions/WikiLambda@master] Add Tester Component

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

Change 911863 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add Tester Component

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

Looks great! Missing a list of implementations. Should we have a new task for that?

@DVrandecic once we do the "switch" you'll find the list of implementations that you see at the bottom of this page for instance https://wikifunctions.beta.wmflabs.org/wiki/Z10620

Yes, indeed! Thank you!