diff --git a/notes.md b/notes.md index d8949dd..e69de29 100644 --- a/notes.md +++ b/notes.md @@ -1,218 +0,0 @@ - -# toc : ---- - -- v2 2023 - - todo - - to improve - - working time -- v1 2022 - - todo - - notes - - ressources - - -# v2 2023 ---- - -## todo - -- [/] create wp plugin menu -- [/] add infos in menu - - [/] gmaps api key - - [/] missing addresses -- [/] error strlen -- [/] add counter -- [/] menu select published posts -- [/] menu show error format in categories - -## to improve - -- I made a script that goes through all posts each time the map is loaded, - extracts the right info, creates the "locations" object as a global variable, - and serves it to the front end js. It also get the coordinates, but only - when a post is published, and it adds them in the meta field of the post - - that's absurd, all the info should be added to the meta field, and only - reevaluated when post is saved or change status -- I made a rapid check of some errors in plugin menu, but that would be much - better to add the errors to a common place, maybe a post meta fiel, during - the processing of the data - -## working time - -- 03/09/23 - - begin: 14h30 - - mes: "setting up docker" - - end: 16h00 - - len: 1h30 - - begin: 16h30 - - mes: "launch worpdress" - - end: 18h00 - - len: 1h30 - - total: 3h00 - -- 09/09/23 - - begin: 16h30 - - mes: "trying to copy wp site" - - end: 17h30 - - len: 1h00 - - total: 1h00 - -- 10/09/23 - - begin: 10h00 - - mes: "trying to fix makefile and .env volume variable" - - end: 12h00 - - len: 2h00 - - total: 2h00 - -- 11/09/23 - - begin: 10h00 - - mes: "fixed volume variable" - - end: 13h30 - - len: 3h30 - - total: 3h30 - -- 12/09/23 - - begin: 9h30 - - mes: "resolve some env var pbm" - - end: 12h15 - - len: 2h45 - - total: 2h45 - -- 14/09/23 - - begin: 11h30 - - mes: "resolve env pbm with sudo" - - end: 12h00 - - len: 0h30 - - begin: 13h00 - - mes: "env pbm with sudo resolved" - - end: 13h45 - - len: 0h45 - - begin: 13h45 - - mes: "launch process duplicator" - - end: 14h30 - - len: 0h45 - - begin: 14h45 - - mes: "copy site duplicator" - - end: 15h30 - - len: 0h45 - - total: 2h45 - -- 18/09/23 - - begin: 10h00 - - mes: "rediscover plugin" - - end: 12h00 - - len: 2h00 - - begin: 13h00 - - mes: "try to get acf fields" - - end: 15h45 - - len: 2h45 - - total: 4h45 - -- 20/09/23 - - begin: 14h00 - - mes: "pbm api keys and acf7 form" - - end: 15h30 - - len: 1h30 - - total: 1h30 - -- 21/09/23 - - begin: 9h45 - - mes: "understand how custom fields works" - - end: 12h45 - - len: 3h00 - - begin: 15h15 - - mes: "create plugin menu" - - end: 19h30 - - len: 4h15 - - total: 7h15 - - - - -# v1 2022 ---- - -### todo - -- [/] copy recent site version -- [/] create links -- [/] make links having map -- [/] transform filter list in inputs -- [/] zoom in -- [/] style input filters -- [x] enlever le bandeau de scroll des menus -- [/] effacer -> bouton carre, fond violet, ecriture blanche, en capitale, arrondis de 3px sur les coins -- [/] ne pas ouvrir sur un nouvel onglet -- [/] "effacer" au lieu de "sans filtre" -- [/] accents et majuscules : "Effacer", "Pays" et "Categories" -- [/] responsive - - pays - - categories - - irl / online - - effacer -- [/] sur ordi carte hauteur 600px, sur telephone 500px -- [/] make two infowindow size -- [/] infowindow with date in background color purple, and croice white -- [/] check errors on real site -- [/] create action to publish all -- [/] deal with multiplication of filters -- [/] deal with window size -- [/] la carte ne s'affiche pas sur les pages -- [/] filtres sur chrome -- [/] infowindow new design -- [/] infowindow enlever scroll border - -- [/] hide filters before css ready -- [x] reduire hauteur du select menu -- [/] dans categories, placer "autres" en bas -- [/] dans categories, transformer fleches en "autres" -- [/] effacer les fenetres, au moins sur le bouton effacer, ou sur mouvement -- [/] zoom sur cluster problem -- [/] transform names without space -- [/] change appearance of filter according to other filters -- [/] change title of select options that appears on cursor hover -- [ ] deal with error double event irl and online - - -### notes : - -- zoom : toujours zoomer, pour un seul marqueur pas trop, et enlever les villes -- resoudre probleme mauvais markers de pays -- faire un bouton select (afficher la seletion plutot que le nom du menu) - -- bound la carte limite pour ne pas voir la zone grise -- quelles infos on mets dans les infowindow - - adresse en haut (surtout pour les markers avec plusieurs evenements) -- filtres: au dessus de la carte -- zoom : on reste avec le fonctionnement par defaut - - est-ce qu'on peut changer la phrase "ctrl + scroll" pour un truc en francais ? -- comment gerer les mauvaises adresses - - verifier la maniere dont je les recuperes, tous les posts devraient avoir un pays -- comportement des infowindows - - centrees, c nickel -- markers avec plusieurs evenements a la meme adresse - - utiliser uniquement les markers qui servent actuellement pour les clusters - - quand c'est un cluster, on zoom, - - quand c'est plusieurs evenements au meme endroit, on les affiche - -### ressources - -- [changed plugin directory in wp](https://wordpress.stackexchange.com/questions/120075/how-to-change-location-of-the-plugins-wordpress-themes-folder) -- [discussion on googlemap wp implementation](https://wordpress.org/support/topic/google-maps-where-to-place-api-key/) -- [exemple of googlemap plugin creation](https://www.inkthemes.com/implement-google-map-plugin-for-wordpress/) - - [Error: not a valid JSON response](https://wordpress.org/support/topic/publishing-failed-error-message-the-response-is-not-a-valid-json-response-2/) - - [permalink broken](https://wordpress.org/support/topic/permalinks-change-breaks-all-links/) -- [console.log in php](https://stackify.com/how-to-log-to-console-in-php/) -- [plugins_url with symlink pbm](https://wordpress.stackexchange.com/questions/102681/plugins-url-file-wp-plugin-url-with-sym-links) -- [make nginx follow symlinks](https://unix.stackexchange.com/questions/157022/make-nginx-follow-symlinks) -- [nginx not following symlink maybe due to permissions](https://stackoverflow.com/questions/12624358/nginx-not-following-symlinks) -- [symlink pbm with php-fpm](https://joshtronic.com/2019/07/29/symlinks-with-nginx-and-php-fpm/) -- [my post on unix stack](https://unix.stackexchange.com/questions/722503/symlink-doent-works-with-nginx-and-php-fpm-and-docker/722511#722511) -- [my post on wordpress stack](https://wordpress.stackexchange.com/questions/410735/i-dont-understand-how-symlinks-in-plugin-work) -- [maps api in php](http://www.learningaboutelectronics.com/Articles/Google-maps-API-JSON-PHP.php) -- [google maps api url parameters](https://developers.google.com/maps/documentation/javascript/url-params) -- [google maps api references](https://developers.google.com/maps/documentation/javascript/reference) -- [remove marker cluster](https://googlemaps.github.io/js-markerclusterer/classes/MarkerClusterer.html#removeMarker) - - diff --git a/works b/works index 0db8876..d2e8cfa 160000 --- a/works +++ b/works @@ -1 +1 @@ -Subproject commit 0db8876ba840e9f0ec583411ec6889a9c8b071d1 +Subproject commit d2e8cfabeb0b00bd205661b0e78da5d596d679a9