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
MGDCTRS-1726 feat: pricing tier additions #662
Conversation
9bf8b7e
to
1967434
Compare
There's a selection issue to look at still, best to hold off merging this until it's sorted. |
1967434
to
b1075ed
Compare
Selection works nicely now, and I added back the selectable item hover behavior, however interestingly enough the help popover will not work out of the box when selection is enabled on the DataList. |
0a2f5d6
to
3217ef5
Compare
Greate Work @gashcrumb, the Connector selection page now looks really awesome. 👍 |
I'll fix it before merging I think. How did you get this to happen @indraraj? Is that when you've selected something and then interact with the filters afterwards? This is the main area of edge cases still I think 😄 |
also, wanted to confirm how combining both the checkbox and the filter behaves. Will they return the union or the intersection of both? |
Adding the do-not-merge label. It should be the intersection of the filters. So if you check 'source' and 'free' and are in featured, it should show only featured connectors that have both the 'source' and 'free' labels. |
@mmuzikar FYI this is probably going to have an impact on any automated tests you might have. |
3217ef5
to
2115642
Compare
I added some improvements around selection, I think there's still an edge case and may look at not using the DataList component's selection stuff. I've found now that the backend is updated that my search query for categories and types don't work as I'd expect, if I check "Source" or "Sink" and select a category, I get all the matches with that category, including the opposite of what I've checked for "Source" or "Sink". For this it turns out the UI is creating a search query like |
2115642
to
2215f3d
Compare
/* | ||
* label searches could probably use the IN operator | ||
label && label.length > 0 | ||
? `label IN (${label |
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.
@dhirajsb when you're back, would this be a nicer alternative? I'm not a fan of my current approach :-)
2215f3d
to
b553412
Compare
@gashcrumb I noticed 2 thing whilst playing with this PR:
|
yep, I think so.
Yes, we're still learning some things about react-virtualized :-) I think the fetching in the cache component needs some more tightening up. edit - thinking about it more, I guess also this shows an issue that I'm trying to work around in that the API that |
This is a little complicated in SQL, since the where clause has multiple conditions with different values for the same column. It's solvable with other SQL clauses like GROUP BY or INTERSECT. But we need to discuss this in more detail. |
On the loading I went ahead and created MGDCTRS-1831 as this is something we can fix later I think. And then for the filtering I've gone and created MGDCTRS-1832 to cover updating the UI to use an SQL query that will return the results as we expect. Thankfully @dhirajsb has been looking at this and it sounds like we could have a solution there. |
This change brings the new connector selection list component into the app and applies the pricing tier updates. There's numerous updates and fixes to the connector selection list component, including selection handling, no search results and error state handling. This change also significantly improves the cache updating.
b553412
to
372a553
Compare
Ok, rebased and ready for another look with the aforementioned caveats :-) |
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.
tested locally (leaving with mentioned issues), looks fine 👍
Awesome, thanks for the 2nd look :-) |
This change brings the new connector selection list component into the app and applies the pricing tier updates. There's numerous updates and fixes to the connector selection list component, including selection handling, no search results and error state handling. This change also significantly improves the cache updating.
Some known things: