Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Refactor remaining task pages to use Task.tsx

Open othrayte opened this issue 2 years ago • 3 comments

The main create and evaluate task pages use a central Task.tsx component but don't of the others don't and this leads to some duplications and inconsistencies. This task aims to unify theremaining task pages to also use the common component. (As discussed in discord)

In addition, as all tasks need the task controls that component should probably be added and setup in Task.tsx rather than in each task type.

othrayte avatar Jan 09 '23 13:01 othrayte

I plan on starting on this tomorrow.

othrayte avatar Jan 09 '23 13:01 othrayte

I did some clean up of the types in #575

AbdBarho avatar Jan 09 '23 19:01 AbdBarho

Awesome, thanks for letting me know.

othrayte avatar Jan 09 '23 23:01 othrayte

can this be closed?

https://github.com/LAION-AI/Open-Assistant/blob/5d1b03b02dce0f87d9ae6f9322c249be5905dfd6/website/src/components/Tasks/Task.tsx#L77-L86

AbdBarho avatar Jan 13 '23 06:01 AbdBarho