-
Notifications
You must be signed in to change notification settings - Fork 82
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
Move and Store the Data Source and Data Store Logos on Polypheny-DB #485
base: master
Are you sure you want to change the base?
Conversation
@malikrafsan thank you very much for this PR, this looks really promising! At the moment you attach the logo to the |
Hi @datomo, thank you so much for the feedback and for taking the time to review the PR. I really appreciate your insights and suggestions! I'd like to clarify that I have indeed followed the suggested approach. The images are served through static routes from the backend ( However, I am afraid that my understanding is incorrect or that there are any aspects of the implementation that need further clarification. Please kindly let me know if so. Your guidance is greatly appreciated! Thank you once again for your time and consideration |
Hey @malikrafsan |
Thanks for confirming @datomo ! It's great to know this is the optimal approach. I'll mark this PR as ready for review then, looking forward to your review! Once again, thank you so much |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @malikrafsan, this looks really good and is appreciated.
The resource location is one of the main point, which requires some change, else this is fine by me.
core/src/main/java/org/polypheny/db/adapter/annotations/AdapterProperties.java
Outdated
Show resolved
Hide resolved
webui/src/main/resources/public/assets/dbms-logos/cassandra.png
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you move the logos to each plugin directly?
When they have to be included in the core modules, it removes the separation between plugins and core.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean move the logo file? It seems like it would be a bit complicated as currently in this MR, we serve the logo files if the files are inside public
directory from resources
Summary
In this pull request, we move the logos from stored at the Frontend (Polypheny-UI) to the Backend (Polypheny-DB). We also add the logo path/icon identifier on the response regarding Data Store and Data Source (
/getSnapshot
). By doing this, we can simplify the process of adding new Data Stores / Data Sources by storing the logos in Polypheny-DB sources together with the adapter implementation.Fixes: #222
Changes
Related PRs
Screenshots
Asset files can be served by Polypheny-DB, under
/public
hosted pathPolypheny-UI can access the Polypheny-DB static files and the Data Source and Data Store logos are shown successfully