Repository navigation
web: instance groups: add list view - #9626
Conversation
|
|
|
In the root of the repo there are few other things you can run, which are failing in the
|
|
Really nice that the view selection you pick (default, HD, listview) persists now too! For any curious, this is what it looks like. Screen.Recording.2026-07-03.at.4.20.32.PM.movOnly suggestion I could think, and this is non-blocking, is it would be nice if the instanced pipelines that are starred were pinned to the top like they are in the default dashboard view. You can see what I mean in the video after I pin two and then flip between default and list view. Non-blocking though, would be very happy to see this shipped as-is (once the tests are passing 😁). |
|
Thanks for the feedback, @taylorsilva , and happy you like it. I'll fix those yarn complaints as soon as I can. :) As for the favorites, I kind of stayed in the same lane the HD view does, but can see the appeal. How would you imagine that? A separate list on top that is not draggable and just displays the favs? Or having them in the same list, but on top? How would sorting come into play then, would it be possible to sort a fav down into the "regular" rows? Or separate sorting between the favs and the regulars? |
taylorsilva
left a comment
There was a problem hiding this comment.
Was doing some more testing looking at ways to break the UI. When there are too many instance vars it never line breaks:

There is some line breaking going when I shrink the window size:
Here's a fly command with all the instance vars:
fly -t l sp -p test -c test.yml \
-i v1=v1 \
-i name=alpha \
-i color=blue \
-i size=medium \
-i status=active \
-i region=north \
-i mode=debug \
-i level=high \
-i type=widget \
-i env=staging \
-i owner=team7 \
-i priority=urgent \
-i category=tools \
-i version=beta \
-i format=json \
-i theme=dark \
-i lang=english \
-i tier=premium \
-i zone=east \
-i state=pending \
-i group=admin \
-i tag=release \
-i source=manual \
-i target=prod \
-i flag=enabled \
-i label=archive|
We can ignore the favouriting stuff for now like I said. Can do it in another PR if you're motivated to do it or someone else is. |
|
I've also tested that the search bar works on the list. Everything looks good there. |
|
FYI, I pushed a commit that does some refactoring. I didn't attempt to fix the issues I pointed out. I think this will be good to merge once the overflowing style issue is resolved. |
|
Just noticed that the HD view is draggable now too! Did notice that dragging to the start/end isn't possible though: Screen.Recording.2026-07-07.at.3.10.05.PM.movNot considering this a blocker to merging, but would be nice to fix before merging. |
|
very strange, unit check is failing but for unrelated reasons so don't worry about it. it's happening on main too so I'll figure it out there. Sorry for the noise! |
|
Figured out the unit tests problem, so that check will pass now. Last review is the only outstanding item now from merging: #9626 (review) |
|
oh wow I really stumbled upon an edge-case here! So that weird view only appears if you have no pipelines to view AND your dashboard is set to high-density mode. It was probably like this before but no one ever encountered this because they'd only see if if they were on the I only happened across this because I happened to have high-density turned on, persisting in my browsers local storage. Will push a fix in a bit. |
This commit adds a list view capability to the web frontend. It's available only for instance groups with a toggle similar to the HD one. Related to that, the former HD route was replaced with a session-stored one, so its setting along with the new list view one are restored on reload and independent of the route flow. Signed-off-by: bcersows <[email protected]>
Fixed some Elm tests and analysis. Also ran `yarn format` (which touched some files I did not). Signed-off-by: bcersows <[email protected]>
- Big one is adding the cardPipeline helper, consolidating all the three-way branch logic into one func that others call. - Moved a bunch of CSS into Styles.elm Signed-off-by: Taylor Silva <[email protected]>
allows users to interact with the button using their keyboard Signed-off-by: Taylor Silva <[email protected]>
by not going into highDensity at all and just displaying the regular view Signed-off-by: Taylor Silva <[email protected]>
Signed-off-by: Taylor Silva <[email protected]>
243c880 to
ec8184e
Compare
Signed-off-by: Taylor Silva <[email protected]>
|
I rebased onto master just so I could locally ensure I was using the latest Elm verison. If you can't tell, I'm very excited to have this feature in Concourse! That's why I went ahead and fixed the outstanding items I found. Assuming nothing else pops up, I'll merge this once the checks pass on the latest commit. Thank you VERY much for your work on this! |
|
@taylorsilva , sorry, I've been on vacation for a couple days. But thanks a lot for taking matters into your own hands, happy I could help. :) What's still open now? The fav stuff? If so, do you have any design for it in mind? Separate list above? |
|
No worries, hope it was a good vacation! I think the favourites is the only outstanding thing now. Separate list above is what I imagined. |



This commit adds a list view capability to the web frontend. It's available only for instance groups with a toggle similar to the HD one. Related to that, the former HD route was replaced with a session-stored one, so its setting along with the new list view one are restored on reload and independent of the route flow.
Changes proposed by this PR
closes https://github.com/orgs/concourse/discussions/9608 (#9608)
Make sure to follow all PR requirements.
Screenshot (same as in the ticket)
Notes to reviewer
Not sure, if the comments in
Dashboard.elmregarding loading fromlocalStorageare required, but as I removed loading them from the route, it made sense to me.Tried to follow the existing formatting, hope it's alright. And got a bit bigger due to the list view and especially its drag-drop handling; had to do it manually, as going the card view way and calculating every card's location felt wrong when a plain HTML way can achieve the same.