Detailed Notes
Part III of our walk-through/UAT testing. We will be testing the application for usability and features to make our experience a productive one.
You can view source for today and all prior days by reviewing the tag Day 50 at this GitHub: https://github.com/robbroadhead/develpreneur-pythontutorial
Transcript Text
[Music] well hello and welcome back we are into the remediation phase of our issues we had a nice little list of items that our tasks were going to have to these are bugs and features and last time we left off we were actually working into those so i'm going to dive right into it this episode we are going to be making code changes it will be safe so we'll be back to being able to check the latest in github so what we ran into is our in our immediate time frame things were not showing up and part of that is here which is a good little example of something we can learn is we had where query was not equal to status equal to complete and what we also want to do now is we're going to do where a query where time frame is equal to current because we were able to print that out so we're going to get rid of our little print statement there and now what's going to happen we should see in our report if we do control ours we're going to see everything is in immediate that is our current time frame now what we want to do here is we probably want to be able to set the time frame and i think we will leave that for now but let's see if we from active task create it i do want to yeah immediately parent is let's say active tasks filter by time frame and we may already have that actually let's go back and look to that uh filter by time frame okay and that looks pretty good and so we also want to do to the general so we're going to actually add this in a couple of places so that'll be good now what we're going to do here is since we're remediating since we're working through tasks although we're going to be testing our application and again we're using this application a little differently from the way we normally would i do want to talk about the idea of working through issues and things like that and i think typically the best way to do it is going to be essentially a page at a time or a chunk of functionality at a time as we've somewhat seen as we work through this similar to the implementation debugging or fixing you know feature improvement stuff like that does work the same way so we're going to be able to hopefully chunk a couple of these at the same time now let's start in our case because we are our core is tasks let's start with creating a task one of the things we have here is create task we need a save message so we want to do a message when we do an update on editing tasks and if we look at those we have basically creating tasks listing tasks and edit tasks we've got three task related things so we're going to be looking at create task and edit task and when we do those we're going to see that those all come down to the task edit page so we want to do here is we do have a message we already had a message that is potentially going to be displayed and we're just not actually setting it so what we want to do is when we do we've got two of these so we've got edit task and see now here this is interesting enough is we have message saved but we're doing this redirect to task and we don't have a message you know we display to tasks from edit tasks we're doing a redirect so we're just rebuilding the list and we're not actually storing the message and we're probably going to run into that here as well as we say if it's an invalid record now there it does come through and we're okay so we can probably do oh because record save is going to a redirective task what we probably want to do here is as we've seen before is let's go ahead and set message as a session and we can do that fairly quickly so now we're going to do on our cleanup here and so now my message equals none and then we're gonna do see where we set one is uh let's see well we don't use it here we go so we do have like a good example of where we set one and now so for task let's see reports page let's do tasks so deleting a task is going to return to the task list and what we want to do here is we're gonna do uh message and here we're gonna save the name actually we're gonna do it this way oh we're not gonna do that because we just did delete tasks so this one just deletes all tasks so we're just going to do tasks deleted and then if we do edit task we're gonna do instead of message we're gonna do the session so we don't really need we're just going to do that all the way through so instead of keeping that variable oh well we can do it here because we are going to do it we're going to use it so let's just save it in some cases if we can we're going to pass through here so edit task that should be good it's going to basically do an update update data for the record it comes through this one that message is going to get displayed so we're okay list tasks now is going to be that one needs to actually set a message so message is going to be message and then we're just going to do message equals did i have that oh i didn't have the whole thing so let's see what happens here and we also had so that was edit task and we also had what was the other one create task so here we need to do the same thing as we have a message but um let's see if it comes through create a new record create task record saved invalid record oh it shot it may not be displaying right so let's go see what happens because if we did an edit it should be saying message saved and it is using task edit task edit here so let's take a look at that so i think we've got it so create task we should have a save message so here if i do save this to complete let's see if it's displaying uh that was in edit oh edit save does not actually return so we should be okay with edit that's all right but now if we do create task let's go back and look at ours i think we have yeah complete let's see so we wanted to look at oh let's just go here let's go home whoop we probably don't have a proper parent so we'll have to fix that immediate now let's go back to home and do we have we only have we that's right we got rid of completed oh so let's actually go to our report uh no let's go back and so we probably shouldn't have completed that but that's okay we're gonna fix that anyway so immediate and this was on create it was not showing so let's create a task that we're going to just let's see we're an immediate so we're going to create a test this is a test let's just so we save that it's going to say nope i need to do that if i do new okay so it's actually there it is so that's our message and before was something else so if we look here uh that record save let's actually we're going to shrink this down to oh let's say well that's a 4 already let's make this a div and class equals i can't remember if we can use this or not there we go class equals message so we're going to change this guy to that so let's um take that this is on create task and let's just fix that real quick we're not even going to create a task force this time this is going to be that it's going to be a message and let's get rid of that and then what i'm going to want to do here record saved so now if i take that now this is a new record and so if i take this and try to delete it let's see what it does it doesn't really display anything on me so what i need to do on the delete if i go to that task list this is a test it actually oh interesting delete duplicated so now if i come in and delete let's see oh it was showing all tasks if i go to roadmaps immediate and this is a test so i did delete one of them and so i'm going to delete him and so i've got deletes going to the wrong place basically delete returns to task list do i already have that task uh let's see oops i don't want that one i want immediate do i have delete yeah so i'm going to fix that too so delete returns to the task list instead i want that to go to so when i do a task and i think it's here i think that's actually in the delete there's delete all tasks oh let's make sure what that does so if i go to task edit delete sends a delete oh it's just just a submit and it's going to come in as a delete so let's see so that was edit task so if it's a delete oh here we go i need to do record deleted and instead of a i think i'm just going to not do the redirect on that i'm probably not going to do it on the saved either well this is on an edit so i probably do want to return so i need to do essentially like a last page and so this is going to be a little bit more interesting because what i'm going to do is i'm going to save potentially where i'm coming from i guess what i can do is probably go to the parent but this is going to take a little bit of thought and so we're going to think through this a little bit and we will tackle this one the next time around so we'll save that instead let's see so now we've done done that we've got a record deleted it's going to redirect to tasks so tasks oh does get our session so now if we delete uh let's see did i have something here that okay so i'm going to create a task real quick for that period and this is going to just be called delete me if i save it oh okay record saved and then i do want to fix oh there's another one is that remove delete from task create if i return to immediate if i go to delete me let's see what that does now where is delete me there's oops delete me and if i delete him and then it's just going to come back to my list of all tasks and i want it to go back to where i came from so we'll think about that one later uh the first one we'll do is let's go to edit i'm sorry to edit because we can fix this one rather quickly before we wrap this up delete record we're going to do an if and this is going to end if and what i can probably do is i'm gonna check if probably id we're going to keep it simple title equals uh what is the title on edit edit task uh here tyco title equals edit task then we can delete otherwise we cannot so edit task whoops so let's go back and look at this one real quick oh this is going to be something different right i always forget i think it's eq oh let's try this now we'll fix it real quick this way there we go so it does and now if we do task list does not do if we go to home we do create tasks and it doesn't so we do have that one fixed so that will wrap it up sorry if we went along i'm going to try to trim this one down again edit it to get us down to the 15 minutes some of my meandering but we're going to continue next time around because we're going to keep on working our way through this list and try to hammer out a couple of them in the next episode or two that being said go out there have yourself a great day a great week and we'll talk to you next time you
Transcript Segments
[Music]
well hello and welcome back
we are into the remediation phase of our
issues we had a nice little list
of items that our tasks were going to
have to these are bugs and features
and last time we left off we were
actually working into those so
i'm going to dive right into it this
episode we are going to be making code
changes it will be safe so we'll be back
to
being able to check the latest in github
so what we ran into is our in our
immediate time frame things were not
showing up and part of that is here
which is a good little example of
something we can learn is we had where
query was not
equal to status equal to complete
and what we also want to do now is we're
going to do where a query
where time frame is equal to current
because we were able to print that out
so we're going to get rid of our little
print statement there
and now what's going to happen we should
see in our report
if we do control ours we're going to see
everything is in
immediate that is our current time frame
now what we want to do here is we
probably want to be able to set
the time frame and i think we will
leave that for now but let's see if we
from active task create it
i do want to yeah immediately parent is
let's say
active tasks
filter by time frame
and we may already have that actually
let's go back and look to that
uh filter by time frame okay
and that looks pretty good
and so we also want to do to the general
so we're going to actually add this in a
couple of places so that'll be good
now what we're going to do here is since
we're remediating
since we're working through tasks
although we're going to be testing our
application
and again we're using this application a
little differently from the way we
normally would
i do want to talk about the idea of
working through
issues and things like that and i think
typically the best way to do it
is going to be essentially a page at a
time or a
chunk of functionality at a time as
we've somewhat seen as we work through
this
similar to the implementation debugging
or
fixing you know feature improvement
stuff like that
does work the same way so we're going to
be able to hopefully chunk a couple of
these at the same time
now let's start in our case because
we are our core is tasks
let's start with creating a task
one of the things we have here is create
task we need a save message
so we want to do a message when we do an
update on editing
tasks and if we look at those
we have basically creating tasks listing
tasks
and edit tasks we've got three task
related things
so we're going to be looking at create
task and edit task
and when we do those we're going to see
that those all come down to the task
edit page
so we want to do here is we do have a
message we already had a message that is
potentially going to be displayed and
we're just not
actually setting it so what we want to
do
is when we do we've got two of these so
we've got edit task
and see now here this is interesting
enough
is we have message saved but we're doing
this redirect
to task and we don't have a message
you know we display to tasks from edit
tasks we're doing a redirect so we're
just rebuilding the list
and we're not actually storing the
message
and we're probably going to run into
that here as well as we say if it's an
invalid record
now there it does come through and we're
okay
so we can probably do oh because
record save is going to a redirective
task
what we probably want to do here is as
we've seen before is let's go ahead
and set message as a session
and we can do that fairly quickly so now
we're going to do on our cleanup
here and so now
my message equals none and then we're
gonna do
see where we set one
is uh let's see
well we don't use it here we go so we do
have like a good example of where we set
one
and now so for task let's see reports
page let's
do tasks so deleting a task
is going to return to the task list and
what we want to do here
is we're gonna do
uh message
and here we're gonna save the name
actually we're gonna do it this way
oh we're not gonna do that because we
just did delete tasks so this one just
deletes all tasks
so we're just going to do tasks
deleted
and then if we do edit task
we're gonna do instead of message
we're gonna do the session
so we don't really need
we're just going to do that all the way
through so instead of keeping that
variable
oh well we can do it here because we are
going to do it
we're going to use it so let's just save
it in some cases
if we can we're going to pass through
here so edit task
that should be good it's going to
basically do an update
update data for the record it comes
through this one
that message is going to get displayed
so we're okay
list tasks now is going to be
that one needs to actually set a message
so message
is going to be message
and then we're just going to do message
equals did i have that oh
i didn't have the whole thing
so let's see what happens
here
and we also had so that was edit task
and we also had what was the other one
create task
so here we need to do the same thing as
we have a message but
um let's see if it comes through
create a new record create task
record saved invalid record
oh it shot it may not be displaying
right so let's go see what happens
because if we did an
edit it should be saying message saved
and it is using task edit task edit
here
so let's take a look at that so i think
we've got it so create task we should
have a save
message so here if i do save this to
complete
let's see if it's displaying
uh that was in edit
oh edit save does not actually return so
we should be okay with edit that's all
right but now if we do
create task let's go back and look at
ours
i think we have yeah complete
let's see so we wanted to look at
oh let's just go here let's go home
whoop
we probably don't have a proper parent
so we'll have to fix that
immediate now let's go back to home and
do we have
we only have we that's right we got rid
of completed
oh so let's actually go to our report uh
no let's go back and
so we probably shouldn't have completed
that but that's okay we're gonna
fix that anyway so immediate and this
was on create it was not showing so
let's create a task
that we're going to just let's see we're
an immediate so we're going to create a
test
this is a test
let's just so we save that it's going to
say nope i need to do that
if i do new okay so it's actually
there it is so that's our message and
before
was something else so if we look here
uh that record save let's actually we're
going to shrink this down
to oh let's say
well that's a 4 already
let's make this a div
and class equals
i can't remember if we can use this or
not there we go class equals message so
we're going to change this guy
to that
so let's um take that
this is on create task and let's just
fix that real quick
we're not even going to create a task
force this time
this is going to be that it's going to
be a
message and let's get rid of that and
then what i'm going to want to do
here record saved
so now if i take that now this is a new
record
and so if i take this and try to delete
it
let's see what it does it doesn't really
display
anything on me so what i need to do on
the delete
if i go to that task list
this is a test it actually oh
interesting delete
duplicated so now if i come in and
delete
let's see oh it was showing all tasks if
i go to roadmaps
immediate
and this is a test so i did delete one
of them
and so i'm going to delete him
and so i've got deletes going to the
wrong place basically
delete returns to task list
do i already have that task
uh let's see oops
i don't want that one i want
immediate do i have
delete
yeah so i'm going to fix that too so
delete returns to the task list instead
i want that to
go to
so when i do a task and i think it's
here i think that's
actually in the delete
there's delete all tasks
oh let's make sure what that does so if
i go to task edit
delete sends a
delete oh it's just just a submit and
it's going to come in as a delete so
let's see
so that was edit task
so if it's a delete oh here we go
i need to do record
deleted
and instead of a i think i'm just going
to not do the redirect on that
i'm probably not going to do it on the
saved
either well this is on an edit so i
probably do
want to return so i need to do
essentially like a last page
and so this is going to be a little bit
more interesting because what i'm going
to do is
i'm going to save potentially where i'm
coming from i guess what i can do is
probably go to the parent
but this is going to take a little bit
of thought and so we're going to think
through
this a little bit and we will tackle
this one the next time around
so we'll save that instead let's see
so now we've done done that we've got a
record deleted it's going to redirect to
tasks
so tasks oh does get our session so now
if we delete
uh let's see did i have something here
that
okay so i'm going to create a task real
quick for that period
and this is going to just be called
delete me
if i save it oh
okay record saved and then i do want to
fix
oh there's another one is that
remove delete from
task create
if i return to immediate if i go to
delete me let's see what that does now
where
is delete me there's oops
delete me and if i delete him
and then it's just going to come back to
my list of all tasks and i want it to go
back to
where i came from so we'll think about
that one later uh the first one we'll do
is let's go to edit
i'm sorry to edit because we can fix
this one rather quickly before we wrap
this up
delete record we're going to do an if
and this is going to end if
and what i can probably do is
i'm gonna check if
probably id we're going to keep it
simple
title equals uh what is the title on
edit edit task
uh here tyco title equals
edit task then we can delete
otherwise we cannot so edit task
whoops
so let's go back and look at this one
real quick
oh this is going to be something
different right
i always forget i think it's eq oh let's
try this
now we'll fix it real quick this way
there we go so it does and now if we do
task list does not do if we go to home
we do create tasks
and it doesn't so we do have that one
fixed so that will wrap it up
sorry if we went along i'm going to try
to trim this one down again edit it to
get us down to the 15 minutes
some of my meandering but we're going to
continue next time around because we're
going to keep on
working our way through this list and
try to hammer out a couple of them
in the next episode or two that being
said go out there have yourself a great
day
a great week and we'll talk to you next
time
you