-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Some users don’t have their maps in "my maps" page #1448
Comments
@ldidry ah, damn, that may be a side effect of #1196 : "My maps" should logically now point to this dashboard page, but I realize that for framacarte, given we quite changed the HTML, this is certainly not the case, and it may be not easy to use it. What do you think ? This is one more occasion for me to think "how can I properly communicate about the changes to the maintainers of uMap servers". If you have suggestion, I'm happy to ear them :) |
Here is a diff: diff --git a/templates/umap/navigation.html b/templates/umap/navigation.html
index 1be9c0c..fdd8fb3 100644
--- a/templates/umap/navigation.html
+++ b/templates/umap/navigation.html
@@ -4,7 +4,7 @@
<div class="container">
<ul class="nav navbar-nav navbar-right">
{% if user.is_authenticated %}
- <li><a href="{% url 'user_maps' user.username %}">{% trans "My maps" %} ({{ user }})</a></li>
+ <li><a href="{% url 'user_dashboard' %}">{% trans "My maps" %} ({{ user }})</a></li>
{% else %}
<li><a href="{% url 'login' %}" class="login">{% trans "Log in" %} / {% trans "Sign in" %}</a></li>
{% endif %}
Which then points to the dashboard, which looks like this: @ldidry should I make a PR ? |
No, thank you, I fixed the template.
Maybe a " |
Anyway, thank you for the fix (I’m waiting for an impact user to say if it’s all right). |
Hey @ldidry 🤗 On some other projects, we were adding some more information in the changelogs, to make this more easy to spot. We could then have different sections in the changelog, like:
Would that make it easier to get the information? |
Add a link to the changelog in the releases and it should be enough 🙂 |
I thought that the changelog file was bigger than the release text and that you wanted to put the sections in only the file. The different sections in changelog (file and release) will be good 👍 |
Should we close here ? :) |
Sure, sorry. |
Describe the bug
In "my maps" page, some users (not all of them) don’t see their maps. It can be no maps, or just some of them
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Have all of your maps
Additional context
It’s a regression due to 9af5375. I reverted the commit and it’s now working as before.
Problem: I didn’t experience the bug myself, so I can’t dig it deep. I just now that reverting the commit fixes it.
The text was updated successfully, but these errors were encountered: