Commit Graph

212 Commits

Author SHA1 Message Date
Andrew Hughson
5cb47ed49e fix: convert Engine component to hooks (#233)
* refactor: convert Engine component to hooks

* inline engine test data only used by one test

* remove  from engines tests

* remove confusing test abstraction

* change tests to not use mutations
2019-10-31 22:17:16 +01:00
Priscila Oliveira
b56e43846b fix: rest MUI components - Introduced ForwardRef (#224)
* refactor(162): added forwardRef Card

* refactor(162): introduced forwardRefDivider

* refactor(162): introduced forwardRef MuiComponents

* refactor(162): introducing forwardRef

* refactor(162): introduced forwardRef

* refactor(162): introduced forwardRef

* fix(162): fixed link

* fix: fixed port number

* fix: fixed duplicated id

* fix: fixed ref iconbutton

* fix: updated snaps

* fix: fixed port

* fix: fixed eslint errors

* fix: the item should be a button

* fix: fixed eslint errors
2019-10-31 08:12:18 +01:00
Ayush Sharma
a4cdd145d2 feat: update date fns to v2 (#232)
* chore: updates date-fns@2

* chore: updates date-fns@2  to new apis

* chore: updates date-fns@2, updates format
2019-10-30 07:02:07 +01:00
Juan Picado @jotadeveloper
e6b53c0479
chore: migrate eslint@6.6.0 (#227)
* chore: migrate to eslint6

* chore: migrate to eslint6
2019-10-27 15:49:30 +01:00
Juan Picado @jotadeveloper
6d553ea607 chore(#225): Update stack (#225) 2019-10-26 17:17:38 +02:00
Juan Picado @jotadeveloper
95f173d29a chore(#223): update stack dev 2019-10-26 14:00:06 +02:00
Ayush Sharma
531295a6d0
refactor: adds missing test spec for button click in not found (#222)
* refactor: adds missing test spec for button click in not found

* refactor: improves test description
2019-10-26 13:13:47 +02:00
Priscila Oliveira
a38b93e127 refactor(162): introduced forwardRefDivider (#218) 2019-10-26 12:19:14 +02:00
Ayush Sharma
52ed8ad67b refactor: adds download tarball spec to action bar (#220)
* refactor: adds download tarball spec to action bar

* refactor: fixes typo
2019-10-26 12:02:03 +02:00
Alfonso Austin
ae0222cf65 fix: PackageList component is converted to functional (#219) #116 2019-10-26 11:36:16 +02:00
Priscila Oliveira
2bc49f3ab7 fix(162): added forwardRef Card (#216) 2019-10-26 08:44:25 +02:00
Ayush Sharma
ade548a7da fix: adds no uplink spec (#213) 2019-10-25 20:21:48 +02:00
Ayush Sharma
6dfcd70025
refactor: adds test for registry info component (#214) 2019-10-25 10:45:42 +02:00
Anix
4498aad4bf fix(installlistitem): changed the wrong icon (#211) 2019-10-24 23:51:27 +02:00
Thomas Klein
5d6ad3d783 fix: api typings (#210) 2019-10-22 22:31:39 +02:00
Priscila Oliveira
5c06ace14a fix: routes - Replaced class by func. comp (#159)
* refactor: updated routes

* fix: fixed conflicts issues

* fix: rollback port
2019-10-19 10:49:04 +02:00
Priscila Oliveira
8c66dbc4d7
chore(#203): updated typescript to version 3.7 - beta 2019-10-18 12:36:17 +02:00
hugoazevedosoares
302f4dbd89 chore(#206): remove snapshot test and added more relevant tests 2019-10-18 10:26:08 +02:00
hugoazevedosoares
ff791a35f7 chore(#207): added more descriptive tests 2019-10-17 11:52:11 +02:00
Priscila Oliveira
f5c77ff43c fix: version Page - Replaces class by func. (#171)
* refactor: updated version page

* refactor: rollback context

* fix: added version provider
2019-10-17 07:36:41 +02:00
Brian Pedersen
16b12ddc76 refactor(#204): copyToClipBoard.test, moved test of utility to it's own test 2019-10-16 10:00:05 +02:00
Thomas Klein
1abc15603e refactor: Added typings for getRecentReleases (#190) 2019-10-15 12:08:16 +02:00
Andrew Smith
6f87be68be fix: changes font size for items of the register-info component (#196)
* fix: changes font size for items of the register-info component

This changes the font size for items of the register-info component to 1rem
Fixes #193.

* chore: added missing snapshots for previous commit
2019-10-15 07:37:39 +02:00
Thomas Klein
cfb29ce325 fix: added typings for react-autosuggest (#200) 2019-10-15 07:36:35 +02:00
Thomas Klein
e0e7c07bce fix: better type inference for MediaQuery (#180) 2019-10-13 10:49:55 +02:00
Priscila Oliveira
0c4fb7da13 fix: introduced forwardRef (#181) 2019-10-12 22:26:56 +02:00
Priscila Oliveira
a8deeb9b9d fix: typography Component - Introduced ForwardRef (#179)
* refactor: introduced forwardref

* refacttor: updated ref's

* fix: fixed func's name

* fix: fixed snapshots

* fix: updated snap
2019-10-12 21:41:42 +02:00
Priscila Oliveira
82d7107de7 fix: listItem Component - Introduced ForwardRef (#183)
* refactor: introduced forwardRef

* fix: fixed button prop listItem

* chore: rollback package upgrade

* fix: fixed snap
2019-10-12 21:11:23 +02:00
Thomas Klein
d2c1130efd fix: removed tsignore for AppContext (#188) 2019-10-12 19:59:47 +02:00
Priscila Oliveira
fdbdb6303b feat: new not found component (#170)
* refactor: updated not found component

* chore: removed react-router

* refactored: applied feedbacks

* fix: removed doc folder

* refactor: rollback yarn.lock
2019-10-12 13:23:14 +02:00
Priscila Oliveira
8b86ded434 fix: introduced SvgIcon (#184) 2019-10-12 11:42:29 +02:00
Thomas Klein
3b4d823845 build: added typings for hot reload (#187) 2019-10-12 11:41:54 +02:00
Priscila Oliveira
7548c89401 fix: introduced forwardRef (#185) 2019-10-12 09:55:37 +02:00
Priscila Oliveira
af8ed8b3e3 fix: introduced ForwardRef (#177)
* refactor: introduced forwardref - circular progress

* refactor: replaced HTMLElementTagNameMap with HTMLElementDiv

* fix: fixed func name
2019-10-12 09:54:52 +02:00
Priscila Oliveira
3888736e45 fix: fixed imports & func's name (#182) 2019-10-12 08:45:39 +02:00
Thomas Klein
752e2b963d fix: dist-tags attribute #175 (#178) 2019-10-12 00:06:18 +02:00
Antoine Chalifour
99621b6baf Refactor: Dependencies - Replaced class with func. comp (#169) 2019-10-11 15:02:53 +02:00
Thomas Klein
e0642a9d0d fix: improved typing (#174) 2019-10-10 22:20:05 +02:00
Thomas Klein
68b7171de4 chore: readded null check (#173) 2019-10-10 20:52:59 +02:00
Priscila Oliveira
d1ce82854a fix: Header Component - Replaced class by func. comp (#142)
* refactor: replaced class by func.comp

* refactor: replacing jest test by react-testing-library

* refactor: added test todos

* feat: added more unit tests

* fix: fixed tooltip import

* fix: fixed test

* fix: fixed typo

* fix: fixed imports
2019-10-08 07:47:11 +02:00
Priscila Oliveira
ae73772a37 feat(eslint-config): add order rule in import
* refactor: added eslint-plugin-import

* refactor: disable some rules for muiComponents

* fix: fixed import
2019-10-07 22:19:18 +02:00
Antoine Chalifour
950f6defca refactor: migrate Uplinks to function component (#165) 2019-10-07 14:13:05 +02:00
antoinechalifour
f4da5e692d fix(Developers): remove compilation warnings 2019-10-06 18:32:51 +02:00
antoinechalifour
6f52838531 fix: media query ts ignore 2019-10-06 18:32:51 +02:00
antoinechalifour
a8eb1f36fc fix(api): remove unnecessary ts ignore 2019-10-06 18:32:51 +02:00
antoinechalifour
1fb0bf96d1 fix(Footer): remove unnecessary ts ignore 2019-10-06 18:32:51 +02:00
antoinechalifour
f6eb74736a fix(App): ts ignore 2019-10-06 18:32:51 +02:00
Antoine Chalifour
35d691c1e0 fix: fix DependencyBlock props interface 2019-10-06 18:32:51 +02:00
Antoine Chalifour
b35baa069f fix: add new window property to interface definition 2019-10-06 18:32:51 +02:00
Antoine Chalifour
7a8b158188 fix: remove unnecessary ts ignore 2019-10-06 18:32:51 +02:00
Antoine Chalifour
852f6eeb22 fix: improve jest mock typings 2019-10-06 18:32:51 +02:00
Antoine Chalifour
b1804d7644 fix: remove ts ignore from some components 2019-10-06 18:31:30 +02:00
Antoine Chalifour
32f4389b73 fix: remove unnecessary ts ignore 2019-10-06 18:31:30 +02:00
Antoine Chalifour
3166673875 fix: spinner typings 2019-10-06 18:31:30 +02:00
Priscila Oliveira
626bcce5cb fix: introduced forwardRef (#163) 2019-10-06 18:30:05 +02:00
Priscila Oliveira
909a8d9fb8 fix: introduced forwardRef (#164) 2019-10-06 17:17:36 +02:00
Priscila Oliveira
9eb698f7e1 fix: install Component - Replaced class by func. comp (#152)
* refactor: convert class to func comp

* fix: fixed wrong maintainer type

* refactor: created a partials folder

* fix: fixed test
2019-10-06 16:55:49 +02:00
Andrew Hughson
43a9628ec4 fix: incorrect Tooltip import in avatar component (#160) 2019-10-06 16:01:58 +02:00
Andrew Hughson
d2f1f1c06a refactor: convert Author component to hooks (#150) 2019-10-06 15:44:48 +02:00
Antoine Chalifour
a365ec548a feat: use React.lazy for loading components (#158) 2019-10-05 20:13:36 +02:00
Andrew Hughson
f1f8f8ae3f fix: convert Dist component to hooks (#156) 2019-10-05 10:33:31 +02:00
Antoine Chalifour
583ddd555a fix: some warnings in console (#155)
* fix: remove react emotion selector warning

* fix: validate DOM nesting
2019-10-04 23:19:50 +02:00
Thomas Klein
61a400fbd8 chore: added typings (#157) 2019-10-04 14:56:20 +02:00
Priscila Oliveira
f84fd79c5b fix: detailContainer Component - Replaced class by func. comp (#130)
* refactor: coverted class comp. into func.comp

* refactor: added forward ref comp.

* fix: fixed external link color

* fix: fixed typo

* refactor: applied feedbacks
2019-10-03 18:17:04 +02:00
Suman Bhattarai
f8e3013b59 fix: tarball download not working on Firefox and Edge (#144)
* fix tarball download not working on firefox and edge

* update lastModified to be a date number
2019-10-03 12:47:30 +02:00
Priscila Oliveira
1d705da38c feat: version Component - Replaced classes by func. comp (#129)
* refactor: replaced classes by func comp

* fix: fixed space margin

* refactor: changed display logic

* fix: fixed types

* fix: fixed Version test

* fix: fixed version style
2019-10-03 10:27:08 +02:00
Thomas Klein
f8a1f2cbb8 feat: upgraded typescript to 3.6.3 (#145) 2019-10-02 22:32:31 +02:00
Gagan Deep
74576bda12 fix: linter error fixed (#143) 2019-10-02 21:52:27 +02:00
Antoine Chalifour
e14729006a fix: warning about modules with names differing in casing (#148) 2019-10-02 16:46:29 +02:00
Juan Picado @jotadeveloper
91d818c478
fix: sidebar view on small screens (#136) 2019-09-30 20:28:02 +02:00
Filip Messa
2e50981514 fix(ui): fix the hover effect on the packageItem's author area (#137) 2019-09-29 16:44:10 +02:00
Daniel Ruf
f61913c2d3 fix: correctly load font files - closes #128 (#134)
* fix: correctly load font files - closes #128

* Resolve issue with the moduleNameWrapper in Jest
2019-09-29 16:36:38 +02:00
Priscila Oliveira
ffc97c373c chore: pumped mui version (#131)
* chore: updated mui libs

* fix: updated snap
2019-09-28 00:31:01 +02:00
Sergio Herrera Guzmán
de0f91a6d2 test: skip non-deterministic test 2019-09-11 22:47:45 +02:00
Sergio Herrera Guzmán
9ad506d569 test: fix one failing snapshot 2019-09-11 15:53:07 +02:00
Juan Picado @jotadeveloper
1904179af3
feat: add browser features to browse by version (#125)
* feat: add browser features to browse by version

* chore: verify whether version exist

* chore: add link on versions

* chore: udpate imports

* chore: use mui links

* test: add unit test

* chore: Add todo list

* chore: remove imports
2019-09-01 04:09:23 -07:00
Juan Picado @jotadeveloper
67d7188cf5
feat: update material-ui@4.x (#123)
* chore: update material-ui@4.x

* test: update test for ActionBar and TestField

* chore: add types

* chore: update types

* test: update test for Author

* chore: fixed bunch of unit test

* chore: remove unused import

* chore: remove comments

* chore: replace shallow my mount

* chore: update git hooks

* chore: fix styles

* chore: update dependencies

* chore: remove types material-ui
2019-08-31 02:02:46 -07:00
Juan Picado @jotadeveloper
ac58730e8c
fix: missing headers on search endpoint with token (#121)
Headers should be part of the options if we override options.

https://github.com/verdaccio/ui/issues/118
2019-08-25 08:39:15 -07:00
Juan Picado @jotadeveloper
97e8448098
fix: refactoring version page / fix issue not found page #100 (#117)
* chore: refactoring version page

* refactor: migrate version page to hooks

* refactor: Version page better imports

* fix: #100 render not found on click item

* test: add test for version page

* chore: update mocks

* test: add scenario for not found package

* chore: fix wrong mock path

* chore: update mock

* chore: add todo list
2019-08-25 14:34:27 +02:00
Ayush Sharma
003f879a87 chore: adds unit test for version component 2019-08-24 16:57:51 +02:00
Juan Picado @jotadeveloper
3d7b230c71
chore: add note 2019-08-12 07:54:14 +02:00
Juan Picado @jotadeveloper
ce3b22579f
chore: update snapshots 2019-08-12 07:45:16 +02:00
Juan Picado @jotadeveloper
e46020f9b0
refactor: Developers component
Using React hooks
2019-08-12 07:06:10 +02:00
Juan Picado @jotadeveloper
cfb0caf2bb
Merge branch 'master' into master 2019-08-10 21:39:16 +02:00
Griffithtp
d44cc7f662 refactor: update all reusable fontWeights 2019-08-08 22:08:37 +01:00
Griffithtp
4a526c92bb refactor: add reusable styles properties 2019-08-08 22:03:54 +01:00
Emelia Smith
2049022477 fix(api): correctly handle responses with missing content-type header
Also prevents non .tgz requests from being handled as tgz requests — the previous if condition was incorrect
2019-08-08 14:26:30 +02:00
Juan Picado @jotadeveloper
8774fd51c7
Merge branch '4.x-master' into 4.x-adds-unit-tests-for-repository-component 2019-08-04 10:24:09 +02:00
Juan Picado @jotadeveloper
f8374084b5
test: add scenario for handleResponseType tgz 2019-07-29 08:42:37 +02:00
Juan Picado @jotadeveloper
8c9cffbc6a
test: add scenario for action bar
Wether the metadata has a tarball distribution file
2019-07-29 00:12:14 +02:00
Juan Picado @jotadeveloper
62431038bb
chore: improve types and checks 2019-07-28 17:51:46 +02:00
Juan Picado @jotadeveloper
12974ea54f
test: add unit test for extractFileName 2019-07-28 16:44:31 +02:00
Juan Picado @jotadeveloper
f47ab2490b
refactor: add download file method 2019-07-28 14:12:18 +02:00
Juan Picado @jotadeveloper
83b6a9d247
chore: update snapshots for actionbar 2019-07-28 11:59:58 +02:00
Juan Picado @jotadeveloper
5c484bba9a
fix: proxy webpack setting
- it allows download tarballls in the same origin
- update webpack dev server
- add scenario for blob
2019-07-28 11:53:23 +02:00
Juan Picado @jotadeveloper
9d006ad6f7
chore: first try to download files with fetch 2019-07-28 11:53:23 +02:00
Juan Picado @jotadeveloper
fd74c52bd1
fix: token were not being send it 2019-07-28 11:53:22 +02:00
Juan Picado @jotadeveloper
dd54aaaf94
Merge branch '4.x-master' into 4.x-adds-unit-tests-for-repository-component 2019-07-28 00:03:42 +02:00
Sergio Herrera Guzmán
115be1bb6e refactor: move cascaded CSS from templates to JS objects 2019-07-16 16:15:56 +02:00
Juan Picado @jotadeveloper
9d7b90fc34
Merge branch '4.x-master' into 4.x-adds-unit-tests-for-repository-component 2019-07-16 15:57:05 +02:00