rafaels88 / pinfluence Goto Github PK
View Code? Open in Web Editor NEWAll world's influence in a map. Ruby and Hanami open source project.
Home Page: http://pinfluence.org
License: MIT License
All world's influence in a map. Ruby and Hanami open source project.
Home Page: http://pinfluence.org
License: MIT License
This is a conceptual discussion.
Each person should be associated to one or more tag. Everyone needs to be associated with at least one tag.
For now, we have:
But all of them should be better discussed.
In map's info window, it should be displayed the person's age at that moment, next to his name.
So, it would be like this:
Nelson Mandela (32y)
Today our specs are implementing an own database cleaner helper to clean the tables on each spec. But it is badly implemented, since it is necessary to call the helper on every spec file, and it is looping on every repository to call for each repo object and clean its database. Yes, it is dummy.
This task is about to replace this implementation to use the database_cleaner gem https://github.com/DatabaseCleaner/database_cleaner
Nowadays, we play with Moment #year_begin and #year_end, changing between years on the Map slider. But this is bad because some influences have a lot of history to tell within a year. For that reason, we need to play with dates(yyyy-mm-dd) instead of years.
This is going to be a huge task. The changes to aim:
All code should be ok to rubocop verification.
Remember to change travis-ci building to check rubocop syntax
It should be possible to CRUD tags in admin and associate an influencer to one or more tag.
All tags are case insensitive, so "Activist" == "activist"
Currently we have /api/moments
and /api/moment/years
. Both resources should be available from a single Graphql endpoint /api_graphql
.
Issue description
When we create a Location
for a Moment
with an invalid location address, an error 500 occurs.
It is expected to be shown the error in the screen with all form filled with previous filled informations.
Today, we need to create a new user using the console in command line. It should be possible to create a new admin user from admin dashboard.
It should be possible for an admin user to edit his password.
Password is being compared to plain text and not converting to password hash first
It should be possible to search for influencers with no need to search for the exact influence name. To accomplish that, it should be implemented an indexed search using Elastic Search. But, there is the need to discuss about how to index this information.
It should be possible to have a permalink to share, for the current state(view) of the map.
It should be possible create a moment with no end year, which means is still occurring.
Upgrading reference: http://hanamirb.org/guides/upgrade-notes/v090/
A moment can be as draft
or published
.
API / WEB
Admin
Some names have different variations, for example: Siddhartha Gautama / Buddha / Buda
So, for some names, it may change depending on language and different nicknames. It should be possible to be shown the most famous name depending on current website language and how the influencer is most known in this language.
Hello World!
The dropdown of the person is not showing the correct person in edit screen of Moment.
Using the example Siddhartha Gautama / Buddha / Buda, it should be possible to search using those three forms.
It should be possible to enter the exactly year to view the map, using a input box.
All influencers names are shown in Google Maps InfoWindow, but it is really ugly and take to much space. We need a better design for that.
Today there is an admin screen to create Moment
with a location for existent person
. It should be possible to create a Moment
in the same screen when creation a Person
.
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.