WEBVTT

1
00:00:00.000 --> 00:00:04.720
OK, so one of the things that we changed in,

2
00:00:04.720 --> 00:00:08.760
if I jump back here, and nothing's really versioned.

3
00:00:08.760 --> 00:00:12.320
So we have, this was one of the very first versions

4
00:00:12.320 --> 00:00:16.160
we ever built. Then this was sort of the second version.

5
00:00:16.160 --> 00:00:17.680
And then Wisdom is, I would consider,

6
00:00:17.680 --> 00:00:21.360
sort of the third iteration of the whole project.

7
00:00:21.360 --> 00:00:23.840
And this is the most slick version of it.

8
00:00:23.840 --> 00:00:26.000
So what we've done is, as we've updated this one,

9
00:00:26.000 --> 00:00:29.920
I've actually already moved all the authentication features

10
00:00:30.160 --> 00:00:32.439
over to this app.

11
00:00:32.439 --> 00:00:35.800
And I've also moved it down into this app already.

12
00:00:35.800 --> 00:00:38.320
So what I haven't done is moved all the authentication

13
00:00:38.320 --> 00:00:41.480
over to this Raising Royalty app,

14
00:00:41.480 --> 00:00:43.800
and that's what we need to do today.

15
00:00:43.800 --> 00:00:47.280
And so I have, on this screen,

16
00:00:47.280 --> 00:00:49.480
I have the Raising Royalty app, and on this tab,

17
00:00:49.480 --> 00:00:51.960
I'm gonna move them side by side,

18
00:00:51.960 --> 00:00:54.400
and I'm gonna close that.

19
00:00:54.400 --> 00:00:56.360
Let's jump into the Wisdom app.

20
00:00:56.360 --> 00:00:59.880
And so this gets a little messy,

21
00:00:59.880 --> 00:01:01.960
because you're essentially just gonna start

22
00:01:01.960 --> 00:01:03.640
overriding a lot of stuff.

23
00:01:03.640 --> 00:01:04.879
And so this will be a good example

24
00:01:04.879 --> 00:01:08.400
of how we move components over.

25
00:01:09.280 --> 00:01:14.080
And also, if we ever do need to update another app,

26
00:01:14.080 --> 00:01:15.400
which was built in the old version,

27
00:01:15.400 --> 00:01:17.600
which I think this is actually the last one,

28
00:01:18.960 --> 00:01:20.200
that's how it works.

29
00:01:20.200 --> 00:01:23.240
So what I'll do is I'll come over here,

30
00:01:23.240 --> 00:01:25.000
and you can immediately see a few things.

31
00:01:25.320 --> 00:01:28.200
We have, for one, we have a nice,

32
00:01:28.200 --> 00:01:31.000
there's just a lot fewer screens.

33
00:01:31.000 --> 00:01:33.200
So we have a lock screen, a collection view,

34
00:01:33.200 --> 00:01:35.680
a confirmed password, existing user entry.

35
00:01:35.680 --> 00:01:38.200
This one, we only have entry, new user returning,

36
00:01:38.200 --> 00:01:39.520
and then log in redirect.

37
00:01:39.520 --> 00:01:42.760
So there's four pages, and there's actually

38
00:01:42.760 --> 00:01:45.520
more pages than we need in here.

39
00:01:47.200 --> 00:01:49.560
But we'll get into, and I actually think

40
00:01:49.560 --> 00:01:50.800
this is in the wrong folder.

41
00:01:50.800 --> 00:01:52.360
That's part of the problem.

42
00:01:53.360 --> 00:01:54.760
Can we move this?

43
00:01:54.760 --> 00:01:55.600
No.

44
00:01:57.080 --> 00:01:58.880
No, that's extra.

45
00:01:58.880 --> 00:02:00.320
Okay.

46
00:02:00.320 --> 00:02:02.560
First issue, you can move it.

47
00:02:02.560 --> 00:02:04.160
You can move it to a new folder.

48
00:02:04.160 --> 00:02:06.520
I don't know why.

49
00:02:06.520 --> 00:02:09.080
Okay, I'll just, that's where it's gonna be.

50
00:02:10.960 --> 00:02:14.600
So on this entry page, I'll try to at least,

51
00:02:14.600 --> 00:02:16.120
let's see if we can order these.

52
00:02:16.120 --> 00:02:16.960
Yeah, there we go.

53
00:02:16.960 --> 00:02:18.560
So at least the entry page is first.

54
00:02:18.560 --> 00:02:20.520
So it's the same kind of thing.

55
00:02:20.760 --> 00:02:23.560
But if we click into this, and we click on the settings,

56
00:02:23.560 --> 00:02:26.920
we actually have four actions here.

57
00:02:26.920 --> 00:02:28.360
And if I click on this one into the settings,

58
00:02:28.360 --> 00:02:31.120
we have six actions here.

59
00:02:31.120 --> 00:02:34.120
So all I'm gonna do is copy this,

60
00:02:34.120 --> 00:02:38.320
and what I find works best is just the command C.

61
00:02:38.320 --> 00:02:41.640
And you'll see the little green copy to clipboard.

62
00:02:41.640 --> 00:02:43.880
We can hop back over to this one.

63
00:02:43.880 --> 00:02:46.440
And I wanna keep this text.

64
00:02:46.440 --> 00:02:49.360
So what I'm gonna do is just minimize this.

65
00:02:49.360 --> 00:02:52.880
And I can go into the column.

66
00:02:52.880 --> 00:02:55.520
So you can see the kind of the hierarchy here.

67
00:02:55.520 --> 00:02:58.440
It's the containers inside this column.

68
00:02:58.440 --> 00:03:00.880
If I kind of close everything, you can see there's a column,

69
00:03:00.880 --> 00:03:04.200
there's a logo, container, and a button.

70
00:03:04.200 --> 00:03:06.760
And so what I'll do is just gonna click on this one

71
00:03:06.760 --> 00:03:10.400
at the top and then hit paste, okay?

72
00:03:10.400 --> 00:03:12.960
And so what I've done now is,

73
00:03:12.960 --> 00:03:15.680
I'm gonna move this up just a bit.

74
00:03:15.680 --> 00:03:16.520
Oops.

75
00:03:19.160 --> 00:03:22.760
Let's just, so it is easier to, hang on.

76
00:03:24.760 --> 00:03:28.320
Now you're getting into the quirks of Flutter Flow.

77
00:03:28.320 --> 00:03:29.440
Fantastic.

78
00:03:31.520 --> 00:03:32.880
So I'll just leave it there for a second

79
00:03:32.880 --> 00:03:33.880
because I'm gonna delete this.

80
00:03:33.880 --> 00:03:35.720
And all I really want is from here,

81
00:03:35.720 --> 00:03:38.160
I wanna copy, I'm gonna take this text box

82
00:03:38.160 --> 00:03:39.880
because it has a certain language.

83
00:03:39.880 --> 00:03:42.240
Just move it down into this.

84
00:03:42.240 --> 00:03:43.880
Take this one, hit delete.

85
00:03:44.880 --> 00:03:46.800
And he says, your email.

86
00:03:46.800 --> 00:03:48.880
And it's got like a different color scheme and stuff.

87
00:03:48.880 --> 00:03:53.080
So I'm just gonna go ahead and copy this here.

88
00:03:53.080 --> 00:03:55.880
So some of it is a bit,

89
00:03:57.920 --> 00:04:00.240
oh, because the primary text is light.

90
00:04:00.240 --> 00:04:02.120
It's a kind of a dark app.

91
00:04:04.480 --> 00:04:09.480
So in this case, I actually wanna go ahead and like,

92
00:04:09.760 --> 00:04:13.160
this may be quite damaging to the app,

93
00:04:13.160 --> 00:04:16.399
but we wanna go ahead and change in the settings.

94
00:04:16.399 --> 00:04:21.399
I can go to a theme and this light mode,

95
00:04:22.880 --> 00:04:24.320
and we have custom colors.

96
00:04:24.320 --> 00:04:25.160
Let me just see here.

97
00:04:25.160 --> 00:04:27.000
Where is the primary?

98
00:04:27.000 --> 00:04:28.560
There's a one, yeah, primary text here.

99
00:04:28.560 --> 00:04:29.800
So this is set to white.

100
00:04:30.720 --> 00:04:31.560
So I'm actually gonna go ahead

101
00:04:31.560 --> 00:04:33.120
and set this to the darker color

102
00:04:34.760 --> 00:04:37.520
because that's actually how the Wisdom app was set.

103
00:04:37.520 --> 00:04:41.320
If I jump back to Wisdom, settings, theme,

104
00:04:41.720 --> 00:04:43.160
you can see that we have like,

105
00:04:43.160 --> 00:04:46.200
we have a background color, which is white

106
00:04:46.200 --> 00:04:48.160
and a primary text that is this color.

107
00:04:48.160 --> 00:04:49.840
So if I jump here,

108
00:04:51.520 --> 00:04:54.040
the primary background should actually be dark

109
00:04:55.280 --> 00:04:56.640
or vice versa.

110
00:04:56.640 --> 00:04:58.800
Like we basically need to have,

111
00:04:58.800 --> 00:05:00.600
so I'm gonna just keep it the same.

112
00:05:00.000 --> 00:05:01.200
white, and then that.

113
00:05:01.200 --> 00:05:05.880
So if I jump back into this, see how it just fixed it for me?

114
00:05:05.880 --> 00:05:08.760
Because I updated the variable, right?

115
00:05:08.760 --> 00:05:12.160
I didn't, I don't have to go in there and pick a new color,

116
00:05:12.160 --> 00:05:15.200
because I can just see that it is already

117
00:05:15.200 --> 00:05:18.320
set to primary text.

118
00:05:18.320 --> 00:05:20.840
And that would be better to, I can click on this

