Respect user's changes when forking a project #556

Closed
opened 2021-10-13 11:44:34 +02:00 by Irev-Dev · 2 comments
Irev-Dev commented 2021-10-13 11:44:34 +02:00 (Migrated from github.com)

We allow users to "fork" each other's projects, problem is that if the users has already made some changes to the code before forking, the changes will be lost. You task is to save those changes when forking. More details as well as where to start in the video. Some GraphQL knowledge will be useful.

https://user-images.githubusercontent.com/29681384/137108716-d1cbd017-0da1-43fa-9795-93ff24eee828.mp4

Files of interest are

  • app/web/src/components/IdeHeader/IdeHeader.tsx
  • app/api/src/graphql/projects.sdl.ts
  • app/api/src/services/projects/projects.ts

Follow the instructions in CONTRIBUTING.md to get setup, and of course ask for help here or in the dev-help discord channel.

If you'd like to contribute the CadHub but this issue is taken or you'd prefer something else, have a look at #535 to see if there's something else you would like

We allow users to "fork" each other's projects, problem is that if the users has already made some changes to the code before forking, the changes will be lost. You task is to save those changes when forking. More details as well as where to start in the video. Some GraphQL knowledge will be useful. https://user-images.githubusercontent.com/29681384/137108716-d1cbd017-0da1-43fa-9795-93ff24eee828.mp4 Files of interest are - `app/web/src/components/IdeHeader/IdeHeader.tsx` - `app/api/src/graphql/projects.sdl.ts` - `app/api/src/services/projects/projects.ts` Follow the instructions in [CONTRIBUTING.md](https://github.com/Irev-Dev/cadhub/blob/main/CONTRIBUTING.md) to get setup, and of course ask for help here or in the [dev-help discord channel](https://discord.gg/Vgmky37UtD). If you'd like to contribute the CadHub but this issue is taken or you'd prefer something else, have a look at #535 to see if there's something else you would like
lucas-barros commented 2021-10-16 22:29:17 +02:00 (Migrated from github.com)

Hi @Irev-Dev, I would like to work on this

Hi @Irev-Dev, I would like to work on this
Irev-Dev commented 2021-10-16 22:31:46 +02:00 (Migrated from github.com)

Welcome back @lucas-barros!

It's all yours!

Welcome back @lucas-barros! It's all yours!
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: h3n3/cadhub#556