-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Refactoring the login page to allow template usage #4964
Conversation
Codecov Report
@@ Coverage Diff @@
## 1.4 #4964 +/- ##
=========================================
Coverage 62.96% 62.96%
Complexity 1372 1372
=========================================
Files 194 194
Lines 4007 4007
=========================================
Hits 2523 2523
Misses 1484 1484
Continue to review full report at Codecov.
|
Hello @emptynick Hope it doesn't bother you taking look at this PR |
This would be a breaking change. |
Why is a breaking change? |
Because other people might have overriden this view as well. |
I really think it should be out of the box. But since its a breaking change. Hope it can make to an other major version. |
But like I said before, it can be done much more easy with ~3 lines of code. |
As @emptynick said title could be: @yield('title', 'Admin - '.Voyager::setting("admin.title")) That way we can keep compatibility and it's easily overridable. |
I really don't see why it shouldn't be part of its core. I believe that reseting password's flow should be a part of the package. |
I didn't say I'm against this PR, personally I think it makes sense. I'm only saying that I like more the use of |
@MrCrayon thanks, Ill make the change about the yield to fit the requirements |
Hello @MrCrayon Changes has been made :D |
Any ups ? |
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.
I'm good with this, now you have to convince @emptynick 😁
@MrCrayon hahaha thanks. |
Hey @emptynick Hope we can get an answer, I have an other PR that I want to submit for a fix. |
Always create a sub-branch from 1.4 so you can create multiple PRs at the same time. |
Allow to use the login template in other pages such as Reset password if needed