Commit Graph

25 Commits

Author SHA1 Message Date
Evan Simkowitz
ed8d3c179c
Test relative assets for storybook (#1219) 2024-11-06 11:56:49 -08:00
Evan Simkowitz
437e4e8c6e
Set base url for storybook using env var (#1218) 2024-11-06 11:47:46 -08:00
Evan Simkowitz
edb3290349
Move docsite to main repo (#1204)
## Summary

We are moving our docsite to this repo for better coordination.

## What's changed?

- The docsite codebase is now in docs/
- The docsite will replace storybook as the published GitHub Pages site
for this repo
- Storybook will now be hosted at https://docs.waveterm.dev/storybook
- A new CI workflow will validate any changes to Storybook or the
docsite
- A combined CD workflow will build and deploy Storybook and the docsite
as a single artifact
- The Build Helper workflow will now build an embedded version of the
docsite before building the app, ensuring the docsite version it has is
always the latest
2024-11-06 10:45:21 -08:00
Evan Simkowitz
c1d2a05e4c
Override bg color on light vs dark mode storybook (#884) 2024-09-26 19:37:07 -07:00
Evan Simkowitz
ba7b0b7019
Fix wave logo size and anchor alignments in Storybook (#883) 2024-09-26 19:24:12 -07:00
Evan Simkowitz
6442eaeb3f
Change logo path for storybook (#882) 2024-09-26 19:08:41 -07:00
Evan Simkowitz
11d09f1740
Emit dark mode update event when system setting changes (#881) 2024-09-26 19:02:23 -07:00
Evan Simkowitz
061949354c
Storybook with dark mode support (#880) 2024-09-26 18:58:25 -07:00
Red J Adaya
5ecb285339
menu (#846) 2024-09-26 18:21:28 -07:00
Evan Simkowitz
fc87c3fc98
Fix Storybook Vite outDir (#879) 2024-09-26 15:37:33 -07:00
Evan Simkowitz
3ebdd9c01e
fix assets path (#878) 2024-09-26 15:24:34 -07:00
Evan Simkowitz
2dc89d8f1b
Add assets dir for storybook (#877) 2024-09-26 15:21:42 -07:00
Evan Simkowitz
fa6753d118
Fix icons for storybook (#875) 2024-09-26 15:11:03 -07:00
Evan Simkowitz
9fcbcac996
Fix storybook build (#873) 2024-09-26 14:43:55 -07:00
Evan Simkowitz
6ffa421744
Storybook page, exclude Jotai from dependabot, use NodeJS 20 for builds (#868) 2024-09-26 14:17:52 -07:00
Evan Simkowitz
e29cb2debe
Make magnify icon always visible, transition from magnify to minimize (#197)
I'm updating the magnify button to be always visible and animate a
transition between being a "Magnify" button and a "Minimize" button.

This also cleans up some text shrinking behavior in the block frame
header so the end icons are always visible.

Also fixes some height discrepancies in the block frame header.

Also implements a `prefers-reduced-motion` query for the tilelayout and
block frame to ensure transitions are not set if the user does not want
them.
2024-08-05 16:13:26 -07:00
Evan Simkowitz
f9236fc18b
Fix bad merge 2024-06-26 12:26:27 -07:00
Evan Simkowitz
638883eef9
Fix Storybook for TileLayout (#81)
Fix typing of memoized TileLayout component, fix broken Vite config,
upgrade Storybook to latest.
2024-06-26 12:22:27 -07:00
Evan Simkowitz
ac53c1bb87
add ElectronViteConfig type import 2024-06-13 23:19:32 -07:00
Evan Simkowitz
0d4be9cb88
Fix Vite CJS deprecation warning when using Storybook (#52)
This was a weird one, apparently Storybook still uses CJS but Vite has fully deprecated CJS support. So we need to dynamically import the electron.vite.config.ts file for Storybook, but this breaks because Typescript doesn't resolve and properly compile the dynamic import. To get around this, I am using the `tsx` package, which can dynamically compile typescript imports.
2024-06-13 23:03:57 -07:00
Evan Simkowitz
e3c5d4de48
Upgrade Storybok and yarn 2024-06-13 19:50:27 -07:00
Evan Simkowitz
043788cc1c
Fix Storybook 2024-06-13 19:46:31 -07:00
Evan Simkowitz
c3e71c5c7d
Integrate Faraday layout system (#16)
Co-authored-by: Mike Sawka <sawka@users.noreply.github.com>
Co-authored-by: sawka <mike.sawka@gmail.com>
2024-06-04 13:05:44 -07:00
Evan Simkowitz
c49050f6ed
Fix prettier formatting 2024-05-28 12:12:28 -07:00
Evan Simkowitz
9bbc39405e
Add configs from Faraday repo 2024-05-24 17:44:41 -07:00