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

Help: Add documentation for installation through Flathub. #28556

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

nimishmedatwal
Copy link
Collaborator

@nimishmedatwal nimishmedatwal commented Jan 12, 2024

Adds documentation for installing zulip through Flathub in https://zulip.com/help/desktop-app-install-guide.
Fixes: #28508

Screenshots and screen captures:
image

Self-review checklist
  • Self-reviewed the changes for clarity and maintainability
    (variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

  • Explains differences from previous plans (e.g., issue description).
  • Highlights technical choices and bugs encountered.
  • Calls out remaining decisions and concerns.
  • Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

  • Each commit is a coherent idea.
  • Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

  • Visual appearance of the changes.
  • Responsiveness and internationalization.
  • Strings and tooltips.
  • End-to-end functionality of buttons, interactions and flows.
  • Corner cases, error conditions, and easily imagined bugs.

@zulipbot
Copy link
Member

Hello @zulip/server-misc, @zulip/server-user-docs members, this pull request was labeled with the "area: documentation (user)", "area: portico" labels, so you may want to check it out!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These changes were made by running ./tools/lint --fix and are not related to the pr.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These changes were made by running ./tools/lint --fix and are not related to the pr.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These changes were made by running ./tools/lint --fix and are not related to the pr.

@timabbott
Copy link
Member

@drrosa can you review this one?

@timabbott timabbott added the documentation review Documentation review needed. label Jan 16, 2024
Copy link
Collaborator

@drrosa drrosa left a comment

Choose a reason for hiding this comment

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

@nimishmedatwal Thanks for working on this! I left a few comments below.

I am not sure why ./tools/lint --fix made changes to a few unrelated files. I ran ./tools/lint on my end, and it didn't show any errors. Try reverting the changes in these files, then git fetch / git rebase your PR to make sure your branch is up to date with the main branch, and run the linter again.

@@ -870,6 870,20 @@
"description": "Likely missing space after end of sentence",
"include_only": {"help/"},
"exclude_pattern": "Rocket.Chat",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it would be cleaner to add org.zulip.Zulip to the "exclude_pattern", and drop the whole "exclude_line" part.

Suggested change
"exclude_pattern": "Rocket.Chat",
"exclude_pattern": "Rocket.Chat|org.zulip.Zulip",

Comment on lines 101 to 117
#### Flathub

1. Make sure you have [Flatpak](https://flathub.org/setup) installed on your system.

2. Use the following command to install Zulip from Flathub:

flatpak install flathub org.zulip.Zulip


3. After the installation is complete, you can run Zulip using the following command:

flatpak run org.zulip.Zulip


You can always check the official [Flathub page](https://flathub.org/apps/org.zulip.Zulip) for installation.

<!-- TODO why dpkg? -->
Copy link
Collaborator

Choose a reason for hiding this comment

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

The formatting of this instructions block needs to be tweaked a bit. There shouldn't be any extra blank lines before or after each step, and each line shouldn't exceed 80 characters. Also, it's probably safe to remove the <!-- TODO why dpkg? --> comment which seems to have been left over a while back.


1. Make sure you have [Flatpak](https://flathub.org/setup) installed on your system.

2. Use the following command to install Zulip from Flathub:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe tweak this step and drop the last line "You can always check the official...."

Suggested change
2. Use the following command to install Zulip from Flathub:
2. Use the following command from the official
[Flathub page](https://flathub.org/apps/org.zulip.Zulip) to install Zulip:

@drrosa
Copy link
Collaborator

drrosa commented Jan 25, 2024

Also, instead of "documentation:", we use "help:" in commit messages and PR titles as a convention for help center issues.

@nimishmedatwal nimishmedatwal force-pushed the issue#28508 branch 2 times, most recently from d1741d6 to 4918196 Compare January 25, 2024 10:14
@nimishmedatwal nimishmedatwal changed the title Documentation: Add documentation for installation through Flathub. Help: Add documentation for installation through Flathub. Jan 25, 2024
@nimishmedatwal
Copy link
Collaborator Author

@drrosa Updated!

Copy link
Collaborator

@drrosa drrosa left a comment

Choose a reason for hiding this comment

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

These updates look good to me!

@drrosa
Copy link
Collaborator

drrosa commented Jan 26, 2024

@zulipbot remove "documentation review"
@zulipbot add "integration review"

@zulipbot zulipbot removed the documentation review Documentation review needed. label Jan 26, 2024
@zulipbot zulipbot added the integration review Added by maintainers when a PR may be ready for integration. label Jan 26, 2024
@timabbott timabbott merged commit 5e2d620 into zulip:main Jan 26, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: documentation (user) area: portico integration review Added by maintainers when a PR may be ready for integration. size: S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document flathub option for Zulip desktop apps on Linux
4 participants