Support Edit History #3
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gtfs.zone/coloring-book#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There are a few routes we can go with this, but what I suggest is this:
In the ui, we can show all the changes. We can at least support linear undo. I think we can cherry pick specific historical changes and undo them as well. We don't need to support tons of changes, just add, update, and remove.
Here is the chatgpt summary:
Client-Side Patch-Based GTFS Editor Architecture
Core Principles
Data Flow
Memory (runtime)
currentState— full GTFS dataIndexedDB (persistent storage)
Workflow
Initial Load / Cold Start
currentState.Editing
currentState(in-memory).Snapshotting
Rollback / Time Travel
Undo / Redo (optional)
Performance Considerations
stop_times) may benefit from partial/lazy loading if needed.Optional Enhancements
Immeror similar libraries to generate patches automatically.Summary