Skip to content

Conversation

@csidirop
Copy link
Contributor

@csidirop csidirop commented Nov 9, 2023

As proposed in #253, this draft intended to remove the dependencies on slub_digitalcollections.

I removed every trace and reference to the digitalcollections and where needed set new paths that lead within the repo. Than I copied missing files and updated some already existing. I tried to compare the commit dates and check it its working because I wasn't sure with the typoscript.
For future reference: digitalcollections state at this moment is following commit slub/slub_digitalcollections@d511e7e. I did not copy the history. That exceeded my capabilities and I didn't want to spend hours going through and cleaning up commits. Hopefully this is okay.
Btw. we should take a look at the licences, because some of the files have a copyright notice.

At this moment everything I've tested is working fine. Which does obviously not mean that I didn't miss a lot or broke something!

Working:

  • Page View:
    • UI: Navigation
    • UI: Links
    • UI: Downloads
    • UI: double and gridview
    • UI Toolbox: rotation, zoom, fullscreen and imagemanipulation tools
  • Search
  • Collections
  • Calendar and Newspapers
  • 3D Viewer (is it working? need examples to test with)
  • Audioplayer (need examples to test with)
  • ...??

What's not working:

  • some errors in log I've to investigate
  • ...??

Happy to get feedback and am looking forward to your corrections

 - Remove extension ref

Signed-off-by: Christos Sidiropoulos <[email protected]>
 - Remove namespaces
 - Route references to future classes in dfg-viewer

Signed-off-by: Christos Sidiropoulos <[email protected]>
TODO: Licence okay?
Signed-off-by: Christos Sidiropoulos <[email protected]>
TODO: Licence okay?
Signed-off-by: Christos Sidiropoulos <[email protected]>
@beatrycze-volk
Copy link
Contributor

Thanks for your work!

Here you can see how should like corrected version for errors mentioned by PHPStan: https://github.com/slub/slub_digitalcollections/pull/62/files#diff-15fcbab3d3cc1b4c3b8bc8a6b789d6da89d5a731cebdb8929b49fec8de86dcac

I will look for some examples of 3D Viewer and Calendar, then write you back again.

@beatrycze-volk beatrycze-volk added the 🛠️ maintenance A task to keep the code up-to-date and manageable. label Nov 10, 2023
@beatrycze-volk beatrycze-volk added this to the DFG-Viewer 6.0.0 milestone Nov 10, 2023
@fschoelzel fschoelzel marked this pull request as ready for review February 16, 2024 14:00
@fschoelzel fschoelzel marked this pull request as draft February 16, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🛠️ maintenance A task to keep the code up-to-date and manageable.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Question] Why is the dependency to slub_digitalcollections needed?

2 participants