0:00:23
all right welcome back everyone welcome
0:00:26
another episode of build breaking fix
0:00:29
to everyone who is joining us for the
0:00:31
first time of course
0:00:33
we are of course which means that we are
0:00:35
team of three developers from melbourne
0:00:39
and we've been working on a project
0:00:41
which relates to adding
0:00:43
persistent storage to a current open
0:00:45
source project which is called
0:00:51
yeah if you're wondering what stacks
0:00:52
we're working on our backend is based on
0:00:56
we use aws as our preferred cloud vendor
0:01:00
and we're using one lgs for our front
0:01:04
so how are you guys
0:01:06
um hey guys how's it going
0:01:10
all right so zen is going to be a bit
0:01:14
uh i think he just texted me he's
0:01:16
running late so i'll just go live
0:01:18
i think we have to do
0:01:21
something with tori's pr as well today
0:01:24
so we'll have a look at that as well but
0:01:26
before we begin i'll just do the
0:01:29
recognition of the
0:01:31
traditional owners
0:01:36
i'll do that there it goes
0:01:39
i begin today by acknowledging the
0:01:41
traditional custodians of the land on
0:01:43
which we gather today and pay my
0:01:45
respects to the elders past present and
0:01:48
future i extend their respect to
0:01:50
aboriginal and torres strait islander
0:01:58
so that's really important um
0:02:02
it's really important to recognize
0:02:11
looks like zen is here
0:02:16
can i come up to the stage
0:02:22
looks like he's changing his shirt
0:02:25
more is right here
0:02:29
how much money are you willing to play
0:02:34
come on terry tell me a number
0:02:38
uh you look really really into it
0:02:44
okay fine fair enough oh
0:02:49
looks like he doesn't
0:02:55
i'm just gonna open the
0:03:00
let's see what's happening
0:03:09
what's the right amount okay
0:03:14
i'm glad he didn't won't be reading this
0:03:18
hey zen how's it going we're just
0:03:22
hey guys hey can i say copy them right
0:03:25
yeah we were just talking about you
0:03:32
yeah no it was good
0:03:35
please get some water in your garden
0:03:50
a spare t-shirt car tick
0:03:53
i've got i've got plenty as in a whole
0:03:57
i know i saw you change
0:04:00
you're changing on the camera
0:04:04
no i wasn't in the camera i i saw it
0:04:08
i wasn't in the camera oh for you i mean
0:04:10
you weren't on the stage
0:04:15
yeah you weren't on the stage
0:04:18
i came back in the background as in when
0:04:23
on the stage you can see in a small
0:04:24
screen i don't know if you notice this
0:04:31
but you could still see okay i said oh
0:04:36
is that why you laughed
0:04:38
yeah and that's how you don't get to
0:04:42
hey what about the blue ones
0:04:47
bull monks will be given to kartik
0:04:52
when he begins to wear the t-shirts
0:05:05
well you never told me so
0:05:08
well i just told you isn't it
0:05:12
well you can have them
0:05:16
cool i'll get you yeah
0:05:19
then two of them so i'll get you one
0:05:24
tomorrow i'll just
0:05:26
put a t-shirt in your
0:05:30
free time and then you can get from the
0:05:32
end the month is where you probably
0:05:34
can't do that because my building
0:05:41
so if you can tell them
0:05:44
tomorrow then we can yeah
0:05:49
but let's look at tori's pr i think he
0:05:52
was i don't know what's going on with
0:05:54
that though like was it something you
0:05:55
guys discussed last time
0:06:03
yes sir i still have to give you the
0:06:05
background but just to confirm the
0:06:07
acknowledgement is done isn't it yeah i
0:06:10
did that okay fantastic
0:06:12
right cool so i'll just quickly share my
0:06:15
screen so what tori did was all the code
0:06:21
looks okay but uh he by mistake changed
0:06:26
another method we wasn't supposed to be
0:06:30
asked him to change the appropriate
0:06:33
method and also change the switch
0:06:40
i think it would make sense you know you
0:06:44
edit his changes and then merge his pr
0:06:50
yes i knew i could do that but i wanted
0:06:57
i didn't really want to touch his code
0:07:03
so i'll just share
0:07:05
my screen really quickly
0:07:07
and show you what exactly happened
0:07:10
he said he's opened a new pr
0:07:14
i saw that and i did test your
0:07:17
changes as well um
0:07:21
they are working like a charm so all we
0:07:34
and this was his comments here
0:07:42
i included the code into the get bored
0:07:51
to switch and everything everything
0:07:54
seems to be working fine
0:08:00
merge his per request
0:08:07
comment into dev yeah that's fine from
0:08:10
update board get bored names
0:08:43
here we go tori thank you very much for
0:08:48
contribution very valuable
0:09:12
um all right so do you want to
0:09:15
take over and change your screen now
0:09:20
okay so today what we need to do is just
0:09:30
if you can check um
0:09:36
got the branch called
0:09:38
unique board names functionality
0:09:47
certainly have a look
0:10:10
k tomorrow as in the t-shirt and the mug
0:10:14
and then i'll probably have to arrange a
0:10:21
give him the mug as well and an other
0:10:28
no i don't keep it come on
0:10:31
i don't keep anything it's just time
0:10:41
i i didn't even know about this so how
0:10:44
did the timings match i just got to know
0:10:51
to the video uh approximately a month
0:10:54
before from now and it's there it's on
0:10:59
and you said you have to organize some
0:11:02
time and get the stuff
0:11:04
you did say that good
0:11:09
all right i'll just try running this
0:11:40
this so on which branch are you
0:11:49
i'm just trying to see what features
0:11:58
just check that one and if it inserts it
0:12:03
because apparently i
0:12:10
hang on i'll check in post man because
0:12:14
um when i did the merge and then
0:12:17
tested it wasn't inserting uh properly
0:12:22
which endpoint are you talking about
0:12:24
just tell me the first two letters of
0:12:36
endpoint api mine starts on 3od
0:12:40
okay i'm talking about i3
0:12:43
can you send me the latest one
0:13:01
where is that the actual copy of the mug
0:13:06
i need to inspect element to have a look
0:13:14
okay here we go of this sensor
0:13:30
zazzle interesting
0:13:37
can you send that link on
0:13:45
it's probably a um
0:13:48
a place where you get your custom design
0:13:51
products interesting
0:13:56
couldn't have guessed that
0:14:02
why can't i access the link can you
0:14:06
you can't access the link
0:14:08
i mean i can't just get the link that's
0:14:12
i think it's in private chat
0:14:14
yeah no i think i just sent it on
0:14:17
i wanna actually look as well
0:14:20
do you have the link
0:14:24
no not that link the get this link
0:14:28
yes i'll got the link
0:14:33
um but yeah did you get the boards
0:14:40
yeah i got a checks first man and from
0:14:44
the end point that i
0:14:46
gave you just now it's working
0:14:48
oh thanks maybe change the blue screen
0:15:04
this is not available
0:15:06
oh there you go can you see this
0:15:08
is it how it looks
0:15:13
that's how it looks
0:15:22
oh i didn't i never saw this
0:15:27
i don't know if you see this
0:15:29
like it's better than how
0:15:31
our original logo is
0:15:34
can you can you see this the crack
0:15:37
i can't believe the crack here
0:15:44
here um after break
0:15:46
will break and fix
0:15:49
but can you see my screen ah
0:15:54
it's kind of i think we might want to
0:16:00
logo as well now because i really like
0:16:04
build break and then fix it
0:16:09
did you do that on purpose
0:16:18
it looks good with the donut
0:16:22
do you want to go um
0:16:30
did you get the notes updated
0:16:36
i'm just checking um if i got the board
0:16:40
in the first place
0:16:42
yep i didn't get the note are you using
0:16:51
in your environment.js file
0:16:53
yes um fine i'll run it again
0:17:14
okay i'm going to turn it december now
0:17:19
you know we should really name the
0:17:20
boards according to our date
0:17:23
so that they're automatically sorted
0:17:26
yes i have actually got the boards
0:17:29
and yeah i think you're right but um
0:17:35
we can probably come back to
0:17:37
this feature after the
0:17:42
other things are done
0:17:45
so if you want to insert the notes
0:17:51
have you inserted the notes yes you have
0:17:54
yeah and i can delete them as well
0:18:00
how many notes did you create
0:18:03
i created two and then deleted
0:18:06
i've only got one note here
0:18:26
you create three notes
0:18:43
did you get them okay i'm gonna check it
0:18:46
one two three okay fine yeah because um
0:18:51
what happened is that
0:18:53
i've actually done the merge as well
0:18:58
so if you want to go on to um
0:19:04
into dev branch and then test if
0:19:08
from there because uh i did this earlier
0:19:11
this evening and um
0:19:18
all the notes except the last one wasn't
0:19:23
so i'm just really curious
0:19:27
it's telling me to
0:19:33
how many have we got
0:19:46
just naming delete card differently
0:19:49
oh actually nothing big
0:20:00
i'll not undo it though because we don't
0:20:07
and yes so if you undo them it will get
0:20:10
rid of all the additional changes we
0:20:13
have done so i think everything we
0:20:16
should keep the changes that's what i'm
0:20:29
because it just makes sense
0:20:31
i mean it's not a functional change it's
0:20:33
fine i'll just undo them
0:21:01
well this wasn't there
0:21:12
yeah whatever that is
0:21:14
um still having a look
0:21:59
well that's interesting
0:22:07
thank you just move your screen
0:22:10
yeah i did to the endpoint
0:22:13
but there is no still front-end file
0:22:17
or whatever we should call it did you do
0:22:54
okay so the board is
0:22:56
created i would say
0:22:59
network boards get bored
0:23:02
it works on my end eclipse
0:23:05
um so if you haven't hang on let me just
0:23:15
20 december 2 right
0:23:20
wow it's turning december already
0:23:26
uh so how many have you created
0:23:30
named one and two okay so i guess
0:23:36
is working fine um
0:23:38
i must have tested it in a rush and
0:23:43
work so i assume this is not working
0:23:48
which is fine um all right cool
0:23:50
um have you got the
0:23:53
okay how about free if you can
0:23:57
create a new branch
0:24:01
unique board named functionality
0:24:06
then we can um put all the
0:24:09
gap board and get board names and the
0:24:13
validation of the board names as well
0:24:17
right in that branch
0:24:19
okay which we have the
0:24:23
which will have the um
0:24:30
the whole validation for
0:24:33
the get bored is working from the back
0:24:37
like are we getting the list of the
0:24:41
yes so everything is done we just have
0:24:50
is it working in the dev branch
0:24:54
so shouldn't you bring it to the dev
0:24:59
it's already there right like we're
0:25:00
already getting the array
0:25:04
yes we're already getting the array
0:25:06
which is fine but what i'm trying to as
0:25:10
in say that we should keep the get bored
0:25:14
as in the function and
0:25:18
what we need the function to do and then
0:25:24
creating the board into one branch so
0:25:27
hope that whole functionality
0:25:30
can come under one branch
0:25:33
yeah so i'm just wondering so
0:25:35
in the dev branch are we getting the
0:25:40
merged tori's in the debra yeah yeah
0:25:44
okay yeah i get you now yes
0:25:47
yeah oh there it is yeah
0:25:49
um so if you open the code
0:26:00
better do it like what i need to do
0:26:03
curtin that brian uh i joined that
0:26:07
branch already isn't it
0:26:09
um there should be a method called get
0:26:14
you can search for that
0:26:24
yes when we make a code which is not yet
0:26:28
done in the branch
0:26:33
right right right okay
0:26:36
i'm just gonna call it and console.log
0:26:40
do you test it already right
0:26:42
but first hang on hang on a minute hang
0:26:46
can we move to a separate branch
0:26:50
all this because i just want to keep
0:26:54
everything organized
0:26:56
because if not then it becomes really
0:26:59
hard to merge stuff
0:27:15
what do you um suggest your name
0:27:21
unique board names phone oh
0:27:24
that's fine as well yeah
0:27:27
that's fine as well
0:27:44
unique board names
0:27:57
now we can start doing everything what
0:28:00
all we need to do here
0:28:06
i guess do a board board names equals
0:28:10
awaits and then their method name
0:28:29
a comma in instead of a plus
0:28:41
board names equals
0:28:45
get bored names and then console.log
0:28:50
why is it not working like this though
0:28:59
fine is this i don't it's not
0:29:02
any error right it's not it's just same
0:29:07
wanted to make it a bit easier
0:29:10
read so right now it's going to the next
0:29:18
commend the line 92 out
0:30:01
gives us an array of board names
0:30:06
the that's fine um this is not supposed
0:30:14
now what we can do is do um
0:30:18
in includes on the
0:30:21
board board name and just pass it a
0:30:25
to check if the value that we have
0:30:28
we are trying to create a board
0:30:32
does that already exist in the array
0:30:53
created at the top
0:30:56
can you check yeah here we go
0:31:01
yep that one and then
0:31:05
includes on board names
0:31:10
it's already there it's called
0:31:44
that would be nice
0:31:48
as in everything basically comes in one
0:31:54
so if the value or already exist in the
0:32:05
and then can't insert at the end for
0:32:07
that one we would have to
0:32:11
an alert which we already have
0:32:14
but just customized
0:32:24
we can't but we need to
0:32:27
um we can you choose the
0:32:30
method of open and close alert
0:32:35
but we need to import
0:32:39
this file in home.html
0:32:48
for now i'll just do it
0:33:00
better continue doing this
0:33:05
probably do a await and
0:33:17
and then pass the value
0:33:19
yeah i'm just trying to see how you post
0:33:26
and then what we can do is
0:33:29
remove a weight and post board from the
0:33:40
is that all let's try that yeah
0:33:54
okay i'll give it a proper one
0:34:03
um now look at w again
0:34:11
no yeah it didn't post it shouldn't
0:34:12
pause uh it's just showing the board id
0:34:16
yeah it's the same board ids it's not
0:34:20
oh i don't know right okay that works
0:34:24
and try to post the board
0:34:31
um so why did he if it if he posted it
0:34:38
but it did so i don't think he posted
0:34:43
the first time it posted that that's
0:34:45
when it didn't show any alert
0:34:47
the second time i posted the same board
0:34:49
because it's already in the
0:34:52
um database so it showed an alert oh
0:35:00
this is like click this twice that's all
0:35:08
it didn't show anything
0:35:10
yeah um but anyway that works yeah yeah
0:35:14
that's the point of the exercise i'll
0:35:16
comment uncommonly 992.
0:35:23
we need to work on the alert as well now
0:35:37
so the old one is in
0:35:39
index.html so we will probably have to
0:35:42
copy and paste there on to the home
0:35:52
the whole div yeah from
0:35:54
confirmation prompt
0:35:57
copy and paste that one to home.html
0:36:03
and then there would be a board outline
0:36:07
devs so we can do that under that
0:36:14
uh i can do it under stickers
0:36:21
if we're doing this
0:36:23
above stickers actually yeah
0:36:26
yeah as in under source
0:36:36
and then if you go down
0:36:38
all the way down we would have to hide
0:36:42
on page load first in javascript
0:36:45
yep you did already on page load
0:36:50
so i can tell you the code and you can
0:36:55
that'd be good to write it
0:37:06
sorry just here yeah
0:37:11
window door unload
0:37:13
and then open a function
0:37:17
i think it wasn't that one
0:37:49
ship so what i'm trying to create is an
0:37:52
uh error function now
0:38:00
you know when you have done your two
0:38:06
create two opening
0:38:09
close brackets and then in
0:38:11
those ones open and close as well
0:38:17
do you want me open
0:38:18
and come again sorry okay so
0:38:30
those two ones yeah perfect
0:38:36
left and create an error function
0:38:43
uh outside this one outside the inner
0:38:48
yep all right okay
0:38:51
outside the inner brackets but at the
0:38:59
it's probably easier to copy and paste
0:39:02
than from in um index html all right i
0:39:05
have a better idea
0:39:07
ah it's been a while
0:39:17
i'll send it to you
0:39:19
okay i will have to open up my thing
0:39:38
i sent you the link on private chat
0:39:41
oh okay i'm private chat cool
0:39:44
oh got it and coming in
0:39:59
continuing red opening vbs code i'll
0:40:02
open in vs code install wow i don't even
0:40:06
have installed yet
0:40:11
liveshare would you like to reload yes
0:40:15
reload and open the file open the
0:40:21
yeah i'm really hoping we can get this
0:40:24
validation has been done
0:40:29
uh i need to sign in my github account
0:40:32
as well interesting
0:40:34
yeah you do yes you're right
0:40:38
hope that shouldn't be a problem
0:40:42
um then success yeah it's a success open
0:40:55
enter your yes okay cool i should be in
0:41:04
well you tell me are you in
0:41:08
joining collaboration session opening
0:41:44
okay so this should
0:41:46
work nice um semicolon i think
0:41:51
i did point this semicolon in there
0:41:54
what did i miss here
0:41:56
oh it's still showing in like a bit of
0:42:04
declaration or statement accepted
0:42:10
i mean there's no name to the function
0:42:18
no because it's an a
0:42:21
error function so there shouldn't be any
0:42:23
name but why is it complaining for
0:42:31
now that has to be there
0:42:46
what if we copy the code
0:42:48
yeah i was thinking the same
0:42:53
here you go for it
0:42:55
uh where is the code is there any
0:43:03
and go all the way down yeah here we go
0:43:10
no no no go down oh there you go which
0:43:14
oh it wasn't an arrow function it was
0:43:16
just like a normal
0:43:20
trying to be extra small but it didn't
0:43:23
fancy i mean can have a look
0:43:26
how we can do that do you wanna have a
0:43:28
actually i will have a look because i
0:43:31
really wanna start
0:43:38
yes don't repair functions
0:43:42
oh okay so there was
0:43:46
this bit missing i guess
0:44:08
back in the stream
0:44:11
okay um did uh yeah you did okay yeah
0:44:21
will do this thing on top
0:44:28
i don't think that should affect
0:44:43
that seems to be good
0:44:48
you know what we should do then
0:44:51
we should buy a default give it
0:44:57
you know what i mean by default is
0:45:00
giving none so what it does is
0:45:05
give it this i tried that
0:45:11
how do you give style with this style
0:45:12
right style equal to
0:45:30
and then semicolon at the end
0:45:32
but inside the string
0:45:34
what is this little
0:45:39
oh the class was alert
0:45:50
oh i'm just gonna go ahead and try this
0:45:55
um in that case do you wanna
0:45:59
comment out the windows door on load one
0:46:04
hit it from there in homes html i don't
0:46:11
but why am i opening
0:46:29
give it an existing board name
0:46:36
oh um i need to create the function or
0:46:38
when it displays it
0:46:40
so if you if so we don't need to
0:46:44
create a function again we can use the
0:46:46
one that's in the script.js
0:46:53
for that we will have to import
0:46:58
in home.html first
0:47:01
can we just try doing it by
0:47:09
just inside well why would we want to
0:47:12
create another function when one already
0:47:15
exists and no we just do it here right i
0:47:24
yeah let's just do a display
0:47:29
yes so that could already exist that's
0:47:32
what i'm trying to tell you
0:47:34
okay so i call that code
0:47:36
is so if you go to
0:47:44
and if you type in open alert
0:47:48
do a find on open alert
0:47:53
is he not there he's
0:48:08
this function already
0:48:10
displays that alert
0:48:19
we can do that i'm just trying to think
0:48:21
if that's a good oh yeah that is a fine
0:48:27
where so i need to import this thingy
0:48:31
you need to import script.js
0:48:34
into home.html first to use this
0:48:50
try not to copy and paste it
0:49:02
i mean all the efficiency
0:49:14
yeah that should do it and now if you
0:49:20
in still front end
0:49:28
so if the value exists in the array then
0:49:31
show alert perfect yeah
0:49:35
this should do the trick
0:49:44
oh the trick's hard
0:49:48
have you had refreshed it
0:49:53
just give me one sec
0:50:02
yeah but we need to change the
0:50:06
yeah but it's working yeah exactly so
0:50:10
i'll change it here as well
0:50:13
because it looks really bad when it just
0:50:15
shows up you know what i mean
0:50:21
cool it just changed the text
0:50:27
let's um change the text on the
0:50:33
on the home page first and then we can
0:50:39
modifying that one as well
0:50:48
board name already exists
0:50:50
please choose another name
0:50:56
i'll just say board already exists yeah
0:50:59
yeah i think that's better
0:51:01
board name isn't actually unknown
0:51:31
i wanna should be two separate words and
0:51:34
lowercase b but anyway
0:51:36
actually we should do only
0:51:42
theme is all lowercased
0:51:44
like nothing in this whole website is
0:51:46
uppercase okay yeah that also makes
0:51:55
probably born named as two words
0:51:58
not one all right yeah
0:52:01
and also if you go up
0:52:05
change the confirmation to error
0:52:31
that looks like i don't want to give it
0:52:32
a red but we'll do it afterwards okay
0:52:37
cool so that one is done
0:52:42
jira ticket i need to
0:52:44
yes um we're gonna move on
0:52:48
to that but push this one and hang on
0:52:53
actually confirm the
0:52:56
changes that we've done by
0:52:58
going to source control as in
0:53:09
make sure that everything is on point
0:53:11
that we have changed um that one yeah
0:53:24
delete that one and there was an extra
0:53:27
down as well we can get rid of that
0:53:39
schedule of this the console at the top
0:53:47
get rid of all of this honestly like
0:53:52
we don't need them anymore since the
0:53:54
functionality is working for
0:53:58
includes yeah that's fine
0:54:05
can you just uh include a comment
0:54:12
basically just really
0:54:19
what they do as in really
0:54:24
i got rid of all the comments so i don't
0:54:25
think so like these
0:54:27
consoles fantastic
0:54:31
no i'll get these we need these yeah
0:54:35
we need those ones
0:54:48
underneath that yeah
0:54:50
just to explain as in for example we'll
0:54:54
what we're doing there basically
0:55:20
probably do a bit of a precise
0:55:23
one and a bit of a shorter version
0:55:31
a given board name already exists
0:55:46
oh yes story your code is working i have
0:55:50
thank you tori for that
0:56:02
that's short enough yeah yeah
0:56:08
i was just thinking they
0:56:10
should we include the other part as in
0:56:13
if it's uh if it exists that don't
0:56:18
the code is actually pretty much
0:56:29
by the way should we commit minus m not
0:56:36
uniqueness perfect
0:56:40
remember i told you oh this does the
0:56:49
just make sure you
0:56:54
board name spawning perfect
0:56:57
so this is done um
0:57:00
what do we need to do next would be just
0:57:07
are you doing that or do you want me to
0:57:11
actually i'll do that i'll share my
0:57:16
cool so there we go
0:57:28
zen kicked himself again
0:57:31
it's kind of funny
0:57:36
very funny whenever that happens for
0:57:39
all right i'm just gonna go to jira and
0:57:41
see what's happening there
0:57:46
or maybe someone kidnapped him
0:57:49
or maybe his flapper died
0:57:53
i don't know anything's possible
0:57:58
oh this board looks pretty
0:58:04
and kind of black as well
0:58:08
um update functionality
0:58:15
i keep on doing that mistake you do that
0:58:17
you did it once for a stream like
0:58:24
since you've already opened it you can
0:58:28
yeah uh is there a new ticket to be made
0:58:36
what's it already there um change or for
0:58:44
i'm pretty sure the ticket was already
0:58:46
there it should be then the newest one
0:58:49
get bored by name functionality in the
0:58:51
back end i think that works
0:58:54
no that doesn't work
0:58:56
no it doesn't work
0:59:00
yeah particular oh i in insist
0:59:03
uniqueness here we go
0:59:06
unique boards yeah that one is done
0:59:12
might be worth adding a description
0:59:14
afterwards but it's fine
0:59:31
just basically a really really short one
1:00:08
i think that should work yeah
1:00:12
perfect so you can do that
1:00:20
okay so that that one is done um now we
1:00:24
move on to the get board by name
1:00:28
functionality and that one has to be
1:00:30
done in the back end i think
1:00:33
all right i'll put it in
1:00:36
in progress progress but looks like
1:00:39
time's up so yeah so we can
1:00:42
leave it um i'm gonna go out on a ride
1:00:45
on my board so i don't mind meeting you
1:00:48
downstairs at your place
1:00:53
that'd be good perfect i love your
1:01:07
perfect guys thank you very much for
1:01:10
watching and tuning in i appreciate
1:01:12
every one of yous and um
1:01:14
because i'm pretty much
1:01:16
very good progress uh go implemented
1:01:20
uh the unique board
1:01:23
names functionality so that was
1:01:27
very productive evening and yeah um
1:01:31
check us out tomorrow's same time same
1:01:44
thanks cheers have a good night