Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
fastruby
/
points
Public
Notifications
You must be signed in to change notification settings
Fork
17
Star
42
Code
Issues
20
Pull requests
1
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
DT-340: Warn the user if they are leaving a story edit page with unsaved changes
- #334
#334
Merged
JuanVqz
merged 10 commits into
main
fastruby/points:main
from
feature/DT-340-warn-user-unsaved-edits
fastruby/points:feature/DT-340-warn-user-unsaved-edits
Copy head branch name to clipboard
Jul 21, 2026
Conversation
Commits
10
(10)
Checks
Files changed
Merged
DT-340: Warn the user if they are leaving a story edit page with unsaved changes
#334
JuanVqz
merged 10 commits into
main
fastruby/points:main
from
feature/DT-340-warn-user-unsaved-edits
fastruby/points:feature/DT-340-warn-user-unsaved-edits
Copy head branch name to clipboard
Commits
Commits on Jul 21, 2026
Adds event listeners to listen for unsaved edits and alerting the user if there are unsaved edits
torresga
authored and
JuanVqz
committed
75a9653
View commit details
Copy full SHA for 75a9653
Browse repository at this point
Adds spec to test for presence of alert when we try to navigate away from an unsaved edited story
torresga
authored and
JuanVqz
committed
bf7f0dc
View commit details
Copy full SHA for bf7f0dc
Browse repository at this point
Refactored the code to only add the event listeners on the form if the form existed. Also created a function to add and remove the beforeunload event listener
torresga
authored and
JuanVqz
committed
2dc08d0
View commit details
Copy full SHA for 2dc08d0
Browse repository at this point
DT-340: Edit tests so that it tests all scenarios
torresga
authored and
JuanVqz
committed
18ade80
View commit details
Copy full SHA for 18ade80
Browse repository at this point
Update app/assets/javascripts/stories.js
Show description for 2fd263d
torresga
and
JuanVqz
committed
2fd263d
View commit details
Copy full SHA for 2fd263d
Browse repository at this point
Update app/assets/javascripts/stories.js
Show description for b6e51b9
torresga
and
JuanVqz
committed
b6e51b9
View commit details
Copy full SHA for b6e51b9
Browse repository at this point
Fix method name
JuanVqz
committed
255df35
View commit details
Copy full SHA for 255df35
Browse repository at this point
Fix unsaved-changes detection to compare against initial form state
Show description for 9b2da29
JuanVqz
committed
9b2da29
View commit details
Copy full SHA for 9b2da29
Browse repository at this point
Unify unsaved-changes wording and init on turbolinks:load
Show description for f3a4fed
JuanVqz
committed
f3a4fed
View commit details
Copy full SHA for f3a4fed
Browse repository at this point
Fix flaky clone sub-projects spec ordering
Show description for 681a66f
JuanVqz
committed
681a66f
View commit details
Copy full SHA for 681a66f
Browse repository at this point
You can’t perform that action at this time.