Ability to save and load calculator states into two slots #37
@ -1,53 +1,46 @@
|
||||
|
||||
import React, { useState } from "react";
|
||||
import { ScrollView, Text, Alert, Button } from "react-native";
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
import { ScrollView, Text, Alert, Button, View, StyleSheet } from "react-native";
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
import PlayerSelector from "@/components/PlayerSelector";
|
||||
import BuyInSelector from "@/components/BuyInSelector";
|
||||
import ChipsSelector from "@/components/ChipsSelector";
|
||||
import ChipDistributionSummary from "@/components/ChipDistributionSummary";
|
||||
import ChipDetection from "@/components/ChipDetection";
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
import { saveState, loadState } from "../components/CalculatorState";
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
|
||||
export enum COLORS {
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
"white",
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
"red",
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
"green",
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
"blue",
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
"black",
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
}
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
const IndexScreen: React.FC = () => {
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
const IndexScreen = () => {
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
const [playerCount, setPlayerCount] = useState(2);
|
||||
const [buyInAmount, setBuyInAmount] = useState<number>(20);
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
const [buyInAmount, setBuyInAmount] = useState<number | null>(null);
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
const [numberOfChips, setNumberOfChips] = useState<number>(5);
|
||||
const [totalChipsCount, setTotalChipsCount] = useState<number[]>([]);
|
||||
|
||||
const handleSave = () => {
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
const handleSave = async (slot: "SLOT1" | "SLOT2") => {
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
if (buyInAmount === null) {
|
||||
Alert.alert("Error", "Please select a valid buy-in amount");
|
||||
return;
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
}
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
const state = { playerCount, buyInAmount, numberOfChips, totalChipsCount };
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
const result = await saveState(slot, state);
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
Alert.alert(result.success ? "Success" : "Error", result.message);
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
};
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
const handleLoad = async (slot: "SLOT1" | "SLOT2") => {
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
const loadedState = await loadState(slot);
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
if (loadedState) {
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
setPlayerCount(loadedState.playerCount);
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
setBuyInAmount(loadedState.buyInAmount);
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
setNumberOfChips(loadedState.numberOfChips);
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
setTotalChipsCount(loadedState.totalChipsCount);
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
Alert.alert("Success", `State loaded from ${slot}`);
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
} else {
|
||||
Alert.alert(
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
"Success",
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
`Buy-in amount set to ${buyInAmount} for ${playerCount} players`
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
);
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
Alert.alert("Info", "No saved state found");
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
}
|
||||
};
|
||||
|
||||
// Update chip count based on detection or manual edit
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
const updateChipCount = (chipData: { [color: string]: number }) => {
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
// Convert the chip data from the API response or manual edit to a count array
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
const chipCountArray = Object.entries(chipData).map(
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
([color, count]) => count
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
);
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
setTotalChipsCount(chipCountArray); // Update the parent component's state
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
};
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
<ScrollView contentContainerStyle={{ padding: 20, flexGrow: 1 }}>
|
||||
<PlayerSelector
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
playerCount={playerCount}
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
setPlayerCount={setPlayerCount}
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
/>
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
<Text style={styles.title}>Poker Chip Helper</Text>
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
<PlayerSelector playerCount={playerCount} setPlayerCount={setPlayerCount} />
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
<BuyInSelector setBuyInAmount={setBuyInAmount} />
|
||||
<ChipDetection updateChipCount={updateChipCount} />
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
<ChipsSelector
|
||||
totalChipsCount={totalChipsCount}
|
||||
setTotalChipsCount={setTotalChipsCount}
|
||||
@ -59,13 +52,25 @@ const IndexScreen: React.FC = () => {
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() got it got it
![]() I have changed it I have changed it
![]() I have changed it I have changed it
|
||||
buyInAmount={buyInAmount}
|
||||
totalChipsCount={totalChipsCount}
|
||||
/>
|
||||
<Button
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
title="Save"
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
onPress={handleSave}
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
disabled={buyInAmount === null}
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
/>
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
<Button title="Save to Slot 1" onPress={() => handleSave("SLOT1")} disabled={buyInAmount === null} />
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
<Button title="Save to Slot 2" onPress={() => handleSave("SLOT2")} disabled={buyInAmount === null} />
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
<Button title="Load from Slot 1" onPress={() => handleLoad("SLOT1")} />
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
<Button title="Load from Slot 2" onPress={() => handleLoad("SLOT2")} />
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
</ScrollView>
|
||||
</View>
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
);
|
||||
};
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
container: {
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
flex: 1,
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
},
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
title: {
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
fontSize: 24,
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
marginBottom: 30,
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
marginTop: 50,
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
textAlign: "center",
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
},
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
});
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() I have changed it I have changed it
|
||||
export default IndexScreen;
|
||||
|
||||
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
Can you fix these up? It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
- This title "Poker chips helper" was removed
- The default state of `buyInAmount` near the top was changed to `20` from `null`
Can you fix these up?
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar. Nothing to do for now, but keep a mental note These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured. As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
![]() got it got it
![]() got it got it
![]() I have changed it I have changed it
![]() I have changed it I have changed it
|
31
components/CalculatorState.tsx
Normal file
@ -0,0 +1,31 @@
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
|
||||
const STORAGE_KEYS = {
|
||||
SLOT1: "@poker_state_slot1",
|
||||
SLOT2: "@poker_state_slot2",
|
||||
};
|
||||
|
||||
export interface PokerState {
|
||||
playerCount: number;
|
||||
buyInAmount: number | null;
|
||||
numberOfChips: number;
|
||||
totalChipsCount: number[];
|
||||
}
|
||||
|
||||
export const saveState = async (slot: keyof typeof STORAGE_KEYS, state: PokerState) => {
|
||||
try {
|
||||
await AsyncStorage.setItem(STORAGE_KEYS[slot], JSON.stringify(state));
|
||||
return { success: true, message: `State saved to ${slot}` };
|
||||
} catch (error) {
|
||||
return { success: false, message: "Failed to save state" };
|
||||
}
|
||||
};
|
||||
|
||||
export const loadState = async (slot: keyof typeof STORAGE_KEYS): Promise<PokerState | null> => {
|
||||
try {
|
||||
const storedState = await AsyncStorage.getItem(STORAGE_KEYS[slot]);
|
||||
return storedState ? JSON.parse(storedState) : null;
|
||||
} catch (error) {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
![]() From what I can tell, this file seems to be a set of helper functions and interface like things. Since the file is not a React component, we can organize it a little better
From what I can tell, this file seems to be a set of helper functions and interface like things. Since the file is not a React component, we can organize it a little better
- The file should probably be in another location, not `components`. One idea is to put it in a new directory like `util`
- The file can just use the extension `.ts` not `.tsx`
![]() Do I have to pull request again? Do I have to pull request again?
![]() No, just address changes with a new commit No, just address changes with a new commit
|
52
components/__tests__/CalculatorState.test.tsx
Normal file
@ -0,0 +1,52 @@
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
import { saveState, loadState, PokerState } from "../CalculatorState";
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
jest.mock("@react-native-async-storage/async-storage", () =>
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
require("@react-native-async-storage/async-storage/jest/async-storage-mock")
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
);
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
describe("CalculatorState.tsx", () => {
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
const mockState: PokerState = {
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
playerCount: 4,
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
buyInAmount: 50,
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
numberOfChips: 5,
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
totalChipsCount: [100, 200, 150, 50, 75],
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
};
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
beforeEach(() => {
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
jest.clearAllMocks();
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
});
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
it("should save state successfully", async () => {
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
await saveState("SLOT1", mockState);
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
expect(AsyncStorage.setItem).toHaveBeenCalledWith(
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
"@poker_state_slot1",
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
JSON.stringify(mockState)
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
);
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
});
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
it("should fail to save state if an error occurs", async () => {
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
jest.spyOn(AsyncStorage, "setItem").mockRejectedValueOnce(new Error("Failed to save"));
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
const result = await saveState("SLOT1", mockState);
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
expect(result.success).toBe(false);
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
expect(result.message).toBe("Failed to save state");
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
});
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
it("should load state successfully", async () => {
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
await AsyncStorage.setItem("@poker_state_slot1", JSON.stringify(mockState));
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
const result = await loadState("SLOT1");
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
expect(result).toEqual(mockState);
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
});
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
it("should return null if no state is found", async () => {
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
jest.spyOn(AsyncStorage, "getItem").mockResolvedValueOnce(null);
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
const result = await loadState("SLOT1");
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
expect(result).toBeNull();
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
});
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
it("should return null if an error occurs while loading state", async () => {
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
jest.spyOn(AsyncStorage, "getItem").mockRejectedValueOnce(new Error("Failed to load"));
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
const result = await loadState("SLOT1");
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
expect(result).toBeNull();
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
});
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
||||
});
|
||||
![]() Good work, Well-structured tests Good work, Well-structured tests
|
39
package-lock.json
generated
@ -9,9 +9,10 @@
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"@expo/vector-icons": "14.0.4",
|
||||
"@react-native-async-storage/async-storage": "^2.1.1",
|
||||
"@react-navigation/bottom-tabs": "7.2.0",
|
||||
"@react-navigation/native": "7.0.14",
|
||||
"expo": "52.0.37",
|
||||
"expo": "^52.0.37",
|
||||
"expo-blur": "14.0.3",
|
||||
"expo-constants": "17.0.7",
|
||||
"expo-file-system": "18.0.11",
|
||||
@ -57,8 +58,7 @@
|
||||
"typescript": "5.7.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22.0.0 <23.0.0",
|
||||
"npm": ">=8.0.0"
|
||||
"node": ">=22.0.0 <23.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@0no-co/graphql.web": {
|
||||
@ -3914,6 +3914,18 @@
|
||||
"react": "^16.8 || ^17.0 || ^18.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@react-native-async-storage/async-storage": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@react-native-async-storage/async-storage/-/async-storage-2.1.1.tgz",
|
||||
"integrity": "sha512-UqlnxddwM3rlCHvteFz+HpIXjqhQM7GkBgVQ9sMvMdl8QVOJQDjG7BODCUvabysMDw+9QfMFlLiOI8U6c0VzzQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"merge-options": "^3.0.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react-native": "^0.0.0-0 || >=0.65 <1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@react-native/assets-registry": {
|
||||
"version": "0.76.7",
|
||||
"resolved": "https://registry.npmjs.org/@react-native/assets-registry/-/assets-registry-0.76.7.tgz",
|
||||
@ -9905,6 +9917,15 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/is-plain-obj": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz",
|
||||
"integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/is-plain-object": {
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
|
||||
@ -12268,6 +12289,18 @@
|
||||
"integrity": "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/merge-options": {
|
||||
"version": "3.0.4",
|
||||
"resolved": "https://registry.npmjs.org/merge-options/-/merge-options-3.0.4.tgz",
|
||||
"integrity": "sha512-2Sug1+knBjkaMsMgf1ctR1Ujx+Ayku4EdJN4Z+C2+JzoeF7A3OZ9KM2GY0CpQS51NR61LTurMJrRKPhSs3ZRTQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"is-plain-obj": "^2.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/merge-stream": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
|
||||
|
@ -19,9 +19,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@expo/vector-icons": "14.0.4",
|
||||
"@react-native-async-storage/async-storage": "^2.1.1",
|
||||
"@react-navigation/bottom-tabs": "7.2.0",
|
||||
"@react-navigation/native": "7.0.14",
|
||||
"expo": "52.0.37",
|
||||
"expo": "^52.0.37",
|
||||
"expo-blur": "14.0.3",
|
||||
"expo-constants": "17.0.7",
|
||||
"expo-file-system": "18.0.11",
|
||||
|
It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
buyInAmount
near the top was changed to20
fromnull
Can you fix these up?
It appears that when resolving the merge conflicts, there may have been some regressions. That is to say, these things were changed and committed before you started work, but then undone here. Things I notice on quick glace
buyInAmount
near the top was changed to20
fromnull
Can you fix these up?
These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
These buttons at the end are ok and satisfy the issue. In the next sprint, we should explore moving them to the title bar and maybe replacing them with an icon or something similar.
Nothing to do for now, but keep a mental note
As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
As I encountered the conflict problem, I removed the folder from my laptop and cloned it again. But I used the code which I had written way before that. May be that's why these problem occured.
got it
got it
I have changed it
I have changed it