nofusscomputing / nofusscomputing/centurion_ui
Cleanup field functions
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.