GithubHelp home page GithubHelp logo

wething's People

Contributors

estebansoler avatar jmax avatar

Watchers

 avatar  avatar

Forkers

estebansoler

wething's Issues

Issue with devise links

With a logged in User:

  • Show sign out link.
  • Show current user's first name

Without a logged in User:

  • Show sign in link.
  • Show sign up link.

Can't edit my account

screen shot 2013-06-10 at 10 52 20 am

If I click on my name, nothing happens. It should link to edit my account.

Remove that labels and use plain links.

Favorited Things

Users should be able to add things as favorites.

Feature: Adding a thing to my favorites

I am logged in
And I visit root_path

Given I have one thing
When I click on "Add to my favorites"

Then current_user.favorited_things should include that thing

Feature: Listing my favorite things

I am logged in
And I have favorited 1 thing

When I visit "/my/favorites"

Then page should list that thing

Caveats:

  • A thing can be favorited only once per user

Views tracking

We'd like to implement a basic views tracking for the URLs we stored in the system.

Every time I click on an URL, the system should increment a views counter for that URL, before redirecting to the referenced site.

Here's the user story for this feature:

I am logged in
And I visit root_url

Given I have a thing stored
And it has 0 views

When I click on thing's URL

Then the thing's views counter should be 1
And I should be redirected to that URL

Caveats:

  • The system should store only 1 view per user.

URL's don't link to anything

Right now...

screen shot 2013-06-10 at 10 56 57 am

When I click the URL, nothing happens. It should link to the referenced URL with a "target=_blank" option.

Feature: Thing!

As a User
I visit "/thing/this"

I fill in "url", with "some valid and existing url"
and I fill in "description", with "some smart description"

when I click on "Thing this!"

Then 1 Thing is created.
and my company things include that created thing.

Multi-tenant Signup

As a visitor
I visit /users/sign_up

when I fill in "user[first_name]" with "Bruce"
and I fill in "user[last_name]" with "Banner"
and I fill in "user[email]" with "[email protected]"
and I fill in "user[company_attributes][name]" with "The Hulk!"
and I fill in "user[password]" with "123123123"
and I fill in "user[password_confirmation]" with "123123123"
and I click "Sign up"

Then a user is created
and a company is created with the name "The Hulk!"
and the user is linked to that company

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.