SolidOS / SolidOS/solid-ui

shortName function in utils not working?

Open
#194 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
153
Forks
46
Avg merge
1d 8h
Merged PRs (30d)
7

Description

The shortName function in utils uses this.prefixes, which it seems is not set. Is this function used anywhere? Does it work?
From what the comments say, its functionality seems to overlap with that of the ontologyLabel function immediately below it ("Make short name for ontology" vs "Short name for an ontology")

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 in src/utils.js at shortName, lines 406-446, and inspect its use of this.prefixes and any callers. Compare it with the ontologyLabel function immediately below, lines 448-486. Done means determining whether shortName is used and functional, and clarifying or correcting the overlap between the two functions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.