Skip to content

Adjust compose hints toward "general chat" #1425

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

Closed
wants to merge 2 commits into from

Conversation

gnprice
Copy link
Member

@gnprice gnprice commented Mar 20, 2025

Prompted by these comments on #1364, toward #1250:
#1364 (comment)
#1364 (comment)

@PIG208 I recommend updating #1364 like so:

  • Include the first commit:
    940aeaf compose [nfc]: Pull out method for computing topic for hint text

  • Complete the second commit:
    750a233 WIP compose: Omit "(no topic)" from hint when not allowed to send there; TODO fix tests, add tests

    by taking some of the tests from this commit in the other PR which includes a similar behavior change:
    442d112 compose: Change content input hint text if topic is empty and mandatory

  • Rebase the remainder of what's done in the other PR's main two commits:
    442d112 compose: Change content input hint text if topic is empty and mandatory
    dcaf165 compose: Support sending to empty topic

    to go atop those changes and use this _hintTopic method.

gnprice added 2 commits March 20, 2025 16:24
This method is trivial for now, but provides a home for logic to
be added next.

In particular this separates the computation of how the topic should
appear in the hint text from what the topic should be in the API,
in `destination`.
@gnprice
Copy link
Member Author

gnprice commented Mar 24, 2025

These changes got incorporated into #1364, and that's now merged.

@gnprice gnprice closed this Mar 24, 2025
@gnprice gnprice deleted the pr-compose-hint branch March 24, 2025 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant