Skip to content

[PLEASE REVIEW] #17 Auto submit token #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 5, 2017

Conversation

cwadrupldijjit
Copy link
Contributor

What Changed?

  • add helper functions to deal with username
  • firebase auth helper uses authObj instead of exporting individual members
  • clean up slightly the form elements
  • add username prepopulation to the redux form (dosn't work at the moment)
  • automatically grab the token when submitting the form

Issues Addressed:

Samuel Skeen added 4 commits April 5, 2017 22:55
changes:
  - .babelrc
    - fix quote types to make it conformant JSON
  - .eslintrc
    - update linter to not show errors where errors shouldn't be shown
  - .gitignore
    - begin ignoring the public directory--rely on built code
  - ComposeForm/*
    - beginnings of splitting up FormElements.jsx (will be addressed later)
  - PrefixedLink/index.jsx
    - add component to automatically prefix links in order to avoid having to do it manually
  - gatsby-node.js,
        ComposePage/index.jsx,
        Editor/index.jsx,
        FormElements.jsx,
        GitHubForm.jsx,
        gitHubHelper.js,
        localStorageHelper.js,
        ReadNext/index.jsx,
        SiteLinks/index.jsx,
        SiteNav/index.jsx,
        SitePage/index.jsx,
        SitePost/index.jsx,
        SiteSidebar/index.jsx
    - update files to eslint compliance
    - change repetetive field/element creation into data transformed the way you want
  - public/*
    - remove from git (built)

issues addressed:
  - dashcommunity#14

no breaking changes--UI works exactly as originally implemented
changes:
  - firebaseHelper.js
    - add helper to manage auth
  - index.jsx
    - create module file to import and export necessary components
  - initializeFirebase.js
    - add file to create the firebase connection
  - gitHubHelpers.js
    - import auth into file to test if it wiill work

issues addressed:
  - dashcommunity#15

no breaking changes; auth not yet fully integrated into the project
changes:
  - firebaseHelper.js
    - assign token, user, and credential to auth object
    - add to local storage
    - add getAuthObj function to get and deserialize authObj
  - ComposePage/index.jsx
    - import newly created login button and add logic to change whether it shows the action form or if it shows the login button
  - ComposeFormElements/index.jsx
    - add new login button component to exports
  - login-button.css
    - add styles to make sure that it looks non-gaggy
  - LoginButton.jsx
    - create form where the login button will live and call submit function when login is successful
  - package.json
    - ensure that the browser opens to localhost (so firebase auth will work)

issues addressed:
  - dashcommunity#16

no breaking changes--only adds annoyance to the form, not convenience so far
changes:
  - add helper functions to deal with username
  - firebase auth helper uses authObj instead of exporting individual members
  - clean up slightly the form elements
  - add username prepopulation to the redux form (dosn't work at the moment)
  - automatically grab the token when submitting the form

issues addressed:
  - dashcommunity#17

no breaking changes
@riongull riongull merged commit c4e0d10 into dashcommunity:master May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants