Skip to content

Added the config file for the max_results and the jql param. #13

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 8 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to `creacoon/laravel-dashboard-jira-tile` will be documented in this file

## [Unreleased]

### Added
- Config added for executed JQL and max results

## 1.0.0 - 2021-04-07

- initial release
- Initial release
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,22 @@ protected function schedule(Schedule $schedule)
$schedule->command(FetchDataFromJiraCommand::class)->everyFiveMinutes();
}
```
## Config file
In the `dashboard` config file, you must add this configuration in the `tiles` key:

```php
// in config/dashboard.php

return [
// ...
'tiles' => [
'jira' => [
'max_results' => env('JIRA_MAX_RESULTS', 10),
'jql' => env('JIRA_JQL', 'status="In Progress"'),
]
],
];
```
## Customizing the view
If you want to customize the view used to render this tile, run this command:
```bash
Expand Down
3 changes: 3 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# From v1 to v2

Add the config to your `dashboard.php` config file under the `tiles` section.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"license": "MIT",
"authors": [
{
"name": "Dion",
"name": "Dion Nijssen",
"email": "d.nijssen@creacoon.nl",
"homepage": "https://creacoon.nl",
"role": "Developer"
Expand All @@ -21,7 +21,7 @@
"spatie/laravel-dashboard": "^3.1.0"
},
"require-dev": {
"phpunit/phpunit": "^9.3"
"phpunit/phpunit": "^11.5.5"
},
"autoload": {
"psr-4": {
Expand Down
Loading
Loading