-
Notifications
You must be signed in to change notification settings - Fork 27
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
User list pagination & Deactivate multiple accounts based on regex #93
Conversation
83f23af
to
394f123
Compare
it's advanced because most people (or even everyone) is unlikely going to need that option. however, it could improve the amount of time spent on looking for something to no avail (code is faster than my SQLite synapse API requests for listing users)
394f123
to
1d94cc2
Compare
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.
Great addition to synadm and I'm very happy we finally have a neat implementation for pagination ourselves. It will come in handy in the future often!! Thanks! Great work!
optional args aren't so useful for showing defaults with click
...not sure how this PR stalled |
Some change requests here: #93 (comment) Also unanswered questions around how the streamlining with --paginate (notice send cmd) and --batch-size should be solved: #93 (comment) Two ways: Use your idea of option name or use that one of notice send command. Either way, I'd like to streamline behaviour between Thanks! |
(Are we discussion option names and assuming the user won't use the help function? Maybe) |
open marathons is then new line, new line then closing parenthesis.
We are discussing that it is bad UI design if the same thing is named differently throughout the project. Certainly we assume that our valued users will use We at least try to achieve a "cohesive experience" when it is possible. Certainly there will be places where we were not able to follow that rule or we just missed the opportunity. In that case: Let's try harder. |
makes it consistent with notice send
I'm not sure what the option is suggested to be, so I changed |
Honestly, I would prefer option
So long story short I would appreciate if you would go down the road of naming it I would like to start a discussion in #synadm:peek-a-boo.at whether or not people think that such a change would be appreciated or worthwhile, that is a good idea too. I can assist with that if you want. An alternative way would be to just pragmatically add both options Also to further reduce the confusion of our global There you have some backstory and I hope it helps moving on in the right direction. Streamlining is not always easy, at least not as easy as it sometimes seems, but it definitely is, that was my experience in the past, much appreciated by users. |
Hi @JacksonChen666, is it ok for you if I hijack this PR/branch? I would like to have both options: I have a pending change that tries to reduce a possible confusion with what we called "batch mode" so far in PR #102 |
sure, you can hijack the PR for the options.
|
command definition. Also add a short option `-p` and a tiny formatting fix.
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.
Alright, I'm just reviewing this quickly myself. Die some playing around / testing with the commands. Hope I didn't miss anything but I think we are good to go.
Resolves #56
Note: This PR contains more than one change:
I don't suggest squashing this.