Use the icon's name, in camelcase, with the suffix "Icon" for
icon class names in the new help center documentation. E.g.,
zulip-icon-external-link becomes ExternalLinkIcon and fa fa-plus
becomes PlusIcon.
This commit updates the organization settings banners to use
`width: fit-content`, ensuring they no longer span the full available
width. While this change does not yet support wrapping the action button
to a new line, it works reliably for these banners.
Currently, flex-wrap is set to `nowrap` to prevent buttons from wrapping
to the next line, as using `min-content` or `fit-content` forces
wrapping when space runs out. This approach limits the banner width to
its content size while maintaining layout consistency.
Making this as a separate commit since this is an experimental change
and we can tinker this later when we have a solid solution.
This commit redesigns the upgrade and sponsorship banners by adding
AVAILABLE_ON_STANDARD, UPGRADE_ACCESS_BANNER, and
UPGRADE_OR_SPONSORSHIP_BANNER.
Fixes part of #34252.
This commits convert the banners of "Settings > Default user settings"
and "Personal > Bots" into plain text. Also, change the plain text of
"Personal > Bots" to be more descriptive.
Fixes part of #34252.
In the help center, we want these two system bots to be referred
to as names: capitalize both words, no bold, no links, no "the"
before the bot's name.
Currently, we save a draft copy in case message send fails on server
but this only saves a copy of message when it has savable message
length. Short message doesn't save a copy and throws an error.
This commit introduces a new option `force_save` to `update_draft`
and saves any message regardless of message length if passed true.
Adds mobile instructions for copying a link to a message, topic,
and channel via the long-press action menus. Clarifies some of
the text around link formatting being in the web/desktop apps.
Fixes some example links to redirect to headers on the page, and
adds a missing period to a sentence.
Banner shown on deleting drafts was broken because "banner-wrapper"
class was missing in container element that led to some CSS not
being applied.
Also, needed to change the "text-align" CSS property to override
the "center" value set for overlay header text because "banner-label"
flex element is allowed to grow and take more width after recent
changes in d00cf1a.
This reverts 1862c3d9ab.
The "time" field was added in the APNs payload to log
"Remote queuing latency".
The client doesn't use this field. Ideally, we should have
removed the field from the payload before sending it to APNs.
We no longer log "Remote queuing latency", so it's safe to
remove it from the APNs payload.
Only FCM payload will have this field as it is used by android
clients.
The function was used to reformat apns payload sent
by servers older than 613d093d7.
Since we no longer need to worry about servers older
than 1.6.0, it's safe to remove that function.
We should ideally be having this styling on class, but there is no
default class for li elements inside an ol. Maybe the best thing here is
to attach classes at different places if possible once have some spare
time after the important post cutover issues are done.
I missed converting `integrations-overview.md` since it was a file in
`api_docs` without realising that we had a symlink in help/ that pointed
to that file. I'm not sure how the other two files were missed but we
corrrect here nonetheless.
We have a few files where we have blank lines before tables and tips, we
need these blank lines for the current help center to render those
tables and tips properly. But those same blank lines make the list loose
when converted to MDX. We cannot make these changes before we have the
ability to modify MDX directly. We track this issue in #35533.
A lot of our admonition declaration had an empty new line in the
beginning which was getting ported over in the conversion. This caused
the asides to unintentionally mark a tight list as loose which we do not
want.
Fixes#35326.
Previously, the visibility of unread counts for both the home view and
the "CHANNELS" heading was controlled by the "Hide unread summary counts"
setting. Now, it controls only the visibility of unread counts in the
home view.
Now the former is only used in the channels list (headers and inactive
toggles included) and the latter is only used for the home view.
Note that this changes some behavior, notably the header and inactive
toggles now show the masked dots when all unread markers in them are
also masked.