Skip to content
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

Merged
merged 14 commits into from
May 18, 2023
Merged

v2.13.0 #1197

merged 14 commits into from
May 18, 2023

Conversation

rappasoft
Copy link
Owner

@rappasoft rappasoft commented May 12, 2023

Changed

lrljoe and others added 10 commits April 14, 2023 21:45
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>
Copy link
Collaborator

@lrljoe lrljoe left a 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

Copy link
Collaborator

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

Copy link
Collaborator

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

Copy link
Collaborator

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)

Copy link
Collaborator

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
Copy link
Collaborator

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
Copy link
Collaborator

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');
Copy link
Collaborator

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"')
Copy link
Collaborator

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;
Copy link
Collaborator

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());
}

Copy link
Collaborator

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)

Copy link
Collaborator

@lrljoe lrljoe left a 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

@lrljoe lrljoe added the Version 2 Version 2 of Package label May 12, 2023
lrljoe and others added 4 commits May 17, 2023 00:11
* 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>
@rappasoft rappasoft marked this pull request as ready for review May 18, 2023 02:08
@rappasoft rappasoft merged commit da2f818 into master May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Version 2 Version 2 of Package
Projects
Status: Released
Development

Successfully merging this pull request may close these issues.

5 participants