equinor / equinor/mad

Improving the WorkOrder Cell in mad-dfw

Open
#488 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
23
Forks
3
Avg merge
1d 17h
Merged PRs (30d)
4

Description

### Package / App

MAD DFW

### Description

In order to fully utilise the WorkOrder Cell in WO app, we would need additional two fields which should be optional:

State - which returns a string/JSX.Element
Property from filter - which returns a string/JSX.Element/number

Also i need the propertyrow to continue on a new line for cases, like on web, where the text is longer than the screen width

### Alternatives

_No response_

### Other info

Current custom workorder cell in the app, looks like this:
![Screenshot 2024-04-12 at 11 28 56](https://github.com/equinor/mad/assets/75029767/8e0bc941-5508-44f0-80a8-8c9b2f121ad7)
![Screenshot 2024-04-12 at 11 29 27](https://github.com/equinor/mad/assets/75029767/62186b74-bebd-4b32-8c64-67145d1dc671)

It would be nice to have something similar that accommodates the extra props.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the WorkOrder Cell used by the MAD DFW WO app and review linked pull request #491 for existing context. Done means the cell supports optional State and Property from filter values with the listed return types, and long property rows wrap onto a new line as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.