Samy Pessé
2df5d68eae
Pass next.internal on fetch requests to avoid I/O sharing ( #197 )
2024-02-28 15:26:36 +01:00
Samy Pessé
70c6c9df42
First pass at implementing ContentKit ( #69 )
...
* Start
* Try webframe
* Lint and format
* Move to package
* Continue
* Implement card and cleanup contexts
* Start code blocks
* Start rendering image
* Continue with card
* Start stack
* Start text
* Start modal
* Format
* Continue
* Fix TS errors
* Cleanup
* Make markdown work with server components
* Format
* Add visual test
* Lint and format
* Fix lifecycle
* Implement textinput
* Divider
* Remove console logs
* Remove listSpaceIntegrationsBlocks
2024-02-28 14:46:47 +01:00
Samy Pessé
8eb2850bdd
Fallback crypto.randomUUID for old browsers ( #196 )
...
* Fallback crypto.randomUUID for old browsers
* Oups
2024-02-28 14:09:31 +01:00
Samy Pessé
887e99c8ed
Archive build output on GitHub Actions
2024-02-28 10:52:41 +01:00
Samy Pessé
46b3e461dd
Fix code block highlighting resulting in shared promises ( #195 )
...
* Fix code block highlighting resulting in shared promises
* Lint
* Fix tests
2024-02-28 10:44:47 +01:00
Samy Pessé
76ba5d043e
Use customization.title instead of space.title ( #194 )
...
* Use customization.title instead of space.title
* Format
* Fix TS
2024-02-28 10:26:04 +01:00
Samy Pessé
5e12c0a9be
Ignore errors when tracking page views ( #193 )
2024-02-27 16:27:09 +01:00
Samy Pessé
7ed89fe0fe
Ignore errors with animate calls ( #192 )
2024-02-27 11:48:40 +01:00
Samy Pessé
a3af78031f
Use .ctx to avoid issue with proxy object ( #191 )
2024-02-27 11:15:58 +01:00
Samy Pessé
05de8109bb
Fix crash for some code blocks with annotations ( #190 )
...
* Start
* Add failing test
* Better handle nested tokens
* Run tests in CI
* Comment
* Fix another case
2024-02-27 11:03:51 +01:00
Samy Pessé
41278bad68
Fix responsiveness of API blocks ( #189 )
...
* Add unit test
* Fix responsiveness of API blocks with 2 columns
2024-02-24 17:14:06 +01:00
Samy Pessé
884f5aabb0
Fix text overflowing on long words ( #188 )
...
* Break words when overflowing
* Format and add tests
2024-02-24 17:00:11 +01:00
Samy Pessé
eea1323c17
Don't show aside when there is only one aside ( #187 )
2024-02-24 15:17:53 +01:00
Samy Pessé
341264e879
Fix page not found and main layout ( #186 )
...
* Switch to a global layout
* Format and improve main layout
* Fix TS
* Real fix
* Cleanup
2024-02-23 22:53:02 +01:00
Taran Vohra
345a2ea964
log request cookies in the middleware ( #184 )
2024-02-23 19:44:50 +05:30
Samy Pessé
56143277b7
Expose window.GitBook to integrations ( #185 )
...
* Expose window.GitBook to integrations
* Simplify
* Oups
* Use basic script to load integrations
* Preload the scripts
2024-02-23 13:32:09 +01:00
Samy Pessé
aeeb9b0305
Hide table header when column titles are empty ( #182 )
...
* Hide table header when column titles are empty
* Add test
* Skip downloading puppeteer for some CI jobs
2024-02-22 13:23:56 +01:00
Taran Vohra
64bb5ebf5a
Redirect after normalizing URL for VA ( #183 )
...
* Redirect after normalizing URL for VA
* Redirect after normalizing URL for VA
2024-02-22 17:31:41 +05:30
Taran Vohra
98d44f01c7
Do a redirect if visitor auth token found in param ( #181 )
...
* redirect if visitor auth token in param
* add resolved cookies to redirect
2024-02-22 16:41:43 +05:30
Samy Pessé
1fc9f17f76
Use correct colors for contrast header theme ( #179 )
2024-02-21 00:22:07 +01:00
Samy Pessé
9a25c8c19c
Fix size of cards in table ( #178 )
2024-02-20 19:01:41 +01:00
Samy Pessé
09de40002a
Fix share links resulting in errors because of ( #177 )
2024-02-20 14:29:14 +01:00
Samy Pessé
a2d967e98e
Use Joypixels instead of native emojis ( #176 )
...
* fist test
* Use a font
* Cleanup
* Use right fallbacks for fonts
* Lint
* Cleanup and comment
* Add visual test
2024-02-20 13:54:57 +01:00
Taran Vohra
258ef413b1
Fix logic to fetch visitor auth token from cookies and cleanup URL params ( #175 )
...
* Remove va token from query params before using it for response
* sanitize
2024-02-20 17:11:23 +05:30
Samy Pessé
cf1f281119
Fix color of the title in the header when theme is custom ( #174 )
2024-02-20 09:14:04 +01:00
Samy Pessé
773fa50d41
Fix H# in aside and link to expandables ( #173 )
...
* Set ID on expandables
* Do not include h3
* Add a hash link
* Format
* Add tests
2024-02-19 20:00:18 +01:00
Samy Pessé
b0725eb852
Fix CI deployment config
2024-02-19 16:36:06 +01:00
Samy Pessé
6bd6ddd031
Use an assetPrefix to serve all assets from same URLs ( #172 )
...
* Test an assetPrefix
* Fix condition
* Use the env instead
* Use it for CSP
2024-02-19 16:32:33 +01:00
Samy Pessé
9b285625d9
Hide page footer navigation when disabled in customization ( #171 )
2024-02-19 15:24:43 +01:00
Taran Vohra
8c0970d3d9
Ensure unique and isolated visitor auth cookie state ( #169 )
...
* Ensure unique and isolated visitor auth cookie state
* Fix typecheck
* Fix typecheck
2024-02-19 18:18:02 +05:30
Samy Pessé
1ad9bfd6f3
Fix image size in some cases ( #170 )
2024-02-18 21:28:11 +01:00
Samy Pessé
1a37b17a68
Implement color mark ( #168 )
...
* Define text and background colors
* Handle dark mode
* Add content tests
2024-02-18 00:21:50 +01:00
Samy Pessé
c5455d4498
Display page emoji in content-ref blocks ( #167 )
2024-02-17 21:23:22 +01:00
Samy Pessé
a82c548f42
Fix image size and alignment ( #166 )
...
* Fix image alignment
* Fix size of inline image
* Correctly size images
2024-02-16 18:58:59 +01:00
Sebastian Graz
eead1dba66
add heading hash order conditional ( #165 )
...
* add heading hash order conditional
* v1 api color pass
* Delete .env
* Format
---------
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-02-16 10:29:18 +01:00
Samy Pessé
a7d4896484
Process all pages to fetch the list of spaces in a collection ( #164 )
2024-02-15 17:32:20 +01:00
Samy Pessé
fa734fb217
Fix border radius for tabs and code-blocks when using straight corners ( #163 )
...
* Fix border radius for tabs and code-blocks when using straight corners
* Format
2024-02-15 15:37:18 +01:00
Samy Pessé
46a1b58d01
Fix responsiveness of footer ( #162 )
2024-02-15 12:54:29 +01:00
Sebastian Graz
12520ccede
Style sprint 4 ( #160 )
...
* Commit
* make light base lighter, improve table legiblity
* improve hover leg on toc
* improve tabs leg
* improve tab design
* improve expandable leg
* slight global color tweak
* hide debugger
2024-02-15 11:50:04 +01:00
Samy Pessé
ebdec4966b
Use absolute URLs for logos ( #161 )
2024-02-15 10:06:05 +01:00
Samy Pessé
0b620640fa
Fix hiding the table of content when disabled in page options ( #159 )
...
* Hide TOC when page is configured to hide it
* Improve layout in different cases
2024-02-14 17:19:07 +01:00
Samy Pessé
06fb56edc7
Fix emoji not displayed in cards with target ( #157 )
...
* Fix emoji not displayed in cards with target
* Only have hover effect on card when clickable
* Use 4 instead of 2
2024-02-14 15:42:20 +01:00
Samy Pessé
49a1561801
Update @cloudflare/next-on-pages to 1.9.0 ( #156 )
2024-02-14 12:35:39 +01:00
Samy Pessé
b2acfab7c0
Enable zoom on drawings ( #155 )
2024-02-14 12:00:46 +01:00
Samy Pessé
cf193f1738
Fix size of logo in header ( #154 )
...
* Fix sizing of logo in header
* Format
* Fix cases where size is not passed
2024-02-14 11:17:29 +01:00
Samy Pessé
6edd2648a4
Fiz zoom causing inline image to be displayed as block, also fix dark mode ( #152 )
...
* Fix inline image being displayed as blocks
* Make it work on dark mode
* Format
2024-02-13 22:12:28 +01:00
Samy Pessé
ec1769fc32
Let users zoom images (inline and block) ( #151 )
2024-02-13 21:54:48 +01:00
Samy Pessé
e9432c9486
Fix default size for inline images ( #150 )
...
* Fix default size for inline images
* Lint
2024-02-13 21:08:11 +01:00
Sebastian Graz
c3d9e85823
Style sprint 3 ( #136 )
...
* first pass at nested ordered list symbols
* remove margin inside lists
* V1 of nested bullets & fix header hash pos
* clean up
* convert listItem render to switch
* Improve lists
* improve heading hash
* fix list todos to match heading size too
* no need for inline-grid
---------
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-02-13 21:03:57 +01:00
Samy Pessé
3e2327c707
Change refiner feedback form URL
2024-02-13 19:01:41 +01:00