-
Notifications
You must be signed in to change notification settings - Fork 665
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
[3.0] New UI #522
[3.0] New UI #522
Conversation
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.
Really nice work!
@@ -2,6 +2,8 @@ | |||
|
|||
return [ | |||
|
|||
'path' => 'horizon', |
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.
Let's also maybe add a descriptive comment above the setting like the other ones?
{{ queue }} | ||
</router-link> | ||
</td> | ||
</tr> |
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.
Indentation seems off here.
{ | ||
return [ | ||
'path' => config('horizon.path'), | ||
'timezone' => config('app.timezone') |
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.
Add a trailing comma here.
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.
Nice work! This also fixes the horizontal scrolling, right? 😄
output += '<span>' + line + '</span>'; | ||
}); | ||
|
||
return output; |
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.
Since Lodash is used a lot, isn't it neater to use something like _.reduce?
var lines = _.split(exception, "\n");
return _.reduce(lines, (output, line) => {
return output += '<span>' + line + '</span>';
}, '');
padding: 0.75rem; | ||
color: #fff; | ||
background: $danger; | ||
} |
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.
Missing a newline here
} | |
} | |
|
||
.hljs-number, .hljs-literal { | ||
color: #A291F5 !important; | ||
} |
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.
Missing a newline
} | |
} | |
Merged the PR so you can open other PRs with your suggested changes @RobertBoes :) |
Those who are looking for night mode, here is how to enable it horizon/stubs/HorizonServiceProvider.stub Line 48 in 1ef9e37
|
This PR is an overhaul for the Horizon UI, it includes the following:
/horizon