Giter Club home page Giter Club logo

slam-alphas's Introduction

Ruby Monsters

This is a "meta" project to document all things Ruby Monsters. It's mostly here so we have a central place to ask questions, just use the issue tracker like a forum.

We can use the actual Git repository to store interesting bits of information.

slam-alphas's People

Contributors

1000miles avatar aydamacink avatar carolinagri avatar joecorcoran avatar lislis avatar sneakingeon avatar this-sandra avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slam-alphas's Issues

Setup on Heroku

  • Create Heroku app
  • Connect DB
  • Make sure everyone can deploy

[META] Test data

I got two data sets for you to use/ play with

Name: Svenja Gräfen
Wohnort: Berlin
Kontakt: [email protected]
Website: https://svenjagraefen.de
Facebook: fb.com/svenjagraefen 
Video: https://www.youtube.com/watch?v=tKDqWYuaNVU
Geburtsjahr: 1990
Kann wann: Wochenende, unter der Woche, Urlaubs-/Ferienzeiten
Kann wo: überall
Reist mit: Zug
im Besitz von: BC50
Franziska Holzheimer
Wien
Website: www.franziskaholzheimer.de
Kontakt: [email protected]
Video: https://vimeo.com/89895541
Geburtsjahr: 1988
Kann wann: Wochenende, unter der Woche, Urlaubs-/Ferienzeiten
Kann wo: überall
Reist mit: Zug
im Besitz von: BC50, Vorteilscard Classic (Name Österreichcard ist falsch ;D)

[DB] provide user example data to seed into database

issue:

In the moment, if we reset the database it takes effort to refill the data manually

possible approach:

  • Fill the seed.rb with data examples (to accelerate the process of seeding data into the database)
  • Install and implement the gem faker to retrieve user data quicker

Disable admin field in edit form for users

Currently, user can edit their profile (which is fine), but they can also make themselves an admin. This checkbox should be disabled.
Check also if the "public" checkbox should be disabled for users.

display of age, website and facebook on profile page

Even if the data is entered age and facebook don't appear on the page.
Also:

  • The displayed age should be calculated form the year of birth
  • Facebook link should say ' bei Facebook'
  • The website link should display the the actual url (maybe cleaned?) instead of 'website'

Add more profile fields

There are still fields missing from profiles. Those can be added step by step

  • Link to a video recording - status: done
    This can either be youtube or vimeo. We'll just save the link and then display the embedded player. - status: done => PR #102
    For this we'll either need to display radio buttons (youtube or vimeo) or analyze the url and decide for ourselves
  • availability on weekends, on work days, during (school) holidays - status: done
    Saying something like is available on and then list each selected option (can be multiple) => PR #102 & PR #141
  • an/ will travel, within 50km radius, within 100km radius, within 300km radius, any distance
    Saying something like will travel and then the selected distance (can be only one) => PR #127
  • travels via car, train, plane - status: done=> PR #145
    Only available if user will travel, can be multiple
  • train bonus cards - status: done => PR #148
    has Bahncard 25 
    has Bahncard 50
    has Bahncard 100
    has Österreichcard
    Halbtax
    
    Only available if user is travelling via train, can be multiple

Feel free to open smaller tickets for each one :)

Admin role

Some users need to have admin rights so they can set user profiles to public.

Add Video Links

We should argue about this: should it just be a link or some embed video. I guess we decided for the second idea.

tweak routes

ideally we'd have /karte as root, which actually routes to /karten/de.
/karte/at and /karte/ch are fine :D

Sign up flow again!

