Taran Vohra
ac124a7ea5
Add e2e tests for site variants ( #2286 )
2024-04-16 20:59:58 +05:30
spastorelli
1de25056fa
Fix space dropdown showing for single variant sites and update E2E tests ( #2284 )
2024-04-16 15:29:15 +02:00
Steven H
bf3d2032ab
Avoid crashing Cloudflare Worker when syntax highlighting too many lines of code. ( #2283 )
2024-04-15 11:57:22 +01:00
Samy Pessé
685317f508
Fix full-width for code-blocks and embeds ( #2272 )
2024-04-08 14:45:42 +02:00
Taran Vohra
0c224861e3
Sites support ( #2262 )
2024-04-08 17:06:22 +05:30
Samy Pessé
5f1d82cb5a
Fix rendering of select in cards ( #2248 )
2024-03-28 20:53:01 +01:00
Samy Pessé
3a7864d731
Fix design of embed cards being centered ( #2239 )
2024-03-26 18:29:52 +01:00
Samy Pessé
73d806a796
Set z-index on annotation popover ( #2238 )
2024-03-26 16:46:19 +01:00
Samy Pessé
a6789513dc
Fix alignment and border around small images in a grid with captions ( #2229 )
2024-03-26 13:45:23 +01:00
Greg Bergé
4c286b503c
Fix fullPage screenshots ( #2230 )
2024-03-25 12:43:50 +01:00
Samy Pessé
2ed5445af8
Fix display of cover when TOC is hidden ( #328 )
...
* Add visual tests for page options
* Fix the case of a landing page
* Fix height of the aside when page has a cover
* Remove some visual tests
2024-03-22 23:46:35 +01:00
Samy Pessé
7421d1c6c3
Cache getPublishedContentByUrl by tags ( #326 )
...
* Cache getPublishedContentByUrl by tags
* Reduce amount of cases returned by getURLLookupAlternatives
* Optimize lookup even more for revisions / change-requests
* Fix basePath for revisions / crs
2024-03-22 21:10:58 +01:00
Samy Pessé
cfcfbdf16c
Fix text/image alignment in cards ( #319 )
...
* Add a visual test
* Fix test
2024-03-21 12:15:58 +01:00
Samy Pessé
b029b1e23d
Fix display of advanced blocks in OL/Tasks lists ( #317 )
...
* Fix OL list style
* Format
* Fix it for tasks lists as well
* Default to fullPage
* Run some test without fullPage
* Run fullPage only on list
2024-03-21 09:50:18 +01:00
Samy Pessé
cf958bacd1
Fallback to MathJax when KaTeX fails to compile math ( #303 )
...
* Start
* Use MathJax v3
* Format
* Improve font-size
* Lint
* Better handle loading
* Copy MathJax assets to public folder
* Attempt at using local assets for MathJax
* Use bun 1.0.31
* Try with bun 1.0.33
* Try fixing headers
* Simplify
* Simplify and not use suspense module
* Cleanup more
* Add test for Math
* Make math block scroll if needed
* Update packages/react-math/src/KaTeX.tsx
Co-authored-by: Greg Bergé <berge.greg@gmail.com >
* Use React.use
* Format
* Use exports
* Lint
* Disable cache in CI for lint
* Format
---------
Co-authored-by: Greg Bergé <berge.greg@gmail.com >
2024-03-19 11:34:53 +01:00
Greg Bergé
9b6d34bdbc
Remove screenshot from AI result ( #298 )
...
Not possible to have it stable
2024-03-18 15:53:41 +01:00
Greg Bergé
3c96bf84b5
Upgrade Argos ( #296 )
...
* Upgrade Argos
* Wait for cookie dialog, avoid fullPage if not needed
* Fix E2E
* Cookies dialog
2024-03-18 15:30:45 +01:00
Greg Bergé
cc4a86cc23
Fix ordered list display ( #294 )
...
* Fix ordered list display
* Cover lists in E2E
2024-03-18 15:26:43 +01:00
Greg Bergé
5f70ed73b9
Fix page cover display ( #291 )
...
* Fix page cover display
Make it always looks good with the recommended size of 1990x480.
* Take maximum size on mobile
* Stabilize visual testing
2024-03-18 11:04:28 +01:00
Samy Pessé
a27fa68ae6
Fix scroll to hash and update next to 14.1.3 ( #286 )
...
* Update next to 14.1.3
* Scroll to hash when url changes
* Simplify tests
* Lint and format
* Fix TS
* Dummy comment
* Try async function
2024-03-18 08:55:30 +01:00
Taran Vohra
0da4e9a926
Fix visitor auth logic by testing multiple basePaths ( #239 )
...
* WIP
* add search params to target in multi-path
* Simplify
* Format
* Ensure trailing slash
* Add unit test
* fix lint
* use search from target in redirect
* remove unused import
---------
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-03-13 13:54:47 +05:30
Samy Pessé
7d53a2c849
Remove colors from HTML root and define them in the tailwind config ( #233 )
...
* Remove colors from HTML root and define them in the tailwind config
* Add visual test
2024-03-11 18:50:45 +01:00
Greg Bergé
5a5b4bb93c
Replace Puppeteer by Playwright ( #224 )
...
* Replace Puppeteer by Playwright
* Remove the limit of workers on ci
* Various fixes after review
* Document things
2024-03-08 10:41:30 +01:00