Merge pull request #9676 from appwrite/feat-playground-templates

Feat: Add playground templates
This commit is contained in:
Matej Bačo authored and GitHub committed 2025-04-25 14:13:07 +02:00
commit bbfb93c91b
34 files changed
+221 -22

No files matched your search

+6 -2
View File
@@ -224,8 +224,12 @@ class Screenshot extends Action
$idLight = '';
$idDark = '';
if ($templateId === 'starter-for-react-native') {
Console::warning("React Native template takes long to build, increasing waiting time ...");
$slowTemplates = [
'starter-for-react-native',
'playground-for-react-native'
];
if (\in_array($templateId, $slowTemplates)) {
Console::warning("Build for this template is slow, increasing waiting time ...");
$attempts = 180; // 15 min
}