Skip to content

feat: fine row deletion#1193

Open
laurentC35 wants to merge 17 commits into
3.0from
feat/fine-row-deletion
Open

feat: fine row deletion#1193
laurentC35 wants to merge 17 commits into
3.0from
feat/fine-row-deletion

Conversation

@laurentC35

Copy link
Copy Markdown
Contributor

New feature ⭐

Allow fine row deletion in dynamic-table or loop

Comment thread src/components/RosterForLoop/RosterForLoop.tsx Outdated
Comment thread src/i18n/dictionary.ts Outdated
Comment thread src/use-lunatic/__snapshots__/use-lunatic.test.ts.snap Outdated
Comment thread src/use-lunatic/commons/variables/behaviours/resizing-behaviour.ts Outdated
Comment thread src/use-lunatic/commons/variables/lunatic-variables-store.ts Outdated
Comment thread package.json Outdated
Comment thread src/components/Loop/Loop.tsx Outdated

@Grafikart Grafikart left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bien pensé l'argument removedIndex, il y a juste quelques petite amélioration mais dans le principe ça me semble être la bonne approche.

Comment thread src/components/Loop/Loop.tsx Outdated
return null;
}

const canControlRows = min !== max && Number.isFinite(max);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

il faut aussi que nbRows > min non ?

Comment thread src/components/Loop/Loop.tsx Outdated
Comment thread src/utils/array.ts Outdated
@sonarqubecloud

sonarqubecloud Bot commented Jan 9, 2025

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants