-
Notifications
You must be signed in to change notification settings - Fork 41
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
Administration UI #24
Comments
Hi, I also have a background as Java Web developer, but I want to make a shift to Python so that is that reason. My question is, do you need help on this task ? Is something that I can pick up ? Let me know, I would be happy to help |
Thanks for your kind offer @superciccio ! The current UI is very basic. It was recently reworked a bit by @kinow (the guy from reddit I guess!), changing from jQuery to Vue.JS (see #245). That was merged, but there are still parts of jQuery being used. It would be great to be able to get rid of the rest of jQuery too. I think that's mainly used for performing a couple of different REST API calls. See this comment for some ideas about replacements. So I'd be happy to receive a PR which removes the jQuery dependency and switches over the functionality that VueJS cannot perform to some more lightweight alternative. Perhaps more related to this issue at hand, eventually I think we want to extend the UI into more administrative functions. Right now it's just a simple form for testing Annif on different documents. However, many UI admin functionalities will require also the REST API to be extended, as right now it's pretty much a read-only API - the real administration happens by editing An easy starting point would be to add UI functionality for looking at project configuration, similar to the |
Hi @osma I have some question Can I update Vue to latest version 2.6.10. Also I see that eveything is inside home.html, can I also do some refactor and export it in a new file ?
|
I think this should be fine - does @kinow have a comment?
Sure, this would be welcome! |
Ah sorry, I missed some of your questions that looked like quotes.
I think authentication, users and roles are out of scope for now (feel free to disagree, anyone!). I see Annif as mainly a microservice that is used by other systems, not (usually) directly by end users. Any authentication or other types of access control can be handled by a suitable reverse proxy such as nginx. (However, there is limited support for basic access control already: projects can be marked as hidden or private, so they don't show up (hidden) or cannot be used at all (private) via the REST API) More likely starting points would be adding equivalents of the CLI commands |
+1 from me ! |
I think it's a good approach for now. It can be added later anyway (and makes the web dev part a bit easier too) |
We could have a UI for administering most/all aspects of an Annif installation. It would most likely be a single-page dynamic web app that uses the REST API to perform admin functions.
The text was updated successfully, but these errors were encountered: