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

informative messages #10

Open
m1ci opened this issue Dec 17, 2020 · 4 comments
Open

informative messages #10

m1ci opened this issue Dec 17, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@m1ci
Copy link

m1ci commented Dec 17, 2020

When adding/suggesting an ontology via http://archivo.dbpedia.org/add, and upon a successful "suggestion" there is lack of informative message. For example, if the ontology is successfully accepted, then show "The suggested ontology has been successfully accepted."

Also, upon an successful addition, in the UI there are shown set of messages, some in "green", some in "orange/red".
Maybe add a title above the messages, e.g. "Processing log:" and some explanation, e.g. "Note that the red/orange warnings are not critical, but highly suggested to fix them in near future.

Maybe also instead of showing "The suggested ontology has been successfully accepted." show "The suggested ontology has been successfully accepted with some non-critical issues/warnings."

@m1ci m1ci added the enhancement New feature or request label Dec 17, 2020
@JJ-Author
Copy link
Collaborator

I had the same feeling yesterday. Thanks @m1ci for writing it

@Akshat1000Sharma
Copy link

Since this issue is still open, can i work on it?

@JJ-Author
Copy link
Collaborator

JJ-Author commented Dec 4, 2024

I think most of it seems already addressed. see
image

But what definitely is missing however is
a) a way to stream logging information that goes to stdout/logfiles additionally to the browser
b) incrementally building that status report and send updates to client.

the problem with current approach is that the report is only shown until the addition process is completed (sucessfully or with failure). this can take a very long time which confuse some of the user. so improving this would improve UX.
this however needs an async web page. if you like you can work on it in 4 steps:

  1. find the relevant place in code and get an overview if something is missing (e.g. is this here missing "been successfully accepted with some non-critical issues/warnings")
  2. setup archivo on your machine, change the information message a little and add an ontology (you can pick one of the most recently added from the public archivo instance since the development database in the repo only contains a very old subset of ontologies) to verify your change
  3. create a PR for it showing images of the change
  4. add an async logviewer to the flask path / "add" html page and setup a logger that will feed that webviewer

@Akshat1000Sharma
Copy link

I will look into it and get back to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants