-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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(ui): allows more convenient sorting of repository. #19829
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: EunJiJung <[email protected]>
Signed-off-by: EunJiJung <[email protected]>
Signed-off-by: EunJiJung <[email protected]>
🔴 Preview Environment stopped on BunnyshellSee: Environment Details | Pipeline Logs Available commands (reply to this comment):
|
✅ Preview Environment created on Bunnyshell but will not be auto-deployedSee: Environment Details Available commands (reply to this comment):
|
The ideal sort described in issue was sort, but it was not possible to sort uiwise because Repository objects do not have createdAt properties. Instead, among the properties of the repository, it is possible to search by type, project, name, and status. type: You can search by all, git, and helm. i deleted sort dropdown Please let me know if you need anything else. |
Signed-off-by: EunJiJung <[email protected]>
Hi. I referenced your code, but I couldn't sort it in date order by comparing x, y for certain conditions. (Since Repository objects don't have properties to display dates) Instead, I made it possible to sort using other properties. Especially, I think it's convenient to automatically track and sort projects that you have. Can you please check my code? |
@pasha-codefresh |
I would suggest few changes:
I have added some changes and it will look something like this :
changed.mp4 |
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.
you can add this scss on top of file repo-list.scss for search-bottom
`@import 'node_modules/argo-ui/src/styles/theme';
.search-bar .argo-field{
@include themify($themes) {
border-bottom: 2px solid themed('light-argo-teal-5');;
}
&:focus {
outline: 0;
border-color: $argo-color-teal-6;
}
} `
That's very good feedback. Thank you! |
Co-authored-by: Suraj yadav <[email protected]> Signed-off-by: Eunji <[email protected]>
Co-authored-by: Suraj yadav <[email protected]> Signed-off-by: Eunji <[email protected]>
Co-authored-by: Suraj yadav <[email protected]> Signed-off-by: Eunji <[email protected]>
Co-authored-by: Suraj yadav <[email protected]> Signed-off-by: Eunji <[email protected]>
…iteria Co-authored-by: Suraj yadav <[email protected]> Signed-off-by: Eunji <[email protected]>
I’m refactoring it now. 😶 |
Signed-off-by: EunJiJung <[email protected]>
Signed-off-by: EunJiJung <[email protected]>
Signed-off-by: EunJiJung <[email protected]>
@surajyadav1108
The above two things further strengthened the user experience. |
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.
ok great! @bianbbc87
looking back at it, I noticed that the project has a similar issue with undefined values, just like with the name
undefined.mp4
So I have some few changes as well modify those and then it looks good to me
corrected.mp4
Co-authored-by: Suraj yadav <[email protected]> Signed-off-by: Eunji <[email protected]>
…rim) Co-authored-by: Suraj yadav <[email protected]> Signed-off-by: Eunji <[email protected]>
…rim) Co-authored-by: Suraj yadav <[email protected]> Signed-off-by: Eunji <[email protected]>
@surajyadav1108 |
ahh seems ui lint check is failing, you can fix it if you have yarn installed globally if not
|
Co-authored-by: Suraj yadav <[email protected]> Signed-off-by: Eunji <[email protected]>
Signed-off-by: EunJiJung <[email protected]>
I've fixed the lint issue. It's related to ui. |
No write access, you will have to wait till a member approves it. meanwhile you can fix the PR title @ishitasequeira can you merge this if it looks good ❓ |
@bianbbc87, I've asked for review in CNCF Slack. Can you rebase on the latest master and re-test, please? |
Checklist:
Fixes: #18454