-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
[Bug] Geolocate-controll styling #119
Comments
Can you assign me to the issue? I want to try |
Hello is the issue still relevant? If yes could you assign me to the issue? Thanks 👍🏻 |
Yes, it's still open. Since there hasn't been any activity since some months, I think it's save to reassign to you. |
Do I have to change only the color of the button or do you expect something more? |
After clicking on the button, there is also an overlay in the same colour. Both should be included (if possible). We have a wide array of colors already in use, but also these new colors TUM just dropped: (if you have a color, which looks good in this context and is not on our prevous roster, this is fine too 😉) |
I have just tested successfully it on my machine. Could you include more of the errormessage? FYI: Our Windows compatibility is probably not the best, since we both use some flavor of Linux. Sorry about that. |
I noticed that we are quite unclear at times what our exect dev environemnt is. Okay. I got WSL working with a few hickups: Inside WSL:
|
Thank you for your patience (I was organizing a regatta, so I did not have time last week to look into where our docs are failing us). There are three options to get the API (all are mostly equivalent) Using our APIFirstly (for completeness), running the webclient does not require you running your server:
This refers to https://github.com/TUM-Dev/navigatum/tree/main/webclient#testing DockerAlso note, that you can use Docker to run our API and Meili (our search provider): docker network create navigatum-net
docker run -it --rm -p 7700:7700 --name search --network navigatum-net ghcr.io/tum-dev/navigatum-mieli-search:main
docker run -it --rm -p 8080:8080 --network navigatum-net -e MIELI_SEARCH_ADDR=search ghcr.io/tum-dev/navigatum-server:main For Meili this is even the recomended way 😉 native WSLApparently WSL has a few other quirks which we did not notice on our machines, due to those steps being done by our (@octycs and my) distros. On the sudo apt install build-essential pkg-config openssl libssl-dev libsqlite3-dev On the On another Other note:
|
I am very sorry that I am bothering you again, but I am a bit frustrated. Everything in the webclient documenation is working now. But I am not sure how to use the public API. I am not able to execute the command |
I just tried it with the public API and you're right, it doesn't work because of CORS :( According to the message in Firefox the server needs to send |
Do you have an idea @CommanderStorm how to solve this? We cannot just add the credentials header on the production build, because it conflicts with allow_any_origin. I am thinking about removing the lang cookie from the API. (There is a different solution, but I am not sure whether we should implement it: The server can just always copy the value of the |
Yea.. you are probably right: switching to the query params ist probably best.
This ist one hell of a Hacky solution. Lets Switch to query params, since I dont See a strong reason, why sticking with Cookies would be better. (I still am going to Look into how Clean this would be, but I suspect, that solution 1 is better) Timeline for this fix is this weekend. @Marius1501: I am terribly sorry about the Problems you encountered, our current state of documentation ist not acceptible and I really am ashamed of the problems you encountered. I sadly was unable to improve upon These issues in the last weeks, because the start of the Semester ist always really stressfull, because of SET. |
That is very kind! I am really relieved that it is not my fault. 😄 But I want to work on this issue, though. Because it is just a small style change I would test the code in a local project. Then I would change the real code like in my local project. I hope this is fine for you. 👍🏻 |
I changed the user location dot color. I hope this is fine. I have a problem with changing the color of the geolocation-button because I am not able to change the svg-icon. The link below is the part of the Mapbox source code where the geolocation-button ist styled. Do you have an idea how I get access to it? Thank you in advance! 😃 mapbox-gl-js/src/css/mapbox-gl.css (Line 250 to 370). |
Describe the bug
The geolocatecontroll does not respect our colorscheme.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the locate me button to have TUM-relevant styling.
Screenshots
Additional context
Not a high-priority bug
The text was updated successfully, but these errors were encountered: