WorkItem widget extensibility — Transcript
Full transcript
- 0:00I just
- 0:03cre yeah so again a
- 0:06short uh summary yes this is a
- 0:10brainstorming I gu meeting on uh
- 0:14um how do we want to approach the
- 0:19extensible work itum widget
- 0:23capabilities um and right now this is
- 0:27mainly about roll up
- 0:30widgets I guess will be maybe a concern
- 0:34name or something like that where what
- 0:37does that mean is that some of the
- 0:39widgets that leave that are designed
- 0:42like for one work item they can we can
- 0:45use that to roll up its value to its uh
- 0:48parents or to the entire to the entire
- 0:51hierarchy so for instance if you have a
- 0:53weight on an issue and then you have a
- 0:56bunch of issues and then you have a
- 0:58parent issue or an EP epic at the Epic
- 1:01Level you would want to see the sum of
- 1:04all the
- 1:04children um weights and the similar
- 1:08thing would go for instance for start
- 1:11and due date where you want to pick the
- 1:14uh for an epic you would probably want
- 1:16to pick the smallest or the
- 1:19earliest start date from from all of its
- 1:22children and end up with the latest due
- 1:26date so then you have basically a time
- 1:29frame on when that big epic or big
- 1:32initiative may actually be
- 1:35completed um so that's that's the idea
- 1:38here uh one way to do that would be to
- 1:42to
- 1:43maybe have a different widget that
- 1:47behaves differently like pendu rollups
- 1:51and a widget that is simple enough that
- 1:53just keeps the value specifically for
- 1:56for the work item without um doing the
- 1:59the roll up or any other
- 2:02capabilities um and another way is maybe
- 2:04have it this widget configurable right
- 2:07um I don't know maybe maybe we can think
- 2:09of something like yeah I want this type
- 2:12of widget to be roll appable like and
- 2:17that can apply to a lot of widgets if
- 2:19you start thinking about that right like
- 2:22even as which well maybe as is not but
- 2:25maybe participants right like at the top
- 2:29level of the hierarchy of of a work
- 2:31hierarchy you can see all the
- 2:33participants that worked on on this
- 2:36initiative and then that's easy enough
- 2:38to say um mention participants and and
- 2:41give a big thank you at the end I don't
- 2:43know like there there are use cases and
- 2:44use cases so um kind of having a way to
- 2:50configure a widget I I think makes more
- 2:53sense from also from user experience I
- 2:56don't I don't see how how the user
- 2:58experience uh would work when you have
- 3:01different widgets with just slightly
- 3:03modified um Behavior right or
- 3:06functionality um I I think it's just a
- 3:09bit more confusing uh when you as user
- 3:12go and try to configure a work item type
- 3:15to have specific widgets included um if
- 3:19I don't know it feels a bit uh weird to
- 3:22me to say well I want the um roll up
- 3:27weights or or or not or
- 3:31whatever it feels like it's the same
- 3:33widget it just has an extra
- 3:37capability I agree with that and I think
- 3:41it's it's really the best way to to do
- 3:44to go in this direction to have like
- 3:46configurable widgets
- 3:48somehow
- 3:50uh I think if we start doing different
- 3:54types of widgets just for little
- 3:56difference on Behavior this will really
- 3:59too f as well it will be harder to to
- 4:01maintain uh I just I don't understand
- 4:04very well the front end side of things
- 4:06so maybe it's just my lack of knowledge
- 4:09but I just can't Envision how we're
- 4:11going to do that on the front
- 4:13end I I I think on the frontend there
- 4:16will be some sort of a configuration
- 4:18page anyway at the probably the root
- 4:21level group where you define your work
- 4:24item types or you have your work item
- 4:26types defined and you can see them um so
- 4:29like because like at this point it's
- 4:31kind of difficult to imagine that
- 4:34because we don't allow any kind of
- 4:36configuration of the work item types
- 4:38right it's just what you give you but
- 4:41eventually even the simplest way to
- 4:43configure a work item type is to say I
- 4:47don't really use these widgets right
- 4:49like imagine um having the Epic and
- 4:52saying well I don't even use time
- 4:54tracking or like any work item time I
- 4:56don't use time tracking why does it need
- 4:58to to use space on my sidebar I just
- 5:02like eliminate that to not even be there
- 5:04because I'm not just I'm never doing
- 5:06time estimation on my stuff um I'm I'm
- 5:09basically using weights or not even
- 5:11using weights and remove that and things
- 5:13like that right so you you need to have
- 5:16at the point when we get there because
- 5:18we're not yet there with the code so we
- 5:20don't want to open it up to add a lot
- 5:22more complexity uh for us to manage but
- 5:25at the point when you get there You'
- 5:26basically have some sort of a simple
- 5:28configuration P where you pick an work
- 5:31item and say these are the widgets that
- 5:33I want just some check boxes I don't
- 5:35know but then for specific widgets you'd
- 5:38also have a options or I don't know
- 5:42another page of configuring that right
- 5:44you just go into the widget specific
- 5:47settings and then there you have I don't
- 5:50know changing the widget's name for
- 5:52instance right instead of call it
- 5:54iteration I want to call it Sprints um
- 5:57or instead of calling it weights I want
- 6:00to call it I don't know how do you call
- 6:02it in in a Gile like points or or
- 6:07um things like that
- 6:12right so from from UI perspective I
- 6:16think it will be a configuration that
- 6:19people with very high permissions or who
- 6:23responsible for managing your
- 6:27um planning
- 6:30uh methodology basically like it's J
- 6:32from whoever is building that that
- 6:35planning block will will configure all
- 6:37that stuff and say yeah this is what I
- 6:39need I need rollups I don't need rollups
- 6:41uh for this stuff I do need rollups and
- 6:43so on
- 6:47um this is a detail you will probably
- 6:50have to add something like if you use
- 6:52roll up it will affect performance or
- 6:55things like that but that's that's
- 6:57details it's just like I think that's
- 6:58where you configure that and then I'm
- 7:02not again I didn't investigate it's just
- 7:04an idea at this point um and I don't
- 7:08know if we can generalize it so that you
- 7:11can expand it for for other widgets
- 7:13right so so
- 7:16maybe if we're to choose like two
- 7:19widgets let's say um weight and days
- 7:26right um yeah they be have actually
- 7:29differently the one would sum up things
- 7:33the one would well the other one would
- 7:35do just max so you
- 7:37basically somehow need to to
- 7:41know what function to call because like
- 7:44it makes sense in a
- 7:49way what I was going to say it makes
- 7:51sense in a way to compute the minimum
- 7:53weight and the maximum weight that you
- 7:54can possibly get for a for a
- 7:58large initiative right and and by
- 8:01minimum and maximum I mean imagine that
- 8:04in your hierarchy you have work items
- 8:08that don't have any weight right so now
- 8:11your weight can vary can vary from those
- 8:15children having the weight one or zero I
- 8:17don't know what what the the range is
- 8:20and having the maximum weight that that
- 8:22you allow so that's the range of the
- 8:24weight that you can estimate at the
- 8:26highest level right you you'll you'll
- 8:28end up somewhere here and maybe we will
- 8:31not be using that but from an
- 8:32implementation standpoint at least in my
- 8:35in my head it's like it kind of similar
- 8:37to start and and due date because then
- 8:41you can have a minimum and a maximum
- 8:43function that you define somewhere
- 8:46either within the widget itself or I
- 8:49don't know in the database somehow I I
- 8:50have no idea how that is implemented as
- 8:52an implementation detail but you can
- 8:54have these two kind of functions to
- 8:56compute the range and then it's
- 8:58basically you can adjust it to be
- 9:01something similar and have a similar
- 9:02implementation for the
- 9:06rollup yeah I I I think I understand
- 9:11what you're saying is just
- 9:13that from where we are now to get there
- 9:16I think there's a lot of steps to go uh
- 9:19so I'm just trying to back process here
- 9:23what's the next steps that you really
- 9:26want to go there you know so I imagine
- 9:28that the first step from my side at
- 9:30least would be to drop the rolled up
- 9:34date wiget that I created and instead of
- 9:36create keep it as a separate wiget to
- 9:41make it a easy extension of they
- 9:43starting dat widget I think this is the
- 9:46first step because this we going to have
- 9:48just a stting DAT widget uh with the
- 9:52rolling up they think being an e
- 9:55extension for now but after that we can
- 9:58maybe try to ex
- 10:00that behavior to somewhere somehow to be
- 10:03reused does that make sense to you yeah
- 10:06well I think I'd go a little bit the
- 10:08other way around because you already
- 10:10have the roll La basically widget itself
- 10:13so can you make it optional is my
- 10:15question like can you make that
- 10:16functionality and and by optional I mean
- 10:19um maybe have a feature flag well a
- 10:21feature flag maybe have a flag in the
- 10:23database like some sort of a column and
- 10:25say yes do rollups or no don't do
- 10:29right and then you basically can drop
- 10:31the the the simple widget cuz like I
- 10:36think the default behavior that we want
- 10:39is really the rolled up stuff because
- 10:41that's how the Epic behave and that's
- 10:43what we want to include in the Epic and
- 10:45I think it will be okay if we go with
- 10:47that widget having the included
- 10:50capability even for other work items but
- 10:53like how at the code level can we make
- 10:56it to switch it on and off because that
- 10:58will give us idea how we can then
- 11:00extract that into something that we can
- 11:03reuse I guess right does that makes
- 11:06sense or yeah uh it's sorry Mar uh it's
- 11:11kind of easy actually because we already
- 11:13have a Togo for when the date is fixed
- 11:16so probably we just have to set that
- 11:18value to always through when the person
- 11:21don't want to roll that rate but my
- 11:23concern is that most of that code was
- 11:25created on E right now so to make these
- 11:30by
- 11:30defa uh C uh ret I would have to either
- 11:36either remove all
- 11:37that
- 11:40and we can keep e only I think we can
- 11:43still keep it e only um because the
- 11:47epics were e only so that functionality
- 11:49would go so like think about like about
- 11:52having the op this is an addition an
- 11:54extension and that's not what we want
- 11:56right now if we need it is not as
- 11:58important but think think about like
- 12:00what if a customer wants to disable it
- 12:03doesn't make any sense but what if a
- 12:04customer wants to disable rollups on
- 12:06epics right that means we need to add
- 12:08another column probably in the database
- 12:10and say um this widget should not do
- 12:15rollups um for for this work item or
- 12:17something something along those lines
- 12:19right not for this work item but but for
- 12:22this work item type I mean for for like
- 12:24epics don't actually do rollups um so
- 12:27it's a series of
- 12:29ifs I guess to be added to the to how we
- 12:33we we
- 12:35update um that all ops yeah my concern
- 12:39is that currently we already have a
- 12:41certain du dat wiget as well and though
- 12:45the DU dat is using the start duate
- 12:48fields from the issues table I think we
- 12:51should move those fields to the data
- 12:54service table and this way use just the
- 12:56data seice table for any St
- 12:59related
- 13:01information let me share screen because
- 13:03I I don't exactly remember so I think
- 13:06the easiest way is to see in base
- 13:10importer H okay so you're saying this
- 13:14start and due date is used in a lot
- 13:18more
- 13:21places uh than the roll up one this one
- 13:25right yeah yeah I see
- 13:33um I mean we have it as we have it right
- 13:37now that's that's okay for
- 13:39the I think that's okay for the feature
- 13:41parody whatever we need to get
- 13:43implemented right so I guess the the
- 13:47continuation steps at least in my
- 13:49opinion that's not that's not a um I
- 13:54spoken truth or anything it's like at
- 13:56least from where I'm standing and you
- 13:58you you please correct me because you
- 13:59have more knowledge in this but like we
- 14:03can extend this
- 14:06widget uh to make the roll up so because
- 14:10because this is
- 14:13basically doing the same implementation
- 14:15as the start and due date plus the
- 14:17rolloffs is that correct because it's
- 14:20using the same Fields it's basically
- 14:22doing same yeah that that that's the
- 14:24point they are not using the same f as
- 14:26to now but I want to migrate the start
- 14:29and to dat from issues to the data sech
- 14:33because currently start and to date is
- 14:35using columns from the issues table
- 14:39oh this this uh uses issues table oh God
- 14:45if I can table
- 14:48columns um and this uses a separate
- 14:52table right yes eight
- 14:56serves yeah so then yeah then I see then
- 14:59it makes sense
- 15:01to to get this widget first to use these
- 15:05columns here
- 15:08right make
- 15:11[Music]
- 15:15the start and due date use
- 15:19the
- 15:21external table
- 15:27colums
- 15:31but that would be a follow follow up
- 15:33right I mean you could still use the
- 15:35start and duate widget to Simply add the
- 15:39rollup fields and still use the old
- 15:42columns I mean I'm just saying that
- 15:45maybe it's not um required of to make
- 15:48this move of the database I mean from
- 15:51the columns just so we change the
- 15:54interface for the widget to have the so
- 15:56the start and due date widget has the
- 15:58new Fields well it still uses the I mean
- 16:02we can do it in multiple steps but of
- 16:04course it would be nice just from the
- 16:06that his perspective to remove more
- 16:08columns from the issu
- 16:10table yeah I agree we don't need to
- 16:13migrate the date F yet what I was
- 16:16playing with was to kind of fall back so
- 16:19I try to see if they start dat exist in
- 16:21the issues table if you don't check on
- 16:24the DAT service table because this way
- 16:26we start falling back to the new table
- 16:28for reading at least and on all the
- 16:31right we can also start migrating step
- 16:35by step and then we have the back field
- 16:37in a different step this way we keep
- 16:40everything working all backs to the new
- 16:45table yeah I mean eventually you do want
- 16:48to end up with with having this because
- 16:52you want to combine the two widgets into
- 16:56one you you basically want to get data
- 17:00into into the same data source right
- 17:03into the same table you don't want it to
- 17:05be split
- 17:06between uh reading from different tables
- 17:09and and doing if and elses like it it
- 17:12like in the transition period like you
- 17:15can do the hacks in the code and and
- 17:18read either from that or from that um
- 17:21and kind of joggle with that but like
- 17:23eventually you want to end up in a or
- 17:25like because I'm I'm not sure if I
- 17:28followed correctly Mario what what you
- 17:30were
- 17:31saying what that I mean I'm just saying
- 17:34that I don't think it's a required step
- 17:36to to move to use the new column I mean
- 17:39we definitely have to do it just as a
- 17:41benefit for the issu table to become
- 17:44smaller I know I'm just saying that yeah
- 17:47we can do it in multiple steps but the
- 17:49the most important thing I mean from the
- 17:52client perspective I guess from the
- 17:53front perspective is to to move to the
- 17:56architecture of the stting due date
- 17:58having the
- 18:00extensibility to roll
- 18:02updates and one thing you were saying
- 18:05before about the front end and I know
- 18:07this is how the P at least is working on
- 18:10this is that uh the front is just going
- 18:13to at some point check What fields are
- 18:16available and render the front end based
- 18:18on that uh so we might not even need to
- 18:21have Fields so they can ask like is roll
- 18:24updates available we simply if it's new
- 18:28we don't render it something like that
- 18:31um so in the transition because we
- 18:33already have the separate roll up dates
- 18:36widget I guess you could just start by
- 18:39implementing the new fields and the
- 18:41existing start and due dat widget and
- 18:43then the font we need to start using
- 18:45those and ignoring the new
- 18:47widget and then we can just remove the
- 18:50the new widget
- 18:53right and currently you were also
- 18:56talking about configuration but I guess
- 18:58that right now we also don't need that
- 19:01and the only thing that can kind of
- 19:04makes the widget available or not is is
- 19:08the is the license that the the group
- 19:13has so we can do the same in the
- 19:16original
- 19:17widget when you extended and that was
- 19:20another thing I mean I guess this is
- 19:23true for other widgets that we're going
- 19:24to be extending if if they are con
- 19:28trained by license widgets uh sorry
- 19:30licensed features is that we're simply
- 19:33going to have to return n values or
- 19:36something like that we're not available
- 19:40uh but I think we're already kind of
- 19:43doing that at least for the widget that
- 19:45are already licensed we just don't
- 19:47return them in the response in the
- 19:49array so yeah I think that that
- 19:57works
- 20:09ex yes so I'm trying to understand then
- 20:12why did we add this
- 20:15table because we either added a new
- 20:18table
- 20:20or we added new field from the isue
- 20:24table because we need like the Searing
- 20:27IDE of the Milestone the nested work
- 20:31item and need a flag to
- 20:38the no so like I think all of the fields
- 20:42in this table are basically present in
- 20:45the issues table right no no okay they
- 20:49they are present on the epics
- 20:54table the table don't have like the C
- 21:00oh I see oh yeah they're an epics table
- 21:05not an issues
- 21:07table so then wait a second so then for
- 21:11the
- 21:15uh so then so this is used for the
- 21:19rollup widget
- 21:24right date
- 21:27source
- 21:28and what about the oh and the and the
- 21:32start and due date is just using start
- 21:34and due date on the
- 21:36issue okay okay I get it
- 21:42now I think you're muted CIO I'm talking
- 21:46alone for half hour
- 21:48sorry so I I was replying all your
- 21:51questions Alexander sorry about that uh
- 21:54but yeah that that's the thing I was
- 21:55mentioning since we created a new table
- 21:58or handle the dates I think migrating
- 22:00they stting do date from issues to this
- 22:03uh new table would be better as well
- 22:07this way we concentrate everything that
- 22:09t needs on the single
- 22:18table so so let me because I might be
- 22:22asking this over and over again but like
- 22:24I'm just I just don't understand so
- 22:26what's what's the down side again if we
- 22:30if we replace this widget with this one
- 22:34everywhere uh not the downside it's just
- 22:38like my understanding let me let me
- 22:40explain why I'm asking or because maybe
- 22:42I'm not understanding it correctly but
- 22:44my understanding is that this service
- 22:47here is looking also or it's not this it
- 22:50was some sort of a
- 22:52finder um yeah there's a finder there
- 22:55inside of the attributes Builder uh uh
- 22:58so uh three let's see let's go here
- 23:03attributes
- 23:05field there's a finder down
- 23:08there just
- 23:10thees yeah CU like I think some of this
- 23:13was also
- 23:15looking for the child um see there's
- 23:20children AGS and children
- 23:24dat so it already checks if you are
- 23:28getting
- 23:29the date from yeah it's looking at the
- 23:32start date from the yeah exactly so it's
- 23:34already looking into that table so like
- 23:37my my question is why can't we just take
- 23:41how this widget
- 23:43works
- 23:45and replace it like replace this one
- 23:49with this one right away cuz you have
- 23:52more understanding of why we cannot do
- 23:54this what what what's preventing us on
- 23:56just saying well you know what we don't
- 23:58need this one if we use this one because
- 24:01they start until is used on C or that's
- 24:05the main thing I would okay the updat
- 24:08used on okay I see
- 24:13yes
- 24:26MH yeah shouldn't be too hard to be
- 24:29honest either moving roll updates to
- 24:32PC uh but only use the fix a and have
- 24:36just an e to have all the r upds that
- 24:39should be fine or even uh copy this
- 24:42logic of the Roll update should they
- 24:45start and date and make the roll update
- 24:47be extension of they start and date
- 24:52I I need work on that for instance this
- 24:56finder could somehow return zeros I
- 25:00don't know what in what format it needs
- 25:01to return for all of these methods and
- 25:04only make it so only this part should
- 25:07work on C right because this is reading
- 25:10from whatever the C returns from the
- 25:12issues
- 25:14table not really is the method above of
- 25:18that the children dat yeah yeah what I'm
- 25:21trying to say here is that like the uh
- 25:24um whatever yeah this one children dates
- 25:28so whatever is reading from the issues
- 25:30table the start and due date right
- 25:32because we fall back to that if we don't
- 25:34find that's my understanding of when I
- 25:36review this is like when you don't find
- 25:38the start and uh due dates Within These
- 25:42data sources try and check on the issues
- 25:44table maybe that's where we we have this
- 25:46data so like have that bit on C and then
- 25:50the rest of it on E so then when
- 25:55when what in C what happens you don't
- 25:57have have the code that's e right that
- 26:00that's the E part that that's going to
- 26:02be working it's like imagine that as
- 26:04like those folders are me missing
- 26:06completely so then if we have that beit
- 26:09working there and the rest of it
- 26:10returning the valid empty response for
- 26:13the other stuff I think you can just
- 26:15override it it's actually simpler than
- 26:18that in my opinion we just on see we
- 26:22make the wiget just have the six St
- 26:25views so
- 26:28this way there is no rolling up checks
- 26:31or anything there's no need for this
- 26:33finder or anything like that on CU and
- 26:36on the E version then we need to add the
- 26:40extra fi and because of that the servy
- 26:42will use all the F and so we can move
- 26:45all the code to see but the widget
- 26:48itself if you just remove those extra
- 26:50fields that really uh initiate
- 26:53calculation it's enough even if they
- 26:55find it going be very
- 27:00yeah yeah I mean because the finder just
- 27:05runs if we are asking for the roll up
- 27:08dates but on C we wouldn't have a way to
- 27:12ask for roll up dates so we will never
- 27:14trigger the finder it's just removing
- 27:17the list of fields that we have on C and
- 27:20that will be enough even if this code is
- 27:22on on
- 27:24C so what do you mean by removing the
- 27:26fields removing the fields from the
- 27:27database or from the widget no on the
- 27:30widget okay so the C version of the
- 27:33widget will have just a start and to
- 27:35date well just those two fields on the E
- 27:39version of that we have if they stting
- 27:41to dat speed then what's the first thing
- 27:43all those
- 27:45are and the same thing for the graph
- 27:47well because if we REM remove from the
- 27:49widget itself we have to remove from the
- 27:51graph well I see yeah we can try that
- 27:56sure
- 27:58like I mean we can even if
- 28:00we I don't know what's the easiest way I
- 28:03need to dig a deeper and I understand
- 28:06how the transition makes it easier like
- 28:08but if we have to duplicate code into
- 28:10the current start and end date widget we
- 28:13you can do that for a transition period
- 28:15and then clean it up um and things like
- 28:18that so whatever works the easiest way
- 28:21we we can we can come around that um but
- 28:24again I I think we can solve this and
- 28:26this should not be too Difficult by I
- 28:28think the difficult part is how do we
- 28:30make it configurable and then how can we
- 28:33do that like in a extension like way
- 28:37right a concern like way so that I can
- 28:40then say well I also want widgets roll
- 28:44up uh weights ropable I also want this
- 28:47other widget ropable like what are the
- 28:50sets of fields that you like database
- 28:54fields or I don't know constructs on the
- 28:58architecture level that you need to have
- 29:01to make a widget roll appable like are
- 29:03there some prerequisites that you need
- 29:05to have to to be able to show that check
- 29:08boox in the UI and say yeah this issue
- 29:10can be reliable or or can be just as a
- 29:13simple um fixed
- 29:18value yeah I agree that's the hardest
- 29:22part uh I'll try to spend the day today
- 29:28simplifying the roll updates widget
- 29:31inways make it
- 29:33more prepared for the this future
- 29:36exensions then because this world up
- 29:38widget it's also behind a fature flag so
- 29:40I think this is a good one it has its
- 29:43own own uh feature flag so messing with
- 29:47this one won anything about the
- 29:49migration or anything else that we
- 29:51working for now I can work a little bit
- 29:53on that and see how much change I have
- 29:56to do
- 29:57and I think you will in the marriage
- 29:59request and just go from there so you're
- 30:02saying you're going to change the roll
- 30:04up um date widget and not the original
- 30:08certain due date I'm just thinking about
- 30:11uh naming basically I mean it it might
- 30:15make more sense to keep the original one
- 30:16which is just the start and due date and
- 30:19add the roll up functionality there than
- 30:21having the roll up wiet which is
- 30:24currently e only do both things I I mean
- 30:29it I think it might be even easier to to
- 30:31just expand the C1 into adding more
- 30:35fields in E then making the other one c
- 30:38and e and all that stuff I mean it's
- 30:42fairly easier to just duplicate
- 30:44everything right have two widgets that
- 30:46that do the same thing all that you need
- 30:48to do is write a migration that disabled
- 30:51one of them so like you have two exact
- 30:54widgets but then on the database side
- 30:56you say well this widget is disabled
- 30:58everywhere where you know what I mean or
- 31:01we just remove it when whenever the
- 31:03frent has migrated this migration is
- 31:06very easy because it like really affects
- 31:08like 10 records or something along those
- 31:11lines just one one wiget definition yeah
- 31:15yeah but it's in many it's in oh it's
- 31:17actually only on epics yeah I mean it
- 31:20depends which one you want to enable and
- 31:21disable but it like either way it's up
- 31:23to 10 20 uh Records so it it's not a big
- 31:31thing sorry go ahead go ahead sorry no
- 31:33go ahead I was just saying that uh
- 31:36that's another reason for maybe it's
- 31:38easier to reuse the existing one because
- 31:41we don't need a migration there we're
- 31:43just expanding on the interface on the
- 31:45existing widget
- 31:47definition um yeah that should work and
- 31:50as you said I mean it might not even be
- 31:53that much I mean a lot of work I I don't
- 31:56know because you did it
- 31:57but it's it looks like you can just
- 32:00reuse everything on the new Fields right
- 32:03and hopefully that's I mean we can reuse
- 32:07and not copy all of the code in both
- 32:10places
- 32:12y yeah no I think should be fine uh just
- 32:16my my point I agree with the nameing as
- 32:18well I think they certain duate we it's
- 32:21a better naming than roll up dates since
- 32:23the Roll Up is a behavior and not the
- 32:25reget itself
- 32:30that's exactly what I was going to say
- 32:32is like if I were to vote for a naming
- 32:34then I I'd go with the original one than
- 32:36the rolled up uh one uh cuz like roll up
- 32:39thing is more of an extension rather
- 32:41than the widgets name itself um so yeah
- 32:45for the naming and for clarity and less
- 32:47confusion I'd go with that one as
- 32:49well um but if I'm going back to the
- 32:52rollup thing I I think to me at least it
- 32:56makes sense
- 32:58that every ropable widget will still
- 33:01have a
- 33:02fixed value like if I'm if I'm
- 33:07transpositioning it into the weight I
- 33:09would say yeah there there is always a
- 33:11fixed weight right because like the leaf
- 33:14nodes in a hierarchy like the the nodes
- 33:17that are the lowest in the hierarchy
- 33:19they will always have a fixed date so
- 33:22you kind of have to have that anyway and
- 33:24now if you're going for a widget that
- 33:27roll up like that doesn't do rollups you
- 33:29want the fixed date also on the parent
- 33:31work item but if you if you go for a
- 33:35rolled up widget then on the parent you
- 33:38need the the
- 33:39computed fields and also like where did
- 33:42these fields like where did this data
- 33:44come from maybe not every widget needs
- 33:47that like because for for weight it's
- 33:51difficult to say where did this data
- 33:52come from because it comes from all the
- 33:54children right it just doesn't make as
- 33:57much
- 33:59sounds uh but other than that it's like
- 34:01you you have to have a fixed value field
- 34:06and a computed value field and maybe
- 34:08even two computed value Fields like the
- 34:11minimum and the maximum like the the the
- 34:13range there um I don't
- 34:17know yeah about the the weight one yeah
- 34:20I'm just thinking I mean how much can we
- 34:23really uh generalize for the rollup
- 34:26thing there might be not much that we
- 34:29can generalize because for example uh I
- 34:32mean the ux team just came up with the
- 34:34conclusion on the weight roll up thing
- 34:36and it's going to behave completely
- 34:38differently so it's it's going to
- 34:40require different Logic for whenever a
- 34:43child has or doesn't have a weight I
- 34:45mean probably the only thing they will
- 34:48all have in common as you said is that
- 34:50they will both have a fixed value and
- 34:53this is more on the interface side I
- 34:55guess I mean the that it will always
- 34:59have a fixed field and it will always
- 35:02have a roll out field so maybe there's a
- 35:04concern around the graphical interface
- 35:06that we can use to something like that
- 35:09but on the logic side there might be not
- 35:13much that we can generalize but that's
- 35:15still while we do it we might find
- 35:18things yeah it's still an interface that
- 35:21we can build around right if it's
- 35:23rollable it has to have this and then
- 35:25has to like the way that you Traverse
- 35:29the three of the work items is the same
- 35:33uh the right cuz you you still need to
- 35:35pick all the children and all that stuff
- 35:37or go to the the parent and update the
- 35:40parents with the rollups so that kind of
- 35:42logic seems very very similar is it's
- 35:44really which field am I using which
- 35:47function am I using to compute the roll
- 35:50up the rollup data right um and and
- 35:54things like that that that that can be
- 35:55very specific to the specific widget uh
- 35:58or widget
- 36:01type to be honest even even if we don't
- 36:06uh reuse that code I think we would have
- 36:09a template on how to do it and if we
- 36:12apply this template twice then it will
- 36:15be more obvious what we can reuse and
- 36:17what we cannot because I agree it's a
- 36:19very complex quy anyways so passing a
- 36:22list of fields and what function to use
- 36:24and all those things might
- 36:27creating a reusable code might be more
- 36:30complex than just duplicating the code
- 36:33so I think we should use it once or
- 36:35twice before trying to make it reusable
- 36:37at
- 36:39least I think that makes sense I mean
- 36:41while we do it we might find if we can
- 36:44actually do I was going to say for
- 36:46example for the weight roll up things I
- 36:49know this is going to be an a
- 36:50synchronous operation just because it
- 36:53has to go up the hierarchy and count and
- 36:56all that so we are going to need to keep
- 36:58a separate table just with the count for
- 37:00each record something like that so just
- 37:05like we did with epics before I mean we
- 37:07had columns in the epics table that cach
- 37:09these values but for this one we're
- 37:11going to be Counting children count uh
- 37:14weight rollup count uh health status
- 37:18counts so we're probably going to need a
- 37:20separate table and calculate these uh
- 37:23values asynchronously so then later they
- 37:26are just going to be consumed on the on
- 37:30the graphical interface so even the as
- 37:33you were saying Alexandre the the logic
- 37:36to go through the hierarchy might be
- 37:38different in this case a synchronous not
- 37:41sure how to start and due date it's the
- 37:42same for epic it's also a synchronous
- 37:44for epic it it Ines a job and uh it
- 37:48actually what it does is when whenever
- 37:50you modify an epic it says now go and do
- 37:54the same like go and update this data on
- 37:57your parent and then from that parent
- 37:59now go and update your pent if you have
- 38:00a parent updated so and all those go and
- 38:03update things are done as
- 38:05synr and actually we already do this for
- 38:08the okr's uh uh work item types too for
- 38:12the progress widget we already have the
- 38:15synchronous uh so you're right I mean
- 38:17maybe here it's one place where we can
- 38:21reuse this I mean that leaves the logic
- 38:23to go through the hierarchy and schedule
- 38:25more as synchronous workers so yeah
- 38:28maybe there there is something I I was
- 38:30just saying that I'm not sure how the
- 38:32start and due date rollup thing works
- 38:35but there are no pre-calculated values
- 38:39right it's just the logic on whether you
- 38:41have a fixed one or if you're going to
- 38:44be using the one from the parent
- 38:47so there is PR precalculated values in
- 38:51the sense that like you can pick the
- 38:54value from a milestone for inance
- 38:56instance or from a child um work item
- 39:00but you still store the value that you
- 39:03pulled from those right so you're not
- 39:05you're not just saying go and look into
- 39:07this but you're also pulling the value
- 39:09and storing it for for the for the
- 39:11whatever parent work item you're you're
- 39:14having
- 39:15right so so basically are serving it
- 39:18from there as well and and you only
- 39:21react when an or item changes this
- 39:24widget value this fixed value right if
- 39:27you're changing this fixed value I need
- 39:29to make sure I update the my parent and
- 39:32my parent will make sure to update its
- 39:35parent and so on so it does this incles
- 39:37this couple asynchronous jobs
- 39:40sequentially actually okay so that's
- 39:43probably one part that we can we can
- 39:46reuse for sure I mean at least that part
- 39:50that goes through the hierarchy right Us
- 39:52in as synchronous workers which would be
- 39:55great we
- 39:57can reuse I mean whatever we come up
- 40:00with like if we have we if we can up
- 40:02come up with an improved way of
- 40:04traversing the hierarchy that still
- 40:06should be reusable in all rollable
- 40:09widgets because it's the same concept
- 40:11it's just a different calculation like
- 40:14if you're thinking a bit of a like about
- 40:17it as an interface then the methodology
- 40:20of doing it should be really the same
- 40:22all the changes is the implementation
- 40:24detail of the of the widget like how do
- 40:26I calculate the specific
- 40:33data yeah uh sorry folks I'll have to
- 40:38leave uh I'm not sure if the call will
- 40:42continue if I drop but I think we have a
- 40:46good starting point I'll try to create a
- 40:50m request migrating they all this roll
- 40:54up and see things that we mentioned here
- 40:56here uh for the Tre traversing thing I'm
- 41:01also working on that uh but I kind of
- 41:04stop for now to Fus on this one but I
- 41:07was using the pub sub that that created
- 41:12so maybe we can also have a discussion
- 41:14about that soon because I think that's
- 41:16that's also related to a lot of
- 41:18different widgets all the events that
- 41:20might change like in this days they
- 41:23starting to dat because it's not only
- 41:25changing a child start to date as
- 41:27Alexander said if a milestone Chang its
- 41:30dates and is associated with a work item
- 41:34that is on the tree that change also
- 41:36impacts that item that will impact all
- 41:38the whole tree but there's a lot of
- 41:40different events so maybe using the P
- 41:43here nice but again I'm working on that
- 41:45in parallel and I'll I'll you both on
- 41:48that
- 41:49Mar how do we want to continue with this
- 41:52do we want to keep doing the sync call
- 41:55do we want to to think about like
- 41:57whatever the weight is doing and and
- 41:59discuss it do we go a sync from now
- 42:04on I was talking with John that because
- 42:08this is very technical maybe you should
- 42:11have a synchronous back and call besides
- 42:15that one that we have with the product
- 42:16managers maybe every two weeks or so
- 42:19just to discuss this kind
- 42:22of I thought that you all had another
- 42:24call earlier today about uh the synap
- 42:28thing and I just missed that I didn't
- 42:30see the calendar so maybe having
- 42:31something where curreny can be better
- 42:33for every one don't have that one is
- 42:36more focused on the on the Epic thinking
- 42:41epics into work items so it's slightly
- 42:44different topic I don't know if we can
- 42:47merge the two together uh but like we
- 42:50can we can keep this one and like
- 42:52discuss the specifics of the um cuz this
- 42:56is more I think this is more focused on
- 42:58rollups and if we can figure out how we
- 43:00can do it CU there will be a lot more
- 43:01rollups I know they're like time
- 43:03tracking on rollups now um and I'm
- 43:06pretty sure rollups are very valuable
- 43:10behavior on its own um and I I'm pretty
- 43:13sure a lot of other widgets will will
- 43:15come along and say because like I can
- 43:16see how Milestones can start rolling up
- 43:19and saying well actually what is the
- 43:22range of Milestones here that I want
- 43:24like I have on this big initiative like
- 43:27what's it's similar to start and end
- 43:29date but it's kind of different if you
- 43:32replace Milestone with releases Now you
- 43:34kind of have a a more in releases like
- 43:37kind of understanding again that may be
- 43:40also hacked out of the start and U date
- 43:42but I don't
- 43:44know yeah but my point was like maybe we
- 43:47could merge all this very technical
- 43:50calls in one just the technical ones and
- 43:53we keep the ones with the product
- 43:54managers uh as well so we have one to
- 43:57discuss product stuff and one to discuss
- 43:59technical problems like really dive a
- 44:02little bit in the cold and see what we
- 44:04have but I don't know I I'll I'll post
- 44:07something in the channel and we can
- 44:09discuss in there sorry it's just because
- 44:11I really have
- 44:12to yeah the problem is we widen up the
- 44:15audience and then like there's a lot of
- 44:17Engineers there and like some of them
- 44:20are waiting for the next call or they
- 44:22don't know when exactly to join to to to
- 44:24catch the topics that I that are
- 44:26interested in and so things like that
- 44:28more of organizator thing um but yeah we
- 44:32can discuss it in the channel and see
- 44:34what everyone thinks cool okay thank you
- 44:38both thank you yeah not much but it's a
- 44:41start um we'll see how we can end out
- 44:43there see all bye everyone
About this transcript
This page contains the full transcript of WorkItem widget extensibility by GitLab Unfiltered, generated from the public captions YouTube serves with the video. The transcript has 6,831 words across 950 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.