-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
v2.13.0 #1197
Conversation
deleted a </div> at the end of file Co-authored-by: Anthony Rappa <rappa819@gmail.com> Co-authored-by: SamanthaBainCornu <104172362+SamanthaBainCornu@users.noreply.github.com>
* Fix for Filters() being called repeatedly * +filterDefaultArray to search_hides_reorder test
* fixed multiSelectDropdownFilter in menus (#1160) deleted a </div> at the end of file * Fixing two minor typos --------- Co-authored-by: Anthony Rappa <rappa819@gmail.com> Co-authored-by: SamanthaBainCornu <104172362+SamanthaBainCornu@users.noreply.github.com>
* Remove int|string reference * Fix styling --------- Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>
* fixed multiSelectDropdownFilter in menus (#1160) deleted a </div> at the end of file * Extra semicolon in example PHP --------- Co-authored-by: Anthony Rappa <rappa819@gmail.com> Co-authored-by: SamanthaBainCornu <104172362+SamanthaBainCornu@users.noreply.github.com>
…1191) * Extra semicolon in example PHP (#1177) (#60) * fixed multiSelectDropdownFilter in menus (#1160) deleted a </div> at the end of file * Extra semicolon in example PHP * Moving setTheme and adding setFilterDefaultValue * Fix Setting of Filter Defaults - Allow QueryString * Add resetFilter to mountFilterHelpers() * Test Fixes * Tests for Filter Default Value * Add L7.4 test back in * PHP7.4 Test Fixes * Remove mixed PHP7.4 Typehint * Remove TypeHint from getFilterDefaultValue() * Migrate getFilterDefaultValue() into Filters * Update FIlterHelpersTest - Array vs Text * PHP7.4 Adjustment * Update Requirements Doc * CHANGELOG Updates --------- Co-authored-by: Chris Thompson <christhompsontldr@gmail.com> Co-authored-by: Anthony Rappa <rappa819@gmail.com> Co-authored-by: SamanthaBainCornu <104172362+SamanthaBainCornu@users.noreply.github.com> Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>
This provides two changes: 1) A template for Bug Reports, asking most of the common questions such as PHP/Laravel/Alpine versions, and Theme. This is to improve the quality of bug reporting 2) A change to the PR Form to set "New Feature Submission" -> (4) to have a checkbox
How this works Changes to a number of blades, and a couple of traits have occurred to allow for this to work smoothly. The design is so that the "Selected" is only updated on a typical Livewire refresh, rather than forcing it on each checkbox select. --------- Co-authored-by: lrljoe <lrljoe@users.noreply.github.com> * Update ChangeLog --------- Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>
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.
All comments are in place explaining code changes
.github/ISSUE_TEMPLATE/config.yml
Outdated
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.
Removes the default bug report - is replaced by the custom bug.yml
.github/ISSUE_TEMPLATE/bug.yml
Outdated
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.
Custom New Issues/Bug report which provides more information
.github/PULL_REQUEST_TEMPLATE.md
Outdated
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.
Fixes missing checkbox for (Did you test locally)
.github/workflows/run-tests.yml
Outdated
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.
Restores PHP 7.4 for testing - only for Laravel 8
CHANGELOG.md
Outdated
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.
ChangeLog modifications - all PRs mentioned
|
||
/** @test */ | ||
public function per_page_dropdown_renders_with_all_option(): void | ||
/* Broken Test - HtmlInOrder does not work cleanly */ | ||
/*public function per_page_dropdown_renders_with_all_option(): void |
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.
Adjusted to cater for PHPCS Adjustment to code layout
@@ -225,7 +227,7 @@ public function bulk_actions_header_gets_hidden_on_reorder(): void | |||
->assertSeeHtml('wire:model="selectAll"') | |||
->call('enableReordering') | |||
->assertSet('bulkActionsStatus', false) | |||
->assertDontSeeHtml('wire:model="selectAll"'); | |||
->assertDontSee('Select All'); |
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.
Adjusted to cater for AlpineJS approach to select all
@@ -235,10 +237,10 @@ public function bulk_actions_cell_gets_hidden_on_reorder(): void | |||
->call('setReorderEnabled') | |||
->assertSet('bulkActionsStatus', true) | |||
->call('setBulkActions', ['activate' => 'Activate']) | |||
->assertSeeHtml('wire:model="selected"') | |||
->assertSeeHtml('x-model="selectedItems"') |
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.
Adjusted to cater for AlpineJS approach to Bulk Actions
@@ -7,6 +7,7 @@ | |||
use Rappasoft\LaravelLivewireTables\Views\Filters\MultiSelectDropdownFilter; | |||
use Rappasoft\LaravelLivewireTables\Views\Filters\MultiSelectFilter; | |||
use Rappasoft\LaravelLivewireTables\Views\Filters\SelectFilter; | |||
use Rappasoft\LaravelLivewireTables\Views\Filters\TextFilter; |
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.
Adding TextFilter as an option for this test
@@ -310,4 +311,36 @@ public function can_get_filter_slidedown_colspan(): void | |||
|
|||
$this->assertSame(3, $filter->getFilterSlidedownColspan()); | |||
} | |||
|
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.
Tests for setFilterDefaultValue (string and array approaches)
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.
All comments are in place explaining code changes
* fixed multiSelectDropdownFilter in menus (#1160) deleted a </div> at the end of file * Adds Danish language --------- Co-authored-by: Anthony Rappa <rappa819@gmail.com> Co-authored-by: SamanthaBainCornu <104172362+SamanthaBainCornu@users.noreply.github.com>
* fixed multiSelectDropdownFilter in menus (#1160) deleted a </div> at the end of file * Update other-column-types.md updated docs to correct usage for Custom boolean column type --------- Co-authored-by: Anthony Rappa <rappa819@gmail.com> Co-authored-by: SamanthaBainCornu <104172362+SamanthaBainCornu@users.noreply.github.com>
Changed
General
Filters
Documentation
Tests
Localization