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

Navigation: SPM local package #657

Closed
wants to merge 8 commits into from

Conversation

boscojwho
Copy link
Contributor

@boscojwho boscojwho commented Sep 27, 2023

Pull Request Information

About this Pull Request

Moves Navigation files into local SPM package:

I set this to draft PR because I haven't looked into/thought about how this might impact our current CI/CD tools or whether we need to adjust those tools.

Additional Notes

I did leave out small portions of Navigation (the actual navigation routes that reference the model/middleware layers) because those local packages don't exist yet.

- Move that logic into HandleLemmyLinks.
- Declare settings routes that wrap semantic routes as a data value.
- Documentation.
- Move some files.
- Update tests.
…rom the data that drives the presentation of views.

- Add documentation.
- Move some navigation tests over to package.
Copy link
Collaborator

@mormaer mormaer left a comment

Choose a reason for hiding this comment

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

I'm all for modularisation - I've been meaning to look into it for the API client 👍

@boscojwho boscojwho marked this pull request as ready for review September 28, 2023 22:47
@boscojwho boscojwho requested a review from a team as a code owner September 28, 2023 22:47
@boscojwho boscojwho requested review from WestonHanners and JakeShirley and removed request for a team September 28, 2023 22:47
@boscojwho
Copy link
Contributor Author

Looks like CI/CD tools work as expected: Converting this to a PR.

@boscojwho
Copy link
Contributor Author

I'm all for modularisation - I've been meaning to look into it for the API client 👍

Yea! I figured we'd start in a small corner of the project that doesn't really have too many local dependencies. I guess we could create an API local package (or whatever layer we want to modularize), start incrementally moving files over and start creating new files in those packages, but that's another PR/discussion 😅

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.

3 participants