refactor: improve project and source browsing#1080
Conversation
We refactor tracked so that it returns the most information as possible. There are three cases in particular: * Searching -- peer is tracked but no information is available for them yet * Maintainer -- peer is a maintainer of the project * Tracking -- peer is a contributor to the project
91f2963 to
d7b2b7a
Compare
d7b2b7a to
2e1b232
Compare
62560a4 to
8b3def2
Compare
This is implemented in 26d16bf |
This is how master works as well, can change it. Just wanna make sure that we want all selectors work the same.
This was suggested by @cloudhead and I agree that it makes sense with our current dropdown UX. We can review that once we make it more sophisticated: highlighting default branch, add filtering to the dropdown. |
|
Yeah it now behaves how dropdowns are supposed to behave 👍 |
This seems strange, where do you see that? In Figma you can see that the expand button isn't there when expanded, which makes sense: https://www.figma.com/file/owmgsbs6lnUt8R1bixstCA/%F0%9F%8C%B1%F0%9F%86%99-Radicle-Upstream?node-id=4147%3A7516 |
Could we preserve the behavior though when you click on it from the Commits view? So it preserves the file you were on, but if you're already on the Files view, then it goes to root? 😬 |
Done in 597cb35 |
@cloudhead you're right. We changed the peer selector here: #1261 (comment). Now that I look at it again, I think we should have just added a spacer that takes up as much space as the icon to avoid the "jumping", thanks for pointing out! |
Was triggering me as well, do we have a proper |
@xla |
|
@xla merge it! quick! |







Fixes #970
Fixes #1141
Fixes #1145