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

feat: add organisation creation, link org project and survey pages #55

Merged
merged 5 commits into from
Jan 16, 2025

Conversation

twinkarma
Copy link
Contributor

@twinkarma twinkarma commented Jan 14, 2025

Resolves #20

Related to #16 #17 #18

Note: I'd made a bit of a mess with some of the models so I'd had to clear out the migration files. You will likely need to re-create your database.

The Projects navigation is changed My organisation. When clicking on the navigation link, user without an organisation will be asked to create one:

image

Note: Users are not supposed to be able to belong to multiple organisations.

User will then be taken to their organisation page that shows a listing of their projects, they can only create new projects at the moment:

image

Clicking on View will take the user to the Project details page that lists all of the surveys in the project:

image

Clicking view will take you to the Survey details page which does not have much at the moment:

image

But you can test the survey response out by clicking on the Link to fill in survey (token not implemented at the moment)

After filling in the survey, you can see the survey response (I'm just printing raw json for now)

image

Copy link
Collaborator

@yld-weng yld-weng left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks. I've pushed two commits to remove the 'questionnaire' that is no longer used.

Copy link
Member

@f-allian f-allian left a comment

Choose a reason for hiding this comment

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

@twinkarma Thanks Twin, looks great. The "Edit" button for each project didn't work, so I've committed a few fixes, including a ProjectEditView and an edit.html that allows users to update their project metadata (only project name for now)

@twinkarma
Copy link
Contributor Author

Thanks for the reviews everyone, I'll merge it in now.

@twinkarma twinkarma merged commit 4e07c6d into dev Jan 16, 2025
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