Page MenuHomePhabricator

Metadata Dialog: Build a detailed error view
Open, MediumPublic

Description

Description

The Function Evaluator response view had a "Details" link to open the Metadata Dialog, and whenever the metadata returned an error, it also had an "Errors" link which opened a dialog with Default View instance for the returned error.

The error dialog was done like this because it required no effort, as the error was saved in the store flattened and indexed zobject table, and the default view could be used.

Due to performance issues, we are not inserting the metadata object Z22K2 in the zobject table. We are just keeping the Metadata JSON and passing it to the Metadata Dialog.

Desired behavior/Acceptance criteria

  • We should build a detailed Error view for the Metadata Dialog that doesn't use Default View but allows visualization of error details.

Devices and Design (URLs or screenshots)

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

Completion checklist

Event Timeline

Jdforrester-WMF moved this task from To Triage to Backlog on the Abstract Wikipedia team board.

Related task: https://phabricator.wikimedia.org/T381361. This task is referenced here just because the tasks might influence each other and not add this to the paper-cuts epic.

AAlhazwani-WMF changed the task status from Open to In Progress.Feb 21 2025, 10:34 AM
AAlhazwani-WMF claimed this task.
AAlhazwani-WMF changed the task status from In Progress to Open.Mar 5 2025, 10:33 AM
AAlhazwani-WMF removed AAlhazwani-WMF as the assignee of this task.
AAlhazwani-WMF removed a project: Design.
AAlhazwani-WMF subscribed.

this task is not ready for design. it needs more product thinking. details have been shared with @Sharvaniharan.

Maybe this should be descoped from the "paper-cuts" epic and moved back to Product backlog, then?

Jdforrester-WMF lowered the priority of this task from High to Medium.Apr 29 2025, 12:48 PM

Product review:

  • We'd like this to happen, ideally with the least-effort possible; no new design is required.
  • These should only be shown on request, not by default.
  • Can we just re-use the default view for errors? Are the performance issues manageable?

Could you guys elaborate a bit more what is expected here? @gengh
Is this a duplicate/a bit the same as https://phabricator.wikimedia.org/T358807 and https://phabricator.wikimedia.org/T384696. OR is this something else?