So after some back and forth, here is what the Alphas want as the final signup process.
I know this is basically what we had in the beginning, sorry :/

  • Slammerin wants to be on the map and goes to the Slam Alphas page
    -> We probably need to add a link to the app. I will also add one to the Wordpress page but I don't think that's enough (#88)
  • Slammerin creates an account an has the possibility to add all the information
    • They want ALL fields to be required to create an account (#89)
    • We also need to add a field to the signup form which Alpha referenced them. I'll open an issue with more details (#86 #87)
    • That would be all except for public and alpha which only an admin can set
  • Emails are sent:
    1. email to the admins (redaktion[at]slamalphas[dot]org) that a new account has been created,
    2. email to the Slammerin saying 'Wir haben deine Anfrage erhalten und prüfen sie. Du bekommst eine Mail wenn alles online ist'.
  • Admin look through the profile and can set the profile to public=true
  • Slammerin receives an email saying Dein Profil ist jetzt online <link>

[Frontend] Can not scroll on user edit page

At the moment after login on an example user detail edit page at http://192.168.33.15:3456/users/4/edit I can not scroll from top to down to see all elements of the page. Even after merging the latest PR of design updates today.

Tested with:

  • Firefox & Google Chrome
  • 100% window size

00000260

Public setting

Users should not be able to set themselves public.
Only admins can do that.

Sign up broken/ Bad Signup UX?

When I try to make a new profile when not logged in, it does not safe the user.
I believe that's a restriction for not-logged in users/ non-admins.
But! It would be much better if I could not even access the routes for that if I don't actually have the permission to do so

Map!

  • With users displayed as pins/flags
  • Work out how to handle more than one user in the same location (breakout pins, grouped by number?)
  • Work out dimensions/zoom level (show only Germany? DE/CH/AT?)
  • Display country correctly on /users
  • validate country in user model
  • add map + markers to views/maps/show
  • make the markers clickable
  • deploy feature on heroku
  • colour masking

[Login] User profile shown on the map doesn't reflect the user who has signed-in

Steps to reproduce:

Case 1: Login as a non-admin user

  • I signed-in as a non-admin user Chad Harris with the email address [email protected] (generated by the gem faker) and user_id: 3.
  • After I signed-in I expect to see my own profile under /users/3 but instead I see only another user /users/38 which is Thuy

Screenshot 1:
00000282

  • only if I explicitly go to users/3 I can see my own profile as Chuck Harris

Screenshot 2:

00000283


Case 2: Login as an admin user

  • I am signed in as an admin user
  • As an admin I should see all user profiles on the map, instead I only see 1 profile that is flagged as public under /users/56

Helper functions for alphabetical list

For the alphabetical list it would be useful to have helpers or partials (or what you consider best) that:

  • generate a list with the letters of the alphabet where only the letters that have a corresponding user name appear (read: leave out letters of the alphabet when there is no user with that name)
  • generate an alphabetical list for all users (with public profiles)

[Feature] Setup waffle.io for better project handling

At the moment we don't really see the current status of a task. In order to have a better overview I would suggest to use labels like in-progress, on hold, review. As the projects feature of Github does not really deliver clear insights, I would suggest to use waffle instead.

Can you please confirm using waffle?
@joecorcoran @lislis

Create `public` flag for profiles

A freshly created profile is not public as default.
You need an admin to set it to public.
Only public profiles will get a marker on the map.
Update: this stays the same. Admins need to prepare profiles and set them to public once they're ready

We have a design now!

Here is the PDF with the design. It also includes blog and content pages, which are not relevant to this app but still nice to look at :)
SA_Website_dev.pdf

There are a few outstanding questions that I'll talk to Alexandra about, but aside from that, this is it 🎨

[Security] Create an env.SAMPLE file

At the moment some of us use different systems (mac os x, ubuntu, etc.) to work on the project. If we use an .env file (hidden, not checked into Git) on our local computers we can store credentials and configs.

Benefits:

a) We don't need to worry about if sensitive data is revealed, e.g. URL, passwords, etc.
b) We can use different configs dependent on the operating system of each of us, e.g. PATH_TO_A_LIBRARY
c) We can store data dependent on the environment (development/test/production) we use.


Update, 2017-2-14:

In order to use the env.SAMPLE file we need to copy its content to .env and modify the settings according to everyone's needs.

Following links might help to understand what env variables are about:

Create a profile form

We need a place where users can view and edit their information. This page is only accessible to them.

Revamp /users page

The user#index should no longer not contain a map, please remove it.

We can replace it with an alphabetical list sorted by country linking to the individual profiles. (only public profiles).

If the user is logged and an admin they should see all profiles with an indicator to non-public profiles and a link to edit the profiles.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.