nofusscomputing / nofusscomputing/centurion_ui

Related fields

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

There are fields that are related to each other and when the value of one field changes, the related field must be update with valid data.

Details

Create the ability to link fields so that when the value changes in the parent field the child field re-queries (filters to the parents value) for valid data.

Parent field will require a callback for providing its value to the child field. when the parent fields value updates, this must cause the child field to perform a filtered query based off of the parent value.

Centurion API

New custom field (extends foreign field) that contains the following metadata:

  • url_key, string - _urls.<value> for the URL that will be used for the query
  • queryname, string - this is the URL querystring name that will be used for the query.

Tasks

  • New Serializer field

Requirements

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.

Research direction

Start by locating the existing foreign-field and serializer-field implementations, then trace how field metadata and value changes are handled. Define the parent callback, child re-query behavior, and the url_key/queryname metadata; done means related fields filter valid child data when the parent changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.