webapp: edit announcements

a remove announced in place is re-rendered back on undo restore

group splitsheet webapp/expense-announce.spec.ts

πŸ‘₯ People

Alice @aliceBob @bob
sendsAlice runs /newsplit @bob
πŸ‘₯ Group chat
Alice
/newsplit @bob
Hello! I’m @splitsheetbot, here to help you split bills with friends. β€” show full message
Hello! I’m @splitsheetbot, here to help you split bills with friends.
I use something called a Splitsheetβ€”a dynamic message that keeps track of all expenses and debts. Below, you’ll find your first Splitsheet.

Here’s how to get started:
1. Join the Splitsheet by clicking the πŸ‘₯⁠βž• button (or reply with add @​username)
2. Reply to the Splitsheet with a description of your expense
3. Pin the Splitsheet for quick access

Examples of messages:
- groceries 50 (sender paid, and the cost is split evenly among all members)
- bought coffee for Emma 15 (sender paid, and only Emma owes)
- John bought concert tickets for me and Sarah, 40 each (John spent 80, and both Sarah and you owe)

How to edit expenses:
- Edit your own message
- Reply to your message with the changes
- Reply to your message requesting deletion

Adding expenses is free. One payment shows who owes whom, for the whole group, forever.

When you're ready to start a new Splitsheet, use the /newsplit command. You can mention members to add them immediately: /newsplit @​alice @​bob
If you have any questions or suggestions, feel free to contact @splitsheet_help_bot
🌐
πŸ“‹ Splitsheet

πŸ‘₯ Alice, @bob

Your expenses will appear here

↩️ Reply to add an expense. Or tap here
πŸ‘€βž•More β€’β€’β€’ β†—
πŸ›‘οΈ Admin log channel
πŸ“‹ #splitsheet_created
By: Alice
Sheet: f9fc61a4-230e-49c8-90e8-b94e8a182a23

πŸ‘€ #member_joined
Name: Alice
Sheet: f9fc61a4-230e-49c8-90e8-b94e8a182a23

πŸ‘€ #member_joined
Name: bob
Sheet: f9fc61a4-230e-49c8-90e8-b94e8a182a23
repliesBob replies to the splitsheet: β€œcoffee 5”
πŸ‘₯ Group chat
Alice
/newsplit @bob
Hello! I’m @splitsheetbot, here to help you split bills with friends. β€” show full message
Hello! I’m @splitsheetbot, here to help you split bills with friends.
I use something called a Splitsheetβ€”a dynamic message that keeps track of all expenses and debts. Below, you’ll find your first Splitsheet.

Here’s how to get started:
1. Join the Splitsheet by clicking the πŸ‘₯⁠βž• button (or reply with add @​username)
2. Reply to the Splitsheet with a description of your expense
3. Pin the Splitsheet for quick access

Examples of messages:
- groceries 50 (sender paid, and the cost is split evenly among all members)
- bought coffee for Emma 15 (sender paid, and only Emma owes)
- John bought concert tickets for me and Sarah, 40 each (John spent 80, and both Sarah and you owe)

How to edit expenses:
- Edit your own message
- Reply to your message with the changes
- Reply to your message requesting deletion

Adding expenses is free. One payment shows who owes whom, for the whole group, forever.

When you're ready to start a new Splitsheet, use the /newsplit command. You can mention members to add them immediately: /newsplit @​alice @​bob
If you have any questions or suggestions, feel free to contact @splitsheet_help_bot
🌐
πŸ“‹ Splitsheet

πŸ’° 5.00 β€’ πŸ‘₯ Alice, Bob

Jun 19, 2026
Coffee ― 5.00 β€’ Bob for themselves

πŸ”’ All debts are already calculated. Unlock to see them

↩️ Reply to add an expense. Or tap here
πŸ‘€βž•More β€’β€’β€’ β†—
πŸ”“ See the debts
Bob
πŸ“‹ Splitsheet πŸ’° 5.00 β€’ πŸ‘₯ Alice, Bob Jun 19, 2026 Coffee ― 5.00 β€’ Bob for them…
coffee 5
✍️
viaWebApp.addExpenseAlice adds an expense (taxi, 100)
πŸ‘₯ Group chat
Alice
/newsplit @bob
Hello! I’m @splitsheetbot, here to help you split bills with friends. β€” show full message
Hello! I’m @splitsheetbot, here to help you split bills with friends.
I use something called a Splitsheetβ€”a dynamic message that keeps track of all expenses and debts. Below, you’ll find your first Splitsheet.

Here’s how to get started:
1. Join the Splitsheet by clicking the πŸ‘₯⁠βž• button (or reply with add @​username)
2. Reply to the Splitsheet with a description of your expense
3. Pin the Splitsheet for quick access

Examples of messages:
- groceries 50 (sender paid, and the cost is split evenly among all members)
- bought coffee for Emma 15 (sender paid, and only Emma owes)
- John bought concert tickets for me and Sarah, 40 each (John spent 80, and both Sarah and you owe)

How to edit expenses:
- Edit your own message
- Reply to your message with the changes
- Reply to your message requesting deletion

Adding expenses is free. One payment shows who owes whom, for the whole group, forever.

When you're ready to start a new Splitsheet, use the /newsplit command. You can mention members to add them immediately: /newsplit @​alice @​bob
If you have any questions or suggestions, feel free to contact @splitsheet_help_bot
🌐
πŸ“‹ Splitsheet

πŸ’° 105.00 β€’ πŸ‘₯ Alice, Bob

Jun 19, 2026
Coffee ― 5.00 β€’ Bob for themselves
taxi ― 100.00 β€’ Alice for all

