{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":684729203,"defaultBranch":"main","name":"calculator","ownerLogin":"porobertdev","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-08-29T18:25:44.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/130125082?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1693334031.0","currentOid":""},"activityList":{"items":[{"before":"2f3d3abc1864ea1630c54c1988038e8455ffac85","after":"afcfc1c268f2f99248d87bee59afcebbf70cdd75","ref":"refs/heads/main","pushedAt":"2023-09-04T17:18:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Use ternary operator when checking for length 4\n\n* And declare a variable, to get rid of duplicated code.","shortMessageHtmlLink":"Use ternary operator when checking for length 4"}},{"before":"4064e8b1e9869759b291e0260f23889d2630682c","after":"2f3d3abc1864ea1630c54c1988038e8455ffac85","ref":"refs/heads/main","pushedAt":"2023-09-04T16:41:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Remove debugging logs\n\n* Since the calculator works fine now, and don't need those at all anymore.","shortMessageHtmlLink":"Remove debugging logs"}},{"before":"688465d300c65dd008f3a26b11c89cbe5d62ee6c","after":"4064e8b1e9869759b291e0260f23889d2630682c","ref":"refs/heads/main","pushedAt":"2023-09-03T21:28:15.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"be62a1193a2adc622ccedf8aaea2e7b0e9d5e8f5","after":"688465d300c65dd008f3a26b11c89cbe5d62ee6c","ref":"refs/heads/main","pushedAt":"2023-09-03T21:26:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"71bee031ddac71ad081489410498f86fd9dcfd21","after":"be62a1193a2adc622ccedf8aaea2e7b0e9d5e8f5","ref":"refs/heads/main","pushedAt":"2023-09-03T21:11:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Add a thin border to make it look kinda nicer","shortMessageHtmlLink":"Add a thin border to make it look kinda nicer"}},{"before":"a446ec29e31a54c99218f15a732291408f067a92","after":"71bee031ddac71ad081489410498f86fd9dcfd21","ref":"refs/heads/main","pushedAt":"2023-09-03T20:57:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Make buttons a bit nicer by using `hover` effects","shortMessageHtmlLink":"Make buttons a bit nicer by using hover effects"}},{"before":"ef11799ae0be2ad839ff2d89de7637c179520dd7","after":"a446ec29e31a54c99218f15a732291408f067a92","ref":"refs/heads/main","pushedAt":"2023-09-03T20:40:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Don't allow two dots in a number\n\n* TO DO: find a better solution?","shortMessageHtmlLink":"Don't allow two dots in a number"}},{"before":"2efff0389df31a31bd714f429e1267c0c4fd5e08","after":"ef11799ae0be2ad839ff2d89de7637c179520dd7","ref":"refs/heads/main","pushedAt":"2023-09-03T20:17:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Replace the placeholder btn with `github` logo\n\n* Redirects to the project's repo in a new tab (ty Google).","shortMessageHtmlLink":"Replace the placeholder btn with github logo"}},{"before":"310ddd488d4fe3580719fdfbe2145c38a76505ba","after":"2efff0389df31a31bd714f429e1267c0c4fd5e08","ref":"refs/heads/main","pushedAt":"2023-09-03T20:09:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Add support for backspace deletion","shortMessageHtmlLink":"Add support for backspace deletion"}},{"before":"c43cf37f2b16d71a084b944cbccdb5b481d7a131","after":"310ddd488d4fe3580719fdfbe2145c38a76505ba","ref":"refs/heads/main","pushedAt":"2023-09-03T19:44:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Allow only two decimals in the result\n\n* To avoid another overlapping issue.","shortMessageHtmlLink":"Allow only two decimals in the result"}},{"before":"bf385d41224f33a4241d81c0ff7012ec4128cebb","after":"c43cf37f2b16d71a084b944cbccdb5b481d7a131","ref":"refs/heads/main","pushedAt":"2023-09-03T19:33:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Add support for KB calculations\n\n* And make `operators` a constant since it's not changed during runtime.","shortMessageHtmlLink":"Add support for KB calculations"}},{"before":"7ffd2e609e095cf100051f9652d26ead1638a7de","after":"bf385d41224f33a4241d81c0ff7012ec4128cebb","ref":"refs/heads/main","pushedAt":"2023-09-03T18:55:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Display the operation at the end of `clickHandler`\n\n* To fix the bug where the new operator isn't updated on the display\nafter calculating, unless a digit is pressed again.","shortMessageHtmlLink":"Display the operation at the end of clickHandler"}},{"before":"38e88cf39c62e6c2d3b663590d131a04f31db131","after":"7ffd2e609e095cf100051f9652d26ead1638a7de","ref":"refs/heads/main","pushedAt":"2023-09-03T18:42:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Don't allow operators at the wrong time or in the wrong place\n\n* Add few comments to the other `if` blocks too.","shortMessageHtmlLink":"Don't allow operators at the wrong time or in the wrong place"}},{"before":"9d37c15cd0586584845b99903f61837f8ec366d8","after":"38e88cf39c62e6c2d3b663590d131a04f31db131","ref":"refs/heads/main","pushedAt":"2023-09-03T15:58:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Make everything non-selectable\n\n* It just gets in the way sometimes and I think\n* it's better for user experience too.","shortMessageHtmlLink":"Make everything non-selectable"}},{"before":"8ba6f1c442d4b6ba9f2330d0259c6dba77c50dc6","after":"9d37c15cd0586584845b99903f61837f8ec366d8","ref":"refs/heads/main","pushedAt":"2023-09-03T15:57:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Handle the display from a standalone function","shortMessageHtmlLink":"Handle the display from a standalone function"}},{"before":"67a81ced2fe666678a70fd7b449500419f30a673","after":"8ba6f1c442d4b6ba9f2330d0259c6dba77c50dc6","ref":"refs/heads/main","pushedAt":"2023-09-03T15:48:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Allow user to clear operation and start from scratch","shortMessageHtmlLink":"Allow user to clear operation and start from scratch"}},{"before":"e5e399e3c15c538ed94ee00d4ad6ae96543a26f7","after":"67a81ced2fe666678a70fd7b449500419f30a673","ref":"refs/heads/main","pushedAt":"2023-09-03T15:33:55.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Don't set a width for `result`\n\n* This fix the overlapping display issue when the resulted number is too large.","shortMessageHtmlLink":"Don't set a width for result"}},{"before":"eedd23277ebc4bcd95f2b73699c66183a146f680","after":"e5e399e3c15c538ed94ee00d4ad6ae96543a26f7","ref":"refs/heads/main","pushedAt":"2023-09-03T15:33:24.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Don't set a width for `result`\n\n* This fix the overlapping display issue when the resulted number\nis too large.","shortMessageHtmlLink":"Don't set a width for result"}},{"before":"6bf4c8856848ff1eab6b18cfc2817e55f0139fcb","after":"eedd23277ebc4bcd95f2b73699c66183a146f680","ref":"refs/heads/main","pushedAt":"2023-09-03T15:23:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Keep just the result in array if 'equal' is pressed\n\n* Use the same splice method, but instead remove all 4 items.","shortMessageHtmlLink":"Keep just the result in array if 'equal' is pressed"}},{"before":"a66e94279047b606dac4fff5fcd11215f9aee06a","after":"6bf4c8856848ff1eab6b18cfc2817e55f0139fcb","ref":"refs/heads/main","pushedAt":"2023-09-03T15:17:20.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Add `operate()` function that calculates the operation\n\n* Gets called from `clickHandler`, basically when second operator\nis pressed (array length becomes 4).","shortMessageHtmlLink":"Add operate() function that calculates the operation"}},{"before":"6702b79575069bb665136405e18d90d5bf70af85","after":"a66e94279047b606dac4fff5fcd11215f9aee06a","ref":"refs/heads/main","pushedAt":"2023-09-03T14:15:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Add `operate()` function to make the calculation\n\n* Gets called from createClickEvents, basically when we get 3 operands.","shortMessageHtmlLink":"Add operate() function to make the calculation"}},{"before":"101eff63b3d2e018c0de4a6ab8babbbce582435e","after":"6702b79575069bb665136405e18d90d5bf70af85","ref":"refs/heads/main","pushedAt":"2023-09-03T14:14:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Create click events for the buttons\n\n* And add 'num' class to numbered buttons, so that we can see when\nthe button type is 'num' or 'operator'.","shortMessageHtmlLink":"Create click events for the buttons"}},{"before":"979f21eeed784ff3ba244688e6e5ed6d1692762a","after":"101eff63b3d2e018c0de4a6ab8babbbce582435e","ref":"refs/heads/main","pushedAt":"2023-09-03T13:15:10.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Add functions for the basic math operations","shortMessageHtmlLink":"Add functions for the basic math operations"}},{"before":"e52d672db7f4cacc55d6d66a56163f96a9bb42d0","after":"979f21eeed784ff3ba244688e6e5ed6d1692762a","ref":"refs/heads/main","pushedAt":"2023-09-03T06:04:10.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Create click events for the buttons\n\n* And add 'num' class to the numbered buttons, so that we can check for\nthe type of the button once is clicked, and update or append to array\naccordingly.","shortMessageHtmlLink":"Create click events for the buttons"}},{"before":"c1a1d5c4d9faf92fafcfdce9f54bf3199100e55d","after":"e52d672db7f4cacc55d6d66a56163f96a9bb42d0","ref":"refs/heads/main","pushedAt":"2023-09-02T15:33:13.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Create click events for the buttons\n\n* And add 'num' class to the numbered buttons, so that we can check for\nthe type of the button once is clicked, and update or append to array\naccordingly.","shortMessageHtmlLink":"Create click events for the buttons"}},{"before":"101eff63b3d2e018c0de4a6ab8babbbce582435e","after":"c1a1d5c4d9faf92fafcfdce9f54bf3199100e55d","ref":"refs/heads/main","pushedAt":"2023-09-02T15:29:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Create click events for the buttons\n\n* And add 'num' class to the numbered buttons, so that we can check for\nthe type of the button once is clicked, and update or append to array\naccordingly.","shortMessageHtmlLink":"Create click events for the buttons"}},{"before":"0ddbf8934bc93453236575ade02f5cb0194d19f7","after":"101eff63b3d2e018c0de4a6ab8babbbce582435e","ref":"refs/heads/main","pushedAt":"2023-08-31T15:04:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Add functions for the basic math operations","shortMessageHtmlLink":"Add functions for the basic math operations"}},{"before":"e80e703ebb8c55e1a81a4484d66a60c8f8296290","after":"0ddbf8934bc93453236575ade02f5cb0194d19f7","ref":"refs/heads/main","pushedAt":"2023-08-30T17:46:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Add initial HTML structure and style it as the Figma mockup","shortMessageHtmlLink":"Add initial HTML structure and style it as the Figma mockup"}},{"before":null,"after":"e80e703ebb8c55e1a81a4484d66a60c8f8296290","ref":"refs/heads/main","pushedAt":"2023-08-29T18:33:51.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"porobertdev","name":"Robert P.","path":"/porobertdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/130125082?s=80&v=4"},"commit":{"message":"Add initial skeleton","shortMessageHtmlLink":"Add initial skeleton"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADeRuSUQA","startCursor":null,"endCursor":null}},"title":"Activity ยท porobertdev/calculator"}