zubhub
zubhub copied to clipboard
Create activities is available to normal users via the route
Describe the bug
The creation of activities should be available only to staff
and educator
, reason why we don't see it appearing on the sidebar as normal users(creators). When you get to the route /activities/create/
you can create an activitivy though it won't appear
To Reproduce Steps to reproduce the behavior:
- Go to Zubhub and login
- Go to
/activities/create/
- Follow the steps
- See error
Expected behavior Normally it was to prompt a message to tell the user "resources not available to creators", something like that.
Screenshots
Before I can jump on this task, I have a question. How did you create this activity as a Creator, what button did you click? I don't see a Create Activity button @srish @yokwejuste ?
Before I can jump on this task, I have a question. How did you create this activity as a Creator, what button did you click? I don't see a Create Activity button @srish @yokwejuste ?
You can do that locally
Tell me, designer or dev so I can guide you
Before I can jump on this task, I have a question. How did you create this activity as a Creator, what button did you click? I don't see a Create Activity button @srish @yokwejuste ?
You can do that locally
Tell me, designer or dev so I can guide you
Hi @yokwejuste I think we designers can't see this problem or the updated version of the site. How do we fix this please? Thank you
@yokwejuste For this issue, I think if a regular user (creator) attempts to access /activities/create/, they should see an error prompt message like "Access Denied: This feature is available only to staff and educators." Improved User Flow:
Alternatively, we can redirect them to an accessible page for creators, perhaps guiding them to a page where they can explore existing activities on the platform.
This modal combines both suggestions.
Before I can jump on this task, I have a question. How did you create this activity as a Creator, what button did you click? I don't see a Create Activity button @srish @yokwejuste ?
You can do that locally
Tell me, designer or dev so I can guide you
Hi @yokwejuste I think we designers can't see this problem or the updated version of the site. How do we fix this please? Thank you
I think we can go and do something like a join call so you can have a view of it but unless you install it you can have it available
@yokwejuste For this issue, I think if a regular user (creator) attempts to access /activities/create/, they should see a prompt message like "Access Denied: This feature is available only to staff and educators." Improved User Flow:
Alternatively, we can redirect them to an accessible page for creators, perhaps guiding them to a page where they can explore existing activities on the platform. This modal combines both suggestions.
Interesting combination,
The robot design matches with the theme and designs of zubhub
Before I can jump on this task, I have a question. How did you create this activity as a Creator, what button did you click? I don't see a Create Activity button @srish @yokwejuste ?
You can do that locally
Tell me, designer or dev so I can guide you
I'm a designer
For preventing uninformed activity creation by creator accounts (users), I recommend two potential solutions:
- Modal Approach: Before accessing the "Create Activity" page, a modal could pop up, informing users that they are restricted from creating visible activities.
- Tooltip Notification: As an alternative, when creators click on the "Create Activity" option, a tooltip wil appear above the form. This tooltip will clarify that while they can proceed with the activity creation, the resulting activity will not be publicly displayed. This method reaffirms the point you previously highlighted about the visibility constraint.
Both options aim to clearly communicate the limitations and manage user expectations effectively.
Hello @yokwejuste , I want to work on this issue as a developer.
@yokwejuste For this issue, I think if a regular user (creator) attempts to access /activities/create/, they should see an error prompt message like "Access Denied: This feature is available only to staff and educators." Improved User Flow:
Alternatively, we can redirect them to an accessible page for creators, perhaps guiding them to a page where they can explore existing activities on the platform. This modal combines both suggestions.
Love this design. Plus, access denied sounds really robot-y. Love it!
@yokwejuste For this issue, I think if a regular user (creator) attempts to access /activities/create/, they should see an error prompt message like "Access Denied: This feature is available only to staff and educators." Improved User Flow:
Alternatively, we can redirect them to an accessible page for creators, perhaps guiding them to a page where they can explore existing activities on the platform. This modal combines both suggestions.
Love this design. Plus, access denied sounds really robot-y. Love it!
Thanks! @DonPresh I thought so too!
@yokwejuste For this issue, I think if a regular user (creator) attempts to access /activities/create/, they should see an error prompt message like "Access Denied: This feature is available only to staff and educators." Improved User Flow:
Alternatively, we can redirect them to an accessible page for creators, perhaps guiding them to a page where they can explore existing activities on the platform. This modal combines both suggestions.
This looks really good
For preventing uninformed activity creation by creator accounts (users), I recommend two potential solutions:
- Modal Approach: Before accessing the "Create Activity" page, a modal could pop up, informing users that they are restricted from creating visible activities.
- Tooltip Notification: As an alternative, when creators click on the "Create Activity" option, a tooltip wil appear above the form. This tooltip will clarify that while they can proceed with the activity creation, the resulting activity will not be publicly displayed. This method reaffirms the point you previously highlighted about the visibility constraint.
Both options aim to clearly communicate the limitations and manage user expectations effectively.
This is a very crisp design!
@yokwejuste For this issue, I think if a regular user (creator) attempts to access /activities/create/, they should see an error prompt message like "Access Denied: This feature is available only to staff and educators." Improved User Flow:
Alternatively, we can redirect them to an accessible page for creators, perhaps guiding them to a page where they can explore existing activities on the platform. This modal combines both suggestions.
Love this design. Plus, access denied sounds really robot-y. Love it!
Thanks! @DonPresh I thought so too!
@Temabo Just a thought, So this access denied looks more like fun than a warning. Can you maybe add something that makes it look like you are warning the user about something? I want to say make "access denied" red but you can do your thing!
Hi @srish @yokwejuste these are my explorations to solve this problem. I believe the page should display a 403 error. This could be achieved through either a modal pop-up in the initial frame or by loading the error on a separate page and then redirecting the user back to the previous page.
Error messages provide clear guidance on what went wrong and how to correct it. This reduces user frustration and helps them proceed without getting stuck.
Before I can jump on this task, I have a question. How did you create this activity as a Creator, what button did you click? I don't see a Create Activity button @srish @yokwejuste ?
You can do that locally Tell me, designer or dev so I can guide you
Hi @yokwejuste I think we designers can't see this problem or the updated version of the site. How do we fix this please? Thank you
Hey @mehreeee you can see the activities page here and even the create activities here
@Temabo Can you develop the design for an entire page where the robot design & message would fit in?
@Temabo Can you develop the design for an entire page where the robot design & message would fit in?
Alright @srish i'd do that.
Before I can jump on this task, I have a question. How did you create this activity as a Creator, what button did you click? I don't see a Create Activity button @srish @yokwejuste ?
You can do that locally Tell me, designer or dev so I can guide you
Hi @yokwejuste I think we designers can't see this problem or the updated version of the site. How do we fix this please? Thank you
Hey @mehreeee you can see the activities page here and even the create activities here
Thank you!!
Concerning this issue @yokwejuste. It's fixed here https://github.com/unstructuredstudio/zubhub/pull/885. Note all @tuxology's comments I guess I will also have to move on with @Temabo's designs once ready
Concerning this issue @yokwejuste. It's fixed here #885. Note all @tuxology's comments I guess I will also have to move on with @Temabo's designs once ready
Here it is:
- No slug in the response from the backend
- Slug field, slugified from the title:
@srish @coderatomy @yokwejuste
This is what it looks like on an entire page. I also included a Back button to take them back to the previous page they were on if they do not want to explore activities. Kindly review
The PR is not merged yet but its fixes @yokwejuste. Please take a look and read through the conversations there
@srish @coderatomy @yokwejuste This is what it looks like on an entire page. I also included a Back button to take them back to the previous page they were on if they do not want to explore activities. Kindly review
![]()
Honestly @Temabo, you shouldn't bother yourself with designs here. If users have no privileges to create an activity,
they won't see any link that helps them create an activity. Adding to that, even if they try accessing through the url, they will be redirected to /activities
.
Check the conversations here https://github.com/unstructuredstudio/zubhub/pull/885#issuecomment-1763442693.
The PR is not merged yet but its fixes @yokwejuste. Please take a look and read through the conversations there
Then just reference this issue took, so it will be closed