spastorelli
92bb016576
Show additional context when linking to a page group & a page in another space ( #2381 )
2024-07-18 10:22:15 +02:00
Samy Pessé
46d54172b0
Fix CI step to verify formatting ( #2379 )
2024-07-14 23:53:55 +02:00
Brett Jephson
68dc2de190
Remove Page/Space label from BlockContentRef ( #2374 )
2024-07-12 15:02:05 +01:00
Samy Pessé
8d38d000fd
Fix RND-4344 ( #2368 )
2024-07-04 17:04:35 +02:00
Johan Preynat
7c26d491b1
Fix passing the correct nonce for iframely script and preload it ( #2360 )
2024-06-25 17:11:19 +02:00
Johan Preynat
e13c76efed
Set preconnect links to main domains on render ( #2354 )
2024-06-21 17:02:02 +02:00
vibhanshub
106cbbd987
Add support for examples in OpenAPI block ( #2314 )
2024-06-20 16:02:58 +05:30
Steven H
c768e9a90a
Add another space to ignore list whilst we debug issues. ( #2334 )
2024-05-28 19:02:07 +01:00
Marc Laventure
cf74d00758
chore: update scalar client ( #2316 )
2024-05-14 11:52:09 -07:00
Steven H
5db3cbc2ce
Render Embed blocks that can be handled by an integration in the Space. ( #2302 )
2024-04-25 15:25:53 +01:00
Steven H
f8d148bec4
Use plain code highlighting on some spaces that are currently crashing. ( #2301 )
2024-04-25 09:50:08 +01:00
Steven H
2b63bc158a
Improve rendering of File column in tables. ( #2297 )
2024-04-19 16:58:46 +01: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é
ebf742e81a
Use a sampleRate of 0.1 for edge/node runtimes ( #2273 )
2024-04-08 15:05:01 +02:00
Samy Pessé
685317f508
Fix full-width for code-blocks and embeds ( #2272 )
2024-04-08 14:45:42 +02:00
Samy Pessé
36600bc0c7
Fix styling for cards when no cover is defined ( #2261 )
2024-04-03 00:10:59 +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
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é
14012d92f9
Fix cover image overflowing the card ( #2243 )
2024-03-27 18:20:16 +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é
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
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
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
Marc Laventure
4f039ecb2b
feat: add scalar api client ( #180 )
...
* wip
* feat: add scalar api client
* fix: pr feedback
* feat: add scalar react client package, remove vueary
* feat: add scalar proxy
* Move dependencies to package
* Format once
* Rename prop
* Use react context and simplify lazy loading
* Add loading state
* Format
* Move styles
* bun install
* bun
* fix: remove extraneous api-reference package
* feat: make operation functional with spec in client
* fix: column bug and http request type wrapping
* fix: add scalar api reference package
* Format
* bun install
* fix: scrolling in scalar modal
* Lazy load operations data in component
* fix: change dependency from api-reference to oas-utils to reduce size
* bun install
* Log error in the worker proxy
* Cleanup
* Comment "mode"
* Without credentials and referrerPolicy
---------
Co-authored-by: Samy Pessé <samypesse@gmail.com >
Co-authored-by: Amrit <amrit@hockey-community.com >
2024-03-19 15:32:54 +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
Samy Pessé
d0b92dd408
Improve text displayed in mention for anchor content refs ( #287 )
...
* Resolve anchor content reference to the block text for mentions
* Only apply it for mentions/etc, where text is needed
* Handle tabs/expandable
* Rename to resolveAnchorText
2024-03-18 18:16:53 +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é
c87197bb98
Replace shikiji by shiki ( #297 )
2024-03-18 15:11:22 +01:00
Samy Pessé
66dcaf850f
Ignore all errors for rendering integration blocks ( #293 )
2024-03-18 12:08:49 +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
Steven H
9f75929269
Fix an issue where following a link to a different space would not update the ToC or header. ( #284 )
...
* Fix an issue where clicking links to other spaces would not update ToC/header
* Fix
* Remove dev text
* Use URL.CanParse for testing the external url
---------
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-03-15 20:09:29 +01:00
Steven H
8c75bd364b
Revert "Add w-full to consider Cards block ( #261 )" ( #262 )
...
This reverts commit 06b94d4525 .
2024-03-14 15:42:06 +00:00
Viktor Renkema
06b94d4525
Add w-full to consider Cards block ( #261 )
2024-03-14 15:55:25 +01:00
Sebastian Graz
270f8b55a5
Hints ( #232 )
...
* V1 hint refactor
* checkbox fix
* Update src/components/DocumentView/Hint.tsx
remove comment
Co-authored-by: Samy Pessé <samypesse@gmail.com >
---------
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-03-11 18:28:20 +01:00
Samy Pessé
642e33444a
More immutable cache and pre-revalidation ( #229 )
...
* Try different approach
* Revalidate before cache expires
* TS
* Only replicate to local backends
* Ensure revalidate is done only once for the same key
* Improve perf of getCacheKey
* Simplify type
* Use better method and comment
* Use it 7 days only
2024-03-11 09:35:20 +01:00
Greg Bergé
7d04336b5f
Support synced blocks ( #223 )
2024-03-08 09:16:01 +01:00
Steven H
9436549510
Fix an issue where ordered list items were not respecting the start property from the API. ( #218 )
2024-03-06 14:51:19 +00:00
Samy Pessé
203e9103de
Fix crash when displaying invalid Swagger 2.0 block ( #214 )
...
* Ignore errors when converting Swagger 2 to OpenAPI 3
* Apply page-api-block only when a block is actually displayed
* Format
* Try to be more lax
2024-03-06 10:43:11 +01:00
Samy Pessé
d22944419f
Prevent crash when integration associated to a block is no longer installed ( #213 )
...
* Prevent crash when integration is not installed for a block
* Format
2024-03-05 20:24:51 +01:00