119
00:05:20.840 --> 00:05:22.920
and just manually pick a random color,

120
00:05:22.920 --> 00:05:26.360
but I don't want to have to do that.

121
00:05:26.360 --> 00:05:28.360
Because I'm going to copy a lot more components,

122
00:05:28.360 --> 00:05:31.120
and those other components could be referring to this one.

123
00:05:31.120 --> 00:05:33.840
So now we're just going to go in here,

124
00:05:33.840 --> 00:05:36.880
we've got everything we need, I'm just going to delete it.

125
00:05:36.880 --> 00:05:42.080
And the order is a bit off, so let's bounce this.

126
00:05:42.080 --> 00:05:45.200
So this can be a little confusing of how

127
00:05:45.200 --> 00:05:46.760
to rearrange these things, but what

128
00:05:46.760 --> 00:05:50.160
I found works the best and the most reliable

129
00:05:50.160 --> 00:05:53.760
is to drag things to the very top, like I just did there.

130
00:05:53.760 --> 00:05:58.000
So if I drag this to the second one, what it tries to do

131
00:05:58.040 --> 00:05:59.640
is put this inside.

132
00:05:59.640 --> 00:06:01.520
So see how it goes orange?

133
00:06:01.520 --> 00:06:03.280
There's like an orange line there.

134
00:06:03.280 --> 00:06:06.240
But if I hold it for a second, it goes purple.

135
00:06:06.240 --> 00:06:08.000
So then I can put that, drop it down.

136
00:06:08.000 --> 00:06:10.000
So if it's orange, it's going to try to go inside.

137
00:06:10.000 --> 00:06:12.520
But if you hold it, hold it, and then it goes purple,

138
00:06:12.520 --> 00:06:15.080
then we can reorder it that way.

139
00:06:15.080 --> 00:06:19.440
So it's just, and then it works the opposite way, another way.

140
00:06:19.440 --> 00:06:23.520
So just the purple means it's going like as a sister,

141
00:06:23.520 --> 00:06:27.040
or like a sibling relationship.

142
00:06:27.040 --> 00:06:29.000
Whereas if you do the orange, it basically

143
00:06:29.000 --> 00:06:30.800
makes that new thing the parent, and it

144
00:06:30.800 --> 00:06:32.600
puts it inside that component.

145
00:06:32.600 --> 00:06:34.760
That's true.

146
00:06:34.760 --> 00:06:37.320
And then the other thing I'll do is I'm just looking at this.

147
00:06:37.320 --> 00:06:43.080
So this is very much like vertical here on the page,

148
00:06:43.080 --> 00:06:44.360
and this is kind of centered.

149
00:06:44.360 --> 00:06:46.720
So I want to go ahead and fix that.

150
00:06:46.720 --> 00:06:47.840
And I'm just looking here.

151
00:06:47.840 --> 00:06:51.520
I've got a container and a container.

152
00:06:51.520 --> 00:06:54.320
Now if I had, I actually have a really wide monitor here.

153
00:06:54.320 --> 00:06:56.640
So what I would actually do is put these like tab,

154
00:06:56.720 --> 00:06:58.400
these whole windows side by side,

155
00:06:58.400 --> 00:07:01.240
so I don't have to keep jumping between this.

156
00:07:01.240 --> 00:07:04.720
I think you can Command 1, Command 2, right?

157
00:07:04.720 --> 00:07:06.840
Yeah, Command 1, Command 2 will actually toggle.

158
00:07:06.840 --> 00:07:08.760
Like Stealer, Stealer.

159
00:07:08.760 --> 00:07:09.640
Yeah.

160
00:07:09.640 --> 00:07:12.360
Yeah, like two screens, too.

161
00:07:12.360 --> 00:07:17.760
So yeah, so here I have like, if I jump back to this,

162
00:07:17.760 --> 00:07:20.640
the alignment here on the container is 0.

163
00:07:20.640 --> 00:07:21.640
There's a max width.

164
00:07:21.640 --> 00:07:24.160
That's fine.

165
00:07:24.160 --> 00:07:26.440
And the vertical alignment is negative 1.

166
00:07:26.440 --> 00:07:29.440
So if I go back here, this vertical alignment, negative 1,

167
00:07:29.440 --> 00:07:31.520
so it pushes it to the top.

168
00:07:31.520 --> 00:07:37.040
And then let's just check this column and check this column.

169
00:07:37.040 --> 00:07:38.920
So this is set to, on the Wisdom app,

170
00:07:38.920 --> 00:07:41.120
it's set to primary scroll and the scroll here.

171
00:07:41.120 --> 00:07:43.560
And I just want to make sure it's here, and it's primary,

172
00:07:43.560 --> 00:07:44.440
and it's scroll.

173
00:07:44.440 --> 00:07:46.280
So it's actually set up correctly now.

174
00:07:46.280 --> 00:07:50.360
And then I'll notice that this one actually doesn't

175
00:07:50.360 --> 00:07:52.440
have join without an account.

176
00:07:52.440 --> 00:07:55.200
So a quick way to leave that in there,

177
00:07:55.200 --> 00:07:58.040
obviously, you can just delete it and bring it back

178
00:07:58.040 --> 00:08:00.240
from another project later.

179
00:08:00.240 --> 00:08:02.000
But a quick way to do it is you can just

180
00:08:02.000 --> 00:08:07.920
hide it on all device sizes.

181
00:08:07.920 --> 00:08:10.760
Why do you hide it if you don't need it?

182
00:08:10.760 --> 00:08:13.880
Just so I could bring it back if the client does

183
00:08:13.880 --> 00:08:15.400
decide they want that.

184
00:08:15.400 --> 00:08:19.840
I saved myself the pain of having to figure all that out.

185
00:08:19.840 --> 00:08:23.640
So immediately when we did this, we only swapped one component,

186
00:08:23.640 --> 00:08:25.160
but we've just created nine errors.

187
00:08:28.240 --> 00:08:31.280
So the first thing up here is platform ID.

188
00:08:31.280 --> 00:08:33.760
Now, this is an old version of the app,

189
00:08:33.760 --> 00:08:36.400
which I think if I go to the local thing,

190
00:08:36.400 --> 00:08:38.080
I'd look for platform ID.

191
00:08:38.080 --> 00:08:39.280
Oh, we actually do have one.

192
00:08:39.280 --> 00:08:40.480
It is right there.

193
00:08:40.480 --> 00:08:42.120
Let's go back.

194
00:08:42.120 --> 00:08:43.600
So I'll click on this.

195
00:08:43.600 --> 00:08:45.680
And the nice thing is, like, if you click on this,

196
00:08:45.680 --> 00:08:49.840
it'll actually take you to the place where that is going.

197
00:08:49.880 --> 00:08:51.280
So I'm going to say variable name.

198
00:08:54.080 --> 00:08:56.080
And what I want to do as well, it's

199
00:08:56.080 --> 00:08:57.880
important that the naming is exact.

200
00:08:57.880 --> 00:09:01.440
So if I just go to here, so it's platform with a capital I,

201
00:09:01.440 --> 00:09:05.680
ePersisted, and I'm just going to go back here.

202
00:09:05.680 --> 00:09:07.320
I think this actually is set correctly.

203
00:09:07.320 --> 00:09:08.960
Platform ID, ePersisted.

204
00:09:08.960 --> 00:09:10.440
Yeah, so 40, cool.

205
00:09:10.440 --> 00:09:14.280
So let's go back here, but it's saying it's an error.

206
00:09:14.280 --> 00:09:16.160
So let's take a look at it.

207
00:09:16.160 --> 00:09:17.720
So it's on the validate user.

208
00:09:17.800 --> 00:09:22.320
It somehow didn't connect this when I copied it.

209
00:09:22.320 --> 00:09:25.080
And it's not letting me.

210
00:09:25.080 --> 00:09:27.760
What about, can you change the variable name?

211
00:09:27.760 --> 00:09:29.520
Oh, no.

212
00:09:29.520 --> 00:09:30.800
OK, I see what the problem is.

213
00:09:30.800 --> 00:09:34.560
So it's actually, it's in the local state.

214
00:09:34.560 --> 00:09:37.240
But if I go in here, let me do it one more time.

215
00:09:37.240 --> 00:09:40.680
Click on this and hit Edit API Call.

216
00:09:40.680 --> 00:09:46.120
And go to variables, they don't even have the platform ID here.

217
00:09:46.160 --> 00:09:49.880
So just to come back here, I'm actually going to undo that.

218
00:09:49.880 --> 00:09:52.600
You can hit Command Z and it brings it right back.

219
00:09:52.600 --> 00:09:59.120
Because what we need to do is open this, Edit API Call, go here.

220
00:09:59.120 --> 00:10:00.360
Let's.

221
00:10:00.000 --> 00:10:03.800
click here, open edit API.

222
00:10:03.800 --> 00:10:06.680
So now I've got, I'm just tabbing between the two.

223
00:10:06.680 --> 00:10:08.760
This is wisdom, this is the other one.

224
00:10:08.760 --> 00:10:11.440
And if we go to variables and I go to variables,

225
00:10:11.440 --> 00:10:14.200
you'll see, oh, there's a variable here,

226
00:10:14.200 --> 00:10:16.200
which is not in here.

227
00:10:17.080 --> 00:10:18.920
And so I basically just, what I just did there

228
00:10:18.920 --> 00:10:22.920
is I traced it back to like, oh, I remember now,

229
00:10:22.920 --> 00:10:24.560
like we've now, this is a new thing

230
00:10:24.560 --> 00:10:28.320
that we normally didn't ask for a platform ID,

231
00:10:28.520 --> 00:10:30.640
but Lucian added that so that it always asks

232
00:10:30.640 --> 00:10:33.440
for a platform ID moving forward.

233
00:10:33.440 --> 00:10:35.880
And so some of the, some of these API queries

234
00:10:35.880 --> 00:10:38.880
have to actually go get updated and this one wasn't,

235
00:10:38.880 --> 00:10:42.000
and that's why it didn't connect correctly.

236
00:10:42.000 --> 00:10:45.960
Okay, so I wanna go to query parameters,

237
00:10:45.960 --> 00:10:49.640
query parameters, so we have to add the add.

238
00:10:50.640 --> 00:10:53.200
And I'm just gonna, even though I know how to do this,

239
00:10:53.200 --> 00:10:56.560
I'm just gonna copy paste because why?

240
00:10:56.560 --> 00:10:58.400
Introduce the possibility of it.

241
00:10:58.400 --> 00:11:01.200
And then it seems to be a variable and we'll do that.

242
00:11:01.200 --> 00:11:05.440
So say variable platform ID, okay.

243
00:11:06.840 --> 00:11:11.280
And then I'm just checking these and the headers the same.

244
00:11:12.440 --> 00:11:14.760
Again, good just to check the advanced settings.

245
00:11:14.760 --> 00:11:17.840
This has used proxy and I don't,

246
00:11:17.840 --> 00:11:19.040
and that's actually set the same way.

247
00:11:19.040 --> 00:11:21.560
So now the big important thing is if I just left

248
00:11:21.560 --> 00:11:23.440
at this point, nothing would be saved.

249
00:11:23.440 --> 00:11:24.960
So let's go hit save.

250
00:11:26.880 --> 00:11:30.440
Okay, and now we just went from nine errors to eight

251
00:11:30.440 --> 00:11:32.960
because Flutter Flow is your friend.

252
00:11:32.960 --> 00:11:34.760
It does try to do some work for you and it said,

253
00:11:34.760 --> 00:11:36.640
oh, there's a platform ID now.

254
00:11:36.640 --> 00:11:38.480
I've connected it and I've connected it there.

255
00:11:38.480 --> 00:11:39.480
I didn't even have to change it.

256
00:11:39.480 --> 00:11:43.400
It just realized, oh, this is named the same thing.

257
00:11:43.400 --> 00:11:45.120
Let me just fix it for you.

258
00:11:45.120 --> 00:11:47.320
And it just fixed it behind the scenes for us.

259
00:11:47.320 --> 00:11:51.480
So it takes a second to figure out what it does

260
00:11:51.480 --> 00:11:54.280
automatically and what it doesn't do automatically,

261
00:11:54.320 --> 00:11:56.680
but that's how we go.

262
00:11:56.680 --> 00:12:00.560
So let's see here, navigate button.

263
00:12:00.560 --> 00:12:05.560
So now the navigation, it's going to a page

264
00:12:05.560 --> 00:12:07.440
called returning user.

265
00:12:07.440 --> 00:12:10.600
And if we go to our off pages here,

266
00:12:10.600 --> 00:12:13.960
we don't have something called returning user.

267
00:12:13.960 --> 00:12:16.960
And so what's actually better here for us

268
00:12:16.960 --> 00:12:20.600
is to just keep these naming, the names exactly the same.

269
00:12:20.600 --> 00:12:26.120
So I'm just going to copy this and go over here and paste it.

270
00:12:26.120 --> 00:12:31.360
And just that fix, sorry, it's in the scaffolding here.

271
00:12:31.360 --> 00:12:32.800
Let's just change this as well.

272
00:12:32.800 --> 00:12:35.120
So we have eight.

273
00:12:35.120 --> 00:12:37.720
So we have eight, should go to seven.

274
00:12:37.720 --> 00:12:40.840
I don't know, we'll see.

275
00:12:40.840 --> 00:12:43.800
Let's go back to the navigation.

276
00:12:43.800 --> 00:12:47.800
And it may just be that we have to navigate and just choose it

277
00:12:47.800 --> 00:12:50.280
again.

278
00:12:50.320 --> 00:12:51.280
Oh, and you know what?

279
00:12:51.280 --> 00:12:53.720
You see, this is, it's a capital R.

280
00:12:53.720 --> 00:12:57.840
Yeah, I think you saw it, is when I saw it.

281
00:12:57.840 --> 00:12:59.920
Returning.

282
00:12:59.920 --> 00:13:02.160
So what it is, is the route is returning user,

283
00:13:02.160 --> 00:13:07.400
but the scaffolding I think is capital R.

284
00:13:07.400 --> 00:13:08.640
Yeah, now it's capitalized.

285
00:13:08.640 --> 00:13:09.160
And there's-

286
00:13:09.160 --> 00:13:10.280
Oh, it's like seven, OK.

287
00:13:10.280 --> 00:13:12.560
Now it's seven.

288
00:13:12.560 --> 00:13:14.600
But this is good, because basically we're

289
00:13:14.600 --> 00:13:17.440
updating a lot of different things in this project

290
00:13:17.440 --> 00:13:19.000
all at the same time.

291
00:13:19.000 --> 00:13:21.640
So little things like that, like the next time

292
00:13:21.640 --> 00:13:23.600
we copy in a change here, we won't

293
00:13:23.600 --> 00:13:25.240
have to worry about all this.

294
00:13:25.240 --> 00:13:27.080
A lot of these things will reconnect better

295
00:13:27.080 --> 00:13:30.040
the next time.

296
00:13:30.040 --> 00:13:34.800
OK, now we've got a lot of missing parameters.

297
00:13:34.800 --> 00:13:36.800
See, this parameter's first time user

298
00:13:36.800 --> 00:13:41.320
is being passed by a button to the returning user page.

299
00:13:41.320 --> 00:13:43.960
So I'm going to actually, at this point,

300
00:13:43.960 --> 00:13:46.520
since I've actually done this two other times

301
00:13:46.520 --> 00:13:51.040
for the same process, this is the third time

302
00:13:51.040 --> 00:13:52.920
we're doing this whole process.

303
00:13:52.920 --> 00:13:57.160
So knowing what it's asking for is a bunch of parameters

304
00:13:57.160 --> 00:14:00.040
that don't even exist on the returning page.

305
00:14:00.040 --> 00:14:02.040
So before we go too deep, I'm going

306
00:14:02.040 --> 00:14:04.680
to go in and just grab the returning page here.

307
00:14:04.680 --> 00:14:06.720
Let's go ahead and copy this.

308
00:14:06.720 --> 00:14:09.080
And see, OK, so there's a great Flutter flow bug.

309
00:14:09.080 --> 00:14:11.040
I hit copy and nothing happened.

310
00:14:11.040 --> 00:14:13.160
See, no plus down here.

311
00:14:13.160 --> 00:14:15.000
It's not perfect, right?

312
00:14:15.000 --> 00:14:17.240
But it's copy, right?

313
00:14:17.240 --> 00:14:19.840
Oh, no, it didn't actually copy anything.

314
00:14:19.840 --> 00:14:22.600
So what you have to do is I right-clicked and hit copy.

315
00:14:22.600 --> 00:14:23.440
So that didn't work.

316
00:14:23.440 --> 00:14:25.880
So if I click on it again and I hit Command-C,

317
00:14:25.880 --> 00:14:27.520
it will actually work.

318
00:14:27.520 --> 00:14:33.240
So just these little things, it's not 100% perfect.

319
00:14:33.240 --> 00:14:34.800
Well, that's good to know because it

320
00:14:34.800 --> 00:14:36.560
can be pretty annoying.

321
00:14:36.560 --> 00:14:38.920
Yeah, so I'm going to click on this and hit paste.

322
00:14:38.920 --> 00:14:40.040
Now I've got the same thing.

323
00:14:40.040 --> 00:14:41.480
And honestly, this looks great now

324
00:14:41.480 --> 00:14:44.080
because we already fixed the color

325
00:14:44.120 --> 00:14:45.080
thing from the previous.

326
00:14:45.080 --> 00:14:48.080
I don't even need any of this.

327
00:14:48.080 --> 00:14:50.200
Going to wipe it out.

328
00:14:50.200 --> 00:14:52.200
And we're just going to fix the order real quick.

329
00:14:52.200 --> 00:14:55.040
This needs to be there.

330
00:14:55.040 --> 00:14:57.760
Oops.

331
00:14:57.760 --> 00:14:58.840
Hold it down.

332
00:14:58.840 --> 00:15:00.040
Goes pink or purple.

333
00:15:00.000 --> 00:15:01.160
And now we're down there.

334
00:15:01.160 --> 00:15:02.160
OK.

335
00:15:02.160 --> 00:15:04.720
And just jumping between these again,

336
00:15:04.720 --> 00:15:11.840
we have the same issue with the container with the negative 1.

337
00:15:11.840 --> 00:15:16.560
So we'll go container, negative 1 alignment.

338
00:15:16.560 --> 00:15:19.360
And this seems like a silly thing.

339
00:15:19.360 --> 00:15:26.280
It just seems like we are just making it look a little nicer.

340
00:15:26.280 --> 00:15:28.200
And this actually has the back button as well.

341
00:15:28.440 --> 00:15:31.240
So you see this actually has a thing called the app bar.

342
00:15:31.240 --> 00:15:34.440
So I'm going to put this back in.

343
00:15:34.440 --> 00:15:34.940
OK.

344
00:15:34.940 --> 00:15:36.920
I think it's this one.

345
00:15:36.920 --> 00:15:38.040
Yeah, and there's no text.

346
00:15:38.040 --> 00:15:39.560
It's just a thing here.

347
00:15:39.560 --> 00:15:42.320
And I'll just delete that.

348
00:15:42.320 --> 00:15:44.520
So I'm just checking again.

349
00:15:44.520 --> 00:15:46.880
So the reason we have these little things

350
00:15:46.880 --> 00:15:51.600
is I happen to know that this was a bug when people were

351
00:15:51.600 --> 00:15:53.560
trying to fill out the form.

352
00:15:53.560 --> 00:15:55.920
Because it was trying to center it vertically,

353
00:15:55.960 --> 00:15:59.720
the sign-in button would be hidden behind the keyboard

354
00:15:59.720 --> 00:16:01.000
when it was up.

355
00:16:01.000 --> 00:16:03.240
But by making it scroll the way that it does,

356
00:16:03.240 --> 00:16:04.960
people can actually scroll up now,

357
00:16:04.960 --> 00:16:08.680
and the sign-in button is always visible with the keyboard up.

358
00:16:08.680 --> 00:16:11.040
So that's a very subtle thing that you're like, oh, it's

359
00:16:11.040 --> 00:16:12.880
just a little design decision.

360
00:16:12.880 --> 00:16:17.440
But actually, that won't even work in a similar way.

361
00:16:17.440 --> 00:16:19.560
In the same way, I'm going to go here.

362
00:16:19.560 --> 00:16:23.520
This image has no padding, although this one

363
00:16:23.520 --> 00:16:27.680
logo container has padding, even a logo container.

364
00:16:27.680 --> 00:16:30.200
So it's 0 and 10.

365
00:16:30.200 --> 00:16:35.080
And I'm just going to go just copy this 0 and 10.

366
00:16:35.080 --> 00:16:37.760
So now when I'm flipping between them,

367
00:16:37.760 --> 00:16:41.120
you can see it kind of has that look where, yeah.

368
00:16:41.120 --> 00:16:42.720
And then the other thing we added here

369
00:16:42.720 --> 00:16:46.120
is this is missing this try another email, which

370
00:16:46.120 --> 00:16:49.560
is a very helpful feature.

371
00:16:49.560 --> 00:16:51.880
And I'm just going to go into the column here.

372
00:16:51.880 --> 00:16:53.760
We'll hit paste.

373
00:16:53.760 --> 00:16:56.440
And now we're in the wrong order again.

374
00:16:56.440 --> 00:16:58.880
So we'll just hold this down like that.

375
00:16:58.880 --> 00:17:01.200
And try another email.

376
00:17:01.200 --> 00:17:03.880
And of course, we're introducing more and more buttons,

377
00:17:03.880 --> 00:17:07.680
but we're going to get to that in a second.

378
00:17:07.680 --> 00:17:08.760
And I think this is good.

379
00:17:08.760 --> 00:17:11.079
So the other thing you want to do is just on a page level,

380
00:17:11.079 --> 00:17:12.040
I'm going to click off.

381
00:17:12.040 --> 00:17:14.480
So if you just kind of click on the end here,

382
00:17:14.480 --> 00:17:17.839
I can see that there's an email string here.

383
00:17:17.839 --> 00:17:20.400
And a name string is what's on the page parameters.

384
00:17:20.400 --> 00:17:21.760
And I'm just looking again here.

385
00:17:21.800 --> 00:17:22.640
Those are the same.

386
00:17:22.640 --> 00:17:27.079
So we don't need to add any more page parameters to this.

387
00:17:27.079 --> 00:17:29.200
And I didn't really check it on this,

388
00:17:29.200 --> 00:17:30.520
but I already know there's no.

389
00:17:30.520 --> 00:17:32.720
But let's just for the fun of it,

390
00:17:32.720 --> 00:17:34.360
there's no page parameters on that one.

391
00:17:34.360 --> 00:17:36.600
There's no page parameters there.

392
00:17:36.600 --> 00:17:41.480
So let's go in here.

393
00:17:41.480 --> 00:17:43.800
Return a user.

394
00:17:43.800 --> 00:17:46.600
And so I was like, oh, wow, all our bugs went away.

395
00:17:46.600 --> 00:17:49.280
It's because we're on the wrong project.

396
00:17:49.920 --> 00:17:53.040
That's a good project.

397
00:17:53.040 --> 00:17:54.240
OK.

398
00:17:54.240 --> 00:17:57.080
So let's look at the flow here.

399
00:17:57.080 --> 00:18:02.880
And the next one is going to be on the next page,

400
00:18:02.880 --> 00:18:04.960
rather, is if we go down the list here,

401
00:18:04.960 --> 00:18:10.160
we've done entry page, the returning user,

402
00:18:10.160 --> 00:18:12.480
and then we need to do the new user.

403
00:18:12.480 --> 00:18:18.400
So again, Command-C, impact, new user,

404
00:18:18.400 --> 00:18:22.880
and I'm going to just minimize this.

405
00:18:22.880 --> 00:18:25.040
Again, click on here.

406
00:18:25.040 --> 00:18:28.840
So now I'm just going to check here, do terms of service.

407
00:18:28.840 --> 00:18:31.160
Did they link it somewhere special?

408
00:18:31.160 --> 00:18:33.000
Oh, to a terms URL.

409
00:18:33.000 --> 00:18:36.520
And then when I click here, is it linked?

410
00:18:36.520 --> 00:18:39.720
No, see, it can link to a very specific URL here.

411
00:18:39.720 --> 00:18:41.680
So this is where you could go very, very quickly

412
00:18:41.680 --> 00:18:44.400
but make a mistake.

413
00:18:44.400 --> 00:18:46.280
Actually, you need to take this guy,

414
00:18:46.280 --> 00:18:50.280
and hit Copy, click on this, hit Paste.

415
00:18:50.280 --> 00:18:53.200
I think you have to be like this and hit Paste.

416
00:18:53.200 --> 00:18:54.120
There you go.

417
00:18:54.120 --> 00:18:56.880
And I can just drag it.

418
00:18:56.880 --> 00:18:58.640
Sometimes the drag and drop works.

419
00:18:58.640 --> 00:18:59.560
There you go.

420
00:18:59.560 --> 00:19:00.960
This one is the wrong one.

421
00:19:00.960 --> 00:19:04.840
I can hit Delete, and that one's the right one.

422
00:19:04.840 --> 00:19:07.600
And then just seeing the wording is actually identical

423
00:19:07.600 --> 00:19:09.520
because we've actually copied this already.

424
00:19:09.520 --> 00:19:12.160
See, this one says your 100x email.

425
00:19:12.160 --> 00:19:14.560
So that is actually a bug where we've

426
00:19:14.560 --> 00:19:18.400
tried to get away from things that are client-related here.

427
00:19:18.400 --> 00:19:21.080
So 100x is one of our clients, but we're actually

428
00:19:21.080 --> 00:19:23.680
in the Raising Royalty page.

429
00:19:23.680 --> 00:19:24.720
So that's actually a bug.

430
00:19:24.720 --> 00:19:26.560
That should never have said that.

431
00:19:26.560 --> 00:19:29.040
And I'm a little embarrassed that we sent that to the client

432
00:19:29.040 --> 00:19:32.280
with someone else's client name in the thing.

433
00:19:32.280 --> 00:19:34.120
So you'll notice in the Wisdom one,

434
00:19:34.120 --> 00:19:37.360
we did away with all the captioning.

435
00:19:37.360 --> 00:19:38.400
Yeah.

436
00:19:38.400 --> 00:19:41.840
So delete that.

437
00:19:41.840 --> 00:19:43.760
And again, I'm going to check the page here.

438
00:19:43.760 --> 00:19:46.000
So we don't have the nav bar at the top.

439
00:19:46.000 --> 00:19:47.440
Don't have the nav bar there.

440
00:19:47.440 --> 00:19:51.360
But I see this is kind of at the top, so let's just zero that out.

441
00:19:53.760 --> 00:19:55.960
And it looks like there's a lot of extra padding here.

442
00:19:55.960 --> 00:19:57.440
Let's see where that padding is.

443
00:19:57.440 --> 00:20:01.040
It's kind of like the inspect element.

444
00:20:00.000 --> 00:20:05.600
tool, it's kind of like that, where you hover.

445
00:20:05.600 --> 00:20:08.560
So we're just looking for where this, why is this so separated?

446
00:20:19.200 --> 00:20:19.920
Oh, there we go.

447
00:20:19.920 --> 00:20:22.080
It's the logo again.

448
00:20:22.080 --> 00:20:25.520
So this logo is 24 and 10.

449
00:20:25.520 --> 00:20:28.320
Logo is 24, and that should be 10.

450
00:20:28.320 --> 00:20:28.800
Cool.

451
00:20:28.880 --> 00:20:30.640
So now I just click, click.

452
00:20:30.640 --> 00:20:31.520
Okay, it's looking good.

453
00:20:34.320 --> 00:20:36.480
It is a little wider here than this one.

454
00:20:36.480 --> 00:20:40.000
I'm not going to waste time on that.

455
00:20:40.000 --> 00:20:44.800
And then the big thing on this, because I actually was the one who made all these changes,

456
00:20:44.800 --> 00:20:49.760
like there's email string, and then there's these three parameters.

457
00:20:49.760 --> 00:20:51.680
And if I go back here, there's just the one.

458
00:20:51.680 --> 00:20:53.920
So let's get edit, hit add.

459
00:20:54.560 --> 00:20:56.480
And I'm not going to even try to be fancy.

460
00:20:56.480 --> 00:21:01.520
What I do is I just click on this, do this the long and slow way.

461
00:21:01.520 --> 00:21:03.840
Copy, paste.

462
00:21:05.040 --> 00:21:06.720
First time user is going to be a Boolean.

463
00:21:07.680 --> 00:21:10.000
And so we're just going to set Boolean here.

464
00:21:11.120 --> 00:21:15.760
And when I do this and hit confirm, it's going to go ahead and fix this for me,

465
00:21:15.760 --> 00:21:22.480
because it already knows it's looking for a first time user parameter on these other pages.

466
00:21:22.480 --> 00:21:25.200
So when I hit confirm, this should go down.

467
00:21:26.240 --> 00:21:27.040
Well, look at that.

468
00:21:29.040 --> 00:21:31.600
From 13 to 9, right?

469
00:21:33.440 --> 00:21:34.400
That was just the one.

470
00:21:34.400 --> 00:21:35.120
Let's keep going.

471
00:21:35.120 --> 00:21:36.800
So tribe user ID.

472
00:21:36.800 --> 00:21:40.240
Again, I'm just going to copy this so we get the casing exactly right.

473
00:21:42.800 --> 00:21:44.320
And then it's just going to be an integer.

474
00:21:45.680 --> 00:21:46.720
Hit yes.

475
00:21:47.920 --> 00:21:49.440
I'm just double checking it here.

476
00:21:49.440 --> 00:21:50.240
Integer, yep.

477
00:21:50.880 --> 00:21:53.600
And I'll go ahead and copy full name while in here.

478
00:21:53.600 --> 00:21:54.720
And it's going to be a string.

479
00:21:54.720 --> 00:21:59.760
So add, and full name is a string.

480
00:22:01.040 --> 00:22:02.240
OK, and then I hit confirm.

481
00:22:04.240 --> 00:22:04.640
Let's see.

482
00:22:04.640 --> 00:22:05.520
Oh, down four.

483
00:22:06.160 --> 00:22:06.660
Sweet.

484
00:22:07.280 --> 00:22:08.640
OK, it's getting there.

485
00:22:09.600 --> 00:22:14.400
OK, and then at this, so I've moved all the big pieces in here.

486
00:22:15.120 --> 00:22:19.120
And the one thing we don't need at all, and I just happen to know this,

487
00:22:19.120 --> 00:22:23.040
because I deleted it on other ones, is this one doesn't get used at all anymore.

488
00:22:23.040 --> 00:22:29.360
We've merged the new user has like activate my account or create my account.

489
00:22:29.360 --> 00:22:35.040
And it uses the Boolean of is this the first time user or not to show or hide that.

490
00:22:35.040 --> 00:22:37.520
So it says is not first time user.

491
00:22:38.160 --> 00:22:40.480
You know, and this is first time user.

492
00:22:40.480 --> 00:22:42.640
So it shows one of these buttons at a time.

493
00:22:43.360 --> 00:22:45.520
And it basically lets us, because you can see this one,

494
00:22:45.520 --> 00:22:47.680
it did almost the exact same thing.

495
00:22:47.680 --> 00:22:50.160
So I can actually delete the page entirely.

496
00:22:50.160 --> 00:22:52.080
And it potentially could cause some bugs.

497
00:22:52.080 --> 00:22:53.280
I'll just look there, seven.

498
00:22:54.000 --> 00:22:57.200
So we had other pages, of course, that were linking to this, it seems.

499
00:22:58.800 --> 00:23:02.240
And then the other thing I'm seeing here is we don't,

500
00:23:02.240 --> 00:23:04.480
we have this very fancy redirect page.

501
00:23:06.160 --> 00:23:09.760
And so we have to move this as well.

502
00:23:10.800 --> 00:23:14.160
So I'm just going to go in here and make a brand new page.

503
00:23:14.160 --> 00:23:16.800
I don't think, you can search here and say like logged.

504
00:23:16.800 --> 00:23:17.760
Yeah, redirect.

505
00:23:17.760 --> 00:23:18.960
No, so you don't have that.

506
00:23:18.960 --> 00:23:19.760
So I'm going to hit plus.

507
00:23:20.640 --> 00:23:23.840
And I'm going to just call it exactly logged in.

508
00:23:24.960 --> 00:23:27.680
Logged in redirect.

509
00:23:29.040 --> 00:23:33.360
Check casing, just make it completely new and blank.

510
00:23:34.000 --> 00:23:39.040
And so I'll go in here and they've got the container.

511
00:23:39.040 --> 00:23:40.560
So I'll just copy this.

512
00:23:40.560 --> 00:23:41.680
You can copy the page.

513
00:23:43.040 --> 00:23:45.840
Okay, that's a great, great question.

514
00:23:47.200 --> 00:23:50.960
So you can copy the page and then hit paste,

515
00:23:50.960 --> 00:23:54.800
but you can't paste a page into a non-empty page.

516
00:23:55.680 --> 00:23:57.200
Hang on a minute, but can you though?

517
00:23:57.200 --> 00:23:59.920
Wait, this is, hang on.

518
00:24:00.480 --> 00:24:01.440
Let's see, delete this.

519
00:24:02.640 --> 00:24:05.840
Oh, that is a new feature.

520
00:24:05.840 --> 00:24:06.800
That's amazing.

521
00:24:06.800 --> 00:24:08.160
I'm glad you asked me that question

522
00:24:08.160 --> 00:24:11.360
because there's a little goofy workaround where like,

523
00:24:11.360 --> 00:24:14.240
see how all the actions are attached to the page level.

524
00:24:14.960 --> 00:24:17.360
And what you have to do is you have to go here,

525
00:24:18.080 --> 00:24:20.640
copy all the actions below this.

526
00:24:20.640 --> 00:24:25.120
And you actually put it on the container temporarily.

527
00:24:25.120 --> 00:24:28.400
You put these actions, you would hit paste actions here.

528
00:24:28.400 --> 00:24:30.960
So you actually copied the actions there and you put it here.

529
00:24:30.960 --> 00:24:33.360
Then you copy this container, you move it over

530
00:24:33.360 --> 00:24:34.560
and then you basically reverse it

531
00:24:34.560 --> 00:24:36.240
and put it back into the top of the page.

532
00:24:36.240 --> 00:24:40.160
So it's a horrible process.

533
00:24:40.160 --> 00:24:42.000
But let me just go ahead and kill all this.

534
00:24:42.800 --> 00:24:45.200
Before I get too distracted, that's amazing.

535
00:24:46.480 --> 00:24:50.400
And the trick there is we just have to delete everything inside.

536
00:24:50.400 --> 00:24:53.280
So it was saying like, hey, it can't paste into a non-empty page.

537
00:24:54.400 --> 00:24:58.160
Before it said the logic was when you went to this one

538
00:24:58.160 --> 00:24:59.840
and you hit copy, it used to have a red.

539
00:25:00.000 --> 00:25:04.000
box that said it's not possible to copy a top-level page.

540
00:25:04.000 --> 00:25:05.760
So it didn't even let you copy it.

541
00:25:05.760 --> 00:25:07.480
So as soon as I copied it, I was like,

542
00:25:07.480 --> 00:25:10.040
I realize this isn't going to be good.

543
00:25:10.040 --> 00:25:11.160
That's cool.

544
00:25:11.160 --> 00:25:14.000
And so instead of wisdom, I'll say your account.

545
00:25:14.000 --> 00:25:17.200
That should be more generic.

546
00:25:17.200 --> 00:25:18.680
And then everything should be here.

547
00:25:18.680 --> 00:25:21.800
And it's, of course, introduced a bunch of other errors.

548
00:25:21.800 --> 00:25:24.600
And the other thing we want to do is go to the settings,

549
00:25:24.600 --> 00:25:26.560
go to authentication.

550
00:25:26.560 --> 00:25:28.640
And see, instead of going to the group list,

551
00:25:28.800 --> 00:25:31.800
we want to go to this logged in page.

552
00:25:31.800 --> 00:25:39.800
OK, navbar, OK, this is, OK, we have to, let's leave it here.

553
00:25:39.800 --> 00:25:43.480
This is another problem we ran into on the other project.

554
00:25:43.480 --> 00:25:46.680
These are very nuanced things.

555
00:25:46.680 --> 00:25:49.280
But let's come back to adding that.

556
00:25:49.280 --> 00:25:52.400
But basically, what it's complaining about

557
00:25:52.400 --> 00:25:59.320
is here we have this bar here, which is called a navbar.

558
00:25:59.320 --> 00:26:01.200
And it just goes between home and account.

559
00:26:01.200 --> 00:26:05.360
It actually really doesn't, it's not very helpful.

560
00:26:05.360 --> 00:26:07.560
And basically, we have to turn the navbar off.

561
00:26:07.560 --> 00:26:09.280
We don't use the navbar moving forward.

562
00:26:09.280 --> 00:26:11.880
So I'm just going to turn this off.

563
00:26:11.880 --> 00:26:13.720
And now when I go to authentication,

564
00:26:13.720 --> 00:26:16.240
and we go to list, there we go.

565
00:26:16.240 --> 00:26:18.160
It stays with no error.

566
00:26:18.160 --> 00:26:21.600
OK, and now it does mean we have to come back

567
00:26:21.600 --> 00:26:23.960
and now there's no way to get to your account.

568
00:26:23.960 --> 00:26:28.160
So the new version of the group list over here

569
00:26:28.160 --> 00:26:31.200
is that we have a little icon at the top, always.

570
00:26:31.200 --> 00:26:35.440
So you can, this can just jump you right to your page

571
00:26:35.440 --> 00:26:39.360
right there on any page.

572
00:26:39.360 --> 00:26:41.720
So we'll come back and add that here in a minute.

573
00:26:44.440 --> 00:26:46.840
And let's just, let's start working our way

574
00:26:46.840 --> 00:26:51.040
through all these authentication errors.

575
00:26:51.040 --> 00:26:52.640
I'm going to take a quick pause here,

576
00:26:52.640 --> 00:26:55.280
if there's anything you have questions on

577
00:26:55.280 --> 00:26:56.920
or just want to keep going.

578
00:26:56.920 --> 00:26:58.080
No, oh yeah, for sure.

579
00:26:58.080 --> 00:26:59.640
No, that's better.

580
00:26:59.640 --> 00:27:01.480
Good.

581
00:27:01.480 --> 00:27:05.560
OK, so one thing I realized as well,

582
00:27:05.560 --> 00:27:08.240
just to come back, I was thinking about it,

583
00:27:08.240 --> 00:27:11.360
is let's just go to the very top here.

584
00:27:11.360 --> 00:27:14.800
We do, because I was copying containers,

585
00:27:14.800 --> 00:27:18.200
I didn't copy the actions that were up here.

586
00:27:18.200 --> 00:27:20.360
So if I click here, there's three actions.

587
00:27:20.360 --> 00:27:26.760
And if I come over here, there are eight actions, OK?

588
00:27:26.760 --> 00:27:31.400
So you can't, well, let's try it real quick,

589
00:27:31.400 --> 00:27:34.360
because I always want to see, which

590
00:27:34.360 --> 00:27:37.120
would be great is if you could copy all those actions,

591
00:27:37.120 --> 00:27:40.320
come over here, hit open.

592
00:27:40.320 --> 00:27:41.720
We don't need any of these anyway,

593
00:27:41.720 --> 00:27:43.800
so I'm just going to delete them all.

594
00:27:43.800 --> 00:27:46.320
And see, it doesn't let you paste it, which it should.

595
00:27:46.320 --> 00:27:49.480
If you move them between inside the same project,

596
00:27:49.480 --> 00:27:52.080
it works, but it doesn't work when you try

597
00:27:52.080 --> 00:27:54.400
to move them across projects.

598
00:27:54.400 --> 00:27:59.720
So I'm going to do the little trick that I

599
00:27:59.720 --> 00:28:00.640
was going to do there.

600
00:28:00.640 --> 00:28:03.120
I was going to copy this down here.

601
00:28:03.120 --> 00:28:09.320
I'm going to put it on this logo for temporarily.

602
00:28:09.320 --> 00:28:11.040
Paste actions.

603
00:28:11.040 --> 00:28:15.000
And then I'm going to click on this logo, hit copy.

604
00:28:15.000 --> 00:28:18.800
We're going to click into this logo and hit paste.

605
00:28:18.840 --> 00:28:19.640
Click on this.

606
00:28:22.440 --> 00:28:24.080
So copy, edit.

607
00:28:24.080 --> 00:28:26.640
I'm in the same project now, so I can go back to this one

608
00:28:26.640 --> 00:28:27.680
and say paste actions.

609
00:28:27.680 --> 00:28:28.320
And there we go.

610
00:28:28.320 --> 00:28:29.400
We just did it.

611
00:28:29.400 --> 00:28:32.720
And then all I got to do is delete this logo.

612
00:28:32.720 --> 00:28:35.160
And then just remember to go here.

613
00:28:35.160 --> 00:28:37.400
Obviously, we don't need it to do all that.

614
00:28:37.400 --> 00:28:39.400
Delete actions there.

615
00:28:39.400 --> 00:28:41.680
OK.

616
00:28:41.680 --> 00:28:43.240
And a good thing to keep in mind when

617
00:28:43.240 --> 00:28:45.520
you're going between the main project

618
00:28:45.520 --> 00:28:48.520
is, did I leave any errors?

619
00:28:48.520 --> 00:28:50.800
What I just did there created a few errors.

620
00:28:50.800 --> 00:28:54.160
So that was a good catch to make sure I didn't accidentally

621
00:28:54.160 --> 00:28:56.080
leave that on the wrong level.

622
00:28:56.080 --> 00:29:00.000
And then now there's like, in copying stuff from the master,

623
00:29:00.000 --> 00:29:02.720
I've actually messed the master up.

624
00:29:02.720 --> 00:29:07.560
So now we go here, and we look at the top level.

625
00:29:07.560 --> 00:29:09.440
We've got three actions.

626
00:29:09.440 --> 00:29:11.440
And this all looks very good.

627
00:29:11.440 --> 00:29:13.160
Oh, I do see an error.

628
00:29:13.160 --> 00:29:18.040
So navigate to the challenge home page.

629
00:29:18.120 --> 00:29:27.720
If successful, what we actually want to do, I see.

630
00:29:27.720 --> 00:29:31.200
So if it's not group home challenge, no.

631
00:29:31.200 --> 00:29:33.480
Yeah, it should actually go to the entry.

632
00:29:33.480 --> 00:29:37.640
So if it says user is logged in, then test the network.

633
00:29:37.640 --> 00:29:40.120
This just sees if the internet, basically,

634
00:29:40.120 --> 00:29:43.240
if they're connected to the internet, if so.

635
00:29:43.240 --> 00:29:45.280
And here it just says, please check your internet

636
00:29:45.280 --> 00:29:47.040
connections if it fails.

637
00:29:47.080 --> 00:29:48.760
And this, instead of the group home page,

638
00:29:48.760 --> 00:29:54.000
should actually go to the redirect page.

639
00:29:54.000 --> 00:29:59.240
And let's remove that.

640
00:29:59.240 --> 00:30:01.360
User is logged in.

641
00:30:00.000 --> 00:30:04.840
And, uh, test network, if it works in them, it should always go to the redirect

642
00:30:04.840 --> 00:30:07.240
because the redirect will send them wherever they're supposed to go.

643
00:30:08.200 --> 00:30:11.440
And I normally wouldn't do this, but that is, that's actually a,

644
00:30:11.640 --> 00:30:13.040
that's actually a mistake here.

645
00:30:13.240 --> 00:30:17.600
Um, The users don't get to this page.

646
00:30:17.640 --> 00:30:20.040
If they're logged in already, they get redirected.

647
00:30:20.040 --> 00:30:25.800
So this is a little bit redundant, but for the sake of like, you know, accurate,

648
00:30:25.800 --> 00:30:31.200
I would even argue that you could delete this whole on page load action and it

649
00:30:31.200 --> 00:30:37.160
wouldn't affect the app at all because up at this level on the, on the authentication

650
00:30:37.160 --> 00:30:39.920
is it's splitting it, see it's entry redirect.

651
00:30:39.960 --> 00:30:41.320
Well, we'll talk about that in a second.

652
00:30:41.720 --> 00:30:47.400
And the login redirect is just make sure that if someone is logged in, we, we, we

653
00:30:47.400 --> 00:30:50.800
kick them out of that login sequence and send them where they're supposed to go.

654
00:30:50.800 --> 00:30:54.320
Just for whatever reason, if they landed on the wrong page, for some reason, we

655
00:30:54.320 --> 00:30:56.040
would redirect them where they need to go.

656
00:30:56.880 --> 00:30:58.960
Um, let's go to new user.

657
00:30:59.000 --> 00:31:00.600
So there's no actions here.

658
00:31:00.920 --> 00:31:02.680
Returning user, no actions.

659
00:31:02.680 --> 00:31:04.400
They're logged in redirect.

660
00:31:04.400 --> 00:31:09.560
We obviously moved all those actions over for the, and then let's just move this.

661
00:31:09.560 --> 00:31:10.760
Can we move this into this one?

662
00:31:10.800 --> 00:31:11.480
Yeah, there we go.

663
00:31:12.800 --> 00:31:13.800
You can't move it out.

664
00:31:14.200 --> 00:31:14.800
Interesting.

665
00:31:14.840 --> 00:31:15.800
Can I try now?

666
00:31:17.680 --> 00:31:18.160
That's weird.

667
00:31:18.160 --> 00:31:18.400
Yeah.

668
00:31:19.120 --> 00:31:24.240
The funniest, I wonder if you move it out, like up here.

669
00:31:25.440 --> 00:31:25.960
Yeah.

670
00:31:26.200 --> 00:31:27.080
So you move it out of it.

671
00:31:27.080 --> 00:31:29.120
You can move it back in now to one.

672
00:31:29.960 --> 00:31:30.520
There you go.

673
00:31:31.920 --> 00:31:36.720
That's a, that's a great example of a little quirkiness from, from Flutter flow

674
00:31:36.720 --> 00:31:37.280
for you.

675
00:31:37.920 --> 00:31:41.760
Um, you can't move it from one folder to the other, but you can move it out of the

676
00:31:41.760 --> 00:31:44.760
folder and then into another folder in two steps.

677
00:31:44.760 --> 00:31:52.840
So see, I know, I know how to get, um, okay, we don't need the lock screen, but

678
00:31:52.840 --> 00:31:55.240
I'll, I'll leave it there just for now.

679
00:31:55.280 --> 00:31:55.480
Okay.

680
00:31:55.480 --> 00:31:57.120
So let's go 11 bugs here.

681
00:31:57.480 --> 00:32:02.920
We have all these like navigation, so let's just start at the top and what it's

682
00:32:02.920 --> 00:32:05.800
going to hear immediately.

683
00:32:05.800 --> 00:32:08.360
It's looking for a page that now doesn't exist.

684
00:32:08.360 --> 00:32:11.280
So this is actually an old version.

685
00:32:11.280 --> 00:32:15.120
Like we used to have all the login stuff in components and then we could move the

686
00:32:15.120 --> 00:32:16.200
components around.

687
00:32:16.760 --> 00:32:19.520
Um, it, it doesn't work very well that way.

688
00:32:19.520 --> 00:32:24.480
So what we can actually do is just wipe this entire component out completely.

689
00:32:25.800 --> 00:32:27.920
That should fix two bugs right there.

690
00:32:29.040 --> 00:32:35.640
Um, so API cannot configured back in group call set password response.

691
00:32:35.640 --> 00:32:37.200
So this is set password.

692
00:32:39.840 --> 00:32:40.080
Okay.

693
00:32:40.080 --> 00:32:42.280
So it's looking for the set password API.

694
00:32:42.280 --> 00:32:48.840
And if I go here to the API, what probably is here, I don't know if you can search

695
00:32:48.840 --> 00:32:55.440
these, but there's one called set password and this on this API list probably doesn't

696
00:32:55.440 --> 00:32:56.960
exist and that's the problem.

