Code Monkey home page Code Monkey logo

slla's People

Contributors

lucasaugustomcc avatar moleske avatar seport avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slla's Issues

How should MeetUp events be integrated?

Let's discuss how MeetUp events will be integrated.

  • Should users submit individual events, or entire groups?
  • Should we display reoccurring events differently, and/or allow people to filter them?

Implement Google Maps Search on Front Page

As a user

I want to search the calendar from the front page

Given a user on the front page of the app

When I type in the text bar in the hero area

Then I am redirected to the calendar page with a search for that location

Notes: This is blocked until the calendar page is refactored.

Resources:

Design:

Typing into the search bar on the front page:

screen shot 2018-01-31 at 6 50 23 pm

Redirects you to the calendar with a search parameter:

screen shot 2018-01-31 at 6 50 35 pm

An admin should see MeetUp events on the admin panel and users should see MeetUp events on the calendar

As an admin

I want to approve MeetUp events in the admin panel

So that they will be published to the app

Given an admin on the admin panel and unapproved submitted MeetUp events in the database

When I click approve on a MeetUp event

Then that event appears on the calendar page.

When I click delete on a MeetUp event

Then it is put into a deleted state but not deleted from the database, and is not visible on the admin page, and it is not visible on the calendar page.

Notes: This is blocked by #11 and #16

Admin Panel Basic Implementation

As an admin

I want to Manage submitted events

So that they are published on the app.

Given an admin on the admin panel (stayloudla.com/admin/)

When I click on an event link

Then the facebook event opens in a new tab.

When I accept an event

Then it is visible on the calendar page.

When I delete an event

Then it is put into a deleted state but is not deleted from the database, and is not visible on the admin page, and it is not visible on the calendar page.

When I click log out

Then I am logged out of my admin account

Notes:

The login page and basic authentication has already been completed but you may need to implement a logout script. #5

Resources:

Design:

screen shot 2018-01-28 at 6 45 30 pm

Online actions?

Should we incorporate online actions into the calendar? For example, online petitions, calls to make to your representatives, etc?

If so, how should we incorporate them?

Should we piggy back off of resources already out there for couch activism? (For example, https://thesixtyfive.org/home and others?) E.G. link to their resources and drive traffic to their platform.

Calendar page endpoint

When a user clicks on the calendar link in the nav bar

Then they see a hello world page at /calendar

Notes:

this ticket is only to set up the routes for the calendar page.

Submit Page Basic Implementation

As a user

I want to submit links to protest event pages

So that they are visible on the app

Given a user

When I submit a valid facebook link

Then that link should appear in the admin panel for approval

Notes:

  • This page was already implemented in PHP. We want to rewrite it in rails.
  • The link should be validated on the model:
    • To check that it is a valid facebook event link
    • To validate against the facebook API to make sure it is a valid event
    • that the event does not exist in the database already
  • Events should be saved to an Event table with the following fields:
    • fb_id (the facebook event id, should be unique)
    • default rails fields (id, created_at, etc)
    • status: :unpublished

Resources:

Design:

screen shot 2018-01-24 at 7 06 48 pm

Investigate moving project board tickets automatically from issue activity

As a SLLA contributor, if I pick up a ticket I want the project board to automatically reflect that the ticket is in progress. Additionally, if my pull request for the ticket is merged, it would be nice if the ticket is moved from "in progress" to "done".

Please look into how this can happen and report back. We should be able to tie issues to pull requests through the ID somehow, so maybe we can ask people to make empty work in progress pull requests and use the pull request to move the issue to "in progress"? Just a thought. This might be a red herring.

Update readme with rails info

As a project contributor

I want to have clear directions to run the project locally

So that I can more easily contribute to the project

Standardize CSS across the site

Notes:

  • put shared styles in application.scss
  • use BEM
  • Make sure all the pages on the website are styled consistently
  • Write a styleguide in the wiki with screenshots and code snippets for shared components

Resources:

Bug reporting

As a user

I want to report bugs on the website

So that the dev team knows about issues with the site

As an admin

I want to see a list of reported bugs

So that the dev team can address them

Notes:

This can be a link to a support email in the footer.

  • set up a [email protected] email account
  • set it up to automatically forward emails to a list of developers/QA team members.
  • put a link to the support email prominently in the header or footer of the website (dev/design pair)

show events on the calendar page

As a client

I want to query an ordered, paginated list of events

So that the events can be exposed to the calendar page.

Notes:

This should be as modular as possible so that when we eventually break this into a REST API it will be easy to separate from the controller logic.

the query method should take the following parameters:

limit: how many results to return
start: which index to start with

if the above is confusing you can google search "API pagination"

For now just return the events in id order, they will be ordered later.

The first 10 events should appear on the left side of the calendar page.

There should be a "see more" button if there are more events, which will reveal the next 10.

Hovering on an event should change the background color.

Blocked by #36

Resources

Talk to me about what the events should look like on the calendar page.

Fix Admin Login CSS

  • On the admin login page, currently the no such user found error displays by default. It should only show up when the login fails.
  • The login form should be centered.

Resources:

Screenshots:

screen shot 2018-01-31 at 7 33 55 pm

Design:

screen shot 2018-01-31 at 7 34 13 pm

An admin should see EventBrite events on the admin panel and users should see EventBrite events on the calendar

As an admin

I want to approve EventBrite events in the admin panel

So that they will be published to the app

Given an admin on the admin panel and unapproved submitted EventBrite events in the database

When I click approve on a EventBrite event

Then that event appears on the calendar page.

When I click delete on a EventBrite event

Then it is put into a deleted state but not deleted from the database, and is not visible on the admin page, and it is not visible on the calendar page.

Notes: This is blocked by #11 and #16

A prospective user should be able to submit EventBrite events

As a user

I want to submit EventBrite events to the website

So that our platform is accessible to more events

Given a user on the submit page

When she submits a EventBrite event

Then the event's id is saved in the database

Notes:

  • This story only includes saving the event in our database.
  • We should be able to distinguish between EventBrite events and other events. Maybe we need to add a source field in addition to saving the id?
  • This is blocked by #10

A prospective user should be able to submit MeetUp events

As a user

I want to submit MeetUp events to the website

So that our platform is accessible to more events

Given a user on the submit page

When she submits a MeetUp event

Then the event's id is saved in the database

Notes:

  • This story only includes saving the event in our database.
  • We should be able to distinguish between meetup events and other events. Maybe we need to add a source field in addition to saving the id?
  • This is blocked by #10

Add map to calendar page

As a user on the calendar page

I want to see a map of LA

So that we can eventually see where events are on a map.

Notes:

Use the google maps API for this. It should be pretty similar to the legacy code.

Don't bother adding pins yet, just add the map to the page.

Blocked by #36

Resources:

Talk to me for design.

Order events on calendar page chronology

As a user on the calendar page

I want to see events in chronological order

So that I see the soonest events first

Notes:

The query method should now take an orderBy parameter, which should be date by default.

You may need to add a date field on events in the database, which should be populated on event submission.

Blocked by #37

Add event markers to the calendar map

As a user on the calendar page

I want to see pins on the map for all the events in the event list on the page.

When a user hovers on an event on the left side of the page, the corresponding pin should enlarge and/or change color to indicate that you're hovering on it.

If you're feeling adventurous you can add a basic tooltip on the pins with the event name, but we can put that off for another ticket if it's too much trouble.

Blocked by #37 #38

Notes:

This can probably be copied from the legacy code, but we might want to refactor it anyway. I'm pretty sure I wrote spaghetti code
bitmoji

Investigate abstracting webmock stubs out of individual specs

currently we are using webmock in each spec to stub external API requests like so:

stub_request(:get, "https://graph.facebook.com/v2.12/134236613927952")
      .with(headers: {
        'Accept' => '*/*',
        'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
        'Host' => 'graph.facebook.com',
        'User-Agent'=>'Ruby'
      }).to_return(status: 404, body: '{"error": {}}', headers: {})

Let's see if we can write this stub once somewhere and have it catch these requests for all specs by default.

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.