1
0
mirror of https://github.com/SomboChea/ui synced 2024-12-01 02:14:27 +07:00
Commit Graph

146 Commits

Author SHA1 Message Date
Priscila Oliveira
07620e5d4b
feat(flag): Added Germany flag (#454) 2020-04-05 20:25:38 +02:00
Priscila Oliveira
d29aa05cc6
fix(styles): Updated dark colors (#455)
* ref(styles): updated dark colors

* updated snaps
2020-04-05 19:34:42 +02:00
Priscila Oliveira
cdad5cf70d
feat(style): added dark mode (#446) 2020-03-31 08:44:59 +02:00
Priscila Oliveira
7428384b55
feat(i18n): added i18next for user interface translations (#432) 2020-03-08 16:45:07 +01:00
Daniel Ruf
d481f54948
fix: do not capitalize heading - closes #428 (#431) 2020-02-02 08:36:55 +01:00
coolsp
222ffed022 fix: package list refresh based on logged-in user (#415)
* fix: package list refresh based on logged-in user

description:
In `pages/home/Home.tsx` now monitoring any change in a user log-in/out which will trigger a new `API.request` to get the _packages_ from the Verdaccio-server.  This is done by creating a `useEffect` on **isUserLoggedIn**.  Code has been transplanted from `App/App.tsx` including the use of the Loading component during the XHR.  The use of **packages** was removed from other components as no longer needed and tests updated.

Resolves issue #414

* fix: package list refresh based on logged-in user

description:
In `pages/home/Home.tsx` now monitoring any change in a user log-in/out which will trigger a new `API.request` to get the _packages_ from the Verdaccio-server. This is done by creating a `useEffect` on **isUserLoggedIn**. Code has been transplanted from `App/App.tsx` including the use of the Loading component during the XHR. The use of **packages** was removed from other components as no longer needed and tests updated.
Test snapshots updated

Resolves issue #414

Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2020-01-12 22:21:29 +01:00
Juan Picado @jotadeveloper
6bd38b8120
fix: remove prevent default and use react context (#411)
* fix: remove prevent default and use react context

* chore: remove string check
2020-01-08 12:16:13 +01:00
Daniel Ruf
544b999f81 fix: remove whitespace from logo image - closes #374 (#400)
* fix: remove whitespace from logo image - closes #374

* test: update snapshot

Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2019-12-30 10:12:00 +01:00
Juan Picado @jotadeveloper
d554049699
fix: engine warning on console for ui (#403)
* fix: engine warning on console for ui

* chore: update snapshots

* chore: remove u flag

* chore: add readme note

* chore: update README.md

Co-Authored-By: Daniel Ruf <827205+DanielRuf@users.noreply.github.com>

Co-authored-by: Daniel Ruf <827205+DanielRuf@users.noreply.github.com>
2019-12-30 10:04:42 +01:00
Daniel Ruf
787dda4a01 fix: remove background from styled Avatar components - closes #371 (#398) 2019-12-28 09:33:00 +01:00
Priscila Oliveira
bf093cc27b
Feat: added "Fund this package" button (#375) 2019-12-18 17:30:42 -03:00
Priscila Oliveira
3a9f66c023
Refactor: Updated developers component structure (#360) 2019-12-17 22:57:53 -03:00
Priscila Oliveira
fd99be6818
Refactor: move styles utils to theme (#363) 2019-12-12 12:10:27 -03:00
dependabot-preview[bot]
a3b41747ca build(deps-dev): bump @material-ui/core from 4.7.1 to 4.7.2 (#350) 2019-12-12 11:22:38 -03: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
09b831a40d
fix: updated actionbar snap (#340) 2019-12-03 14:24:10 +01:00
Priscila Oliveira
742971db0d
ActionBar Component - Replaced class by func. comp (#330) 2019-12-03 09:44:44 +01:00
dependabot-preview[bot]
200cc289e6 build(deps-dev): bump @material-ui/core from 4.6.1 to 4.7.1 (#331) 2019-12-02 16:05:25 +01:00
Priscila Oliveira
e60ab9e247
Repository Component - Replaced class by func. comp (#323) 2019-12-01 16:14:17 +01:00
Priscila Oliveira
0d9232a92c
Refactor(#209): Converted App component from class to func 2019-11-24 19:21:08 +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
Juan Picado @jotadeveloper
fd306def95
fix: update snapshots 2019-11-19 05:45:38 +01:00
dependabot-preview[bot]
fc4a7ee12c build(deps-dev): bump @types/lodash from 4.14.147 to 4.14.148 (#282) 2019-11-18 09:41:44 +01:00
Priscila Oliveira
09fe1db850
Refactor(#240): Created Reset CSS and added local fonts 2019-11-12 08:18:05 +01:00
Juan Picado @jotadeveloper
f1971edf6d
build: fix e2e (#246)
* fix: e2e testing

* fix: e2e testing

* fix: e2e testing

* fix: e2e testing

* fix: e2e testing

* fix: e2e testing
2019-11-08 06:23:22 +01:00
Anix
bdef686914 feat: added download tarball button at list (#237)
* chore: added download button at packagelist

* feat: added download btn in package list
2019-11-07 18:11:08 +01:00
Priscila Oliveira
84257e1a84 chore: updated material-ui dependencies (#239)
* chore: update material-ui dependencies

* fix: updated snaps
2019-11-07 17:55:20 +01:00
Alfonso Austin
b74ca2285e fix: refactor/116 RegistryInfoContent is converted to functional component (#229)
* refactor:116[PackageList] component is converted to functional

* Refactor:#116 - Registry info content is converted to functional component

* refactor/116 - fix lint error

* refactor:116 - more lint errors

* refactor/116 - lint error

* refactor:116 - remove snapshot

* refactor: address code review comments #116

* refactor: fix lint error

* refactor: code review changes

* refactor add missed file

* refactor: lint error

* refactor: lint

* refactor: lint

* refactor: fix lint error
2019-11-02 17:53:21 +01:00
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
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
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
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
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