- 
                Notifications
    You must be signed in to change notification settings 
- Fork 69
add branded organization logo #466
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
Conversation
0b1fc6f    to
    049eeed      
    Compare
  
    | @sseerrggii In which project this PR should be? 1T, 2T? | 
| 
 1T | 
| Tested, works fine for me 👍 Waiting for a redeira approval | 
| a redeira approve ✔️ | 
| @@ -0,0 +1,3 @@ | |||
| <div class="container text-center" style="margin-bottom: 20px"> | |||
| <%= image_tag("redeira@1x.png", class: 'organization-brand-logo', srcset: '/assets/redeira@2x.png 2x') %> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Morantron are you sure the srcset works with compiled assets?
| I think it would be a good idea to squash this PR 🙏 😛 | 
| Wait before merge. A redeira team is thinking about the right logo | 
        
          
                app/helpers/brand_logo_helper.rb
              
                Outdated
          
        
      | private | ||
|  | ||
| def should_render_logo? | ||
| byebug | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Elegant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎩 👌
| This one @Morantron | 
cc74fd2    to
    b06243e      
    Compare
  
    | Perfect @Morantron Can we add "img-responsive" to a img class to avoid image overflow in small screens? And... Why don't pass the test??   | 
b06243e    to
    cac03ec      
    Compare
  
    | pushing again with the new class, and rebased with latest  | 
| @Morantron @sseerrggii how it looks like with mobile app? | 
cac03ec    to
    56612cc      
    Compare
  
    | Tested, work fine, showed in 1 organization and don't in others I tested also in app, I have this first screen and I was shocked 😱 , after that I used the app and everyhing works fine, when I reopened the app this first screen works fine... strange thing 🤔 Maybe is possible to render homepage with user logged in? I think it's something that happens only when you reinstall the app in a phone that had previously installed app and logged in, so I think fix is not needed for the moment. This is the fist screen: Logo at footer: And home at log out: | 
Co-Authored-By: Morantron <jorge@morante.eu>
| I created new issue for problems with app #474 | 
| Not bad. Quite professional 👌 | 






How to test
bundle exec rails cRedis.current.set('branded_organization_id', 1)sudo systemctl restart timeoverflow