nofusscomputing / nofusscomputing/centurion_ui

Cleanup field functions

Open
#177 0 comments 0 reactions 1 assignee View on GitHub

@jon-nfc is already working on this.

Since May 14, 2026.

task::refactor
Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
1d 4h
Merged PRs (30d)
20

Description

Interaction with API datafields is currently done through multiple modules with each have a single responsibility: fetch data, display field and edit field.

Details

API Data and metadata are required to be types (specifically a class) so that advantage can be taken during dev for type checking. The code base can be simplified by refactoring the "interaction modules" to be part of the object class. This the correlates: the data, conversion from to api object and display both form and view into a single location, the class.

Tasks

  • Refactor backend API objects to be a class
  • Refactor functions from DisplayField component to class
  • Refactor functions from FormField component to class
  • Test

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.