solution-locale / solutionlocale.ca Goto Github PK
View Code? Open in Web Editor NEWRépertoire de ressources locales en contexte de distanciation sociale
Home Page: https://solutionlocale.ca
Répertoire de ressources locales en contexte de distanciation sociale
Home Page: https://solutionlocale.ca
Your site is neat but it lacks a little favicon :)
As more drastic lockdown action are happening, some business choose to close for the time being, and some of them where already in the directory. We have to add an option so moderator can temporarily close / hide said businesses.
I must admit, I'm not one for tests, although I'd like to, I do code without tests... And its a real shane. So if anybody can tackle this, that'd be awesome!
I guess some propre seeds would also be required too then.
That way we don't need someone with database access to clean up the ocasional Algolia's weird results... ! ;-)
For now, we moderate, and don't see many spam but we probably should be ahead of the problem. Honetpot package or Google's captcha ?
It is not obvious what kind of place we are looking at just by the name. It would be nice to actually show what category the place is related to without much trouble and would be a great addition without being too cumbersome
Would call it distribution postale
.
The API is cool. We are thinking about using the API to show specific region (lanaudière, laurentide, etc.).
Some region feels a little empty on solutionlocale.ca for now, so we would like to be able to create new places from the API, sharing the place with everyone instead of storing it on our side.
We can always redirect people to solutionlocale.ca to create their new place, but an API would be nicer.
We have to be able to make a quick search in all places. Not especially for visitors, but for our moderators who need to edit places really.
Surfing this page would benefic from category filter.
Registration is closed, so we should be able to add new users from the backend to facilitate new addition of moderators to the team.
At least for top-level categories: Alimentation, Santé et hygiène, Maison et télétravail, Transport, Services à la communauté, Animaux
Maybe? Maybe not.
Curently, telephone numbers, email or website url are optional. We want to force at least one of them for a submission to be acceptable.
Ideally, the list would be sortable.
Request is by default sort alphabetically and add 'Newest first', 'By City'.
We want to be as local as we can, so we'd really like for each place to be associated with its RCM (les MRC, pour les francophones!).
At first we thought that Algolia Places was returning the information, which it does, but really incoherently. But someone pointed out this dataset from Élection Québec that have postal code and RCM informations.
The idea would be (probably) have an Event
that, on Place
created
that takes postal code and pull the RCM info to the field in the Places
table... And an artisan command that would go over existing Places
to update the information.
Based on the list of new categories, add a parent relationship capability to categories.
I've had a similar idea to yours about right when you started solution-locale and your project took off while mine stagnated since I don't have as much free time available to develop many features.
I had plans to add filtering but school came back around and I do not think I will be able to add it before the month of may and since then solution-locale may be well on its way.
I would like to know what are your plans the efforts in upcoming weeks and months are like and if it would be mutually beneficial to merge my knowledge with yours from https://achetelocal.com
Some poeple don't want to enter their full asdress as the business isn't publicly available (online store for example). We have to add a way to prevent the address to show if wanted.
Title says it all. Curently the form is partly using the old()
helper.
For now, it's easy for them to just look for doubles, but as we're getting more partners in with their own source of places to add, we're facing a potential problem with hunting and correcting doubles.
Some functionality that scans the database to present possible cases to moderator would be great.
My very own, albeit old, package for string similarities might help!
Linking users to specific regions to moderator would ensure they don't moderate regions they don't need to, reducing risks of trouble... But especially, if reduces the amount of stuff on their screens, makes them less anxious! :)
The current Algolia Place autocomplete returns to us a latitude and longitude when entering a new place to the database. We do save this information, but now, we should be making something out of it !
Maps, anyone?
Let's use spatie's backup package and be safe quick.
The returned payload from Algolia Places isn't standardized. For some reasons, some times it gives you some specific fields we use (like address, or city), and sometimes it doesn't.
We need to address this, either by letting the autocomplete go and opt for more granulated fields, or find something that works better.
Pro of using Places: gives us corrected adderss information when it recognizes the address correctly; gives us latitude and longitude of said place so we can put them on a map later on.
Cons of using Places: causes problems ;-)
https://solutionlocale.ca/places/ajout
When creating a Place, we should force uppercase on the postal code field. It would make the data render under the same structure.
Akin to #53 , but we might want to have a command that would run once in a while to normalize all address data we can.
Geocodeio (already in the project) could, for example, help us normalize city names. But we have the limitation of the number of API calls, we'd have to heavily cache data... And maybe even add a field to the place model that tells us if it had been normalized so we don't go over it too much.
If there is actions to do before running the Docker, please update the README.md file.
We have to add a notice that says that an URL / website address can be a Facebook page address, as people don't seem to realize it :/
The idea is to have the project as open as possible, and as such, we want to open the data in the form of an API.
It's not high on the priority list, but it's there!
I'm not sure how we'd solve this, but this sometime explains the incorrect number shown on clusters.
Curently, URL is there for whatever website they want. People are confused sometimes (😕 ), so we'll add another field specifically for their facebook page addess.
Curently field is free to enter url as one want, and we need to force HTTP(s) if it's not entered on place submission.
For example, at the moment, in Abitibi-Témiscamingue, total count is 8, but checking the couny by category gives us 9. Clicking on "produit d'épicerie", who's supposed to be at one entry, shows nothing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.