Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
593 changes: 593 additions & 0 deletions docs/develop/task-queue-priority-fairness.mdx

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ module.exports = {
'develop/worker-performance',
'develop/safe-deployments',
'develop/plugins-guide',
'develop/task-queue-priority-fairness',
],
},
{
Expand Down
3 changes: 2 additions & 1 deletion src/components/elements/SdkTabs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ const SdkTabs = ({ children, hideUnsupportedLanguages = false }) => {
{tabLanguages.map(({ key, icon: Icon, label }) => (
<TabItem key={key} value={key} label={<Icon title={label} />}>
{contentMap[key] || (
<div style={{ backgroundColor: '#ffffcc', padding: '1rem', borderRadius: '6px' }}>
// Setting the text color to black for better readability on light yellow background in dark mode
<div style={{ backgroundColor: '#ffffcc', color: '#000', padding: '1rem', borderRadius: '6px' }}>
<strong>{label}</strong> example coming soon.
</div>
)}
Expand Down
13 changes: 13 additions & 0 deletions src/components/images/EnlargeImage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const EnlargeImage = ({ src, alt, ariaLabel }) => {
const label = ariaLabel || alt;

return (
<div style={{ textAlign: 'center', margin: '2rem 0' }}>
<a href={src} target="_blank">
<img src={src} alt={label} style={{ maxWidth: '100%', cursor: 'pointer' }} />
</a>
</div>
);
};

export default EnlargeImage;
1 change: 1 addition & 0 deletions src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export { default as JsonTable } from './formatting/JsonTable';
// Image components
export { default as CaptionedImage } from './images/CaptionedImage';
export { default as ZoomingImage } from './images/ZoomingImage';
export { default as EnlargeImage } from './images/EnlargeImage';

// Information components
export { default as DiscoverableDisclosure } from './info/DiscoverableDisclosure';
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.