-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat: adds summary tray to service list view #1611
feat: adds summary tray to service list view #1611
Conversation
✅ Deploy Preview for kuma-gui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Couple of inlines/q's:
Ok based on some of the conversations above I had a quick go at a potentially throw away branch/commit ontop of here to satisfy my curiosity: Additions:
I think overall the best thing about this is: Codewise, the summary route component looks exactly the same as all our other route components, it uses the same components, the same code and has the same functionality as all our other routes. (P.S. I did take a quick look at view re-use if we ever wanted to do that, but I didn't bother to PR that here seeing as we are currently unsure if we want to do that) Let me know what you think. |
Separate to all the conversation here on the code: Functionally if I enter say the following URL: And johns-service has moved to page 1 because I've removed a bunch of services, I should still see page 2 of the list with the panel opened on johns-service, even if johns-service isn't in the list I'm looking at. |
That’s happening.
Let’s discuss with the team whether this should be the case. When I spoke with Charly, we were thinking the URL should change to the plain list view (i.e. without |
What's the idea there, then would I have to click through the pages of the list to re-find the service I'm looking for and then re-click on it even though its already in the URL? |
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.
Thanks for using AppView here, I added a few more comments/questions but I'm going to take it for another spin now we've made a few more changes here, in the meantime let me know on those.
Just wanted to say, that I gave this another spin and its looking great. I think we are very nearly there with this. I think there are a few more outstanding comments, just wanted to say thanks for bearing with me for a lot of the comments here. As we are rolling this out everywhere I wanted to be as careful as I could with the code that is going to get repeated in lots of places. Let me know on the outstanding comments (I think its just the RouteView::t, and questions around that extra div/spacing) |
What are we doing about what happens when a service isn't on the page I am viewing? i.e. the
|
I'm sorry I don't have much time to look at what actually we're doing so I'll explain 2 theories:
WDYT? |
We could only use the DataSource if there's not a
but in saying that, I'm happy to leave this for the moment. I think you are right that its rare enough, and without something like a Ok, so just to be clear from me, lets not do anything here on this point. |
I agree that we should consider how we handle this (both of Charly’s outlines need additional work anyway) outside of this PR. There might be situations where we need to DataSource within the trays (e.g. when the list data isn’t enough for the summary needs), too. |
Adds a summary tray to the service list view. Signed-off-by: Philipp Rudloff <[email protected]>
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.
Lets get this in!
Changes
feat(services): adds summary tray
Adds a summary tray to the service list view.
Resolves #1609.
Signed-off-by: Philipp Rudloff [email protected]
Notes
Screenshots