Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(cli): add favorite/unfavorite commands#11793

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 2 commits intomainfromcj/cli-favorite-workspace
Jan 24, 2024

Conversation

johnstcn
Copy link
Member

Part of#7912

Depends on#11791

Adds CLI commands allowing users to add/remove workspaces from their favorites.

@johnstcnjohnstcn self-assigned thisJan 24, 2024
@johnstcnjohnstcn marked this pull request as ready for reviewJanuary 24, 2024 12:57

buf.Reset()

inv, root = clitest.New(t, "unfavorite", ws.Workspace.Name)
Copy link
Member

Choose a reason for hiding this comment

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

What will happen if a user marks their workspace as "favorite" twice? Is it relevant?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Nothing interesting really will happen. It'll get updated again, which is essentially a no-op. We could check if the workspace is already favorited, but the overhead probably isn't worth the effort.

Base automatically changed fromcj/favorite-workspaces-redux tomainJanuary 24, 2024 13:39
@johnstcnjohnstcnforce-pushed thecj/cli-favorite-workspace branch from6c20099 to0cc97bbCompareJanuary 24, 2024 13:42
@johnstcnjohnstcn merged commit70dc282 intomainJan 24, 2024
@johnstcnjohnstcn deleted the cj/cli-favorite-workspace branchJanuary 24, 2024 14:05
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJan 24, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mtojekmtojekmtojek approved these changes

@mafredrimafredriAwaiting requested review from mafredri

Assignees

@johnstcnjohnstcn

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@johnstcn@mtojek

[8]ページ先頭

©2009-2025 Movatter.jp