1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-14 18:24:26 +07:00
Commit Graph

68 Commits

Author SHA1 Message Date
Priscila Oliveira
7428384b55
feat(i18n): added i18next for user interface translations (#432) 2020-03-08 16:45:07 +01:00
James George
164cea6c10 fix: typo (#423)
Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2020-01-14 04:11:13 +01:00
Daniel Ruf
6b322ad553 fix: generate correct registry URL (#413)
* Revert "Revert "fix(#300): correctly reference registry url from options" (#311)"

This reverts commit d955268c25.

* fix: generate full URL from path
2020-01-09 06:12:50 +01:00
Priscila Oliveira
fd99be6818
Refactor: move styles utils to theme (#363) 2019-12-12 12:10:27 -03:00
Priscila Oliveira
ae617a5c04
fix: removed deade import (#346) 2019-12-07 08:45:51 +01:00
Thomas Klein
33f873a8c7 fix: formatDate (#308) 2019-12-06 18:28:37 +01:00
Priscila Oliveira
42d3bb8508 feat: login Dialog Component - Replaced class by func. comp + added react-hook-form (#341)
* refactor: convert class to func

* refactor: changed login form logic

* refactor: conver to testing-library tests

* refactor: moved dependency

* refactor: replaced uglifyjs-webpack-plugin by terser-webpack-plugin

* fix: fixed e2e errors

* fix: fixed e2e test

* Delete settings.json

* fix: vscode settings rollback

* refactor: rollback webpack config

* refactor: updated eslint rule

* fix: removed --fix

* refactor: incresed the bundle size
2019-12-06 18:09:01 +01:00
Priscila Oliveira
501845b5f8 refactor: replaced date fns with dayjs (#345) 2019-12-06 17:58:24 +01:00
Priscila Oliveira
6ba721446b
Search Component - Replaced class by func. comp (#339) 2019-12-04 17:09:02 +01:00
Priscila Oliveira
d955268c25
Revert "fix(#300): correctly reference registry url from options" (#311) 2019-11-24 20:17:28 +01:00
Michael Mok
ee74474811 fix(#300): correctly reference registry url from options 2019-11-24 19:43:19 +01:00
Juan Picado @jotadeveloper
0a48906fc8 chore: enable optional chaining and nullish (#306) 2019-11-23 20:15:14 +01:00
Priscila Oliveira
111f0c50e5 feat: Added Theme and migrate to emotion@10.x 🚀 (#286)
* chore: updated emotion dependency

* feat: introduced theme

* refactor: updated emotion styles

* fix: fixed emotion error

* fix: fixed tests

* chore: add missing types

Co-Authored-By: Thomas Klein <tmkn@users.noreply.github.com>
2019-11-23 13:41:14 +01:00
Priscila Oliveira
09fe1db850
Refactor(#240): Created Reset CSS and added local fonts 2019-11-12 08:18:05 +01:00
Ayush Sharma
803da1c532 fix: adds unit tests for api service (#235)
* refactor: adds unit tests for api service

* refactor: fix test dummy url
2019-11-01 07:18:55 +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
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
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
Thomas Klein
e0e7c07bce fix: better type inference for MediaQuery (#180) 2019-10-13 10:49:55 +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
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
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
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
Antoine Chalifour
b35baa069f fix: add new window property to interface definition 2019-10-06 18:32:51 +02:00
Antoine Chalifour
a365ec548a feat: use React.lazy for loading components (#158) 2019-10-05 20:13:36 +02:00
Thomas Klein
61a400fbd8 chore: added typings (#157) 2019-10-04 14:56:20 +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
Gagan Deep
74576bda12 fix: linter error fixed (#143) 2019-10-02 21:52:27 +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
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
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
f8374084b5
test: add scenario for handleResponseType tgz 2019-07-29 08:42:37 +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
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
Griffithtp
ecc4521314 refactor: remove getBaseNamePath() and history.ts 2019-07-14 12:50:47 +01:00
Griffithtp
795544a14c test: add unit test for url utils 2019-07-13 15:46:08 +01:00
Griffithtp
5148fdca66 refactor: add @types/validator 2019-07-13 07:53:23 +01:00
Griffithtp
cca2c3c0d7 fix: localhost domain download tarball button 2019-07-10 23:51:25 +01:00
Juan Picado @jotadeveloper
6a421ab22d
Merge branch '4.x-master' into refactor/78_replace-node-sass-with-emotion 2019-07-09 13:52:25 +02:00