Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unfriendly default setting??? #2585

Closed
mythsman opened this issue Jun 19, 2017 · 8 comments
Closed

Unfriendly default setting??? #2585

mythsman opened this issue Jun 19, 2017 · 8 comments

Comments

@mythsman
Copy link

When I click on my 'foo.md' file , the default page is 'localhost:8888/view/foo.md' .
But what I want is absolutely l'ocalhost:8888/edit/foo.md' , So I have to change it manually every time.
I referred to the documentation but I didn't find any configuration about it ....
I remember that many versions ago ,the setting is just right ...
Will anyone do me a favor ? Thanks a lot.

@takluyver
Copy link
Member

I can reproduce this. @gnestor do you have time to investigate?

Workaround: select the .md file with the checkbox, click the edit button at the top of the list.

@takluyver takluyver added this to the 5.1 milestone Jun 20, 2017
@mythsman
Copy link
Author

Well , the problem is if the filename is non-ascii , i.e. chinese words , when i click on the edit button , i just get a 404 .....

@takluyver
Copy link
Member

Looks like the URL is getting double-encoded.

@mythsman
Copy link
Author

Exactly ! "32" --> "%ef%bc%93%ef%bc%92" --> "%25ef%25bc%2593%25ef%25bc%2592"

@takluyver
Copy link
Member

#2588 should fix the double-encoding issue, at least.

@takluyver takluyver reopened this Jun 20, 2017
@takluyver
Copy link
Member

There's still the issue with clicking on .md files - I think they should open in the editor by default if possible.

@gnestor
Copy link
Contributor

gnestor commented Jun 20, 2017

#2449 should resolve this among several other issues related to the "View"/"Edit" buttons and default paths for opening files in the dashboard.

@takluyver
Copy link
Member

Thanks @gnestor

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 16, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

3 participants