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

Gitlab: More intuitive navigation #946

Closed
Loskir opened this issue Feb 19, 2022 · 5 comments
Closed

Gitlab: More intuitive navigation #946

Loskir opened this issue Feb 19, 2022 · 5 comments
Labels
extension Issues related to one of the extensions in the Store feature request New feature or improvement wontfix This will not be worked on

Comments

@Loskir
Copy link
Contributor

Loskir commented Feb 19, 2022

Extension – GitLab

Author: @tonka3000

Describe the feature and the current behavior/state.
Currently the default action for many items is "Open in browser". I would like to see more consistent navigation, that allows me to navigate to the desired screen with a few enter clicks rather than with non-obvious shortcuts.

So first of all: I suggest adding Project screen

изображение

Right now it's only possible to jump directly from the projects list to issues/pipelines/etc using context actions or shortcuts.

изображение

Adding Project screen will make navigation more intuitive.

Next: Navigation to Project screen from "My Recent Activities" and "My Projects"

изображение

There are no actions at all in "My Recent Activities" right now. In "My Projects" the default action is "Open in browser". I suggest changing that to "Open Project" which opens the project screen.

I might have already spent a few hours on this, so what do you all think? 😅

@Loskir
Copy link
Contributor Author

Loskir commented Feb 19, 2022

Also would be nice to replace these

actionElement = <OpenInBrowserAction url={`${project.web_url}/-/issues/${ev.target_iid}`} />;

actionElement = <OpenInBrowserAction url={`${project.web_url}/-/merge_requests/${ev.target_iid}`} />;

actionElement = <OpenInBrowserAction url={`${project.web_url}/-/milestones/${ev.target_iid}`} />;

with PushActions which navigate to the corresponding sections

@tonka3000
Copy link
Contributor

Hi @Loskir ,

thanks for your feedback.

There are no actions at all in "My Recent Activities" right now. In "My Projects" the default action is "Open in browser". I suggest changing that to "Open Project" which opens the project screen.

This kind of navigation was already in the extension (was a command called Project explorer, checkout the video in the first PR) but I removed it for now because most users don't use the extension that way. I already prepared a different version, where a user can choose if the primary action should be open the project in raycast or in the browser. The default will be still Open in Browser because this is what most users use. That way you can choose between staying in raycast to explorer the project or open the project in the browser.

My Recent Activities will get the feature you describe but I need to finish some refactoring first.

@Loskir
Copy link
Contributor Author

Loskir commented Feb 19, 2022

Thanks for your feedback. I'm looking forward to new improvements of this extension.

I've committed my work-in-progress of the Project screen along with some small fixes to a separate branch (https://github.com/Loskir/extensions/tree/gitlab-dev/extensions/gitlab), you might want to cherry-pick some of them.

@tonka3000 tonka3000 mentioned this issue Feb 19, 2022
3 tasks
@tonka3000
Copy link
Contributor

@Loskir You can try out the PR #949 with the Open Project action (change in settings is required!)

CleanShot 2022-02-19 at 20 57 54

@mathieudutour mathieudutour added extension Issues related to one of the extensions in the Store feature request New feature or improvement labels Feb 21, 2022
@stale
Copy link

stale bot commented Apr 13, 2022

This issue/pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 7 days to keep our backlog clean. Thanks for your contributions.

@stale stale bot added the wontfix This will not be worked on label Apr 13, 2022
@stale stale bot closed this as completed Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension Issues related to one of the extensions in the Store feature request New feature or improvement wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants