Skip to content
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

refactor: Move sidebar items around #336

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

Venefilyn
Copy link
Collaborator

@Venefilyn Venefilyn commented Oct 9, 2023

This will prepare us for more granular interaction with project selection in the future. For now until that is implemented we have this to go with.

image

TODO:

  • ‹fill in›

Fixes

Related to
#306

Merge before/after


RELEASE NOTES BEGIN
Move sidebar routes around and categorize them
RELEASE NOTES END

@softwarefactory-project-zuul
Copy link
Contributor

@@ -101,16 +111,10 @@ const routes: RouteObject[] = [
element: <Pipelines />,
path: "/pipelines",
handle: {
category: "Projects",
label: "Pipelines",
},
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would group projects, pipelines and jobs, but am not sure if Projects should be the name of the group.

But can't think of a better name. Maybe something with results, activity,... I don't know..;)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking of adding this in the future so we can select the project we want and see the jobs and pipeline just for that project, then if you select none it shows all jobs and all pipelines. Could somehow get a page for just projects somehow though

But we could also leave it for now and just have the external links categorized

248487948-44d41eda-8021-4a8a-8769-4bf84f12e7b2

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, now I remember we've discussed this.

I quite like that approach (both having jobs and pipelines in a group now and the future state with the context selector). Maybe, I would just call this group differently.

A few ideas:

  • Service
  • Packit Service
  • Records
  • Results
  • Dashboard(s)
  • Workloads
  • Processing

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like both Dashboards and Services

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From these two, I slightly prefer Dashboards... Let's pick this and we can easily rename it if needed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

This will prepare us for more granular interaction with project
selection in the future. For now until that is implemented we have this
to go with.
@softwarefactory-project-zuul
Copy link
Contributor

Copy link
Member

@lachmanfrantisek lachmanfrantisek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@lachmanfrantisek lachmanfrantisek added this pull request to the merge queue Oct 16, 2023
Merged via the queue into packit:main with commit c04f7de Oct 16, 2023
1 check failed
@Venefilyn Venefilyn deleted the refactor/sidebar branch October 16, 2023 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants