Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Do not allow for reordering locked column via sort selector #71

Merged
merged 3 commits into from
Sep 24, 2019

Conversation

Blackbaud-TrevorBurch
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Sep 24, 2019

Codecov Report

Merging #71 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #71      +/-   ##
==========================================
+ Coverage   99.82%   99.82%   +<.01%     
==========================================
  Files          10       10              
  Lines         568      570       +2     
  Branches       81       83       +2     
==========================================
+ Hits          567      569       +2     
  Misses          1        1
Impacted Files Coverage Δ
...rc/app/public/modules/grid/grid-adapter.service.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f7db26...b9d8fb3. Read the comment docs.

undefined,
const moveOptionValid = options.moves(
{
querySelector(selector: string) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should querySelector and matches be the same? I would expect querySelector to either return the selector or the selected element

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya. You're right. I honestly was just returning something true/false for the test but looking at it again that doesn't make much sense. I should at least return an element (even if mocked) so that it makes more sense for someone later. I'll fix that.

@Blackbaud-AlexKingman
Copy link
Contributor

Manual tests look good. Other than Erika's comment, this LGTM.

@Blackbaud-TrevorBurch Blackbaud-TrevorBurch merged commit 01c1e7d into master Sep 24, 2019
@Blackbaud-TrevorBurch Blackbaud-TrevorBurch deleted the sort-selector-dragging branch September 24, 2019 19:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants