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

Implement new base-root.htm template #38

Merged
merged 19 commits into from
Aug 6, 2024
Merged

Conversation

jacobtylerwalls
Copy link
Member

  • manage.py setup_db for good measure to remove plugin
  • visit web root
  • result: hello world, no arches chrome

Closes #3

@chrabyrd
Copy link
Contributor

chrabyrd commented Aug 5, 2024

👀

@chrabyrd
Copy link
Contributor

chrabyrd commented Aug 5, 2024

This should be g2g once archesproject/arches#11289 is merged in 👍

@chrabyrd
Copy link
Contributor

chrabyrd commented Aug 6, 2024

👋 @jacobtylerwalls I'm bouncing this back to you, the tsconfig/frontend stuff is fixed but now the tests are failing with:

RuntimeError: Model class arches_references.models.List doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.

@jacobtylerwalls
Copy link
Member Author

Great! Test is now just failing on something substantive, looks like an out-of-date graph constant. I'll ask @johnatawnclementawn to take a look in #40, suggest merging this anyway to unblock things.

Copy link
Contributor

@chrabyrd chrabyrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@@ -145,6 +144,7 @@
"corsheaders",
"oauth2_provider",
"django_celery_results",
"arches_references",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we want this above arches since it's an arches application?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it doesn't matter, as long as arches.app is at the bottom

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought that was only true for templates, not css/img discovery.

Copy link
Member Author

@jacobtylerwalls jacobtylerwalls Aug 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(arches.app only ever has templates, not media/build/...) oooO maybe not...

Copy link
Contributor

@chrabyrd chrabyrd Aug 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just tested with an image and the results are as you'd expect ( project -> apps -> core ), but happy to chat if you'd like

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I'm with you now. I forgot how specialized we made ArchesApplicationsStaticFilesFinder, which even if there's an "arches" in the middle of INSTALLED_APPS, there won't be anything under arches/media, so this should be A-OK.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jacobtylerwalls @chrabyrd back from the future - arches_references has to go above arches because there are commands in arches_references/packages.py that need to be included in the packages options. I'll fix as part of #53

@jacobtylerwalls jacobtylerwalls merged commit b12cb37 into main Aug 6, 2024
2 of 6 checks passed
@jacobtylerwalls jacobtylerwalls deleted the jtw/fix-aliasing branch August 6, 2024 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create new RDM plugin as a Vue component/application
3 participants