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: change pm_with to pm-with #1352

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

Subhasish-Behera
Copy link
Contributor

@Subhasish-Behera Subhasish-Behera commented Mar 24, 2023

What does this PR do?

Fixes #1351

Tested?

  • Manually
  • Existing tests (adapted, if necessary)
  • New tests added (for any new behavior)
  • Passed linting & tests (each commit)

Commit flow

This is divided into 3 commits.

  1. Refactor in model.py
  2. Refactor in helper.py
  3. Refactor in messages.py
    Commits are independent of each other
    With these changes, the user_list and the z toggle on messages work as earlier.
    Notes & Questions

Interactions

Visual changes

@zulipbot zulipbot added the size: L [Automatic label added by zulipbot] label Mar 24, 2023
@Subhasish-Behera
Copy link
Contributor Author

@zulipbot add "PR needs review"

@zulipbot zulipbot added the PR needs review PR requires feedback to proceed label Mar 25, 2023
The latter form has officially been the narrow format, but the server was
previously looser in also accepting the underscore version - though that was
subsequently reverted.

For details see (on chat.zulip.org):
- #zulip-terminal > Cannot narrow to `pm_with` (#T1352)
- #api design > direct message search operators

Tests adapted.

Commit text updated and commits squashed together by neiljp
(all changes are necessary together to keep ZT functioning)
@zulipbot
Copy link
Member

Hello @Subhasish-Behera, it seems like you have referenced #1351 in your pull request description, but you have not referenced them in your commit message description(s). Referencing an issue in a commit message automatically closes the corresponding issue when the commit is merged, which makes the issue tracker easier to manage.

Please run git commit --amend in your command line client to amend your commit message description with Fixes #1351..

An example of a correctly-formatted commit:

commit fabd5e450374c8dde65ec35f02140383940fe146
Author: zulipbot
Date:   Sat Mar 18 13:42:40 2017 -0700

    pull requests: Check PR commits reference when issue is referenced.

    Fixes #51.

To learn how to write a great commit message, please refer to our guide.

@neiljp neiljp added PR ready to be merged PR has been reviewed & is ready to be merged and removed PR needs review PR requires feedback to proceed labels Apr 18, 2023
@neiljp neiljp added this to the Next Release milestone Apr 18, 2023
@neiljp neiljp merged commit f420528 into zulip:main Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api migrations PR ready to be merged PR has been reviewed & is ready to be merged size: L [Automatic label added by zulipbot]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cannot narrow to 'pm_with'
3 participants