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: add user filter to templates page to filter by template author#19561

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
rafrdz merged 10 commits intomainfromrafrdz/template-author
Aug 28, 2025

Conversation

rafrdz
Copy link

@rafrdzrafrdz commentedAug 26, 2025
edited
Loading

Summary

In this pull request we're adding a user selector dropdown to the templates page that allows an admin to select a user. The selected user will be used in theauthor:<username> filter to filter the templates list by a template author.

Closes:#19547

Changes

Admin View - Can view all users

Screenshot 2025-08-26 at 5 24 07 PM

Admin View - Using the user filter

templates-user-filter.mov

User view - Cannot view all users

Screenshot 2025-08-26 at 5 25 38 PM

Testing

  • Added storybook test for viewing the templates page with a user dropdown

Copy link
Member

@ParkreinerParkreiner left a comment

Choose a reason for hiding this comment

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

I think this is overall fine. I'm just a little concerned that we're slapping band-aids on some critical code, rather than tightening it up. At the same time, I don't think it's reasonable to shove a bunch of changes into this PR

I'm okay with approving most of this, but I'm wondering if@BrunoQuaresma has any extra context for some small wins we can sneak in to make the code a little cleaner

rafrdz reacted with thumbs up emoji

interfaceTemplatesFilterProps{
filter:ReturnType<typeofuseFilter>;
filter:UseFilterResult;
Copy link
Member

Choose a reason for hiding this comment

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

Much better. Thank you!

rafrdz reacted with hooray emoji
@BrunoQuaresma
Copy link
Collaborator

BrunoQuaresma commentedAug 28, 2025
edited
Loading

I'm good with the changes 👍 About the filter complexity, we def need to refactor it to make it simpler and easier to use. I think we talked about this sometime ago but no one was interested on moving this forward.

rafrdz reacted with hooray emoji

@Parkreiner
Copy link
Member

@rafrdz Yeah, I don't think the new widths are quite right. I'm going through the code now to figure out what caused the change

rafrdz reacted with thumbs up emoji

Copy link
Member

@ParkreinerParkreiner left a comment

Choose a reason for hiding this comment

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

I think we're pretty close and just need a few small changes

I'm going to approve to keep you unblocked, but if you need anyone to look over the stories, feel free to message me on Slack

rafrdz reacted with heart emoji
Copy link
Member

@ParkreinerParkreiner left a comment

Choose a reason for hiding this comment

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

Whoops, actually approving

@Parkreiner
Copy link
Member

Parkreiner commentedAug 28, 2025
edited
Loading

@BrunoQuaresma Yeah, sometime today or tomorrow, I can try to open up an issue about refactoring the setup. I'm going to be working on Backstage stuff pretty soon, but once that's wrapped up, I should have some bandwidth to work on updating all this

@rafrdzrafrdz merged commit95dccf3 intomainAug 28, 2025
27 checks passed
@rafrdzrafrdz deleted the rafrdz/template-author branchAugust 28, 2025 18:59
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 28, 2025
@JphalanJphalan added the cherry-pick/v2.26Needs to be cherry-picked to the 2.26 release branch labelSep 3, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@ParkreinerParkreinerParkreiner approved these changes

@aslilacaslilacAwaiting requested review from aslilacaslilac is a code owner

Assignees

@rafrdzrafrdz

Labels
cherry-pick/v2.26Needs to be cherry-picked to the 2.26 release branch
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Improve templates list to focus on template authors
4 participants
@rafrdz@BrunoQuaresma@Parkreiner@Jphalan

[8]ページ先頭

©2009-2025 Movatter.jp