adobe / adobe/da-nx

[dasc] Arrays support min/max

Open
#182 2 comments 0 reactions 0 assignees View on GitHub
dasc
Dominant language
JavaScript
Stars
8
Forks
38
Avg merge
1d 11h
Merged PRs (30d)
44

Description

As an author, I would like to know if I am under or over an array's min / max values.

## Criteria of acceptance
1. Uses existing validation tools to flag if over or under.
2. Does not _prevent_ or _force_ a min / max as the author should be able to over / under shoot to better organize WIP.

## Additional context
At first I thought we would want to enforce this, but I think its better to let an author work with the validation signals to get into compliance. If you think about an author that has 4 items, needs to shuffle data around, but cannot add a 5th until they remove another. The same is somewhat true of mins. I think we would end up getting a lot of empty items rather than correct data.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing validation path for dasc arrays and the tests covering current validation signals. Trace how array minimum and maximum values are represented and reported. Done means over- and under-limit arrays produce validation feedback without blocking authors from creating or editing those arrays.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.