GithubHelp home page GithubHelp logo

balanced / balanced-dashboard Goto Github PK

View Code? Open in Web Editor NEW
2.3K 2.3K 385.0 19.25 MB

The Balanced dashboard.

Home Page: https://dashboard.balancedpayments.com/

License: Other

JavaScript 68.76% CoffeeScript 10.02% HTML 0.44% CSS 6.35% Handlebars 14.44%

balanced-dashboard's People

Contributors

acrogenesis avatar chadwhitacre avatar cohitre avatar davegaeddert avatar fangpenlin avatar gr0uch avatar h2g2guy avatar hackingbeauty avatar harshadsabne avatar jbstowe avatar jjosef avatar kleinsch avatar kyungmin avatar mahmoudimus avatar matin avatar matthewfl avatar mduvall avatar mirez avatar mjallday avatar nodesocket avatar patcon avatar pkhan avatar remear avatar rloomba avatar rserna2010 avatar steveklabnik avatar tarunc avatar trinary avatar vegetableman avatar

Stargazers

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

Watchers

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

balanced-dashboard's Issues

Need security / verification seals please

If you look at sites like Authorize.net or RapidSSL you see badges like these:

http://www.dmvcheatsheets.com/assets/misc/rapidssl_ssl_certificate-b35840528d8922a9f456056e134775ca.gif

and http://www.authorize.net/solutions/merchantsolutions/onlinemerchantaccount/seal/

you guys only have this - http://www.quora.com/Balanced/I-am-in-the-process-of-adding-Balanced-to-my-site-and-want-to-use-the-Balanced-logo-Is-that-allowed

Which displays nothing to the user conveying security or trust. I actually, personally, have no idea what type of SSL or security is in effect when I use balanced.js for PCI compliance and know from experience that a series of "seals" or icons that we can display on our sites that say things like "secure" or "128-bit encrypted" or "verified" etc etc make a big difference to people. Can you please provide badges like that for those of us using balanced.js?

Make it easy to contribute

Ensure that it's easy to setup and run the balanced-dashboard.

  • Documentation explains how to get started
  • Ensure all commands, scripts etc work
  • Contributing guide

Invoices page

Displays invoices and the transactions that comprise the invoice. Originally shown in #2

screen shot 2013-05-03 at 12 18 41 pm

Migration strategy

It's not practical to migrate the whole dashboard at once. How can we re-use the existing dashboard while we work on building out the new dashboard and maintain an existing level of functionality?

Zendesk do this by using iframes to serve old content within the framework of their new dashboard. This looks like a good strategy.

Authentication

How will authentication work?

Several choices for now:

  1. Set the API key straight in the user's cookies and send this directly to the API. This would require a temporary API key to be created per-session and expired when their login expires.
  2. Proxy requests via a sever which translates the user's login credentials into a API key

Classic transaction page

Used to show unlinked transactions, works similarly to the existing transaction page within the old dashboard. Originally shown in #2

transaction1
transaction2
transaction3
transaction4
transaction5

Embed bank account and cards pages

INDEX, SHOW + DELETE

URL /marketplaces/M123/cards|bank_accounts/

  • ensure that deleting still works
  • ensure that transactions are browseable
  • can index bank accounts
  • can index cards

Allow embedding existing dashboard content via an iframe

Required to make migration possible / easy

Dedicated pages

  • Marketplace settings #38
  • Invoices - index + show #39
  • Logs - index + show #40
  • bank accounts / cards - index + show #41
  • accounts - index + show + create #42
  • transactions #43
    • debits - index + show
    • credits - index + show
    • holds - index + show
    • refunds - index + show
  • search index + show #44

Misc pages

These are not dedicated pages / do not fit into the current dashboard look and feel. Let's figure them out:

  • pay a seller #168
  • withdraw funds #140
  • add funds #140
  • add a new marketplace #69
  • KYC - this can remain separate from the dashboard
  • add an account #172
  • add a card #169 - done from account
  • add a bank account #170 - done from account

Embed transactions logs

INDEX + SHOW

URL /marketplaces/M123/logs/OHM123

  • pasting a search guid OHM123... into the search box should automatically redirect to the log entry
  • our log entries tend to be really long so we should handle scrolling correctly.

Indicate transaction state in transaction list view

