Skip to content

Conversation

@akhilkh2000
Copy link

#13

Added support for debouncing on file save events in the frontend

  • The delay can be configured via the .env file , defaults to 1000 if nothing is specified.

tab.id === activeFileId ? { ...tab, saved: true } : tab
)
);
console.log(`Saving file...${activeFileId}`);
Copy link
Author

@akhilkh2000 akhilkh2000 Jun 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have added this logger so its easy to test the debouncing functionality

@akhilkh2000
Copy link
Author

@ishaan1013 - Tagging you for review

@ishaan1013 ishaan1013 self-requested a review June 2, 2024 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant