SolidOS / SolidOS/issue-pane

Listing and handling issues with unassigned category

Open
#44 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
7
Forks
3
Avg merge
7m
Merged PRs (30d)
3

Description

Currently issues with an unassigned category only show up in a renderBoard view for a different category/status. They do not appear in their own category's board view, or in the renderTable view.
Currently new issues that are not immediately assigned values for all defined categories simply never appear in the table view, so this is a major usability problem.

Given the use of an optional sparql query, it appears that the intention was for unassigned/undefined categories to be supported in the table
https://github.com/solid/issue-pane/blob/a213104dfb997a4592f5ff3fe82c2cc6d85a5f8c/issuePane.js#L275-L280

However, table.js does not currently support an undefined value: https://github.com/solid/solid-ui/issues/418

It seems the simplest solution would be to drop support for optional categories (perhaps with some schema validation) and require a default value to be defined. It's not clear what vocab item would be used in that case. State has wf:initialState, but it seems there's nothing equivalent for categories. Maybe there's a need for wf:initialCategory or wf:defaultCategory? Or is there a generic "default subclass" predicate in another vocabulary, given that a wf:issueCategory is just a class with disjoint subclasses?

Contributor guide

No contributing guide indexed for this repository

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 with issuePane.js around lines 275-280 and trace how optional or undefined categories are passed to renderBoard and renderTable. Then inspect table.js and the linked solid-ui issue to understand undefined-value handling. Done means deciding and implementing a supported category behavior so unassigned issues appear in the relevant board and table views.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.