1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
Commit Graph

32 Commits

Author SHA1 Message Date
Juan Picado @jotadeveloper
f4e9d3208a
chore: update it to test 2018-12-05 19:30:08 +01:00
Ayush Sharma
66391f4c9c
refactor: adds unit test for <Search /> (#1137)
* refactor: adds test for <Search /> component

* refactor: <Footer /> component mocks verdaccio's version

* refactor: <Search /> component test
2018-11-26 20:28:59 +01:00
Priscila
9869edfb38 refactor: changed footer (#1125)
refactor: added types, css in js styles, new comp

refactor: updated emotion

fix: fixed import

refactor: updated image path and type

refactor: minified svg

refactor: now it's stateless

refactor: updated snap & removed click test

feat: added capitalize helper

refactor: changed medium

refactor: added title and image option

refactor: added missed &&

refactor: updated snap

fix: fixed types

fix: fixed types

fix: added flow type ignore line

fix: fixed index map

refactor: updated icons

refactor: removed unnecessary capitalize func

refactor: removed empty lines

fix: fixed svg 404
2018-11-24 22:12:46 +01:00
Ayush Sharma
4d1349a328 refactor: <Help /> component (#1118)
* refactor: removes react-syntax-highlighter deps

* refactor: updates help component

* refactor: test cases for <Help/> component

* refactor: e2e test cases for <Help/> component

* refactor: implements code review <Help /> component
2018-11-16 22:29:56 +01:00
Ayush Sharma
9ef29df947
refactor: submit login form on enter key press (#1114) 2018-11-16 10:16:43 +01:00
Priscila
1d705f58b6 refactor: added flow and css in JS in NotFound (#1098) 2018-10-31 20:42:43 +08:00
Priscila
f18e749e93 refactor: added flow and css in js (#1100)
fix: fixed tests
2018-10-31 13:00:59 +08:00
Priscila
76482ec8d7 refactor: added flow type checking (#1099)
fix: added import 'github-markdown-css' stub type

fix: fixed tests
2018-10-31 12:54:26 +08:00
Priscila
9d265996f9 Refactor: Moved Search to Header (#1064)
* refactor: Moved Search to Header

feat: added TxtField. WIP

refactor: replaced downshift by react-autosuggest

refactor: moved search's state

refactor: introduced weight 300 & 500

refactor: changed container css margin

refactor: made it more abstract

refactor: replaced name by label. changed css

refactor: removed aria

refactor: removed margin

fix: fixed flow  types

fix: fixed tags overlapping

fix: fixed search. WIP

refactor: removed useless library and added rect-router

refactor: fixed tests

* chore: remove tpm file

* feat: added component Loading

feat: added component Layout

refactor: changed css

refactor: added md prop

refactor: moved Header back to App

* chore: fix flow

* fix: update snapshot

fix: fixed componentDidMount parameter

refactor: added onKeyDown event

fix: fixed bad request

refactor: renamed interfaces files

refactor: refactor: logic display results

refactor: changed minor things

fix: fixed tests

fix: fixed tests
2018-10-27 21:19:45 +02:00
Ayush Sharma
5b34dc88bd fix: click on logo break ui (#1071) 2018-10-12 19:41:55 +02:00
Juan Picado @jotadeveloper
87092a5185
chore: update snapshots 2018-10-12 07:28:31 +02:00
Priscila
d504d28dc4 refactor: add space in curly braces -> object-curly-spacing (#1035)
* refactor: allowed spaces between brackets

* chore: update bundle size max
2018-10-01 07:06:30 +02:00
Priscila
c3edcbfcf5 Header Section Refactor - New UI (#1006)
Includes:
 - Created css variables in JS.
 - Added JS helpers.
 - Replaced old sidebar by the "APP Bar" component from Material UI.
 - Replaced logo by the new version.
 - Added Avatar icon.
 - Added Info Icon.
 - Added Information Dialog, where the user can 'copy to the clipboard' the verdaccio commands.
 - Added Verdaccio website documentation link.
 - Added Drop Down Menu on the right side with a logout option
2018-09-24 22:04:37 +02:00
Juan Picado @jotadeveloper
3639557118
feat: replaced element-react by Material-UI (#950) (#985)
* feat: added material-ui

refactor: replaced element-react by material-ui

refactor: updated snapshots

refactor: updated tests

* fix: modified validation.WIP

* refactor: modified tests.WIP

* test(fix): unit test for login and validat ecredentials

* chore(fix): e2e update css selectors

* test(fix): replace Object.values by supported syntax on node6
2018-09-06 21:26:54 +02:00
Juan Picado @jotadeveloper
92f4c10ba1
Merge branch 'master' into 4.x 2018-08-28 08:36:49 +02:00
Ayush Sharma
9f78c31f66 fix: login modal validation (#958) 2018-08-28 08:12:30 +02:00
Juan Picado @jotadeveloper
945eaef277
Merge remote-tracking branch 'origin/master' into 4.x 2018-08-21 08:07:10 +02:00
Ayush Sharma
9cd3ccb408 fix: login without reload (#678) (#679) (#914)
* fix: login without reload (#678) (#679)

* fix: implements code review suggestions (#914)

* refactor: adds scope to the app

* refactor: handles null value from localstorage for username

* refactor: removes text type from <Input />

* refactor: replaces isNull with isNil

* refactor: improves makeLogin method

* refactor: adds error from api constant

* fix: updates error using API_ERROR constant in tests

* refactor: updates regex for moduleMapper in jest config
2018-08-20 16:29:47 +02:00
Priscila
1602840ed1 feat: replaced lunr by lunr-mutable (#915) 2018-08-17 12:14:23 +02:00
Ayush Sharma
dc9460ff07
refactor: header component test (#878)
* refactor: improves <Header /> component test cases

* refactor: adds destructuring for state in render block
2018-08-01 15:00:39 +02:00
Peter Cools
7c3a617d79 feat: adds option to set scope in webui instructions header
If you're using this registry for a specific module scope, specify that scope to set it in the webui instructions header e.g. npm set @coolsp:registry http://localhost:4873.
Added as webui.scope option in .yaml.
> Note: in .yaml, escape @ with \\@.

See also feature request #593.
Update unit test for added scope
2018-07-29 19:11:43 +02:00
Juan Picado @jotadeveloper
b0b631af76
chore: add unit test for #857 scenario 2018-07-28 08:45:10 +02:00
ayusharma
263b0f78a9 refactor: <Package /> , <Footer /> and package sidebar code refactoring
refactor: variable naming
2018-07-22 21:22:51 +02:00
ayusharma
d6dd2f647b refactor: removes un-necessary 'src' from webui path 2018-07-17 22:03:06 +02:00
ayusharma
98abac4dec refactor: adds method to load verdaccio logo 2018-07-01 15:45:26 +02:00
ayusharma
4f6fd66bf3 refactor: adds tesURL for test cases 2018-07-01 15:45:26 +02:00
ayusharma
5c95551e8f refactor: unit tests and api service
refactor: fixes login api success call

refactor: fixes login respose for success case
2018-06-30 12:22:07 +02:00
Juan Picado @jotadeveloper
45110ddb7b
refactor: migration assert to expect 2018-06-28 18:33:37 +02:00
Juan Picado @jotadeveloper
2c74133dfc
refactor: get rid of personal emails
metadata should no have any personal email
2018-06-23 20:59:34 +02:00
Juan Picado @jotadeveloper
0de1e7efd4
test: restore snapshot unit test 2018-06-23 20:57:17 +02:00
Juan Picado @jotadeveloper
9242d498d7
refactor: functional testing
* server now are executed in the jest setup phase
* disable one snapshot
2018-06-23 20:57:16 +02:00
Juan Picado @jotadeveloper
49c6191bb5
refactor: relocate unit test
no logic change, just path updates
2018-06-23 20:57:12 +02:00