Commit Graph

94 Commits

Author SHA1 Message Date
Patrik Oldsberg f8c696e038 v0.1.1-alpha.18 2020-08-07 17:08:28 +02:00
Patrik Oldsberg 0dd8fa2828 v0.1.1-alpha.17 2020-08-05 19:36:36 +02:00
dependabot-preview[bot] 14cfeb390e chore(deps): bump react-use from 14.2.0 to 15.3.3
This is a copy of #1731 with fixes
2020-08-03 14:33:35 +02:00
Patrik Oldsberg 6a50e6c103 Merge pull request #1732 from spotify/dependabot/npm_and_yarn/types/jest-26.0.7
chore(deps-dev): bump @types/jest from 25.2.3 to 26.0.7
2020-07-27 16:23:07 +02:00
Patrik Oldsberg a852c2f141 config,config-loader: fix lagging versions 2020-07-24 11:38:45 +02:00
dependabot-preview[bot] bdc24ae35e chore(deps-dev): bump @types/jest from 25.2.3 to 26.0.7
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.3 to 26.0.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-24 08:49:55 +00:00
Ivan Shmidt bcd7b2661a v0.1.1-alpha.16 2020-07-24 03:44:39 +02:00
Ivan Shmidt 415bdf42e1 v0.1.1-alpha.15 2020-07-22 13:44:33 +02:00
Bilawal Hameed 491d1b70e1 Bump to v0.1.1-alpha.14 2020-07-15 11:49:02 +02:00
Patrik Oldsberg 6fdcc9f59a v0.1.1-alpha.13 2020-07-07 13:16:30 +02:00
Fredrik Adelöw 7389f326d9 chore: add import/newline-after-import lint rule 2020-07-02 11:25:04 +02:00
Fredrik Adelöw 3878da1b65 Merge pull request #1381 from ayshiff/refactor/tech-radar
Refactor: Tech Radar Code Quality & Style
2020-06-29 15:01:52 +02:00
Patrik Oldsberg 17adaefc5d packages: bump @testing-library packages to latest versions 2020-06-24 18:50:13 +02:00
Rémi DOREAU 1baa5309a1 refactor(tech-radar): add moved type 2020-06-24 14:03:03 +02:00
Patrik Oldsberg dcaee07754 v0.1.1-alpha.12 2020-06-23 22:25:25 +02:00
Patrik Oldsberg 4d94f4cbb4 packages: publish entire dist folder 2020-06-23 22:24:55 +02:00
Patrik Oldsberg 910057bc8a v0.1.1-alpha.11 2020-06-23 21:27:58 +02:00
Patrik Oldsberg 6300d4a917 v0.1.1-alpha.10 2020-06-23 16:08:05 +02:00
Rémi DOREAU 542d209a6b refactor(tech-radar): requested changes 2020-06-20 23:45:25 +02:00
Rémi DOREAU fac4893555 fix(tech-radar): missing state setters 2020-06-20 18:52:15 +02:00
Rémi DOREAU 3f7e0bd23f fix(tech-radar): moved @types/react to devDependencies 2020-06-20 18:41:12 +02:00
Rémi DOREAU 984f777b67 refactor(tech-radar): update test + RadarLegend refacto 2020-06-20 17:45:53 +02:00
Rémi DOREAU 4cae750c72 refactor(tech-radar): update moved prop type 2020-06-20 17:45:53 +02:00
Rémi DOREAU 3d318efeae refactor(tech-radar): variable names + undefined check 2020-06-20 17:45:53 +02:00
Rémi DOREAU de1fe3c0e8 refactor(tech-radar): style + code quality 2020-06-20 17:45:53 +02:00
Rémi DOREAU f00a76dc96 feat(tech-radar): add unit tests 2020-06-20 17:45:53 +02:00
Patrik Oldsberg a098ebca27 packages,plugins: remove main:src and fix some main fields 2020-06-18 12:25:25 +02:00
Patrik Oldsberg aae6f1503a packages: bump lagging package versions 2020-06-17 16:35:33 +02:00
Fredrik Adelöw 38ba897857 v0.1.1-alpha.9 2020-06-17 15:24:54 +02:00
Patrik Oldsberg dbc29358ed v0.1.1-alpha.8 2020-06-12 22:09:21 +02:00
Stefan Ålund d0518ee5d9 Add sample plugins to sidebar (#1243)
* Add sample plugins to sidebar

* Update RadarPage.test.tsx
2020-06-11 12:25:15 +02:00
Patrik Oldsberg c53bafc5f9 v0.1.1-alpha.7 2020-06-09 14:24:56 +02:00
Patrik Oldsberg 076409a7b3 Merge pull request #1146 from spotify/rugvip/main
packages/cli: use publishConfig for publish config
2020-06-08 15:50:52 +02:00
Patrik Oldsberg 9a1b363812 plugins/tech-radar: fix lint issue in RadarBubble 2020-06-08 11:12:15 +02:00
Nathan Calvank 42130988fe Issue 661 Tech Radar Typescript refactor (#1080)
* Refactor RadarFooter

* Refactor RadarLegend Pt 1

* Refactor RadarLegend Pt 2

Seeing some errors that I don't fully understand around the proptypes
assertions seemingly being treated as null | undefined values.

It looks like I'll need to type Segment, which is not explicitly
in-scope for this issue.

* Fix segments regression

I incorrectly added type safety to the original implementation, causing
the segments to no longer be populated here. This change fixes that
regression while retaining the type safety.

This is all necessary because qidx and ridx are apparently both
nullable.

* Resolve remaining RadarLegend warnings

* Refactor RadarEntry

* Forcibly skip hooks to revert migration prettify

* Refactor RadarGrid

* Refactor RadarPlot & Best effort with PropTypes

A global search looks like no other plugins use PropTypes. I'm about to
remove them in the next commit because shapes don't seem to cooperate
with TypeScript, making the PropTypes either so vague that they're
mostly useless or specific enough to fail the build.

With that said, I wanted to get this version committed in case I need to
roll back to here. I wouldn't want to redo this work.

* Remove PropTypes from refactored components

The build now passes.

* Refactor RadarBubble

* Refactor Radar

* Move Radar functions out of component file

I could see these being split into separate files, but I think this is
enough for now.

* Small function signature change

* Align types

I'm not confident in this change. I'm very unclear about the reasoning
behind the type definitions in api.ts as they don't reflect the shape of
the values that I see when I print `data.entries` in the console.

The value of data.entries reflects a fully-populated Entry[], not a
RadarEntry[].

As such, I'm also not sure about the sample data. I would be more
hesitant to updated it, but the fact that the rest of the components
seem to be expecting that data makes it seem fairly clear that it must
be required to be in the updated shape.
2020-06-08 09:13:03 +02:00
Patrik Oldsberg 0d1655c65b packages,plugins: use publishConfig to configure published entrypoints 2020-06-04 18:01:15 +02:00
Patrik Oldsberg 9f50e7c1b4 packages,plugins: fix lint issues 2020-06-01 16:09:10 +02:00
Patrik Oldsberg c6abe12e45 packages,plugins: fix incorrect type dependencies 2020-06-01 12:27:29 +02:00
Bilawal Hameed 01025bbd01 plugin(tech-radar): set private to false and publishConfig access to public 2020-05-27 12:50:09 +02:00
Adil Alimbetov f72d97dc17 Sidebar logo update (#814)
* Testing logo ux

* Updated logo on sidebar

* removed unused vars

* adjusted types on icon components
2020-05-27 10:13:41 +02:00
Patrik Oldsberg 20b48dfed7 packages/core: only export createApiRef + dashes in IDs only factory objects for ApiTestRegistry 2020-05-24 23:09:24 +02:00
Patrik Oldsberg d62c6748a0 v0.1.1-alpha.6 2020-05-20 10:49:53 +02:00
Marcus Eide 553bfddb8e Bump jest to 26.0.1 2020-05-19 14:22:14 +02:00
Patrik Oldsberg 3c075c3093 Merge pull request #900 from spotify/eide/bump-tl-jest-dom-5-7-0
Manually bump @testing-library/jest-dom from 4.2.4 to 5.7.0
2020-05-18 15:08:17 +02:00
Marcus Eide fb3e003272 Bump testing-library/user-event to 10.2.4 2020-05-18 12:59:58 +02:00
Marcus Eide 324245586f Change import of jest-dom in setupTests.ts according to change in api 2020-05-18 11:11:58 +02:00
Marcus Eide 8429710760 Bump testing-library/jest-dom to 5.7.0 2020-05-18 11:11:26 +02:00
Patrik Oldsberg 1dd33e8e33 packages,plugins: remove extra tsconfig files 2020-05-17 23:30:16 +02:00
Patrik Oldsberg 1f159c0f99 packages/cli: switch rollup to use esbuild 2020-05-17 23:30:11 +02:00
Patrik Oldsberg fb78fb2da4 packages,plugins: add main:src package.json field to all built packages 2020-05-17 23:29:59 +02:00