GraphiteEditor / GraphiteEditor/Graphite

Row filtering in all nodes that operate on tables

Ouverte
#2,982 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Graphene
Langage dominant
Rust
Étoiles
27.3k
Forks
1.3k
Merge moyen
20 h 5 min
PR mergées (30 j)
57

Description

Nodes currently operate on entire tables, usually mapping (or sometimes reducing) all rows (or in a few cases, using only the first row and ignoring the rest). The next step is allowing nodes to encode which specific rows to filter, creating a view into a part of a table (or a view into the full table). One row, a range of rows, every n rows from a start to an end index, or really any pattern like a prime number sequence could be used to filter rows. This can be achieved using a field which returns true or false with the filter result for each row. It can filter based on row index/id or any other attribute (column) data.

The tooling will need to be updated to visualize and allow manipulation of ranges of elements. Tools were previously designed to operate on a single element but now we use multiple elements as the standard data type in the graph so the tools need to support the new behavior. The Select tool should be updated to visualize a bounding box around all elements in the selected layer's current table data, but then double-clicking one element lets you enter a selection of just that element (and Shift clicking others can extend that selection), then that sub-selection can be used as a filter for a new Transform node that gets created upon transforming the sub-selection within the layer. A similar idea applies to the Path tool, which becomes #1822.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par localiser les nœuds de traitement des tables, l’outil Select et le nœud Transform décrits dans l’issue ; l’outil Path est suivi séparément sous le numéro #1822. Le travail est terminé lorsque les nœuds peuvent filtrer les lignes à l’aide d’un résultat true/false pour chaque ligne, tandis que les outils de sélection peuvent visualiser et manipuler plusieurs éléments et créer une opération Transform filtrée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
rust
Domaine
computer-graphics, design
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.