YouTube2Text

WorkItem widget extensibility — Transcript

by GitLab Unfiltered · 6,831 words · 950 segments · language en · Watch on YouTube

Full transcript

  1. 0:00I just
  2. 0:03cre yeah so again a
  3. 0:06short uh summary yes this is a
  4. 0:10brainstorming I gu meeting on uh
  5. 0:14um how do we want to approach the
  6. 0:19extensible work itum widget
  7. 0:23capabilities um and right now this is
  8. 0:27mainly about roll up
  9. 0:30widgets I guess will be maybe a concern
  10. 0:34name or something like that where what
  11. 0:37does that mean is that some of the
  12. 0:39widgets that leave that are designed
  13. 0:42like for one work item they can we can
  14. 0:45use that to roll up its value to its uh
  15. 0:48parents or to the entire to the entire
  16. 0:51hierarchy so for instance if you have a
  17. 0:53weight on an issue and then you have a
  18. 0:56bunch of issues and then you have a
  19. 0:58parent issue or an EP epic at the Epic
  20. 1:01Level you would want to see the sum of
  21. 1:04all the
  22. 1:04children um weights and the similar
  23. 1:08thing would go for instance for start
  24. 1:11and due date where you want to pick the
  25. 1:14uh for an epic you would probably want
  26. 1:16to pick the smallest or the
  27. 1:19earliest start date from from all of its
  28. 1:22children and end up with the latest due
  29. 1:26date so then you have basically a time
  30. 1:29frame on when that big epic or big
  31. 1:32initiative may actually be
  32. 1:35completed um so that's that's the idea
  33. 1:38here uh one way to do that would be to
  34. 1:42to
  35. 1:43maybe have a different widget that
  36. 1:47behaves differently like pendu rollups
  37. 1:51and a widget that is simple enough that
  38. 1:53just keeps the value specifically for
  39. 1:56for the work item without um doing the
  40. 1:59the roll up or any other
  41. 2:02capabilities um and another way is maybe
  42. 2:04have it this widget configurable right
  43. 2:07um I don't know maybe maybe we can think
  44. 2:09of something like yeah I want this type
  45. 2:12of widget to be roll appable like and
  46. 2:17that can apply to a lot of widgets if
  47. 2:19you start thinking about that right like
  48. 2:22even as which well maybe as is not but
  49. 2:25maybe participants right like at the top
  50. 2:29level of the hierarchy of of a work
  51. 2:31hierarchy you can see all the
  52. 2:33participants that worked on on this
  53. 2:36initiative and then that's easy enough
  54. 2:38to say um mention participants and and
  55. 2:41give a big thank you at the end I don't
  56. 2:43know like there there are use cases and
  57. 2:44use cases so um kind of having a way to
  58. 2:50configure a widget I I think makes more
  59. 2:53sense from also from user experience I
  60. 2:56don't I don't see how how the user
  61. 2:58experience uh would work when you have
  62. 3:01different widgets with just slightly
  63. 3:03modified um Behavior right or
  64. 3:06functionality um I I think it's just a
  65. 3:09bit more confusing uh when you as user
  66. 3:12go and try to configure a work item type
  67. 3:15to have specific widgets included um if
  68. 3:19I don't know it feels a bit uh weird to
  69. 3:22me to say well I want the um roll up
  70. 3:27weights or or or not or
  71. 3:31whatever it feels like it's the same
  72. 3:33widget it just has an extra
  73. 3:37capability I agree with that and I think
  74. 3:41it's it's really the best way to to do
  75. 3:44to go in this direction to have like
  76. 3:46configurable widgets
  77. 3:48somehow
  78. 3:50uh I think if we start doing different
  79. 3:54types of widgets just for little
  80. 3:56difference on Behavior this will really
  81. 3:59too f as well it will be harder to to
  82. 4:01maintain uh I just I don't understand
  83. 4:04very well the front end side of things
  84. 4:06so maybe it's just my lack of knowledge
  85. 4:09but I just can't Envision how we're
  86. 4:11going to do that on the front
  87. 4:13end I I I think on the frontend there
  88. 4:16will be some sort of a configuration
  89. 4:18page anyway at the probably the root
  90. 4:21level group where you define your work
  91. 4:24item types or you have your work item
  92. 4:26types defined and you can see them um so
  93. 4:29like because like at this point it's
  94. 4:31kind of difficult to imagine that
  95. 4:34because we don't allow any kind of
  96. 4:36configuration of the work item types
  97. 4:38right it's just what you give you but
  98. 4:41eventually even the simplest way to
  99. 4:43configure a work item type is to say I
  100. 4:47don't really use these widgets right
  101. 4:49like imagine um having the Epic and
  102. 4:52saying well I don't even use time
  103. 4:54tracking or like any work item time I
  104. 4:56don't use time tracking why does it need
  105. 4:58to to use space on my sidebar I just
  106. 5:02like eliminate that to not even be there
  107. 5:04because I'm not just I'm never doing
  108. 5:06time estimation on my stuff um I'm I'm
  109. 5:09basically using weights or not even
  110. 5:11using weights and remove that and things
  111. 5:13like that right so you you need to have
  112. 5:16at the point when we get there because
  113. 5:18we're not yet there with the code so we
  114. 5:20don't want to open it up to add a lot
  115. 5:22more complexity uh for us to manage but
  116. 5:25at the point when you get there You'
  117. 5:26basically have some sort of a simple
  118. 5:28configuration P where you pick an work
  119. 5:31item and say these are the widgets that
  120. 5:33I want just some check boxes I don't
  121. 5:35know but then for specific widgets you'd
  122. 5:38also have a options or I don't know
  123. 5:42another page of configuring that right
  124. 5:44you just go into the widget specific
  125. 5:47settings and then there you have I don't
  126. 5:50know changing the widget's name for
  127. 5:52instance right instead of call it
  128. 5:54iteration I want to call it Sprints um
  129. 5:57or instead of calling it weights I want
  130. 6:00to call it I don't know how do you call
  131. 6:02it in in a Gile like points or or
  132. 6:07um things like that
  133. 6:12right so from from UI perspective I
  134. 6:16think it will be a configuration that
  135. 6:19people with very high permissions or who
  136. 6:23responsible for managing your
  137. 6:27um planning
  138. 6:30uh methodology basically like it's J
  139. 6:32from whoever is building that that
  140. 6:35planning block will will configure all
  141. 6:37that stuff and say yeah this is what I
  142. 6:39need I need rollups I don't need rollups
  143. 6:41uh for this stuff I do need rollups and
  144. 6:43so on
  145. 6:47um this is a detail you will probably
  146. 6:50have to add something like if you use
  147. 6:52roll up it will affect performance or
  148. 6:55things like that but that's that's
  149. 6:57details it's just like I think that's
  150. 6:58where you configure that and then I'm
  151. 7:02not again I didn't investigate it's just
  152. 7:04an idea at this point um and I don't
  153. 7:08know if we can generalize it so that you
  154. 7:11can expand it for for other widgets
  155. 7:13right so so
  156. 7:16maybe if we're to choose like two
  157. 7:19widgets let's say um weight and days
  158. 7:26right um yeah they be have actually
  159. 7:29differently the one would sum up things
  160. 7:33the one would well the other one would
  161. 7:35do just max so you
  162. 7:37basically somehow need to to
  163. 7:41know what function to call because like
  164. 7:44it makes sense in a
  165. 7:49way what I was going to say it makes
  166. 7:51sense in a way to compute the minimum
  167. 7:53weight and the maximum weight that you
  168. 7:54can possibly get for a for a
  169. 7:58large initiative right and and by
  170. 8:01minimum and maximum I mean imagine that
  171. 8:04in your hierarchy you have work items
  172. 8:08that don't have any weight right so now
  173. 8:11your weight can vary can vary from those
  174. 8:15children having the weight one or zero I
  175. 8:17don't know what what the the range is
  176. 8:20and having the maximum weight that that
  177. 8:22you allow so that's the range of the
  178. 8:24weight that you can estimate at the
  179. 8:26highest level right you you'll you'll
  180. 8:28end up somewhere here and maybe we will
  181. 8:31not be using that but from an
  182. 8:32implementation standpoint at least in my
  183. 8:35in my head it's like it kind of similar
  184. 8:37to start and and due date because then
  185. 8:41you can have a minimum and a maximum
  186. 8:43function that you define somewhere
  187. 8:46either within the widget itself or I
  188. 8:49don't know in the database somehow I I
  189. 8:50have no idea how that is implemented as
  190. 8:52an implementation detail but you can
  191. 8:54have these two kind of functions to
  192. 8:56compute the range and then it's
  193. 8:58basically you can adjust it to be
  194. 9:01something similar and have a similar
  195. 9:02implementation for the
  196. 9:06rollup yeah I I I think I understand
  197. 9:11what you're saying is just
  198. 9:13that from where we are now to get there
  199. 9:16I think there's a lot of steps to go uh
  200. 9:19so I'm just trying to back process here
  201. 9:23what's the next steps that you really
  202. 9:26want to go there you know so I imagine
  203. 9:28that the first step from my side at
  204. 9:30least would be to drop the rolled up
  205. 9:34date wiget that I created and instead of
  206. 9:36create keep it as a separate wiget to
  207. 9:41make it a easy extension of they
  208. 9:43starting dat widget I think this is the
  209. 9:46first step because this we going to have
  210. 9:48just a stting DAT widget uh with the
  211. 9:52rolling up they think being an e
  212. 9:55extension for now but after that we can
  213. 9:58maybe try to ex
  214. 10:00that behavior to somewhere somehow to be
  215. 10:03reused does that make sense to you yeah
  216. 10:06well I think I'd go a little bit the
  217. 10:08other way around because you already
  218. 10:10have the roll La basically widget itself
  219. 10:13so can you make it optional is my
  220. 10:15question like can you make that
  221. 10:16functionality and and by optional I mean
  222. 10:19um maybe have a feature flag well a
  223. 10:21feature flag maybe have a flag in the
  224. 10:23database like some sort of a column and
  225. 10:25say yes do rollups or no don't do
  226. 10:29right and then you basically can drop
  227. 10:31the the the simple widget cuz like I
  228. 10:36think the default behavior that we want
  229. 10:39is really the rolled up stuff because
  230. 10:41that's how the Epic behave and that's
  231. 10:43what we want to include in the Epic and
  232. 10:45I think it will be okay if we go with
  233. 10:47that widget having the included
  234. 10:50capability even for other work items but
  235. 10:53like how at the code level can we make
  236. 10:56it to switch it on and off because that
  237. 10:58will give us idea how we can then
  238. 11:00extract that into something that we can
  239. 11:03reuse I guess right does that makes
  240. 11:06sense or yeah uh it's sorry Mar uh it's
  241. 11:11kind of easy actually because we already
  242. 11:13have a Togo for when the date is fixed
  243. 11:16so probably we just have to set that
  244. 11:18value to always through when the person
  245. 11:21don't want to roll that rate but my
  246. 11:23concern is that most of that code was
  247. 11:25created on E right now so to make these
  248. 11:30by
  249. 11:30defa uh C uh ret I would have to either
  250. 11:36either remove all
  251. 11:37that
  252. 11:40and we can keep e only I think we can
  253. 11:43still keep it e only um because the
  254. 11:47epics were e only so that functionality
  255. 11:49would go so like think about like about
  256. 11:52having the op this is an addition an
  257. 11:54extension and that's not what we want
  258. 11:56right now if we need it is not as
  259. 11:58important but think think about like
  260. 12:00what if a customer wants to disable it
  261. 12:03doesn't make any sense but what if a
  262. 12:04customer wants to disable rollups on
  263. 12:06epics right that means we need to add
  264. 12:08another column probably in the database
  265. 12:10and say um this widget should not do
  266. 12:15rollups um for for this work item or
  267. 12:17something something along those lines
  268. 12:19right not for this work item but but for
  269. 12:22this work item type I mean for for like
  270. 12:24epics don't actually do rollups um so
  271. 12:27it's a series of
  272. 12:29ifs I guess to be added to the to how we
  273. 12:33we we
  274. 12:35update um that all ops yeah my concern
  275. 12:39is that currently we already have a
  276. 12:41certain du dat wiget as well and though
  277. 12:45the DU dat is using the start duate
  278. 12:48fields from the issues table I think we
  279. 12:51should move those fields to the data
  280. 12:54service table and this way use just the
  281. 12:56data seice table for any St
  282. 12:59related
  283. 13:01information let me share screen because
  284. 13:03I I don't exactly remember so I think
  285. 13:06the easiest way is to see in base
  286. 13:10importer H okay so you're saying this
  287. 13:14start and due date is used in a lot
  288. 13:18more
  289. 13:21places uh than the roll up one this one
  290. 13:25right yeah yeah I see
  291. 13:33um I mean we have it as we have it right
  292. 13:37now that's that's okay for
  293. 13:39the I think that's okay for the feature
  294. 13:41parody whatever we need to get
  295. 13:43implemented right so I guess the the
  296. 13:47continuation steps at least in my
  297. 13:49opinion that's not that's not a um I
  298. 13:54spoken truth or anything it's like at
  299. 13:56least from where I'm standing and you
  300. 13:58you you please correct me because you
  301. 13:59have more knowledge in this but like we
  302. 14:03can extend this
  303. 14:06widget uh to make the roll up so because
  304. 14:10because this is
  305. 14:13basically doing the same implementation
  306. 14:15as the start and due date plus the
  307. 14:17rolloffs is that correct because it's
  308. 14:20using the same Fields it's basically
  309. 14:22doing same yeah that that that's the
  310. 14:24point they are not using the same f as
  311. 14:26to now but I want to migrate the start
  312. 14:29and to dat from issues to the data sech
  313. 14:33because currently start and to date is
  314. 14:35using columns from the issues table
  315. 14:39oh this this uh uses issues table oh God
  316. 14:45if I can table
  317. 14:48columns um and this uses a separate
  318. 14:52table right yes eight
  319. 14:56serves yeah so then yeah then I see then
  320. 14:59it makes sense
  321. 15:01to to get this widget first to use these
  322. 15:05columns here
  323. 15:08right make
  324. 15:11[Music]
  325. 15:15the start and due date use
  326. 15:19the
  327. 15:21external table
  328. 15:27colums
  329. 15:31but that would be a follow follow up
  330. 15:33right I mean you could still use the
  331. 15:35start and duate widget to Simply add the
  332. 15:39rollup fields and still use the old
  333. 15:42columns I mean I'm just saying that
  334. 15:45maybe it's not um required of to make
  335. 15:48this move of the database I mean from
  336. 15:51the columns just so we change the
  337. 15:54interface for the widget to have the so
  338. 15:56the start and due date widget has the
  339. 15:58new Fields well it still uses the I mean
  340. 16:02we can do it in multiple steps but of
  341. 16:04course it would be nice just from the
  342. 16:06that his perspective to remove more
  343. 16:08columns from the issu
  344. 16:10table yeah I agree we don't need to
  345. 16:13migrate the date F yet what I was
  346. 16:16playing with was to kind of fall back so
  347. 16:19I try to see if they start dat exist in
  348. 16:21the issues table if you don't check on
  349. 16:24the DAT service table because this way
  350. 16:26we start falling back to the new table
  351. 16:28for reading at least and on all the
  352. 16:31right we can also start migrating step
  353. 16:35by step and then we have the back field
  354. 16:37in a different step this way we keep
  355. 16:40everything working all backs to the new
  356. 16:45table yeah I mean eventually you do want
  357. 16:48to end up with with having this because
  358. 16:52you want to combine the two widgets into
  359. 16:56one you you basically want to get data
  360. 17:00into into the same data source right
  361. 17:03into the same table you don't want it to
  362. 17:05be split
  363. 17:06between uh reading from different tables
  364. 17:09and and doing if and elses like it it
  365. 17:12like in the transition period like you
  366. 17:15can do the hacks in the code and and
  367. 17:18read either from that or from that um
  368. 17:21and kind of joggle with that but like
  369. 17:23eventually you want to end up in a or
  370. 17:25like because I'm I'm not sure if I
  371. 17:28followed correctly Mario what what you
  372. 17:30were
  373. 17:31saying what that I mean I'm just saying
  374. 17:34that I don't think it's a required step
  375. 17:36to to move to use the new column I mean
  376. 17:39we definitely have to do it just as a
  377. 17:41benefit for the issu table to become
  378. 17:44smaller I know I'm just saying that yeah
  379. 17:47we can do it in multiple steps but the
  380. 17:49the most important thing I mean from the
  381. 17:52client perspective I guess from the
  382. 17:53front perspective is to to move to the
  383. 17:56architecture of the stting due date
  384. 17:58having the
  385. 18:00extensibility to roll
  386. 18:02updates and one thing you were saying
  387. 18:05before about the front end and I know
  388. 18:07this is how the P at least is working on
  389. 18:10this is that uh the front is just going
  390. 18:13to at some point check What fields are
  391. 18:16available and render the front end based
  392. 18:18on that uh so we might not even need to
  393. 18:21have Fields so they can ask like is roll
  394. 18:24updates available we simply if it's new
  395. 18:28we don't render it something like that
  396. 18:31um so in the transition because we
  397. 18:33already have the separate roll up dates
  398. 18:36widget I guess you could just start by
  399. 18:39implementing the new fields and the
  400. 18:41existing start and due dat widget and
  401. 18:43then the font we need to start using
  402. 18:45those and ignoring the new
  403. 18:47widget and then we can just remove the
  404. 18:50the new widget
  405. 18:53right and currently you were also
  406. 18:56talking about configuration but I guess
  407. 18:58that right now we also don't need that
  408. 19:01and the only thing that can kind of
  409. 19:04makes the widget available or not is is
  410. 19:08the is the license that the the group
  411. 19:13has so we can do the same in the
  412. 19:16original
  413. 19:17widget when you extended and that was
  414. 19:20another thing I mean I guess this is
  415. 19:23true for other widgets that we're going
  416. 19:24to be extending if if they are con
  417. 19:28trained by license widgets uh sorry
  418. 19:30licensed features is that we're simply
  419. 19:33going to have to return n values or
  420. 19:36something like that we're not available
  421. 19:40uh but I think we're already kind of
  422. 19:43doing that at least for the widget that
  423. 19:45are already licensed we just don't
  424. 19:47return them in the response in the
  425. 19:49array so yeah I think that that
  426. 19:57works
  427. 20:09ex yes so I'm trying to understand then
  428. 20:12why did we add this
  429. 20:15table because we either added a new
  430. 20:18table
  431. 20:20or we added new field from the isue
  432. 20:24table because we need like the Searing
  433. 20:27IDE of the Milestone the nested work
  434. 20:31item and need a flag to
  435. 20:38the no so like I think all of the fields
  436. 20:42in this table are basically present in
  437. 20:45the issues table right no no okay they
  438. 20:49they are present on the epics
  439. 20:54table the table don't have like the C
  440. 21:00oh I see oh yeah they're an epics table
  441. 21:05not an issues
  442. 21:07table so then wait a second so then for
  443. 21:11the
  444. 21:15uh so then so this is used for the
  445. 21:19rollup widget
  446. 21:24right date
  447. 21:27source
  448. 21:28and what about the oh and the and the
  449. 21:32start and due date is just using start
  450. 21:34and due date on the
  451. 21:36issue okay okay I get it
  452. 21:42now I think you're muted CIO I'm talking
  453. 21:46alone for half hour
  454. 21:48sorry so I I was replying all your
  455. 21:51questions Alexander sorry about that uh
  456. 21:54but yeah that that's the thing I was
  457. 21:55mentioning since we created a new table
  458. 21:58or handle the dates I think migrating
  459. 22:00they stting do date from issues to this
  460. 22:03uh new table would be better as well
  461. 22:07this way we concentrate everything that
  462. 22:09t needs on the single
  463. 22:18table so so let me because I might be
  464. 22:22asking this over and over again but like
  465. 22:24I'm just I just don't understand so
  466. 22:26what's what's the down side again if we
  467. 22:30if we replace this widget with this one
  468. 22:34everywhere uh not the downside it's just
  469. 22:38like my understanding let me let me
  470. 22:40explain why I'm asking or because maybe
  471. 22:42I'm not understanding it correctly but
  472. 22:44my understanding is that this service
  473. 22:47here is looking also or it's not this it
  474. 22:50was some sort of a
  475. 22:52finder um yeah there's a finder there
  476. 22:55inside of the attributes Builder uh uh
  477. 22:58so uh three let's see let's go here
  478. 23:03attributes
  479. 23:05field there's a finder down
  480. 23:08there just
  481. 23:10thees yeah CU like I think some of this
  482. 23:13was also
  483. 23:15looking for the child um see there's
  484. 23:20children AGS and children
  485. 23:24dat so it already checks if you are
  486. 23:28getting
  487. 23:29the date from yeah it's looking at the
  488. 23:32start date from the yeah exactly so it's
  489. 23:34already looking into that table so like
  490. 23:37my my question is why can't we just take
  491. 23:41how this widget
  492. 23:43works
  493. 23:45and replace it like replace this one
  494. 23:49with this one right away cuz you have
  495. 23:52more understanding of why we cannot do
  496. 23:54this what what what's preventing us on
  497. 23:56just saying well you know what we don't
  498. 23:58need this one if we use this one because
  499. 24:01they start until is used on C or that's
  500. 24:05the main thing I would okay the updat
  501. 24:08used on okay I see
  502. 24:13yes
  503. 24:26MH yeah shouldn't be too hard to be
  504. 24:29honest either moving roll updates to
  505. 24:32PC uh but only use the fix a and have
  506. 24:36just an e to have all the r upds that
  507. 24:39should be fine or even uh copy this
  508. 24:42logic of the Roll update should they
  509. 24:45start and date and make the roll update
  510. 24:47be extension of they start and date
  511. 24:52I I need work on that for instance this
  512. 24:56finder could somehow return zeros I
  513. 25:00don't know what in what format it needs
  514. 25:01to return for all of these methods and
  515. 25:04only make it so only this part should
  516. 25:07work on C right because this is reading
  517. 25:10from whatever the C returns from the
  518. 25:12issues
  519. 25:14table not really is the method above of
  520. 25:18that the children dat yeah yeah what I'm
  521. 25:21trying to say here is that like the uh
  522. 25:24um whatever yeah this one children dates
  523. 25:28so whatever is reading from the issues
  524. 25:30table the start and due date right
  525. 25:32because we fall back to that if we don't
  526. 25:34find that's my understanding of when I
  527. 25:36review this is like when you don't find
  528. 25:38the start and uh due dates Within These
  529. 25:42data sources try and check on the issues
  530. 25:44table maybe that's where we we have this
  531. 25:46data so like have that bit on C and then
  532. 25:50the rest of it on E so then when
  533. 25:55when what in C what happens you don't
  534. 25:57have have the code that's e right that
  535. 26:00that's the E part that that's going to
  536. 26:02be working it's like imagine that as
  537. 26:04like those folders are me missing
  538. 26:06completely so then if we have that beit
  539. 26:09working there and the rest of it
  540. 26:10returning the valid empty response for
  541. 26:13the other stuff I think you can just
  542. 26:15override it it's actually simpler than
  543. 26:18that in my opinion we just on see we
  544. 26:22make the wiget just have the six St
  545. 26:25views so
  546. 26:28this way there is no rolling up checks
  547. 26:31or anything there's no need for this
  548. 26:33finder or anything like that on CU and
  549. 26:36on the E version then we need to add the
  550. 26:40extra fi and because of that the servy
  551. 26:42will use all the F and so we can move
  552. 26:45all the code to see but the widget
  553. 26:48itself if you just remove those extra
  554. 26:50fields that really uh initiate
  555. 26:53calculation it's enough even if they
  556. 26:55find it going be very
  557. 27:00yeah yeah I mean because the finder just
  558. 27:05runs if we are asking for the roll up
  559. 27:08dates but on C we wouldn't have a way to
  560. 27:12ask for roll up dates so we will never
  561. 27:14trigger the finder it's just removing
  562. 27:17the list of fields that we have on C and
  563. 27:20that will be enough even if this code is
  564. 27:22on on
  565. 27:24C so what do you mean by removing the
  566. 27:26fields removing the fields from the
  567. 27:27database or from the widget no on the
  568. 27:30widget okay so the C version of the
  569. 27:33widget will have just a start and to
  570. 27:35date well just those two fields on the E
  571. 27:39version of that we have if they stting
  572. 27:41to dat speed then what's the first thing
  573. 27:43all those
  574. 27:45are and the same thing for the graph
  575. 27:47well because if we REM remove from the
  576. 27:49widget itself we have to remove from the
  577. 27:51graph well I see yeah we can try that
  578. 27:56sure
  579. 27:58like I mean we can even if
  580. 28:00we I don't know what's the easiest way I
  581. 28:03need to dig a deeper and I understand
  582. 28:06how the transition makes it easier like
  583. 28:08but if we have to duplicate code into
  584. 28:10the current start and end date widget we
  585. 28:13you can do that for a transition period
  586. 28:15and then clean it up um and things like
  587. 28:18that so whatever works the easiest way
  588. 28:21we we can we can come around that um but
  589. 28:24again I I think we can solve this and
  590. 28:26this should not be too Difficult by I
  591. 28:28think the difficult part is how do we
  592. 28:30make it configurable and then how can we
  593. 28:33do that like in a extension like way
  594. 28:37right a concern like way so that I can
  595. 28:40then say well I also want widgets roll
  596. 28:44up uh weights ropable I also want this
  597. 28:47other widget ropable like what are the
  598. 28:50sets of fields that you like database
  599. 28:54fields or I don't know constructs on the
  600. 28:58architecture level that you need to have
  601. 29:01to make a widget roll appable like are
  602. 29:03there some prerequisites that you need
  603. 29:05to have to to be able to show that check
  604. 29:08boox in the UI and say yeah this issue
  605. 29:10can be reliable or or can be just as a
  606. 29:13simple um fixed
  607. 29:18value yeah I agree that's the hardest
  608. 29:22part uh I'll try to spend the day today
  609. 29:28simplifying the roll updates widget
  610. 29:31inways make it
  611. 29:33more prepared for the this future
  612. 29:36exensions then because this world up
  613. 29:38widget it's also behind a fature flag so
  614. 29:40I think this is a good one it has its
  615. 29:43own own uh feature flag so messing with
  616. 29:47this one won anything about the
  617. 29:49migration or anything else that we
  618. 29:51working for now I can work a little bit
  619. 29:53on that and see how much change I have
  620. 29:56to do
  621. 29:57and I think you will in the marriage
  622. 29:59request and just go from there so you're
  623. 30:02saying you're going to change the roll
  624. 30:04up um date widget and not the original
  625. 30:08certain due date I'm just thinking about
  626. 30:11uh naming basically I mean it it might
  627. 30:15make more sense to keep the original one
  628. 30:16which is just the start and due date and
  629. 30:19add the roll up functionality there than
  630. 30:21having the roll up wiet which is
  631. 30:24currently e only do both things I I mean
  632. 30:29it I think it might be even easier to to
  633. 30:31just expand the C1 into adding more
  634. 30:35fields in E then making the other one c
  635. 30:38and e and all that stuff I mean it's
  636. 30:42fairly easier to just duplicate
  637. 30:44everything right have two widgets that
  638. 30:46that do the same thing all that you need
  639. 30:48to do is write a migration that disabled
  640. 30:51one of them so like you have two exact
  641. 30:54widgets but then on the database side
  642. 30:56you say well this widget is disabled
  643. 30:58everywhere where you know what I mean or
  644. 31:01we just remove it when whenever the
  645. 31:03frent has migrated this migration is
  646. 31:06very easy because it like really affects
  647. 31:08like 10 records or something along those
  648. 31:11lines just one one wiget definition yeah
  649. 31:15yeah but it's in many it's in oh it's
  650. 31:17actually only on epics yeah I mean it
  651. 31:20depends which one you want to enable and
  652. 31:21disable but it like either way it's up
  653. 31:23to 10 20 uh Records so it it's not a big
  654. 31:31thing sorry go ahead go ahead sorry no
  655. 31:33go ahead I was just saying that uh
  656. 31:36that's another reason for maybe it's
  657. 31:38easier to reuse the existing one because
  658. 31:41we don't need a migration there we're
  659. 31:43just expanding on the interface on the
  660. 31:45existing widget
  661. 31:47definition um yeah that should work and
  662. 31:50as you said I mean it might not even be
  663. 31:53that much I mean a lot of work I I don't
  664. 31:56know because you did it
  665. 31:57but it's it looks like you can just
  666. 32:00reuse everything on the new Fields right
  667. 32:03and hopefully that's I mean we can reuse
  668. 32:07and not copy all of the code in both
  669. 32:10places
  670. 32:12y yeah no I think should be fine uh just
  671. 32:16my my point I agree with the nameing as
  672. 32:18well I think they certain duate we it's
  673. 32:21a better naming than roll up dates since
  674. 32:23the Roll Up is a behavior and not the
  675. 32:25reget itself
  676. 32:30that's exactly what I was going to say
  677. 32:32is like if I were to vote for a naming
  678. 32:34then I I'd go with the original one than
  679. 32:36the rolled up uh one uh cuz like roll up
  680. 32:39thing is more of an extension rather
  681. 32:41than the widgets name itself um so yeah
  682. 32:45for the naming and for clarity and less
  683. 32:47confusion I'd go with that one as
  684. 32:49well um but if I'm going back to the
  685. 32:52rollup thing I I think to me at least it
  686. 32:56makes sense
  687. 32:58that every ropable widget will still
  688. 33:01have a
  689. 33:02fixed value like if I'm if I'm
  690. 33:07transpositioning it into the weight I
  691. 33:09would say yeah there there is always a
  692. 33:11fixed weight right because like the leaf
  693. 33:14nodes in a hierarchy like the the nodes
  694. 33:17that are the lowest in the hierarchy
  695. 33:19they will always have a fixed date so
  696. 33:22you kind of have to have that anyway and
  697. 33:24now if you're going for a widget that
  698. 33:27roll up like that doesn't do rollups you
  699. 33:29want the fixed date also on the parent
  700. 33:31work item but if you if you go for a
  701. 33:35rolled up widget then on the parent you
  702. 33:38need the the
  703. 33:39computed fields and also like where did
  704. 33:42these fields like where did this data
  705. 33:44come from maybe not every widget needs
  706. 33:47that like because for for weight it's
  707. 33:51difficult to say where did this data
  708. 33:52come from because it comes from all the
  709. 33:54children right it just doesn't make as
  710. 33:57much
  711. 33:59sounds uh but other than that it's like
  712. 34:01you you have to have a fixed value field
  713. 34:06and a computed value field and maybe
  714. 34:08even two computed value Fields like the
  715. 34:11minimum and the maximum like the the the
  716. 34:13range there um I don't
  717. 34:17know yeah about the the weight one yeah
  718. 34:20I'm just thinking I mean how much can we
  719. 34:23really uh generalize for the rollup
  720. 34:26thing there might be not much that we
  721. 34:29can generalize because for example uh I
  722. 34:32mean the ux team just came up with the
  723. 34:34conclusion on the weight roll up thing
  724. 34:36and it's going to behave completely
  725. 34:38differently so it's it's going to
  726. 34:40require different Logic for whenever a
  727. 34:43child has or doesn't have a weight I
  728. 34:45mean probably the only thing they will
  729. 34:48all have in common as you said is that
  730. 34:50they will both have a fixed value and
  731. 34:53this is more on the interface side I
  732. 34:55guess I mean the that it will always
  733. 34:59have a fixed field and it will always
  734. 35:02have a roll out field so maybe there's a
  735. 35:04concern around the graphical interface
  736. 35:06that we can use to something like that
  737. 35:09but on the logic side there might be not
  738. 35:13much that we can generalize but that's
  739. 35:15still while we do it we might find
  740. 35:18things yeah it's still an interface that
  741. 35:21we can build around right if it's
  742. 35:23rollable it has to have this and then
  743. 35:25has to like the way that you Traverse
  744. 35:29the three of the work items is the same
  745. 35:33uh the right cuz you you still need to
  746. 35:35pick all the children and all that stuff
  747. 35:37or go to the the parent and update the
  748. 35:40parents with the rollups so that kind of
  749. 35:42logic seems very very similar is it's
  750. 35:44really which field am I using which
  751. 35:47function am I using to compute the roll
  752. 35:50up the rollup data right um and and
  753. 35:54things like that that that that can be
  754. 35:55very specific to the specific widget uh
  755. 35:58or widget
  756. 36:01type to be honest even even if we don't
  757. 36:06uh reuse that code I think we would have
  758. 36:09a template on how to do it and if we
  759. 36:12apply this template twice then it will
  760. 36:15be more obvious what we can reuse and
  761. 36:17what we cannot because I agree it's a
  762. 36:19very complex quy anyways so passing a
  763. 36:22list of fields and what function to use
  764. 36:24and all those things might
  765. 36:27creating a reusable code might be more
  766. 36:30complex than just duplicating the code
  767. 36:33so I think we should use it once or
  768. 36:35twice before trying to make it reusable
  769. 36:37at
  770. 36:39least I think that makes sense I mean
  771. 36:41while we do it we might find if we can
  772. 36:44actually do I was going to say for
  773. 36:46example for the weight roll up things I
  774. 36:49know this is going to be an a
  775. 36:50synchronous operation just because it
  776. 36:53has to go up the hierarchy and count and
  777. 36:56all that so we are going to need to keep
  778. 36:58a separate table just with the count for
  779. 37:00each record something like that so just
  780. 37:05like we did with epics before I mean we
  781. 37:07had columns in the epics table that cach
  782. 37:09these values but for this one we're
  783. 37:11going to be Counting children count uh
  784. 37:14weight rollup count uh health status
  785. 37:18counts so we're probably going to need a
  786. 37:20separate table and calculate these uh
  787. 37:23values asynchronously so then later they
  788. 37:26are just going to be consumed on the on
  789. 37:30the graphical interface so even the as
  790. 37:33you were saying Alexandre the the logic
  791. 37:36to go through the hierarchy might be
  792. 37:38different in this case a synchronous not
  793. 37:41sure how to start and due date it's the
  794. 37:42same for epic it's also a synchronous
  795. 37:44for epic it it Ines a job and uh it
  796. 37:48actually what it does is when whenever
  797. 37:50you modify an epic it says now go and do
  798. 37:54the same like go and update this data on
  799. 37:57your parent and then from that parent
  800. 37:59now go and update your pent if you have
  801. 38:00a parent updated so and all those go and
  802. 38:03update things are done as
  803. 38:05synr and actually we already do this for
  804. 38:08the okr's uh uh work item types too for
  805. 38:12the progress widget we already have the
  806. 38:15synchronous uh so you're right I mean
  807. 38:17maybe here it's one place where we can
  808. 38:21reuse this I mean that leaves the logic
  809. 38:23to go through the hierarchy and schedule
  810. 38:25more as synchronous workers so yeah
  811. 38:28maybe there there is something I I was
  812. 38:30just saying that I'm not sure how the
  813. 38:32start and due date rollup thing works
  814. 38:35but there are no pre-calculated values
  815. 38:39right it's just the logic on whether you
  816. 38:41have a fixed one or if you're going to
  817. 38:44be using the one from the parent
  818. 38:47so there is PR precalculated values in
  819. 38:51the sense that like you can pick the
  820. 38:54value from a milestone for inance
  821. 38:56instance or from a child um work item
  822. 39:00but you still store the value that you
  823. 39:03pulled from those right so you're not
  824. 39:05you're not just saying go and look into
  825. 39:07this but you're also pulling the value
  826. 39:09and storing it for for the for the
  827. 39:11whatever parent work item you're you're
  828. 39:14having
  829. 39:15right so so basically are serving it
  830. 39:18from there as well and and you only
  831. 39:21react when an or item changes this
  832. 39:24widget value this fixed value right if
  833. 39:27you're changing this fixed value I need
  834. 39:29to make sure I update the my parent and
  835. 39:32my parent will make sure to update its
  836. 39:35parent and so on so it does this incles
  837. 39:37this couple asynchronous jobs
  838. 39:40sequentially actually okay so that's
  839. 39:43probably one part that we can we can
  840. 39:46reuse for sure I mean at least that part
  841. 39:50that goes through the hierarchy right Us
  842. 39:52in as synchronous workers which would be
  843. 39:55great we
  844. 39:57can reuse I mean whatever we come up
  845. 40:00with like if we have we if we can up
  846. 40:02come up with an improved way of
  847. 40:04traversing the hierarchy that still
  848. 40:06should be reusable in all rollable
  849. 40:09widgets because it's the same concept
  850. 40:11it's just a different calculation like
  851. 40:14if you're thinking a bit of a like about
  852. 40:17it as an interface then the methodology
  853. 40:20of doing it should be really the same
  854. 40:22all the changes is the implementation
  855. 40:24detail of the of the widget like how do
  856. 40:26I calculate the specific
  857. 40:33data yeah uh sorry folks I'll have to
  858. 40:38leave uh I'm not sure if the call will
  859. 40:42continue if I drop but I think we have a
  860. 40:46good starting point I'll try to create a
  861. 40:50m request migrating they all this roll
  862. 40:54up and see things that we mentioned here
  863. 40:56here uh for the Tre traversing thing I'm
  864. 41:01also working on that uh but I kind of
  865. 41:04stop for now to Fus on this one but I
  866. 41:07was using the pub sub that that created
  867. 41:12so maybe we can also have a discussion
  868. 41:14about that soon because I think that's
  869. 41:16that's also related to a lot of
  870. 41:18different widgets all the events that
  871. 41:20might change like in this days they
  872. 41:23starting to dat because it's not only
  873. 41:25changing a child start to date as
  874. 41:27Alexander said if a milestone Chang its
  875. 41:30dates and is associated with a work item
  876. 41:34that is on the tree that change also
  877. 41:36impacts that item that will impact all
  878. 41:38the whole tree but there's a lot of
  879. 41:40different events so maybe using the P
  880. 41:43here nice but again I'm working on that
  881. 41:45in parallel and I'll I'll you both on
  882. 41:48that
  883. 41:49Mar how do we want to continue with this
  884. 41:52do we want to keep doing the sync call
  885. 41:55do we want to to think about like
  886. 41:57whatever the weight is doing and and
  887. 41:59discuss it do we go a sync from now
  888. 42:04on I was talking with John that because
  889. 42:08this is very technical maybe you should
  890. 42:11have a synchronous back and call besides
  891. 42:15that one that we have with the product
  892. 42:16managers maybe every two weeks or so
  893. 42:19just to discuss this kind
  894. 42:22of I thought that you all had another
  895. 42:24call earlier today about uh the synap
  896. 42:28thing and I just missed that I didn't
  897. 42:30see the calendar so maybe having
  898. 42:31something where curreny can be better
  899. 42:33for every one don't have that one is
  900. 42:36more focused on the on the Epic thinking
  901. 42:41epics into work items so it's slightly
  902. 42:44different topic I don't know if we can
  903. 42:47merge the two together uh but like we
  904. 42:50can we can keep this one and like
  905. 42:52discuss the specifics of the um cuz this
  906. 42:56is more I think this is more focused on
  907. 42:58rollups and if we can figure out how we
  908. 43:00can do it CU there will be a lot more
  909. 43:01rollups I know they're like time
  910. 43:03tracking on rollups now um and I'm
  911. 43:06pretty sure rollups are very valuable
  912. 43:10behavior on its own um and I I'm pretty
  913. 43:13sure a lot of other widgets will will
  914. 43:15come along and say because like I can
  915. 43:16see how Milestones can start rolling up
  916. 43:19and saying well actually what is the
  917. 43:22range of Milestones here that I want
  918. 43:24like I have on this big initiative like
  919. 43:27what's it's similar to start and end
  920. 43:29date but it's kind of different if you
  921. 43:32replace Milestone with releases Now you
  922. 43:34kind of have a a more in releases like
  923. 43:37kind of understanding again that may be
  924. 43:40also hacked out of the start and U date
  925. 43:42but I don't
  926. 43:44know yeah but my point was like maybe we
  927. 43:47could merge all this very technical
  928. 43:50calls in one just the technical ones and
  929. 43:53we keep the ones with the product
  930. 43:54managers uh as well so we have one to
  931. 43:57discuss product stuff and one to discuss
  932. 43:59technical problems like really dive a
  933. 44:02little bit in the cold and see what we
  934. 44:04have but I don't know I I'll I'll post
  935. 44:07something in the channel and we can
  936. 44:09discuss in there sorry it's just because
  937. 44:11I really have
  938. 44:12to yeah the problem is we widen up the
  939. 44:15audience and then like there's a lot of
  940. 44:17Engineers there and like some of them
  941. 44:20are waiting for the next call or they
  942. 44:22don't know when exactly to join to to to
  943. 44:24catch the topics that I that are
  944. 44:26interested in and so things like that
  945. 44:28more of organizator thing um but yeah we
  946. 44:32can discuss it in the channel and see
  947. 44:34what everyone thinks cool okay thank you
  948. 44:38both thank you yeah not much but it's a
  949. 44:41start um we'll see how we can end out
  950. 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.