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

Update Project structure #245

Merged
merged 5 commits into from
Apr 17, 2024

Conversation

Megha-Dev-19
Copy link
Collaborator

Current project structure:
image

Current task structure:
image

Copy link

vercel bot commented Apr 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gateway ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2024 3:51am

@@ -21,7 +21,7 @@ const { id } = props;
const project = getProjectMeta(id);
const app = props.app || "testing122.near";
const type = props.type || "task";
const userTask = props.userTask || "user-task";
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be "project"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thenproject will have both tasks and project data which has different structure
for projects

[app]: {
      project: {
        [`${context.accountId}_user-project_${projectID}`]: "",
      },
    },

for tasks

  "project": {
        [projectID]: {
          [type]: {
            [`${context.accountId}_user-task_${taskId}`]: "",
          },
        },
      },

@elliotBraem elliotBraem merged commit ac69268 into NEARBuilders:develop Apr 17, 2024
2 of 3 checks passed
@Megha-Dev-19 Megha-Dev-19 deleted the project-structure branch June 24, 2024 18:11
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.

2 participants