habitica/website/client/config/storybook
negue 8cb8411cc6
Show "Next Hourglass" Month (#13860)
* Show "Next Hourglass" Month

* fix lint

* lint,

* lint

* lint..

* linting bad

* ui fixes

* remove additional margin

* show next hourglass date to debug further

* WIP tests - maybe broken logic

* flex:1 doesn't work - so stats columns now at 33% width

* fix(cron): lint and short circuit

* refactor logic

* update test dates using timezone

* also check for the timezone date

* fix timezone for tests

* fixing the test dates?

* fixing the test dates?

* change nextHourglass logic + update gem cap label / value

* fix lint

* dont add gemsBought to it

* remove tooltip

Co-authored-by: SabreCat <sabe@habitica.com>
2022-04-06 16:30:13 -05:00
..
addons.js Storybook Example (#11494) 2019-12-05 22:35:23 +01:00
config.js Feature: new "report a bug" modal (#13530) 2021-12-14 19:16:50 -06:00
margin.css Update Party / Group Sidebar / Quest states (#12793) 2021-05-28 16:11:43 -05:00
mock.data.js Show "Next Hourglass" Month (#13860) 2022-04-06 16:30:13 -05:00
README.md Fix Storybook Installation and production build CI (#13465) 2021-09-01 18:47:13 -05:00

Storybook Updates

Addon-Knobs has been deprecated inorder to update to the new addons-controls we need to:

  1. Change to the new export syntax for each story export const StoryTemplate
  2. And use StoryTemplate.args and StoryTemplate.argTypes to have the same knobs as before

Maybe this can be made story by story and not all at once