(migrated from balanced/balanced-api#176)

Sparked from balanced/balanced-api#158 (specific comment here)

use case:
I want to know quickly when a credit I sent out has failed. Currently I have to click on each credit to determine it's state.

proposals:

  1. Add a state column in the transactions list view. This will expose the state of a transaction (i.e. failed, pending, succeeded, etc)
  2. Each row on the transaction's list will be a different color. Green to indicate success, neutral to indicate pending, and red to indicate failed

We could do one or the other.

transactions list

Choose a CSS framework

We're using LESS for writing our CSS. But which framework should we use?

The current Balanced dashboard uses Bootstrap but the base version has lots of typographic spacing that isn't conducive to our layouts. We always have to do things like ul { padding: 0; margin: 0;} and Bootstrap is pretty verbose e.g.

    <header>
        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container">
                ...
                </div>
            </div>
        </div>
    </header>

Hmmmm. Why not just

    <header>
        <ul>
             ... 
        </ul>
    </header>

development -vs- production settings

What is the best way to replace configuration variables into the html files as part of the build process so we can switch analytics accounts etc?

Generate icons graphic

Currently it should include:

  • Icons for left hand nav

As a general rule going forward let's make the icons evenly spaced (per line) with each group of icons take up a line (different sizes, different line) the way twitter does it.

Build scripts

Currently our javascript libraries are built using a Makefile that we found on the internet that uses the uglify-js NPM package to build our JS files. We implemented that a year ago, what's the best way to combine and minify these days?

Marketplace user/key management

Currently you must pass an API key around to give another user access to a marketplace.

Ideally the dashboard would have a screen where you could assign a new user access to the marketplace by referencing their email address.

Bonus points if you could grant them read-only access or access to a subset of data.

Embed invoice pages

INDEX, SHOW + PUT

URL /marketplaces/MP123/invoices/IN123

Check

  • Can still update funding instruments
  • Can view transactions related to invoice

Site map

It would be very handy if we had a visual ideal of all the pages in the new dashboard, how they relate to each other, and what actions can be taken on each page.

Fill out the README

What's this repo all about anyway?

  • About / Purpose
  • Contributing
  • Bugs / Feature requests

Style guide

We need a style guide so we can begin building the basic css layout.

Tag images with md5

Currently the paths to images are hardcoded in the .less files.

This will not work with caching if we overwrite the file name. It would be better if they were tagged with a unique name as part of the build process

Refactor Login / Authentication

One refactoring we were talking about today was about the authentication/login versions. I did some research on this while riding the BART home and it looks like it would make sense to use Ember Auth (https://github.com/heartsentwined/ember-auth) for authentication. Seems like it would handle the login request for us, we'd just have to have an API endpoint to get information on the logged in user and their marketplaces. That would remove a lot of the weirdness relating to logins/auth from our code as well as giving us more functionality out of the box to prompt for logins at appropriate times.

Seems like it should work for our use case and if we wanted to switch to OAuth at some point, it seems like it's supported. Only major risk I can see is if it's going to make testing difficult, but there has to be a way to mock out the Auth data provider.

Embed accounts pages

INDEX + SHOW

URL /marketplaces/MP123/accounts/AC123

  • can still edit account
  • can add / delete funding instruments
  • can view transactions

Routing

Implement all routes as seen on the new site map (#16) and also all routes that are defined on the existing dashboard so that we can click/browse through all the pages.

Included in this task would be adding an empty template file that can be filled in at a later date.

This is a pre-requisite for embedding iframes into the site.

Embed transactions pages

INDEX + SHOW + PUT

URL /marketplaces/MP123/debits|credits|refunds|holds/XXXX

  • ensure we can update existing transaction info
  • can capture holds
  • can refund debits

design should be responsive

It adds a level of polish to a site in 2013 for it to be responsive, even if the site is complemented by native mobile apps. I rarely have my browser full screen.

Document endpoints used in new pages

For each new page that has been spec'd out:

  • List non-obvious endpoints that can be hit to get relevant information
  • Note any potential performance or security requirements

Redirect form should take a bank_account_uri

Migrated from balanced/balanced-api#140

Per chat in #balanced on 10/2. Here is the scenario:

I am trying to setup a merchant account from a form I have on my website. I have created a bank account using balanced.js and am sending over the rest of the info to create a merchant account. However, my user ends up missing some info or needs to clarify something, and I am told to redirect to the balanced website to the Balanced Registration Form. I pass in my tokenized bank_account_uri, but nothing happens.

Because the user has already entered in their bank information, they should be able to have that part of the form either filled out / setup so they do not need to double enter it. That way I know that the bank account is already associated with that user's merchant account.

Robust deploys

I was deploying as I went through a tunnel on the train and lost connectivity.

Because the index.html file is uploaded first it could reference the new css and js files before the files are uploaded.

image

We should ensure that the index.html that references the files is uploaded after all dependencies.

General customer feedback

Nati:

"Put a save button so that people can click on save after they edit their settings or any info. I had to figure out that edit was save too." - known bug

Via IRC:

"Also very hard to register to your service. My friend had to tell me that "Go LIve" meant register. I think you would get more clients signed up if you had a register or sign up button somewhere so its more intuitive for people to sign up ;)"

Embed marketplace settings page

SHOW + UPDATE

URL /marketplaces/MP123

check:

  • webhooks management works
  • edit marketplace functionality works
  • adding and verifying bank accounts / cards works

Order Page

This is the new way to view transactions. It utilises the on_behalf_of field to link debits and credits.

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.