Alfred Kamanda Alfred-mk
  • Nairobi, Kenya
  • Joined on 2024-08-12
Alfred-mk created branch restart-state-devtool in urdt/ussd 2024-12-31 08:49:11 +01:00
Alfred-mk pushed to restart-state-devtool at urdt/ussd 2024-12-31 08:49:11 +01:00
Alfred-mk commented on issue urdt/ussd#201 2024-12-31 03:16:41 +01:00
Restart menu when ussd session expires

The persister retrieved from menustorageservice ...

func (ms *MenuStorageService) GetPersister(ctx context.Context) (*persist.Persister, error) {
	stateStore, err := ms.GetStateStore(ctx)
	…
Alfred-mk pushed to force-restart-state at urdt/ussd 2024-12-31 03:06:44 +01:00
8217ea8fdc Merge branch 'master' into force-restart-state
3caee98cdb Merge pull request 'mixed-languages' (#228) from mixed-languages into master
db7c9bf56d chore: add colon to enhance formatting.
0a332ec501 chore: ensure swahili language translation.
90367fe53e Merge pull request 'profile-update-fix' (#226) from profile-update-fix into master
Compare 10 commits »
Alfred-mk pushed to force-restart-state at urdt/ussd 2024-12-31 03:05:53 +01:00
3c73fc7188 added a test for the Init func with the different states
Alfred-mk pushed to force-restart-state at urdt/ussd 2024-12-31 00:36:41 +01:00
1311a0cab9 use the 'send_with_invite' test group in the menu traversal test
Alfred-mk pushed to force-restart-state at urdt/ussd 2024-12-28 11:21:17 +01:00
50c006546c added code to reset the state and persist it
Alfred-mk pushed to force-restart-state at urdt/ussd 2024-12-28 09:46:24 +01:00
e8c171a82e Merge branch 'master' into force-restart-state
813b92af78 Merge pull request 'issue-205: added comments for menu handlers methods.' (#218) from konstantinmds/ussd:dev/issue-205 into master
f4f4fdd3ac issue-205:
235af3519d Merge pull request 'add-space-after-colon' (#211) from add-space-after-colon into master
1292851226 rename the function to ReplaceSeparatorFunc
Compare 24 commits »
Alfred-mk pushed to force-restart-state at urdt/ussd 2024-12-20 11:07:08 +01:00
be215d3f75 set the code to an empty byte for it to move to the top node
Alfred-mk commented on pull request urdt/ussd#211 2024-12-19 11:33:13 +01:00
add-space-after-colon

This has been done

Alfred-mk pushed to add-space-after-colon at urdt/ussd 2024-12-19 11:33:02 +01:00
1292851226 rename the function to ReplaceSeparatorFunc
Alfred-mk pushed to force-restart-state at urdt/ussd 2024-12-18 20:39:33 +01:00
dfd0a0994b Merge branch 'master' into force-restart-state
dbd59a4023 Merge pull request 'add link to terms page' (#217) from link-terms-and-conditions into master
9b33117cb1 add space on expected content
70b2fa4ac2 add spacing after link
fd6ff86579 add link to terms and conditions as expected content
Compare 25 commits »
Alfred-mk created pull request urdt/ussd#223 2024-12-18 20:39:03 +01:00
force-restart-state
Alfred-mk commented on pull request urdt/ussd#211 2024-12-18 20:35:04 +01:00
add-space-after-colon

This has been done. The function is passed from the LocalHandlerService to the Handlers

Alfred-mk pushed to add-space-after-colon at urdt/ussd 2024-12-18 20:30:48 +01:00
97fcdda12f Merge branch 'master' into add-space-after-colon
dbd59a4023 Merge pull request 'add link to terms page' (#217) from link-terms-and-conditions into master
9b33117cb1 add space on expected content
70b2fa4ac2 add spacing after link
fd6ff86579 add link to terms and conditions as expected content
Compare 25 commits »
Alfred-mk pushed to add-space-after-colon at urdt/ussd 2024-12-18 20:25:54 +01:00
055c2db790 use a common mockReplaceSeparator func
ecfdab47a8 updated test
Compare 2 commits »
Alfred-mk pushed to add-space-after-colon at urdt/ussd 2024-12-18 19:59:17 +01:00
fda68231ea use the replaceSeparator func to format the generated menus
d08afff443 add the replaceSeparator func and pass it to the Handler struct
17ba6a06ba remove the MenuSeparator from the context
Compare 3 commits »
Alfred-mk pushed to force-restart-state at urdt/ussd 2024-12-17 15:58:12 +01:00
5534706189 reset the state when input is nil
5428626c3f cleaned up the restart_state
Compare 2 commits »
Alfred-mk commented on pull request urdt/ussd#211 2024-12-13 11:19:54 +01:00
add-space-after-colon

It would be easier setting it in the context for use by downstream functions, similar to how the database is set.

Also. it won't be used by most of the handler functions. It's only usable by…

Alfred-mk commented on pull request urdt/ussd#211 2024-12-13 09:44:28 +01:00
add-space-after-colon

This has been resolved