Commit Graph

447 Commits

Author SHA1 Message Date
Steven Hall 7c0cd40a2d type' 2024-04-05 13:54:40 +02:00
Steven Hall 5b30483b64 Logs 2024-04-05 13:50:00 +02:00
Steven H a007604ab1 Bump caches for documents. (#2265) 2024-04-04 14:09:43 +02:00
Steven H 3076e96061 Fix an issue where OpenAPI blocks could not be fetched. (#2267) 2024-04-04 12:28:30 +02:00
Steven H a3741dd65f Bump caches for revisions. (#2263) 2024-04-04 11:15:29 +02:00
Taran Vohra 07085a5b89 Set tracking prompt cookie age to 365days instead of a session cookie (#2266) 2024-04-04 14:39:27 +05:30
Samy Pessé 36600bc0c7 Fix styling for cards when no cover is defined (#2261) 2024-04-03 00:10:59 +02:00
Samy Pessé 5b7488b066 Handle ?theme query string to force theme in preview mode (#2260) 2024-04-02 13:55:27 +02:00
Samy Pessé c1ef7f2782 Fix display of parameter's description in OpenAPI block (#2258) 2024-04-02 00:35:59 +02:00
Samy Pessé f26ab0cf80 Remove mask on page cover (#2257) 2024-04-02 00:21:21 +02:00
Samy Pessé 7c570a008e Use a sample rate of 10% for Sentry errors (#2256) 2024-04-01 23:07:43 +02:00
Samy Pessé 1d71d85ed7 Don't test redirect on path that are longer than 512 (#2255) 2024-04-01 02:49:48 +02:00
Samy Pessé 4f728c0137 Fix parsing of Swagger 2.0 when it can be patched (#2254) 2024-03-31 20:13:34 +02:00
Samy Pessé 844a3e1845 Fix search in collection spaces leading to invalid urls (#2253) 2024-03-31 18:03:24 +02:00
Steven H 3144b2fec1 Update SyncedBlocks to use new API (#2251) 2024-03-29 15:57:08 +00:00
Samy Pessé 5805c24255 Fix copy for code blocks in OpenAPI or AI answers (#2250) 2024-03-28 22:46:29 +01:00
Samy Pessé d0ef225ea3 Make click on OpenAPI property name selects the entire text (#2249) 2024-03-28 22:44:03 +01:00
Samy Pessé 5f1d82cb5a Fix rendering of select in cards (#2248) 2024-03-28 20:53:01 +01:00
Samy Pessé 0894a740ff Fix crash when "required" is not an array in OpenAPI schemas (#2247) 2024-03-28 17:03:30 +01:00
Samy Pessé 14012d92f9 Fix cover image overflowing the card (#2243) 2024-03-27 18:20:16 +01:00
Samy Pessé 4be6eada62 Fix redirect to right page for content redirects (#2241) 2024-03-26 23:30:47 +01:00
Samy Pessé 0ddbe5c0ee Revert crossOrigin="anonymous" for images (#2240) 2024-03-26 23:19:20 +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é d40568c8f4 Fix OpenAPI tag in aside when text is long (#2237) 2024-03-26 14:02:17 +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
Samy Pessé ee7a74fe43 Fix VA redirects for nested paths (#2236) 2024-03-26 11:53:32 +01:00
Samy Pessé 0d99906774 Fix crash with concurrent loading of shiki syntaxes (#2235) 2024-03-26 11:30:38 +01:00
Greg Bergé d3f9131af4 Support images & files in synced blocks (#2234) 2024-03-25 21:53:24 +01:00
Addison 30bae7c877 Add legacy references to readme (#2233) 2024-03-25 13:49:39 +01:00
Samy Pessé 0c99a57b3c Also fix crossOrigin for images when zooming it (#2232) 2024-03-25 13:43:19 +01:00
Samy Pessé ad9e8f2232 Fix authentication displayed for images (#2231) 2024-03-25 13:15:19 +01:00
Greg Bergé 4c286b503c Fix fullPage screenshots (#2230) 2024-03-25 12:43:50 +01:00
Samy Pessé c5a28f884a Fix zoom on small images with custom zoom component (#2228) 2024-03-25 11:31:40 +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é 755291d1b7 Fix redirect for uppercased pathnames and fix og:image for collections (#327)
* Fix redirect for uppercased pathnames

* Try fixing it

* Try without metadataBase

* New try

* Fix it

* Try to fix og:image

* Generate canonical URL meta tag
2024-03-22 22:23:11 +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é ff773233dd Prevent click on images in links to zoom it (#324)
* Prevent click on images in links to zoom it

* Fix TS
2024-03-22 16:56:08 +01:00
Samy Pessé 44983f8495 Minor perf improvements to code block highlighting (#323)
* Use a singleton map when loading languages

* typing

* Lint

* Remove one trace
2024-03-22 16:43:22 +01:00
Viktor Renkema 435ccb10ce Fix tab truncation behaviour (#322) 2024-03-22 12:18:49 +01:00
Amrit Kahlon ef8eb72364 fix: clear scalar api client response on close (#318)
* fix: clear scalar api client response on close

* bun install

---------

Co-authored-by: Samy Pessé <samypesse@gmail.com>
2024-03-21 14:53:29 +01:00
Samy Pessé 2a28f28421 Fix some links opening in new tab and links on blankslate (#321)
* Open links from TOC in same tab

* Fix page blankslate not resolving page links correctly
2024-03-21 14:11:42 +01:00
Samy Pessé be45f23cc8 Use whitespace-pre to fix whitespace in highlighted text in search (#320)
* Use whitespace-pre to fix whitespace in highlighted text in search

* Correctly fix it
2024-03-21 13:10:58 +01:00
Brett Jephson fff6dce8fc RND-3192: images expanding card content beyond their width (#281)
* Fix for RND-3192: images expanding card content beyond their width

* Wrap Image in a size-restricting container

---------

Co-authored-by: Viktor Renkema <vrenkema@gmail.com>
2024-03-21 12:46:46 +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é 1dc81fc56a Use absolute URLs in sitemap.xml (#316) 2024-03-20 23:58:57 +01:00
Samy Pessé 31799038dd Improve rendering of complex emojis in favicon (#315)
* Improve rendering of complex emojis in favicon

* Lint
2024-03-20 19:25:42 +01:00
Samy Pessé db4ecbc747 Fix long words in headings breaking the layout (#314) 2024-03-20 18:59:52 +01:00
Samy Pessé 0ad7bf561e Let users extend the limit of PDF generation (#313)
* Add link to extend PDF generation limit

* Translate

* Use variable
2024-03-20 18:49:28 +01:00