πŸ”’ All debts are already calculated. Unlock to see them

↩️ Reply to add an expense. Or tap here
πŸ‘€βž•More β€’β€’β€’ β†—
πŸ”“ See the debts
Bob
πŸ“‹ Splitsheet πŸ’° 105.00 β€’ πŸ‘₯ Alice, Bob Jun 19, 2026 Coffee ― 5.00 β€’ Bob for th…
coffee 5
✍️
πŸ“‹ Splitsheet πŸ’° 105.00 β€’ πŸ‘₯ Alice, Bob Jun 19, 2026 Coffee ― 5.00 β€’ Bob for th…
Alice added via the app:
taxi ― 100.00 β€’ Alice for all
πŸ“± Mini App
Mini App
viaWebApp.removeExpenseBob removes the expense
  • βœ“the announcement itself is struck through with the removed-by label
πŸ‘₯ Group chat
Alice
/newsplit @bob
Hello! I’m @splitsheetbot, here to help you split bills with friends. β€” show full message
Hello! I’m @splitsheetbot, here to help you split bills with friends.
I use something called a Splitsheetβ€”a dynamic message that keeps track of all expenses and debts. Below, you’ll find your first Splitsheet.

Here’s how to get started:
1. Join the Splitsheet by clicking the πŸ‘₯⁠βž• button (or reply with add @​username)
2. Reply to the Splitsheet with a description of your expense
3. Pin the Splitsheet for quick access

Examples of messages:
- groceries 50 (sender paid, and the cost is split evenly among all members)
- bought coffee for Emma 15 (sender paid, and only Emma owes)
- John bought concert tickets for me and Sarah, 40 each (John spent 80, and both Sarah and you owe)

How to edit expenses:
- Edit your own message
- Reply to your message with the changes
- Reply to your message requesting deletion

Adding expenses is free. One payment shows who owes whom, for the whole group, forever.

When you're ready to start a new Splitsheet, use the /newsplit command. You can mention members to add them immediately: /newsplit @​alice @​bob
If you have any questions or suggestions, feel free to contact @splitsheet_help_bot
🌐
πŸ“‹ Splitsheet

πŸ’° 5.00 β€’ πŸ‘₯ Alice, Bob

Jun 19, 2026
Coffee ― 5.00 β€’ Bob for themselves
taxi ― 100.00 β€’ Alice for all

πŸ”’ All debts are already calculated. Unlock to see them

↩️ Reply to add an expense. Or tap here
πŸ‘€βž•More β€’β€’β€’ β†—
πŸ”“ See the debts
Bob
πŸ“‹ Splitsheet πŸ’° 5.00 β€’ πŸ‘₯ Alice, Bob Jun 19, 2026 Coffee ― 5.00 β€’ Bob for them…
coffee 5
✍️
πŸ“‹ Splitsheet πŸ’° 5.00 β€’ πŸ‘₯ Alice, Bob Jun 19, 2026 Coffee ― 5.00 β€’ Bob for them…
added by Alice, removed by Bob via the app:
taxi ― 100.00 β€’ Alice for all
πŸ“± Mini App
Mini App
viaWebApp.saveExpenseBob edits the expense (taxi, 100)
  • βœ“the announcement is back to its pre-delete rendering
  • βœ“the restore is stamped with the announcement id
  • βœ“the expense is live again
πŸ‘₯ Group chat
Alice
/newsplit @bob
Hello! I’m @splitsheetbot, here to help you split bills with friends. β€” show full message
Hello! I’m @splitsheetbot, here to help you split bills with friends.
I use something called a Splitsheetβ€”a dynamic message that keeps track of all expenses and debts. Below, you’ll find your first Splitsheet.

Here’s how to get started:
1. Join the Splitsheet by clicking the πŸ‘₯⁠βž• button (or reply with add @​username)
2. Reply to the Splitsheet with a description of your expense
3. Pin the Splitsheet for quick access

Examples of messages:
- groceries 50 (sender paid, and the cost is split evenly among all members)
- bought coffee for Emma 15 (sender paid, and only Emma owes)
- John bought concert tickets for me and Sarah, 40 each (John spent 80, and both Sarah and you owe)

How to edit expenses:
- Edit your own message
- Reply to your message with the changes
- Reply to your message requesting deletion

Adding expenses is free. One payment shows who owes whom, for the whole group, forever.

When you're ready to start a new Splitsheet, use the /newsplit command. You can mention members to add them immediately: /newsplit @​alice @​bob
If you have any questions or suggestions, feel free to contact @splitsheet_help_bot
🌐
πŸ“‹ Splitsheet

πŸ’° 105.00 β€’ πŸ‘₯ Alice, Bob

Jun 19, 2026
Coffee ― 5.00 β€’ Bob for themselves
taxi ― 100.00 β€’ Alice for all

πŸ”’ All debts are already calculated. Unlock to see them

↩️ Reply to add an expense. Or tap here
πŸ‘€βž•More β€’β€’β€’ β†—
πŸ”“ See the debts
Bob
πŸ“‹ Splitsheet πŸ’° 105.00 β€’ πŸ‘₯ Alice, Bob Jun 19, 2026 Coffee ― 5.00 β€’ Bob for th…
coffee 5
✍️
πŸ“‹ Splitsheet πŸ’° 105.00 β€’ πŸ‘₯ Alice, Bob Jun 19, 2026 Coffee ― 5.00 β€’ Bob for th…
Alice added via the app:
taxi ― 100.00 β€’ Alice for all
πŸ“± Mini App
Mini App