-
Notifications
You must be signed in to change notification settings - Fork 6.3k
feat(ui): allows more convenient sorting of repository. #19829
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
Conversation
❗ Preview Environment undeploy from Bunnyshell failedSee: Environment Details | Pipeline Logs Available commands (reply to this comment):
|
❌ Preview Environment deleted from BunnyshellAvailable 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. |
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! |
I’m refactoring it now. 😶 |
@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
@surajyadav1108 |
ahh seems ui lint check is failing, you can fix it if you have yarn installed globally if not
|
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? |
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
hi, i rebased original master and added the changes again. |
@bianbbc87 @surajyadav1108 Great work on this! Do you think you can make the final change and let me know so we can merge this? :) |
@bianbbc87, could you please take a look when you have a moment 💭? |
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
@agaudreault @surajyadav1108 I've merged the latest changes from upstream and resolved the merge conflict in repos-list.tsx by combining both changes. |
Co-authored-by: Suraj yadav <harrypotter1108@gmail.com> Signed-off-by: Eunji <129590633+bianbbc87@users.noreply.github.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com>
…order color Signed-off-by: EunJiJung <bianbbc87@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com> Signed-off-by: Eunji <129590633+bianbbc87@users.noreply.github.com> Co-authored-by: Suraj yadav <harrypotter1108@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com> Signed-off-by: Eunji <129590633+bianbbc87@users.noreply.github.com> Co-authored-by: Suraj yadav <harrypotter1108@gmail.com> Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com> Signed-off-by: Eunji <129590633+bianbbc87@users.noreply.github.com> Co-authored-by: Suraj yadav <harrypotter1108@gmail.com> Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
Signed-off-by: EunJiJung <bianbbc87@gmail.com> Signed-off-by: Eunji <129590633+bianbbc87@users.noreply.github.com> Co-authored-by: Suraj yadav <harrypotter1108@gmail.com> Signed-off-by: enneitex <etienne.divet@gmail.com>
Checklist:
Fixes: #18454