iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://phabricator.wikimedia.org/T321102
⚓ T321102 [Dev cleanup] Remove broken storybook and jsdoc from Vector
Page MenuHomePhabricator

[Dev cleanup] Remove broken storybook and jsdoc from Vector
Closed, ResolvedPublic2 Estimated Story Points

Description

Background

Based off discussion in slack, we decided to remove storybook due to the difficulty in reproducing Vector's test cases and therefore higher maintenance cost, and its limited utility in comparison to other tools like Pixel

In https://gerrit.wikimedia.org/r/838233 Storybook stopped working.

During SHDT meeting the developers agreed that supporting jsdoc is more effort than the value it provides and conflicts with TypeScript typechecking, so we should also remove the jsdoc command.

AC

  • Storybook and its dependencies are removed from Vector
  • Remove jsdoc command from npm test and npm doc command to stop generating jsdoc documentation.

sign off steps

  • discuss and document in our dev notes why storybook didn't work out for our project
  • track any follow up items from the dev discussion in phab

Event Timeline

LGoto set the point value for this task to 1.Oct 18 2022, 5:00 PM

https://doc.wikimedia.org/mediawiki-skins-Vector/master/js/ui/?path=/story/icon-and-buttons--button is pretty valuable to me to make sure Codex and mediawiki UI are evolving together. For me, consolidating the implementations of these 2 would be a precursor to removing storybook altogether.

Change 838233 had a related patch set uploaded (by Jdlrobson; author: Bernard Wang):

[mediawiki/skins/Vector@master] [WIP] Split up Menu.template, restrict decoratePortletData to legacy Vector

https://gerrit.wikimedia.org/r/838233

Change 838233 merged by jenkins-bot:

[mediawiki/skins/Vector@master] [Technical] Split up Menu.template, restrict decoratePortletData to legacy Vector

https://gerrit.wikimedia.org/r/838233

Jdlrobson renamed this task from [Dev cleanup] Remove storybook from Vector to [Dev cleanup] Remove broken storybook from Vector.Nov 2 2022, 10:00 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson removed the point value for this task.Feb 8 2023, 8:12 PM

This is tech debt that is causing confusion in other teams (I had a question about it from DST) so suggest we look to remove this soon

Jdlrobson triaged this task as Medium priority.Feb 16 2023, 6:39 PM
bwang removed the point value for this task.
Jdlrobson set the point value for this task to 2.Feb 22 2023, 9:04 PM
Jdlrobson raised the priority of this task from Medium to High.Mar 13 2023, 11:34 PM
Jdlrobson added a subscriber: ovasileva.

@ovasileva this is continuing to cause confusion. I just reviewed a patch which made unnecessary changes so presumably took longer to fix than it should have done. This is trivial to fix and seems to be wasting us time each sprint.

Jdlrobson renamed this task from [Dev cleanup] Remove broken storybook from Vector to [Dev cleanup] Remove broken storybook and jsdoc from Vector.Mar 22 2023, 4:27 PM
Jdlrobson updated the task description. (Show Details)

Change 904583 had a related patch set uploaded (by Bernard Wang; author: Bernard Wang):

[mediawiki/skins/Vector@master] Remove Storybook and jsdoc its dependencies

https://gerrit.wikimedia.org/r/904583

Change 904825 had a related patch set uploaded (by Bernard Wang; author: Bernard Wang):

[integration/config@master] Remove docs from Vector CI

https://gerrit.wikimedia.org/r/904825

Change 904583 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Remove Storybook and jsdoc and its dependencies

https://gerrit.wikimedia.org/r/904583

Change 904825 abandoned by Bernard Wang:

[integration/config@master] Remove docs from Vector CI

Reason:

Chatted with Jon, decided it wasnt necessary to remove this template right now

https://gerrit.wikimedia.org/r/904825

Change 961959 had a related patch set uploaded (by Jforrester; author: Bernard Wang):

[mediawiki/skins/Vector@REL1_39] Remove Storybook and jsdoc and its dependencies

https://gerrit.wikimedia.org/r/961959

Change 961959 merged by jenkins-bot:

[mediawiki/skins/Vector@REL1_39] Remove Storybook and jsdoc and its dependencies

https://gerrit.wikimedia.org/r/961959