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

Create a map package from existing map data. #1193

Merged
merged 7 commits into from
Sep 13, 2024
Merged

Conversation

Tadjaur
Copy link
Collaborator

@Tadjaur Tadjaur commented Aug 25, 2024

What is done in this pr:

  • Create a new map package from existing implementation
  • Update imports to use the new package and fix existing map issues
  • merge the logic of native map and web map (in-progress)

I'm still working on merging native map and web map logic to reduce platform specific code. But as the map already works on the web and native platform ( tested on android ), I wanted to do this first pr to get review.

Copy link

github-actions bot commented Aug 25, 2024

Android APK build completed!
You can download the Android APK from the following link:
https://github.com/andrew-bierman/PackRat/actions/runs/10788028077#artifacts

Copy link

github-actions bot commented Aug 25, 2024

❌ Tests failed for this pull request. 😞

View Test Workflow

Copy link

github-actions bot commented Aug 25, 2024

Tauri build completed!
You can download the build artifacts from the following link:
https://github.com/andrew-bierman/PackRat/actions/runs/10545475352#artifacts

Copy link

github-actions bot commented Aug 25, 2024

iOS IPA build completed!
You can download the iOS IPA from the following link:
https://github.com/andrew-bierman/PackRat/actions/runs/10788028077#artifacts

Copy link

cloudflare-workers-and-pages bot commented Aug 25, 2024

Deploying packrat with  Cloudflare Pages  Cloudflare Pages

Latest commit: dbb7cb1
Status: ✅  Deploy successful!
Preview URL: https://5c154d67.packrat.pages.dev
Branch Preview URL: https://fix-map.packrat.pages.dev

View logs

apps/vite/src/routeTree.gen.ts Outdated Show resolved Hide resolved
console.log('newResponse', newResponse);

// return newResponse;
return ctx.json(newResponse, 200);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@MuhammadHassan03 @andrew-bierman I deleted this line because the response is not a json and should not be converted to json value. we expect an image.

@andrew-bierman
Copy link
Owner

/refresh-lockfile

Copy link

Starting lockfile refresh...

Copy link

No changes to commit.

Copy link

Lockfile refresh process completed.

@andrew-bierman
Copy link
Owner

This looks good to me. Nice work

The main goal I wanted to accomplish here was a more unified api for our maps, which I think this is good start for.

We will be building out some more mapping features soon so this is intended to set us up for success and as much simplicity as we can get with this feature

Copy link
Collaborator

@taronaleksanian taronaleksanian left a comment

Choose a reason for hiding this comment

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

Good job, only I think we can do a few improvements. I think it would be better if we keep the library specific code into packages/map workspaces and more application related stuff move to our app folder app/features/map.

@andrew-bierman I'm switching on this task, so I'll handle it

@Tadjaur
Copy link
Collaborator Author

Tadjaur commented Sep 10, 2024

@taronaleksanian @andrew-bierman what left do we need on this pr for it to be merged?

@taronaleksanian
Copy link
Collaborator

@taronaleksanian @andrew-bierman what left do we need on this pr for it to be merged?

@Tadjaur unifing the web and mobile maps, I'm working on it you can check other tasks

@taronaleksanian
Copy link
Collaborator

@taronaleksanian @andrew-bierman what left do we need on this pr for it to be merged?

@Tadjaur unifing the web and mobile maps, I'm working on it you can check other tasks

I have high priority issues to fix if you available please let me know, I'll provide details so you can continue with this, if I won't finish with this by that time

Copy link
Owner

@andrew-bierman andrew-bierman left a comment

Choose a reason for hiding this comment

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

merging this in so it does not get left behind, but we still have the logic piece to handle

@andrew-bierman andrew-bierman merged commit f055dfb into andrew_testing Sep 13, 2024
23 of 24 checks passed
@andrew-bierman andrew-bierman deleted the fix-map branch September 13, 2024 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants