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

implement uniform answer to web client search #8

Closed
mfrasca opened this issue Apr 25, 2019 · 1 comment
Closed

implement uniform answer to web client search #8

mfrasca opened this issue Apr 25, 2019 · 1 comment

Comments

@mfrasca
Copy link
Member

mfrasca commented Apr 25, 2019

when the master client sends a request for matching objects, it expects objects of different types, which will behave more or less uniformly, or at least respecting the same idioms.

so an object in the results list should know how to present itself in the list, should know how to update the infobox, and should know of whatever objects depend from it.

I think we should implement these in the browse app, not in the distinct data apps (taxonomy, collection, garden).

the result could be

  • a piece of html, or data to build it, similar to ghini's two lines representation;
  • the url to ask for infobox data/view;
  • a dictionary that associates a name to an url, to retrieve dependent data.
mfrasca added a commit that referenced this issue Apr 25, 2019
mfrasca added a commit that referenced this issue Apr 26, 2019
mfrasca added a commit that referenced this issue Apr 26, 2019
mfrasca added a commit that referenced this issue Apr 27, 2019
mfrasca added a commit that referenced this issue Apr 27, 2019
@mfrasca
Copy link
Member Author

mfrasca commented Apr 27, 2019

possibly good enough, let's move on to #7

@mfrasca mfrasca closed this as completed Apr 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant