-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feature/quickview #289
Feature/quickview #289
Conversation
Hi @MatteoBiasi, thank you for this PR. Please note that it has conflicts with the current development branch, it can not be merged in its current state. Please consider doing either a rebase + force push (should be fine, I don't think that there are other people that depend on this branch) or merge the current development branch into this one and fix the problems. Let me know when you think the branch is ready and I'll start a code review. Some things I noted while a took a first look:
|
@gappc i think it's better to leave this opened until our next meeting together for the following reasons:
|
@MatteoBiasi that's fine with me, see you in the next meeting 👍 |
9f7e625
to
8a83645
Compare
databrowser/src/components/quickview/QuickViewCardOverviewGallery.vue
Outdated
Show resolved
Hide resolved
databrowser/src/components/quickview/QuickViewCardOverviewGallery.vue
Outdated
Show resolved
Hide resolved
databrowser/src/main.ts
Outdated
@@ -34,6 +37,9 @@ app.use(createPinia()); | |||
// Register Vue cell render components globally for dynamic rendering | |||
app.use(registerCellComponents); | |||
|
|||
// Add OpenLayers Map | |||
app.use(OpenLayersMap); |
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.
Please load the OpenLayersMap component on-demand where you need eit (e.g. MapBase.vue). That way, the JavaScript for OpenLayers is loaded by the browser only if needed, e.g. it is not needed for the home page to show up.
See https://github.com/noi-techpark/it.bz.opendatahub.databrowser/blob/development/databrowser/src/domain/datasets/editView/EditToolBox.vue#L43 for an example
Hi @gappc we fixed the majority of the optimizations requested with the code review. There's still something left out (see comments on specific conversations) and the conversations which have been left opened. With this ones we prefer first to produce the final coding documentation and then to proceed with the refactoring, in order to avoid to do things twice. |
@MatteoBiasi I see you made some good progress, but there are still issues left, like usage of Either way, lets discuss these topics on our next meeting and do another iteration, I think were moving forward in the right direction. |
@MatteoBiasi: there were new commits on the Please merge / rebase that branch such that it contains the change, thank you :) |
Hi @gappc, since when I've merged the last release, I can no more load any view: QuickView, Detail View, Raw View etc. They're all empty. The issue seems related to data fetching, where the request never resolves. By checking the console, I see the following error: queryObserver.js:331 TypeError: filterQuery?.replace is not a function But even if I change the parseFilterQuery function to make it not to fail, the API still doesn't return any data. The .env matches the example one. What should I do? |
Hi @MatteoBiasi, could you please provide a branch + your env variables (env please via email as they contain possibly sensititve content)? Otherwise it's really hard to find out what's going on. |
Hi @MatteoBiasi, I saw that this branch can not be merged, there are some conflicts. If you want to merge this branch, please bring it up to date and fix the issues. As an alternative, we could discuss during the next meeting if it is better to adhere the code to the upcoming guidelines (#319) before we merge it. What is your opinion? |
I think it's better to merge this one and then do another PR for the CSS refactoring, otherwise we'll keep this one opened for too long. Anyway I propose to discuss this together tomorrow. |
0065735
to
10df16c
Compare
…llery. Added support to operation schedule in QuickViewCardOverview
…iewFullscreenGallery to be exported as web component
d04b5e0
to
a0bcc6a
Compare
No description provided.