Taskwillow
A Bubble project workspace migration with explicit conflict handling
- Scale
- Team collaboration
- Bubble
15days
Delivery
100%
Task/comment mapping
100/100
Stale-edit resolution
650ms
69% lower
Board response, p95
Illustrative before/after figures.
The product
Managers created projects and assignments; contributors updated status and commented; administrators managed membership. Users could belong to several workspaces. Reminders depended on current assignment and due status, while archived projects retained useful history. The product did not require collaborative document editing, a chat platform or a new automation builder. Existing working habits defined the scope.
The challenge
In the starting state, users described edits disappearing and reminders reaching the wrong person. The team distinguished stale browser state from accepted server changes. Increasing refresh frequency would not establish which update should win. Discovery defined a visible conflict experience with the operations lead and reviewed reminder eligibility. The rebuild supported an engineering team that wanted to own those rules and test them with every release.
The project manager's complaint was that two people could edit a task and one accepted change would disappear. Reminder messages could then arrive for a completed or reassigned task. We used those concrete sequences to define the rebuild, rather than treating a faster board as sufficient. The interface retained familiar task labels and introduced an understandable stale-edit decision instead of an expensive real-time co-editing feature.
How we tackled it
- 01
Define conflicting actions. We mapped which changes could overlap and which outcomes users needed to understand.
- 02
Version task edits. Commands carried the record version they observed. A stale mutation returned an explicit conflict and the current state.
- 03
Preserve history. Comments became append-only records with stable author and task references.
- 04
Recheck reminders. Jobs evaluated current assignment, due status and archive state when they ran, rather than trusting an old scheduling snapshot.
What we built
Next.js, TypeScript and Tailwind reproduced the workspace. Postgres with Drizzle held projects, tasks, comments and membership. Managed authentication identified users; workspace policies authorised actions. A durable job runner recorded reminder decisions and delivery attempts. Bounded refresh supported board updates in the first release. Real-time editing was not implied by the presence of a modern frontend framework.
The rehearsal reconciled assignments, comment chronology and archive state. Paired-user tests exercised stale edits, removed membership and reassignment before a reminder ran. Task mutations paused for the final data copy, then active projects were reviewed with operations. Recovery preserved new comments and accepted task changes before returning the earlier route. The receiving engineer demonstrated a test status change without breaking filters or reminder eligibility.
Before & after — illustrative results
The illustrative concurrency comparison defines 100 paired edits to the same initial version. The required result is one accepted update and one visible conflict. Board timing uses 60 sessions and 100 visible cards with pagination, so it does not promise the same speed for an unbounded board. Reminder correctness is checked across 500 predefined schedule changes. The values concern coordination behaviour, not a measured company-wide productivity increase.
Illustrative before/after values. No tests or client measurements were performed for this story. The comparison conditions describe how an equivalent real migration would be evaluated; they are not a test report.
| Metric | Before | After | Comparison conditions |
|---|---|---|---|
| Task/comment mapping | 30,000 tasks; 90,000 comments | 100% relationships reconciled | Compare workspace, project, author, archive state and chronology. |
| Stale-edit resolution | 31/100 paired tests lose an accepted change | 100/100 give one update and one conflict | Fixed record versions; verify server outcome and user-visible resolution. |
| Board response, p95 | 2,100 ms | 650 ms — 69% lower | 60 sessions, 100 visible cards, pagination, 20-minute run; rounded reduction. |
| Reminder eligibility | 42 ineligible/duplicate sends in 500 fixtures | 0/500 ineligible or duplicate sends | Reassign, complete or archive tasks before scheduled execution. |
| Resolve a stale-edit conflict, median | 9 min | 2 min | Twenty paired-editor scenarios; same trained users; preserve the accepted update and explicitly resolve the stale one. |
| Board LCP, lab p75 | 4.9 s | 2.0 s — 2.5× faster | Ten boards with 100 visible cards; 40 loads each; same device/network and pagination; not a full-board data dump. |
The outcome
Taskwillow ended the story with users who could see when an edit needed review and operators who could explain why a reminder was sent. Historical comments stayed connected to the right project and author. The handover combined a data dictionary, conflict rules and job diagnostics. This example shows how migration can preserve daily habits while making the less visible collaboration mechanics maintainable.
Why these improvements mattered
Smaller queries made the board easier to open, but version-aware writes protected the actual collaboration. Reminder eligibility was checked again at execution, so a delayed job did not act on obsolete state. The team gained a clearer operating model without adding another synchronous collaboration system.
Scope & timeline
Scope
Scale covered projects, tasks, assignments, comments, filters, workspace permissions and one reminder channel. Bubble to Code delivered relationship mapping, a versioned mutation contract and background-job diagnostics. The interface retained familiar labels. A clear stale-edit prompt was selected instead of a full real-time co-editing engine. That trade-off addressed the actual coordination problem while limiting the operating burden.
Delivery timeline
Delivery schedule: 15 working days. Team: Two engineers, shared QA and a team-operations owner. The clock starts after scope approval, usable source data, test access and agreed UI are available. Waiting for external approvals is excluded. This is a bounded example, not a turnaround guarantee.
Days 1–3: define task versions, permission boundaries and reminder eligibility.
Days 4–9: build task APIs, board queries and reminder workers.
Days 10–13: reconcile comments and run simultaneous-edit fixtures.
Days 14–15: switch active workspaces and train the team.
FAQ
- Does a code migration require real-time collaborative editing?
- No. Explicit version checks and usable conflict handling may meet the product's needs with less complexity.
- Why migrate reminder logic as well as task records?
- A reminder depends on current task state and permissions; copying its original schedule can preserve outdated instructions.
Discuss a similar migration
Bring a stale-edit example and a reminder rule that depends on assignment. Bubble to Code can map competing actions and define Scale acceptance around the team's normal routine. Agree the user-visible conflict outcome before adding more collaboration features.
