-
Notifications
You must be signed in to change notification settings - Fork 177
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
Refreshing the channel creation page leads to 404 channel not found #2389
Comments
This is happening because when "New Channel" is clicked, the user is taken to a URL like where I'm assuming the So it makes sense that if the user refreshes on that URL before actually creating the channel, you would get a 404 page, so I'm not sure this aspect of the behavior is actually a bug. I think the proper thing to do might be to not optimistically assign the new channel an actual ID (esp. if we're not creating a new record on the DB) open up the New Channel workflow with a more generic URL. |
Yes, we generate ID's on the client side.
It's a bug at this point. This is what you'll see: 404 page would be helpful but it still feels a bit confusing from the user point of view.
It sounds like a good idea that would simplify the process a lot. It would be nice to have something like |
I see that in the video attached to the original report, there actually is 404 page displayed. The gif with no 404 page and infinite loading I uploaded above was recorded in Firefox. I've just checked that in Chrome, 404 page is displayed properly indeed. |
I just tried this in Firefox and I get the same empty page + loader, along seeing the "terms and conditions" modal. |
Is this issue still open to work? |
Hi @Pursottam6003 - it should be! It seems like the consensus here is to use a generic |
I have assigned you, do let me know if you need to be unassigned at any point - thanks for your interest! |
@MisRob If this issue is still open, can I work on it? |
Hi @MisRob, I'd appreciate it if you could assign me to work on the open issue. Thanks! |
Hi @SoumyoPurkayastha and @Pritam1729, thank you for volunteering! I'm sorry for delayed response, I just returned from a long vacation, and the whole team had holidays too. I'm assigning @SoumyoPurkayastha as you asked first. Please let us know if you still wish to work on it. @Pritam1729 We currently have other contributing opportunities in three repositories. You can see the contributing guidelines including links to issues suitable for contribution for each repository here: |
I'd love to work on it @MisRob. I'll keep you updated on my progress |
Alright, thank you, I will assign you then @SoumyoPurkayastha |
Hey @MisRob, while setting up this project I had some troubles with docker. After inspecting the errors I finally found the problem to be Postgre docker image link. Adding an http:// to the link solved the issue for me. I'm new to OS projects so I don't know if the link is intended to be this way. If it isn't, should I add this change with the PR for this issue, or should I create a separate issue for the same. |
Hi @SoumyoPurkayastha, thank you. I think it'd make sense to open a separate pull request for the Docker issue. I'm glad you resolved it and thanks for debugging and sharing about it. No need to apologize, we appreciate that you volunteer your time and energy. Best wishes. |
Hello @SoumyoPurkayastha, are your working on this or should we unassign? |
@MisRob You may unassign me. |
No worries, thank you |
Hello i am a beginner and i would like to contribute to the org. Is this issue still open? I am thinking of use something like transaction here so only if the the channel is created then only a new id is going to be assigned to the channel. |
Hello @yashru2712! Yes this issue should be available for assignment, thank you. I assigned it to you! Please feel free to read through the discussion on this issue to get a better sense of what needs to be done. And, in case you have any more questions, do not hesitate to ask. |
i am kind of stuck can you guide where the respective files are it is first time working with such a big code base. |
Hi @yashru2712, first I'd recommend you reproduce this issue from a user point of view. Then, after you can do this, install the Vue DevTools https://devtools.vuejs.org/ plugin to your browser. It has a feature where on any page you can easily inspect used Vue components and then you can located them in the codebase by name. Hope this helps! |
Regarding the steps to reproduce, I don't think you have access to the linked document, so here's the recording copy for you @yashru2712 GIF-refresh.mp4 |
@MisRob when i was trying to locally setting up the project using docker compose , i am facing issue like pull access denied for studio-app , celery-worker and cloudprober . Can you please help me out with that . |
@yashru2712 Did you perhaps run |
can you please guide with the step in order to run it locally using docker . And i haven't use
failed to solve: process "/bin/sh -c /tmp/download_sigil.sh" did not complete successfully: exit code: 127` |
@yashru2712 Thank you for posting a snippet of the error. Some of the images you're describing that have issues (cloudprober and the one producing the error you shared) are not needed for local development. The other ones you mentioned (studio-app and celery-worker) are really only needed if you intend to run Studio entirely through docker. It seems you're running Windows, and unless you use Windows Subsystem for Linux (WSL), running entirely through docker is probably the best approach. Developing on Studio isn't recommended on Windows directly (WSL is okay). Most of the team uses this setup, which I highly recommend you use if you can setup WSL. Otherwise, I would suggest only building and running the necessary services/images. So instead of |
@shruti862 I will assign you. Thanks |
@bjester Thank you for assigning me the issue. I have raised the PR regarding it. Please review it whenever you gets time may be after the holidays :) and let me know any changes needed to be done. |
Thanks @shruti862! We will definitely review your pr and provide you with any feedback when back fully, next year! Thanks again |
Observed behavior
When opening the page to create a new channel, if I refresh the page, I receive a 404 channel not found error.
GIF-refresh.mp4
Desired behavior
Refreshing the channel creation page should not result in a 404.
Constraints
The text was updated successfully, but these errors were encountered: