-
Notifications
You must be signed in to change notification settings - Fork 2
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
toString methods should return something that's more readable #7
Comments
Just to get started, I have now changed toString() to be "identifier (shortTitle)". BUT, I just realised that unless we create and store Links (a reified resource) instead of URIs, it will not be possible to display the label, instead of hte URI. Is it worth it? |
Jad, I would prefer title | identifier, never both - that is prefer title if it exists, otherwise use identifier. This keep the UI logical and clean unless the information isn't available. |
Sure. It can be easily changed now that I have a system in place. I guess you mean “shortTitle” instead of title. |
So, I can now show something other than the URIs on the query page. Once we have more relevant content (currently only identifier seems to have a value), I will update the toString() to be shortTitle. |
I happened to just push a change to master. |
You can code for shortTitle and if its not there use identifier. |
Project should be its title for example.
The text was updated successfully, but these errors were encountered: