0:00:24
what is going on guys welcome back to
0:00:27
another session of build break and fix
0:00:29
and brought to you by the rule coders
0:00:33
you might be wondering that the other
0:00:35
role coder isn't here well is on his way
0:00:39
um and let's get ready to welcome tori
0:00:44
right as soon as it comes
0:00:46
all right so i hope you're all doing
0:00:48
really really well um and um
0:00:51
had a great day as well
0:00:54
and so just for starters let's play the
0:00:59
acknowledgement or of the country and
0:01:01
get ready to acknowledge all the elders
0:01:07
elders and we can take it from there
0:01:10
hey torrey welcome in good luck
0:01:22
i said thanks thanks for having me
0:01:27
all right so let's acknowledge the
0:01:32
i begin today by acknowledging the
0:01:34
traditional custodians of the land on
0:01:36
which we gather today and pay my
0:01:38
respects to the elders past present and
0:01:40
future i extend their respect to
0:01:43
aboriginal and torres strait islander
0:01:50
that was really good
0:01:52
uh so how are we feeling
0:01:59
in a bit of a haircut
0:02:05
i've been coding all day yeah so i feel
0:02:13
your commitment man and your pers
0:02:17
well it's honestly it's fun so i enjoy
0:02:29
cherry juice is it
0:02:35
it's it's actually rosella tea
0:02:42
i know rose really had
0:02:53
it's a little bit flowery a little bit
0:02:59
a little bit sour i'd say
0:03:02
okay so yeah and a little bit berry
0:03:04
flavor i guess but not not too strong i
0:03:09
put it in some water and i just let it
0:03:17
i have actually heard that
0:03:22
a tea bag sit in the water for at least
0:03:25
three minutes then its actual taste
0:03:31
if it's hot if it's hot yeah i just like
0:03:34
cold cold through it
0:03:43
iced tea person are you
0:03:45
well yeah here when it's warm sure and
0:03:47
then if it's like if it's winter in
0:03:50
australia then yeah i'm gonna drink hot
0:03:56
combination isn't it
0:04:03
uh actually that's my cousin
0:04:11
which mug i think he's talking about
0:04:16
i don't have a mug
0:04:19
you had a very small
0:04:23
thank you yeah thank you appreciate that
0:04:27
cool um so since i couldn't really
0:04:30
make it yes today because uh the meeting
0:04:35
went longer than i
0:04:41
do you want to give us uh a bit of an
0:04:44
update as in how we
0:04:46
did and how you went and
0:04:54
um finesse and i we
0:05:04
i guess the biggest thing was
0:05:06
here i'll share my screen actually it'll
0:05:13
so the biggest the biggest thing we
0:05:19
going over what i did in cloudfront and
0:05:22
i actually actually did that off the
0:05:31
uh so i did that off the stream actually
0:05:33
but then i told finesse like what i did
0:05:38
all right let's see
0:05:42
i don't know if i need to zoom in a
0:05:43
little bit on my screen
0:05:47
hopefully that's better
0:05:52
oh that's too big that's
0:06:00
all right whatever just gonna reset this
0:06:04
we have our we have scrumbler uh
0:06:08
on cloudfront right
0:06:11
yes yes so this this is the this is the
0:06:15
scrumbler distribution
0:06:20
um all i did was add this um error page
0:06:25
so you go here to create a custom error
0:06:37
why did it fail that's weird
0:06:41
feel to load distribution um are you
0:06:57
your personal account or no it kicked me
0:07:03
right because i did
0:07:06
convert the account id into the alias
0:07:09
though i don't know if
0:07:14
no it's just because i hadn't refreshed
0:07:16
the browser like i had this window this
0:07:18
tab open for a long time
0:07:24
um gag dev so uh i had this work
0:07:28
meeting and that went uh
0:07:35
it was an important one as
0:07:43
flesh i'm really thankful to them how
0:07:47
took my last minute notice and story
0:07:55
i appreciate you yeah absolutely thanks
0:08:04
yeah so the meeting was
0:08:14
why it was a bit odd yeah
0:08:27
so if you create a custom error page got
0:08:30
some error response basically that
0:08:34
do a couple things but one of the things
0:08:36
is you can basically create these
0:08:38
redirects so all i did is
0:08:46
click yes and then this
0:08:51
index.html which is the board
0:08:56
and then i just gave a response
0:09:02
so that that managed to fix that
0:09:06
404 keynote found s3 error
0:09:14
so essentially what you
0:09:29
when it's supposed to go for
0:09:36
yeah now though the one problem with
0:09:38
this is as you notice
0:09:48
you can't you can't add another 404
0:09:56
there's any 404 on the
0:09:59
and somebody tries to go to scrumbler on
0:10:04
whatever that doesn't exist they're
0:10:06
going to get redirected to
0:10:10
so that's that's a caveat
0:10:21
figure out a workaround for that
0:10:38
i guess gave me a heart attack somebody
0:10:40
just came to the door
0:10:49
i guess your dog added a bit of a remix
0:10:52
to the background music
0:10:58
yeah so to damage to demonstrate any of
0:11:07
right like the url that totally doesn't
0:11:17
well what happened
0:11:22
this is this entire css
0:11:26
has been found what the heck what is
0:11:34
oh okay i i am i am wrong so i guess if
0:11:39
it's a different path name
0:11:44
something else entirely
0:11:47
what is this the example board
0:11:52
wait this must change all right
0:11:56
yeah this must be there
0:12:00
let's check the network request
0:12:04
oh okay so it's just some error in the
0:12:13
refresh the page here
0:12:23
so we're getting something
0:12:33
just plug my laptop on charge
0:12:48
juice the bad boy up
0:13:01
this looks like index.html
0:13:07
so i think i think what happened is
0:13:09
there's some error
0:13:12
it's some error on the client side
0:13:18
well if we do if we do
0:13:22
and we get rid of this other path here
0:13:29
i think there's something client inside
0:13:33
there's some bad bad javascript or
0:13:35
something that's causing that probably
0:13:42
yeah i guess um um
0:13:46
a bug that we can basically come back to
0:13:52
we will log that in
0:13:54
jira as well so we actually don't don't
0:14:05
what i was gonna say is
0:14:11
create a brand new board and i'll go in
0:14:14
the aws account and delete
0:14:23
connection ids and
0:14:26
and then we can check
0:14:32
two people connect to the board
0:14:38
okay yeah let's see
0:14:45
what were you gonna say sorry
0:14:47
um all i was gonna say is that i think
0:14:49
it will work fine the thing is is that
0:14:53
as far as i know there's no
0:14:55
client-side code to get the board info
0:15:04
so that's that's something
0:15:08
that's something i was trying to do with
0:15:11
that basically just started yesterday
0:15:14
where if somebody lands on the board
0:15:27
get request to the lambda to api gateway
0:15:30
to dynamodb to get all the board info
0:15:33
i'm sure you know where that function
0:15:36
yes and at the moment that's actually
0:15:39
taking a board id not a board name
0:15:45
i've got few approaches that we can go
0:15:53
at the time because
0:15:55
i always like to as in kind of
0:16:04
let's um i'll go in
0:16:16
go to our tables and
0:16:21
that's in north virginia which is the
0:16:26
connections okay cool
0:16:28
explore table items okay so if you want
0:16:32
create a brand new board
0:16:48
if you're not going ah here we go
0:16:53
and if you send me the url
0:16:59
that board is named after you
0:17:02
oh that's my boat then
0:17:07
okay so we're just gonna work
0:17:11
i don't continue constantly please i was
0:17:14
just making a joke it's okay it's
0:17:18
okay so the board i
0:17:21
if the connection id is there
0:17:25
and let's check what happens when i try
0:17:30
do you want to share your screen
0:17:35
yeah uh just bear with me for a sec i
0:17:46
okay share screen which screen i want to
0:17:49
share i want to share the chrome tab in
0:18:04
i'm gonna open this one up
0:18:12
otherwise you won't be able to see it
0:18:17
okay sydney yes my tables
0:18:21
okay so this is the
0:18:32
and now what i'm gonna do is go to
0:18:43
visit there see what happens
0:18:52
but but do i get the connection id
0:18:56
okay so the connection id is working
0:19:22
to open the board i don't get the board
0:19:31
comes into its place there
0:19:34
with after loading this page we will
0:19:37
have to get the board detailed from the
0:19:42
yeah something like that
0:19:53
we can connect to that one and let me
0:19:56
see if i if i connect to this again
0:20:14
all right um so what would
0:20:17
could you guys see my screen or no
0:20:21
i can't see your screen
0:20:22
oh i forgot to share it my bad
0:20:32
who lost permission to capture this
0:20:34
group follow these steps
0:20:38
chrome doesn't want to capture my thing
0:20:45
anyway i'll sort this out now
0:20:48
just a really quick one it should be
0:20:55
you're having problem with screen
0:20:59
saying that it doesn't
0:21:02
chrome doesn't want us screenshot
0:21:10
chrome has new last
0:21:12
mission follow these
0:21:14
steps okay so if i go to privacy screen
0:21:31
i'm just sorting the
0:21:34
permissions out from chrome
0:21:37
and then i'll be right back
0:21:48
location services no
0:21:50
screen recording that there we go
0:21:53
it does have permissions
0:22:10
come back zayn come back to us
0:22:21
where is he going and i have no
0:22:22
permissions to share my screen
0:22:31
get bored by id post note get bored by
0:22:55
hope zayn will be back shortly
0:22:59
sorry about that guys oops
0:23:02
i forgot to change my camera as well
0:23:15
now what we basically need to do
0:23:19
is do the getting off the board
0:23:27
do you agree with me
0:23:29
you look like oh yeah
0:23:32
no i'm actually reading i'm reading the
0:23:34
i'm reading through some of the code
0:23:40
all right um so i think
0:23:52
what we're gonna have to do then getting
0:23:55
a board functionality is
0:23:57
mostly there we just basically
0:24:05
someone's on the team's
0:24:11
actually not really merge but
0:24:15
i'll just share my screen sounds good
0:24:19
and we can do it that way together
0:24:22
all right so github
0:24:28
i was like emerge oh no
0:24:33
yeah that would have been a bit of
0:24:41
to do it but i don't want to go into
0:24:44
depth at the moment
0:24:51
uh okay now mine my personal manager
0:24:54
needs to be logged in otherwise
0:24:57
he just answers them by itself
0:25:11
almost there man we're almost there
0:25:17
uh okay that was a pull request
0:25:20
popular board after get one click
0:25:32
okay we'll just get the comments
0:25:39
that's mean he wrote a whole poll
0:25:52
review it but this was on hold because
0:25:56
the other functionality had to be done
0:25:59
but that functionality was done
0:26:04
the front and the back end
0:26:07
was supposed to be wired but um
0:26:15
prices changed with a commitment so
0:26:19
let's pick this up and
0:26:23
well you do have a function
0:26:27
written inside of still front end called
0:26:32
no that's not the one we want the get
0:26:44
and actually i should think
0:26:48
can you repeat that
0:26:50
you know what i think get bor oh no you
0:27:00
get board names there's a function
0:27:04
names no hang on we can do with a get
0:27:08
bored and get one name as well
0:27:12
it's a plural i think it gets all the
0:27:19
sure that'd be great
0:27:21
i'm just guessing based on the title and
0:27:28
uh i didn't write it but i think you
0:27:31
probably use this get bored names for
0:27:36
getting all the board names
0:27:38
i am sharing my screen but i think i
0:27:53
yeah still front end so this this gets
0:27:55
all the board names
0:28:04
would be one saying
0:28:10
get bored by name yeah let's take a look
0:28:24
takes in a boring board name and gets it
0:28:30
okay it looks like right now it's not
0:28:32
returning anything it's just logging
0:28:42
a url um and a board name
0:28:47
oh so this this function
0:28:53
oh it's just logged out okay
0:28:56
yeah so we did that because we wanted
0:29:00
to as in do the functionality as well
0:29:04
for getting bored bored by name
0:29:07
why that was because um we wanted to
0:29:11
validate the boards as in
0:29:14
we are not allowing people to save
0:29:20
same name they all have to be unique
0:29:26
i think yeah i think that's the
0:29:33
yeah it's this one
0:29:35
yeah this one gets all the boards
0:29:38
so do you know what this get bored by
0:29:40
name returns or should i just find out
0:29:47
what it should return is the board with
0:29:52
okay yeah i'm gonna
0:29:55
make a little edit there
0:30:13
you even need that
0:30:17
i don't know i don't think you do i
0:30:19
don't think that i i think all you need
0:30:26
then current board so this is returning
0:30:30
do you mind if i just change this to
0:30:35
you're the master man
0:30:38
brother moss in javascript so
0:30:42
should take the i am definitely not the
0:30:51
like wait guru then maybe
0:30:56
wait okay a weight current board okay
0:30:58
now we should get the current board
0:31:01
all right i am not a guru
0:31:09
oh no that was bad
0:31:14
where's prettier i thought i threw up
0:31:16
for oh it's because i'm whatever i'll
0:31:29
i think this should work
0:31:40
all right it's loading something
0:31:58
why is it taking so long
0:32:09
that's all right okay there it is
0:32:15
move my dev tools off the screen
0:32:22
all right so we don't have a board
0:32:26
because we don't have a board name and
0:32:30
that makes sense actually
0:32:33
that socket failed connect that's fine
0:32:39
i might have an old websocket
0:32:49
what do you mean the old one
0:32:53
this endpoint for the websocket
0:32:56
i don't know it says failed
0:33:02
need one hang on i'll
0:33:21
all right let me um
0:33:26
i'm getting the socket for you
0:33:44
oh no there isn't okay
0:33:47
um all right let me put that in there
0:33:58
okay i am about to be logged in
0:34:03
is there a board that has notes in it
0:34:07
um i'll just have a look for you but
0:34:09
first i'll give you the socket
0:34:21
websocket no i don't want scrambler
0:34:27
stages prod there we go so this is your
0:34:34
i'll post in the chat
0:34:43
oh yeah it is different okay
0:34:49
the boards that that has
0:35:09
i'm not gonna use that one
0:35:20
i'm using castlevania one cold test
0:35:24
yeah all right so i'm just running this
0:35:28
in dev tools all right let's see what
0:35:31
this returns back to us
0:35:33
it gives us an error
0:35:37
rejected because maybe i have the wrong
0:35:51
oh wait hold on he's
0:35:52
doing a bit please
0:35:54
hold on there's there's an error right
0:35:56
here with board board uh two two four
0:36:06
where is that coming from
0:36:09
i think the url let me let me get right
0:36:15
keep this one there please
0:36:21
go back to the url
0:36:24
oh okay i'll update it on mine
0:36:34
yeah i should have told you about this
0:36:40
but i gave it to you
0:36:46
finesse had me add the slash
0:36:49
um at the end of that url
0:36:52
so i think i think in the code there's
0:36:55
probably some errors then
0:36:57
because some of them have the slash and
0:37:04
this is what this is where typescript is
0:37:06
like the best because like you never
0:37:10
as in it becomes really fussy
0:37:14
in a really good way
0:37:16
yeah and then little little little
0:37:18
errors like that are just gone
0:37:24
it worked i think okay yeah pending
0:37:31
yeah yeah i don't care
0:37:43
hold on what that's weird i remem
0:37:49
probably is the cache
0:37:58
wipe server is reloading is refreshing
0:38:06
oh it's it's me i'm silly dude
0:38:10
um it's because i'm using
0:38:20
i'll change this here
0:38:24
all right what i need to do is edit this
0:38:42
i don't want to like
0:38:44
deal with this tiny error
0:38:48
yeah don't don't worry about that one
0:39:02
okay there it goes got it back
0:39:05
so yeah you do get the board id the
0:39:08
board and the board notes
0:39:11
and the board notes as well
0:39:13
yeah you can see all that
0:39:26
okay cool so we are getting the board
0:39:35
by board name okay so what we basically
0:39:40
map what we are getting back to the html
0:39:47
elements and then to the page itself
0:39:59
so basically wherever it's in the
0:40:04
we need to map the entire object um
0:40:10
the one on the page
0:40:18
has the board titled then we will
0:40:33
if that makes sense
0:40:37
um i should have i should have saved the
0:40:49
where's my live server at
0:40:58
okay hold on my bad
0:41:01
oh i closed it that's right
0:41:11
all right there it's back all right
0:41:25
this is gonna work
0:41:28
promise pending there it is all right so
0:41:31
what i want to do is copy this object
0:41:37
so that's what you get back as a
0:41:50
save that somewhere yep that's fine
0:41:54
i'm just putting that there for now
0:41:57
yeah it's like kind of track of it
0:41:59
yeah i know don't worry about it um
0:42:05
now basically what we would do is
0:42:09
where we have the board title as in just
0:42:12
kind of saying current board
0:42:16
the board name and then
0:42:20
wherever the value is it will get mapped
0:42:29
on go just go run on
0:42:54
vocals so this runs
0:42:58
so get some board name from local
0:43:02
what we basically want to do here is
0:43:06
i'm thinking kind of put up validation
0:43:11
to disable and enable the buttons so
0:43:15
that basically will be two buttons
0:43:20
what i'm thinking is that if we
0:43:26
a unique board name then we press
0:43:31
then it will just create the board
0:43:37
but if we have already typed the board
0:43:40
that already exists
0:43:44
that go button will
0:43:46
be replaced by get
0:43:51
i'm thinking that kind of logic are you
0:43:54
thinking about a home on the home dot
0:43:59
yeah so do you want me to
0:44:01
go there or do you want to try to fetch
0:44:04
and populate the board from
0:44:09
so are you talking about if somebody
0:44:11
creates a board and then shares the url
0:44:20
yeah i go off facts that's that's my bad
0:44:25
yeah for the scenario when the url is
0:44:29
shared we would do everything in
0:44:38
when index.html loads
0:44:42
it will pull through all the info
0:44:44
from information of that board and
0:44:50
in the scenario when the
0:45:00
so onload runs first
0:45:08
so unload runs first scene
0:45:12
yes unload runs first
0:45:16
load tries to get the board name from
0:45:19
local storage now if somebody
0:45:22
is trying to join the board they won't
0:45:24
have the board name and local storage
0:45:29
they won't so this
0:45:31
logic will have to change a bit now
0:45:34
so um this is what i was doing with
0:45:38
this is this is like two lines that i
0:45:40
wrote last night for dinesh
0:45:46
finesse and i wrote these two lines last
0:45:48
night which was um
0:45:52
when i was testing the cloud front
0:45:56
thing and then if i created a board
0:45:59
when you create your own board then it
0:46:02
gets saved to local storage right
0:46:07
now say you created a board but then you
0:46:09
also want to join somebody else's board
0:46:12
then i noticed that the problem was that
0:46:22
get the board information
0:46:30
when you're trying to join somebody
0:46:32
else's board then then
0:46:35
i made a little logic that basically
0:46:38
what's the path name now i'm not sure if
0:46:49
what we could do is
0:46:54
come from a different
0:47:03
they could replace what's in local
0:47:06
storage i think that's probably easier
0:47:09
based on the way you've already written
0:47:15
so basically when they come in
0:47:20
whatever the board name is at that
0:47:23
instant of time that board name will
0:47:28
be in that person's
0:47:38
that way if you create a board named
0:47:40
zane board and then you want to join
0:47:46
you can join tory board because you'll
0:47:49
just replace what's in local storage
0:47:58
um i would think that
0:48:02
unless you have a particular reason for
0:48:04
using local storage
0:48:06
the better way to do it would be to
0:48:09
rewrite it using query parameters
0:48:22
you can just get the board name from the
0:48:25
query parameters and even if you create
0:48:30
home.html you could just
0:48:34
put the board name you created in the
0:48:36
query parameter and then that way you
0:48:38
don't have to deal with local storage
0:48:41
but it's fine it doesn't matter honestly
0:48:50
better as in way better in front end no
0:48:55
i'm saying way better
0:48:58
than me in front end
0:49:01
how would you approach it
0:49:05
um i think the way to
0:49:07
do it right now and then if we wanted to
0:49:09
refactor it later is to
0:49:15
try to just replace what's in local
0:49:22
what um what's what's in the path name
0:49:26
because my concern here is that
0:49:32
local story will be different
0:49:38
that is that is a problem
0:49:45
but if if we do this then
0:49:53
i think you need to get rid of
0:49:56
hang on um how about if we do it in this
0:50:00
way and i could be
0:50:02
totally wrong but then but this is just
0:50:11
create a brand new board okay
0:50:14
and you send the url to me which is said
0:50:23
by the url you've actually
0:50:27
given me and it does bring up industrial
0:50:30
html but behind the scenes what is also
0:50:37
it's actually taking the tory board from
0:50:45
that board name from the from the uh as
0:50:49
in the board object from the database at
0:50:52
this and that is populating it
0:50:55
in that way we don't really have to
0:50:57
worry about as a local
0:51:00
local storage at all whatsoever
0:51:04
yeah the only problem is i don't know
0:51:11
oh actually i do know a way
0:51:15
i was going to say i don't know if
0:51:16
cloudfront will pass the query
0:51:18
parameters but on a server i think if
0:51:21
you use the hash symbol
0:51:24
and then anything after the hash symbol
0:51:31
let me see if that works
0:51:48
zane board whatever
0:52:03
well yeah i would i would use the path
0:52:05
name here i would just use this instead
0:52:07
of local storage but unless exactly
0:52:14
yeah that should work i don't see why it
0:52:18
but now but now you have to rewrite all
0:52:20
this all this code so i just say go with
0:52:23
local storage for now
0:52:26
why would we have to rewrite
0:52:31
i i mean you don't have to rewrite all
0:52:32
the code i'm saying you have to rewrite
0:52:38
introduce bugs by rewriting some of the
0:52:47
this is how i'm thinking that it might
0:52:52
the amount of code then needs to be
0:52:54
added basically what
0:52:56
will happen is that as
0:52:58
soon as i get a link
0:53:06
the board name will already be appended
0:53:15
although in the background it's on or
0:53:18
only opening in desktop h general as in
0:53:26
the board name from the url itself
0:53:30
and then just basically get
0:53:34
the board object from the database
0:53:42
it doesn't have to
0:53:45
local storage at all
0:53:48
and the code that um
0:53:54
yeah what code do you have to what code
0:53:56
do you have to replace then
0:53:59
about the code um we would just um
0:54:04
we don't necessarily need to
0:54:10
add we will probably just need to
0:54:13
replace it as in um
0:54:18
so you know how your
0:54:22
line is saying 160
0:54:24
as in if the path name is this
0:54:30
get the board name from local storage
0:54:38
is coming to my mind is that instead of
0:54:42
guessing the board name from local
0:54:46
get the board name from the url itself
0:55:06
if the path name is index.html
0:55:15
should never happen
0:55:23
so what do we want to do in that case if
0:55:25
it is index.html so
0:55:30
index to his demo yeah basically
0:55:32
redirected to the home page
0:55:41
all right well first of all
0:55:45
it would be better if if if we're going
0:55:48
to refactor this code we should just put
0:55:49
this code on still front end
0:55:54
but if you want to keep it here inside
0:55:56
of the script tag that's fine
0:56:02
you have full license
0:56:07
you're the leader here of
0:56:13
you think i would say
0:56:15
everything you need to do you can just
0:56:17
do it right here on this on load
0:56:19
function i'm assuming although
0:56:21
you may have different logic
0:56:26
all right so let me um
0:56:30
but then you have this document okay
0:56:32
yeah yeah okay so why don't we just rip
0:56:39
all right and then we don't even need
0:56:42
all right because what we can do
0:56:47
is we can do this on load
0:56:52
um this javascript is already
0:56:56
parts so the html should already be
0:57:02
the html is already available
0:57:10
human there or this javascript is all
0:57:17
oh uh no no but you
0:57:19
but you meant past so
0:57:22
i just miss her julia
0:57:26
so you can do switch
0:57:46
all right and then we can just write a
0:57:48
function here that like does something
0:57:53
this um index.html
0:57:57
you could do the same thing for home
0:58:01
yeah or well it actually it wouldn't
0:58:03
have a past name it would be a slash
0:58:11
that could come first
0:58:15
and then you can write your break or
0:58:18
return or whatever
0:58:24
um and so here we can
0:58:29
some other function
0:58:39
or load i don't know load board
0:58:41
load i'm going to call load index html
0:58:47
go to index load board page that's a
0:58:54
i always have trouble with naming
0:58:57
you're not the only one
0:58:59
okay so when this when this loads um
0:59:04
you just basically want to do everything
0:59:07
that you had in that script tag
0:59:34
we have this skip board thing blah blah
0:59:46
so if if there is an actual path name
0:59:58
okay so he in this case i think we want
1:00:01
to redirect back to the home page
1:00:20
i think it's push state
1:00:49
is that a read only
1:00:51
i don't think it would be can be set
1:00:56
and i i think that should reload the
1:01:02
let me let me see if that actually works
1:01:20
okay there is asking for a new
1:01:22
background music i can't get that
1:01:31
um it did change the path name that's
1:01:34
maybe i do need to
1:01:37
i always forget these um
1:01:41
what's up don't worry man it's
1:01:46
forget these kind of things
1:01:56
can be set to navigate to a given url
1:01:59
okay i'll show that
1:02:13
oh we want to do it locally right
1:02:20
yeah let's do this and then i don't
1:02:22
this probably isn't the best way
1:02:27
but we can do window reload
1:02:37
should probably just look at mdm
1:02:40
all right let's try that again
1:02:48
this should kick us back
1:03:02
okay so you just then
1:03:04
infinite loop is it
1:03:11
all right um we can come back to this oh
1:03:17
yeah in that case um
1:03:19
just say if you can
1:03:28
i we'll do that that way
1:03:32
um everyone can have access to that
1:03:35
to that to that to that
1:03:38
i'm just gonna i'm gonna i'm gonna make
1:03:40
sure it actually doesn't do an infinite
1:03:42
loop before i push it so just for the
1:03:48
thank you very much
1:03:51
yeah i've been a pro
1:03:53
been a really productive one do you want
1:03:54
to do that closing
1:04:04
today we worked on the client side and
1:04:09
worked on implementing
1:04:13
what happens when a url is shared to
1:04:16
another client or user
1:04:20
we need to write some client-side code
1:04:29
the board then they grab the path name
1:04:36
basically send a get request to api
1:04:38
gateway dynamo db and pull down all the
1:04:41
board info and render that to the screen
1:04:51
will be there we want to make sure that
1:04:54
multiple users connect to the
1:04:57
web socket they get the specified board
1:05:01
with the contents as well
1:05:06
that would be the point
1:05:08
guys and if you want to check um how do
1:05:14
solving this check us out tomorrow on
1:05:17
same time same place and