697
00:32:56.960 --> 00:32:58.360
There's reset password.

698
00:32:59.200 --> 00:33:08.200
That's a great example of, so for the sake of, again, just not going crazy, let's just

699
00:33:08.200 --> 00:33:11.360
hit reset and I'm just going to potentially move.

700
00:33:12.880 --> 00:33:13.560
Oh, sorry.

701
00:33:13.560 --> 00:33:13.760
Sorry.

702
00:33:13.760 --> 00:33:14.920
Those are two different steps.

703
00:33:14.960 --> 00:33:15.200
Sorry.

704
00:33:15.200 --> 00:33:18.560
That is, I cannot just rename stuff like that.

705
00:33:18.840 --> 00:33:19.760
So we'll go in here.

706
00:33:19.880 --> 00:33:24.760
We'll create a new, I'm just making sure that really isn't, it's the same route, but

707
00:33:24.760 --> 00:33:26.120
we do different things to it.

708
00:33:26.120 --> 00:33:31.960
So I'm going to go ahead and hit plus and Hey, say, um, call, and then I'm just going

709
00:33:31.960 --> 00:33:33.880
to be really simple here.

710
00:33:33.880 --> 00:33:36.280
Get, or we're going to need to post.

711
00:33:37.280 --> 00:33:38.440
So this is the correct one.

712
00:33:38.520 --> 00:33:39.520
I'm just going to copy.

713
00:33:40.520 --> 00:33:41.280
I'm going to paste.

714
00:33:42.600 --> 00:33:43.360
I'm going to go to body.

715
00:33:44.480 --> 00:33:44.800
Yes.

716
00:33:45.160 --> 00:33:46.720
And you kind of want to build this backwards.

717
00:33:46.720 --> 00:33:48.520
So let me go here to variables.

718
00:33:49.560 --> 00:33:53.040
So a little painful to do.

719
00:33:53.040 --> 00:33:59.200
And again, it'd be great if we could share, um, this across projects.

720
00:33:59.200 --> 00:34:03.360
Cause these API calls obviously are the same for all of tribe.

721
00:34:03.480 --> 00:34:06.720
Like there's not one client that has certain calls that others don't.

722
00:34:06.760 --> 00:34:09.000
They all, they're all the same.

723
00:34:09.920 --> 00:34:12.480
Um, integer string, string,

724
00:34:17.239 --> 00:34:18.600
string, string.

725
00:34:19.199 --> 00:34:19.440
Okay.

726
00:34:19.440 --> 00:34:22.880
And then as anything persisted now, and there's no default values.

727
00:34:23.199 --> 00:34:29.639
So in the body, now, if I go here, I can copy all this body.

728
00:34:30.639 --> 00:34:32.880
Jason copy.

729
00:34:32.880 --> 00:34:33.239
That's it.

730
00:34:33.239 --> 00:34:36.400
It just connects all the variables back because I use the exact

731
00:34:36.400 --> 00:34:38.880
same titling and everything.

732
00:34:38.880 --> 00:34:40.280
And then headers.

733
00:34:40.280 --> 00:34:41.560
I don't think there's nothing there.

734
00:34:41.639 --> 00:34:42.040
Oh, sorry.

735
00:34:42.040 --> 00:34:42.600
This one.

736
00:34:44.360 --> 00:34:48.080
Good variables advanced is just those two.

737
00:34:48.120 --> 00:34:48.320
Yeah.

738
00:34:48.320 --> 00:34:48.920
Which is the same.

739
00:34:48.960 --> 00:34:49.199
Okay.

740
00:34:49.199 --> 00:34:53.000
So let's add call and that already should fix it.

741
00:34:53.000 --> 00:34:53.400
There you go.

742
00:34:53.400 --> 00:34:56.920
It went from nine to eight and that was just a quick little check of one.

743
00:34:58.000 --> 00:34:59.120
It's all the bugs somewhere.

744
00:34:59.120 --> 00:34:59.600
So I.

745
00:35:00.000 --> 00:35:03.560
I don't even have to think about it now.

746
00:35:03.560 --> 00:35:07.360
So let's go to Action here.

747
00:35:07.360 --> 00:35:09.960
Platform ID, OK, exactly the same problem

748
00:35:09.960 --> 00:35:12.680
as if we hit Edit API, Paul.

749
00:35:12.680 --> 00:35:14.200
This is on the sign-in.

750
00:35:14.200 --> 00:35:18.320
So again, we're just syncing all these routes at the moment.

751
00:35:18.320 --> 00:35:21.000
That's what's missing.

752
00:35:21.000 --> 00:35:24.520
Go to Body, so this has Platform ID variables.

753
00:35:24.520 --> 00:35:26.560
It's missing again, because we added this to all

754
00:35:26.560 --> 00:35:28.240
the authentication screens now.

755
00:35:28.400 --> 00:35:29.920
Platform ID, yeah.

756
00:35:29.920 --> 00:35:31.760
Yeah, platform, it's going to be bigger.

757
00:35:34.360 --> 00:35:36.600
OK, and then the body is just going to have, again,

758
00:35:36.600 --> 00:35:39.320
I'm just going to copy all, paste all.

759
00:35:39.320 --> 00:35:41.880
Or you can just add it.

760
00:35:41.880 --> 00:35:45.000
And then, yeah, OK, cool.

761
00:35:45.000 --> 00:35:46.280
So this one, let's save.

762
00:35:46.280 --> 00:35:48.120
And that just, again, waiting for it.

763
00:35:48.120 --> 00:35:51.440
It should, there you go, it goes to seven.

764
00:35:51.440 --> 00:35:55.240
So JWT token, OK, perfect.

765
00:35:55.240 --> 00:35:59.040
So this is great.

766
00:35:59.040 --> 00:36:03.080
So now we're going to really break,

767
00:36:03.080 --> 00:36:05.960
we're really going to break it, because I'm

768
00:36:05.960 --> 00:36:09.920
going to pull the main tribe variable.

769
00:36:09.920 --> 00:36:14.440
So every call we make back to tribe API uses,

770
00:36:14.440 --> 00:36:18.280
sorry, this one local state called API token,

771
00:36:18.280 --> 00:36:21.080
and it stores it in local storage.

772
00:36:21.080 --> 00:36:23.320
We found that doesn't work very well,

773
00:36:23.360 --> 00:36:24.600
especially when you're jumping in and out

774
00:36:24.600 --> 00:36:26.040
of different accounts.

775
00:36:26.040 --> 00:36:27.880
So what we did in the new version

776
00:36:27.880 --> 00:36:31.640
is we actually deleted that entirely.

777
00:36:31.640 --> 00:36:35.560
And in the Firebase, we made a new thing

778
00:36:35.560 --> 00:36:39.400
called tribe token right here.

779
00:36:39.400 --> 00:36:43.000
And so what I'm going to do now is go into user,

780
00:36:43.000 --> 00:36:45.600
and you can see I'm in the database.

781
00:36:45.600 --> 00:36:47.760
This is the Firestore database.

782
00:36:47.760 --> 00:36:51.040
Now this has user, and this has user.

783
00:36:51.040 --> 00:36:53.520
I'm not worried about all the other things it's missing.

784
00:36:53.520 --> 00:36:55.840
That's OK at this point.

785
00:36:55.840 --> 00:36:58.520
It's just tribe, capital token, strings.

786
00:36:58.520 --> 00:37:02.240
We're just going to go in here and say tribe, token,

787
00:37:02.240 --> 00:37:04.680
and string, and hit the checkbox.

788
00:37:04.680 --> 00:37:06.280
You have to hit the checkbox.

789
00:37:06.280 --> 00:37:09.840
And that should immediately fix these four problems

790
00:37:09.840 --> 00:37:11.120
just by adding that variable.

791
00:37:11.120 --> 00:37:14.200
So if you can just keep an eye on this,

792
00:37:14.200 --> 00:37:17.400
it's very helpful, because you don't have to even know where

793
00:37:17.400 --> 00:37:18.720
all those things were connected.

794
00:37:18.720 --> 00:37:19.440
It's very smart.

795
00:37:19.440 --> 00:37:20.880
It says, oh, I was needing this.

796
00:37:20.880 --> 00:37:21.760
You gave it to me.

797
00:37:21.760 --> 00:37:24.880
I'm marking this as completed for you.

798
00:37:24.880 --> 00:37:27.560
It's kind of like running your automated tests

799
00:37:27.560 --> 00:37:31.560
on every move, right?

800
00:37:31.560 --> 00:37:36.640
So a token, incorrect, so let's go to this one.

801
00:37:36.640 --> 00:37:37.520
So it's going custom.

802
00:37:41.120 --> 00:37:43.800
Oh, and then so what we're also wanting to do here

803
00:37:43.800 --> 00:37:46.120
is this is the JWT token.

804
00:37:46.120 --> 00:37:54.280
And on this sign-in call, go back to the sign-in call here

805
00:37:54.280 --> 00:37:55.760
and go to the response.

806
00:37:55.760 --> 00:37:56.960
So it'll say we sign in.

807
00:37:56.960 --> 00:37:59.720
Let's just try this.

808
00:37:59.720 --> 00:38:07.680
OK, down here, you can save these tabs here

809
00:38:07.680 --> 00:38:10.640
as just as an easier way to get to it.

810
00:38:10.640 --> 00:38:15.000
So if I go down here, all it's saying is like, again,

811
00:38:15.000 --> 00:38:16.840
I kind of have the cheat sheet, because I just

812
00:38:16.840 --> 00:38:19.240
did this like last week.

813
00:38:19.240 --> 00:38:23.520
But you can just see here's all the things here,

814
00:38:23.520 --> 00:38:25.480
and it just doesn't have it here.

815
00:38:25.480 --> 00:38:27.120
So I would just hit Add here.

816
00:38:27.120 --> 00:38:29.440
I would paste it, and then I give it a name.

817
00:38:29.440 --> 00:38:31.960
And I want to name it exactly the same,

818
00:38:31.960 --> 00:38:33.880
because if you look at my bug here,

819
00:38:33.880 --> 00:38:39.400
it's saying token is incorrectly set to this JWT token.

820
00:38:39.400 --> 00:38:42.040
It doesn't know, doesn't have this variable.

821
00:38:42.040 --> 00:38:43.600
So I'm going to paste it here.

822
00:38:43.600 --> 00:38:44.440
Hit Save.

823
00:38:44.440 --> 00:38:46.480
That should solve that one.

824
00:38:46.480 --> 00:38:50.360
3.43.

825
00:38:50.360 --> 00:38:55.520
And then navigation sets to navigate to group page.

826
00:38:55.520 --> 00:38:57.000
I don't have that page.

827
00:38:57.000 --> 00:38:58.360
Go to redirect now.

828
00:38:58.360 --> 00:39:00.240
Navigate to group.

829
00:39:00.240 --> 00:39:02.040
Yes, is user signed in?

830
00:39:02.040 --> 00:39:05.520
We should go to, yeah, at this point,

831
00:39:05.520 --> 00:39:08.680
we could just navigate it to the entry.

832
00:39:08.680 --> 00:39:12.400
And you can, this could be a little different.

833
00:39:12.400 --> 00:39:14.400
Yes, it would do the same thing.

834
00:39:14.400 --> 00:39:16.320
If you want to do logged in redirect,

835
00:39:16.320 --> 00:39:19.280
it would basically say, oh, wait, you're not logged out.

836
00:39:19.280 --> 00:39:22.000
So let's click on that and go back to here.

837
00:39:22.000 --> 00:39:24.600
Let's see what happens on the log.

838
00:39:24.600 --> 00:39:26.040
More issue.

839
00:39:26.040 --> 00:39:27.120
Yeah, yeah.

840
00:39:27.120 --> 00:39:29.360
So we probably, so is user logged in?

841
00:39:29.360 --> 00:39:32.840
It just sends you to the logged in redirect.

842
00:39:32.840 --> 00:39:34.760
Hang on, wait, that's, what?

843
00:39:34.760 --> 00:39:36.320
Is it sending it to itself?

844
00:39:36.320 --> 00:39:37.680
Wait, hang on a second.

845
00:39:37.680 --> 00:39:40.280
Logged in redirect.

846
00:39:40.280 --> 00:39:41.280
Is user logged in?

847
00:39:41.280 --> 00:39:43.920
OK, that's a mistake.

848
00:39:44.000 --> 00:39:45.840
Let's just see.

849
00:39:45.840 --> 00:39:47.720
That's actually a mistake in here, I think.

850
00:39:47.720 --> 00:39:48.640
That's where I copied it.

851
00:39:48.640 --> 00:39:49.680
Oh, no, see, this is group.

852
00:39:49.680 --> 00:39:50.880
Oh, OK, yeah, yeah, OK.

853
00:39:50.880 --> 00:39:53.520
Now it should go to the main page.

854
00:39:53.520 --> 00:39:54.840
Yeah, we don't want it to go here.

855
00:39:54.840 --> 00:39:58.960
We can, so what I'm going to do is just, if they're logged out,

856
00:39:58.960 --> 00:40:00.960
I'm just going to send them to the log.

857
00:40:00.000 --> 00:40:03.400
login page, which is the entry page.

858
00:40:03.400 --> 00:40:05.280
And I'm gonna remove all these things here.

859
00:40:05.280 --> 00:40:06.120
Okay, okay.

860
00:40:08.320 --> 00:40:09.520
So this is a little bit different

861
00:40:09.520 --> 00:40:12.360
because I happen to know that that client

862
00:40:12.360 --> 00:40:14.840
has a version where you can actually use the app

863
00:40:14.840 --> 00:40:16.280
without an account.

864
00:40:16.280 --> 00:40:19.280
Whereas this client, they want everybody to be an account,

865
00:40:19.280 --> 00:40:21.180
they have an account.

866
00:40:21.180 --> 00:40:22.580
So it's a little different.

867
00:40:25.000 --> 00:40:25.880
Okay, let's keep going.

868
00:40:25.880 --> 00:40:26.720
What do we got?

869
00:40:26.720 --> 00:40:27.540
Two, okay, cool.

870
00:40:27.540 --> 00:40:29.800
It's getting down to two.

871
00:40:29.800 --> 00:40:32.180
So if I click on this, and just,

872
00:40:32.180 --> 00:40:34.860
so it's highlighting it here, but I'm looking around.

873
00:40:34.860 --> 00:40:38.100
So you can see this one's kind of highlighted in purple.

874
00:40:38.100 --> 00:40:40.460
That's how we know what we're looking at.

875
00:40:40.460 --> 00:40:43.280
Oops, undo that, cool.

876
00:40:43.280 --> 00:40:47.900
Okay, so in here, it's saying first thing,

877
00:40:47.900 --> 00:40:50.380
and it's looking for the same response,

878
00:40:50.380 --> 00:40:51.740
a get status response.

879
00:40:51.740 --> 00:40:53.500
If I click into this one,

880
00:40:53.500 --> 00:40:56.220
it's saying that if I go in here,

881
00:40:56.220 --> 00:40:58.420
and under my response here,

882
00:40:58.420 --> 00:41:01.640
it doesn't have the Firebase user ID.

883
00:41:01.640 --> 00:41:03.160
And this is, what is this called?

884
00:41:03.160 --> 00:41:05.840
This is a get status.

885
00:41:05.840 --> 00:41:07.520
So let's go over to this one.

886
00:41:12.720 --> 00:41:14.960
We're definitely throwing you in the deep end here

887
00:41:14.960 --> 00:41:15.800
because-

888
00:41:15.800 --> 00:41:17.240
I can see it.

889
00:41:17.240 --> 00:41:18.440
This is very, oh yeah.

890
00:41:18.440 --> 00:41:20.280
It's sending me now, yeah.

891
00:41:20.280 --> 00:41:22.040
Oh yeah, yeah, there we go.

892
00:41:22.040 --> 00:41:23.440
Response.

893
00:41:23.440 --> 00:41:24.720
So here, we just don't,

894
00:41:24.720 --> 00:41:26.480
we didn't have this tribe face.

895
00:41:26.940 --> 00:41:28.660
Same problem as the other one.

896
00:41:28.660 --> 00:41:30.360
Again, I'm just gonna paste that.

897
00:41:31.700 --> 00:41:33.580
Copy this.

898
00:41:33.580 --> 00:41:35.420
Paste that.

899
00:41:35.420 --> 00:41:38.020
Okay, and I'll just double check that.

900
00:41:38.020 --> 00:41:39.900
Again, let's save this.

901
00:41:39.900 --> 00:41:42.020
That should fix that problem.

902
00:41:42.020 --> 00:41:43.140
Goes to one.

903
00:41:43.140 --> 00:41:45.660
And then this last problem here,

904
00:41:45.660 --> 00:41:46.980
it just says custom function.

905
00:41:46.980 --> 00:41:48.780
So what happens is,

906
00:41:48.780 --> 00:41:51.980
every time you make big changes in Flutter flow,

907
00:41:51.980 --> 00:41:55.580
it panics and says it needs to run like a compiling thing.

908
00:41:55.600 --> 00:41:58.840
So if you click on it and you just wait,

909
00:41:58.840 --> 00:41:59.680
there you go.

910
00:41:59.680 --> 00:42:01.040
We're bug free now.

911
00:42:01.040 --> 00:42:04.240
It just wants to go run like a little validation.

912
00:42:04.240 --> 00:42:06.040
Like it's like a lint,

913
00:42:06.040 --> 00:42:09.240
essentially for all your custom functions.

914
00:42:09.240 --> 00:42:12.280
But what happened is when a lot of stuff changes

915
00:42:12.280 --> 00:42:14.480
or database things change or all of that,

916
00:42:14.480 --> 00:42:16.900
it wants to go do that again.

917
00:42:16.900 --> 00:42:20.680
Why it doesn't just run it behind the scenes for you

918
00:42:20.680 --> 00:42:22.000
when it needs it, I don't know.

919
00:42:22.000 --> 00:42:23.520
It needs you to click on it and be like,

920
00:42:23.520 --> 00:42:25.860
hey, check this again for errors.

921
00:42:25.860 --> 00:42:29.060
And then when it's free, it's actually will work.

922
00:42:29.060 --> 00:42:33.300
So the last thing that we'll do is we have,

923
00:42:34.300 --> 00:42:35.780
and I'm probably going to go ahead and like pause.

924
00:42:35.780 --> 00:42:37.080
So at this point, it's actually has that

925
00:42:37.080 --> 00:42:38.660
we have a usable app.

926
00:42:38.660 --> 00:42:41.060
We've got all the bugs fixed.

927
00:42:41.060 --> 00:42:42.980
And there's one last step that we will do.

928
00:42:42.980 --> 00:42:46.220
And I'll do this in another videos, how to update.

929
00:42:46.220 --> 00:42:50.000
Currently, all the calls are still using this token.

930
00:42:50.000 --> 00:42:51.820
And I know that because if I deleted this,

931
00:42:51.820 --> 00:42:55.560
we'd have 60 errors that would pop up roughly.

932
00:42:55.560 --> 00:42:58.040
So the last piece which I'll do in this next video

933
00:42:58.040 --> 00:43:00.760
is we will delete this and then we'll go update

934
00:43:00.760 --> 00:43:04.280
all the routes to now use that new token

935
00:43:04.280 --> 00:43:08.360
that's stored in the user of Firebase.

936
00:43:08.360 --> 00:43:09.660
That's what we want to do.
