Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listing and handling issues with unassigned category #44

Open
josephguillaume opened this issue Jul 23, 2021 · 0 comments
Open

Listing and handling issues with unassigned category #44

josephguillaume opened this issue Jul 23, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@josephguillaume
Copy link
Contributor

josephguillaume commented Jul 23, 2021

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?

@timbl timbl added the bug Something isn't working label Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants