Commit Graph

11 Commits

Author SHA1 Message Date
Shubham Padia
37ae73fa86 starlight_help: Do not use double curly braces for email address.
When we copied over the logic for the footer from the previous help
center, I forgot to remove the double curly braces which were getting
rendered as is in astro.
2025-09-02 10:02:10 -07:00
Shubham Padia
9a0ac354ed starlight_help: Move @types/mdast away from dev dependencies.
@types/mdast was in dev dependencies while it shouldn't have been, we
move that away from dev dependencies and bump the version. We need the
package when running the astro build step.
2025-08-28 10:07:25 -07:00
Shubham Padia
f20dc8f6cf starlight_help: Do not use type assertions in astro components.
Partially fixes #35435.

For KeyboardTip.astro and ZulipTip.astro, we were using type assertions
and thus needed to suppress eslint warnings that were being thrown.
2025-08-27 14:30:44 -07:00
Shubham Padia
5501954637 starlight_help: Add comments for the tip components.
We could also have one underlying component powering all of our custom
aside components. The code duplication between KeyboardTip and ZulipTip
is high. We are holding off on having that underlying component since
that component looks really complex compared to having 2 separate
components now. If we feel the duplication is a major issue later on,
combining them shouldn't be too much of an hassle.
2025-08-27 14:30:44 -07:00
Shubham Padia
9812bf187f starlight_help: Do not pass global variable as argument. 2025-08-27 14:30:44 -07:00
Shubham Padia
fc176fedd4 starlight_help: Add comment for remarkStringify as a plugin for linting. 2025-08-27 14:30:44 -07:00
Shubham Padia
67d3101d67 starlight_help: Update sidebar labels where they differ from the title.
Fixes #35620.
2025-08-27 12:39:13 -07:00
Anders Kaseorg
7b0c6f9d3f dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-14 21:37:50 -07:00
Alya Abbott
304fe9ff14 help: Document configuring a custom welcome message. 2025-08-11 14:46:33 -07:00
Shubham Padia
00f0b58ee4 starlight_help: Use Zulip favicon for the new help center.
The favicon should ideally change for self-hosted organizations if they
have configured it. We track the work for this in #35681 to look at
after the cutover.
2025-08-11 10:25:04 -07:00
Shubham Padia
3e60b16ac1 starlight_help: Move help-beta over to starlight_help.
We are starting the cutover process and starlight_help is the directory
we have agreed on to place our new help center project. We do not want
to use `starlight_help` as the URL for the project, but this commit
changes the url from `help-beta` to `starlight_help` temporarily since
we can only change URL once we get rid of the current help center
project. That will be done in a future commit.
2025-08-08 11:59:29 -07:00