Skip to content

web: remove saving note taking too long toast#9962

Open
thecodrr wants to merge 1 commit into
masterfrom
fix/remove-saving-note-too-long-toast
Open

web: remove saving note taking too long toast#9962
thecodrr wants to merge 1 commit into
masterfrom
fix/remove-saving-note-too-long-toast

Conversation

@thecodrr

@thecodrr thecodrr commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Description

The toast was being showing even in cases where the note actually got saved.

Type of Change

  • Bug fix
  • Feature

Visuals

  • Attached relevant screenshots / screen recording / GIF
  • N/A (not a feature or no UI changes)

Testing

  • Ran all E2E tests
  • Ran all integration tests
  • Added/updated tests for this change (if needed)
  • N/A (tests not needed — explanation provided below)

If tests were not added, explain why

Platform

  • Web
  • Mobile
  • Desktop

Sign-off

  • QA passed
  • UI/UX passed

@thecodrr thecodrr requested a review from 01zulfi June 9, 2026 08:43
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Cloudflare Pages Preview

https://8fbc6d2e.notesnook-app.pages.dev

Commit: eb6dba7

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Desktop Previews

Commit: eb6dba7

@01zulfi 01zulfi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm 🚀

Comment on lines -103 to -109
}),
new Promise((_, reject) =>
setTimeout(
() => reject(new Error(strings.savingNoteTakingTooLong())),
30 * 1000
)
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Question: is there a reason to remove the 30s check to show the toast?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The check is unreliable. Maybe there's a better way to do this reliably? Feel free to suggest.

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.

2 participants