Skip to content
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

[WIP] Social network registration section #37

Closed
wants to merge 11 commits into from

Conversation

taitus
Copy link
Member

@taitus taitus commented Jul 17, 2019

References

Related Issues: #18 #19 #20

Objectives

  • Add new network registration section to setting#index.
  • Move secrets related with 'Registration with social networks' to new section:
    • Rails.application.secrets.twitter_key
    • Rails.application.secrets.twitter_secret
    • Rails.application.secrets.facebook_key
    • Rails.application.secrets.facebook_secret
    • Rails.application.secrets.google_oauth2_key
    • Rails.application.secrets.google_oauth2_secret
  • Backwards compatibility

Visual Changes

New index section:
Captura de pantalla 2019-07-17 a las 18 01 58

Registration with social networks section:
Captura de pantalla 2019-07-17 a las 18 02 32

Notes

The backward compatibility consists of trying to recover always the value of Settings, but in case it is empty we try to recover the value of the Secrets.

taitus added 11 commits July 10, 2019 15:41
- Remove old tabs structure on settings#index
- Add new partial '_settings_sections_list' to render all sections
- Add locales for each section (:title and :description)
Every section will be rendered thought action settings#show.
- Add routes
- Add action :show
- Fix feature settings specs .
- Add new feature settings specs for new show action.
Rename Keys:
 - 'feature.facebook_login' to 'social.facebook.login'
 - 'feature.twitter_login' to 'social.twitter.login'
 - 'feature.google_login' to to 'social.google.login'
…ings

Update devise.rb initializer to load keys and secrets from Settings always if it's
posible.
@taitus
Copy link
Member Author

taitus commented Jul 17, 2019

This PR is in WIP because I'd like @agileontheweb to check the responsive and styles.
@Senen This PR is ready to beginning review without paying attention to the small details of design pending.

@taitus
Copy link
Member Author

taitus commented Sep 4, 2019

Close via: #43

@taitus taitus closed this Sep 4, 2019
taitus pushed a commit that referenced this pull request Jan 27, 2022
* Make hero full width

* Fix repeating background for hero banner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant