Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
321 commits
Select commit Hold shift + click to select a range
a3cda2c
Remove onBlur funtion in Form field component
datnguyen-nfq May 18, 2022
6aeb2d7
Merge branch 'feature/LOG-11' into feature/LOG-5
datnguyen-nfq May 18, 2022
f7907c9
Refactor Create and Update alert form
datnguyen-nfq May 18, 2022
824e5bb
Merge pull request #266 from OpenSourceCommerce/feature/LOG-11
phucnh-nfq May 18, 2022
6cd95f7
Versioning
May 18, 2022
ed67228
Merge branch 'feature/LOG-12' into feature/LOG-5
datnguyen-nfq May 18, 2022
9ea1caf
Enhancement fom field
datnguyen-nfq May 19, 2022
d9663eb
Enhancement form field
datnguyen-nfq May 19, 2022
86a280a
Remove key in formfield
datnguyen-nfq May 19, 2022
6d3e6bc
Add min value for form field
datnguyen-nfq May 19, 2022
4f651be
Merge pull request #268 from OpenSourceCommerce/feature/LOG-5
phucnh-nfq May 19, 2022
7606403
Versioning
May 19, 2022
e0e4681
feature/LOG-29 increased font-size of title and reduced font-size in…
datnguyen-nfq May 19, 2022
6c1d1a7
feature/LOG-23 My profile in setting page
datnguyen-nfq May 20, 2022
16427eb
Update cypress test
datnguyen-nfq May 23, 2022
90f8905
Fix comment issue
datnguyen-nfq May 23, 2022
8acb118
Merge pull request #269 from OpenSourceCommerce/feature/LOG-29
nhatdo-nfq May 23, 2022
0cea465
Versioning
May 23, 2022
c61a136
Merge branch 'feature/LOG-12' into feature/LOG-23
datnguyen-nfq May 23, 2022
d597f91
Resolve conflict
datnguyen-nfq May 23, 2022
f0baa0e
Revert public file
datnguyen-nfq May 23, 2022
93df1db
Fix style for my profile page
datnguyen-nfq May 24, 2022
cb72b85
Merge pull request #270 from OpenSourceCommerce/feature/LOG-23
nhatdo-nfq May 25, 2022
b48da45
Versioning
May 25, 2022
251a89c
LOG-24-1 Read update and delete datatable page
datnguyen-nfq Jun 1, 2022
22257fa
Create new datatbase table feature
datnguyen-nfq Jun 6, 2022
371d6cf
Update margin bottom
datnguyen-nfq Jun 6, 2022
dbdc60c
Remove console.log
datnguyen-nfq Jun 6, 2022
4880943
remove database in nav link
datnguyen-nfq Jun 6, 2022
8300273
Adjust sidebar
datnguyen-nfq Jun 6, 2022
7c17e52
Update table UI base on comment
datnguyen-nfq Jun 8, 2022
911cfb6
LOG-25 Widgets
datnguyen-nfq Jun 10, 2022
de147ab
create setting page
Jun 10, 2022
2ec6b04
Remove line in create new table modal
datnguyen-nfq Jun 10, 2022
9f30a25
Create param for tab
datnguyen-nfq Jun 13, 2022
9ffe5c0
Update default url when click settings
datnguyen-nfq Jun 13, 2022
1927cec
Merge branch 'feature/LOG-24' into feature/LOG-25
datnguyen-nfq Jun 13, 2022
b811eec
Update profile page
datnguyen-nfq Jun 13, 2022
d843890
LOG-54
datnguyen-nfq Jun 13, 2022
5a5efb6
LOG-1 Comment restructure sidebar item and display icon leftside item
datnguyen-nfq Jun 13, 2022
f7dbdd8
LOG-55 [UI Issue] Fix input field
datnguyen-nfq Jun 13, 2022
9887cf4
Modify button component with outline status
datnguyen-nfq Jun 13, 2022
ed4ae0d
LOG-39 Create Dashboard Process
datnguyen-nfq Jun 14, 2022
c7a47ad
Rename file
datnguyen-nfq Jun 14, 2022
256f830
Remove comment code
datnguyen-nfq Jun 14, 2022
0d69f32
Add action for cancel button in delete table confirm modal
datnguyen-nfq Jun 14, 2022
8205f96
Merge pull request #271 from OpenSourceCommerce/feature/LOG-24
nhatdo-nfq Jun 14, 2022
3e490ad
Versioning
Jun 14, 2022
3328bd2
Fix comment issue
datnguyen-nfq Jun 14, 2022
a650f12
Change inform message
datnguyen-nfq Jun 14, 2022
c87fbfc
Merge branch 'feature/LOG-12' into feature/LOG-25
datnguyen-nfq Jun 14, 2022
7dd4440
Merge branch 'feature/LOG-12' into feature/LOG-39
datnguyen-nfq Jun 14, 2022
a89c94a
Revert scss file from LOG-12
datnguyen-nfq Jun 14, 2022
297c24d
LOG-52 [UI improvement] Change profile card size to col-5
datnguyen-nfq Jun 14, 2022
473f8b3
Merge branch 'feature/LOG-12' into feature/LOG-51
datnguyen-nfq Jun 14, 2022
7369241
Merge pull request #275 from OpenSourceCommerce/feature/LOG-52
datnguyen-nfq Jun 14, 2022
6ab3a74
Merge pull request #273 from OpenSourceCommerce/feature/LOG-54
datnguyen-nfq Jun 14, 2022
cbcf68d
Versioning
Jun 14, 2022
124b873
Remove widget item in left side bar
datnguyen-nfq Jun 14, 2022
9054bbc
Merge pull request #276 from OpenSourceCommerce/feature/LOG-54
datnguyen-nfq Jun 14, 2022
724b96d
Versioning
Jun 14, 2022
3db9fcc
Merge branch 'feature/LOG-12' into feature/LOG-51
datnguyen-nfq Jun 14, 2022
5afda2c
LOG-56 [UI Issue] Expand viewport
datnguyen-nfq Jun 15, 2022
7267e9d
[UI Improvement] Give the topbar a z-index of 1
datnguyen-nfq Jun 15, 2022
02ae476
LOG-58 [UI Issue] Change wording on deleting dialogue
datnguyen-nfq Jun 15, 2022
f706763
LOG-60 [Issue] Pages are double loading on click
datnguyen-nfq Jun 15, 2022
45c4bdf
[UI Improvement] Add visual feedback after adding column
datnguyen-nfq Jun 16, 2022
ef10376
Revert "[UI Improvement] Add visual feedback after adding column"
datnguyen-nfq Jun 16, 2022
a80331c
[UI Improvement] Add visual feedback after adding column
datnguyen-nfq Jun 16, 2022
7609fcf
Remove unnecessary file
datnguyen-nfq Jun 16, 2022
029a95d
Merge pull request #278 from OpenSourceCommerce/feature/LOG-56
nhatdo-nfq Jun 16, 2022
4b08f57
Merge pull request #279 from OpenSourceCommerce/feature/LOG-57
nhatdo-nfq Jun 16, 2022
2f0c5ef
Merge pull request #280 from OpenSourceCommerce/feature/LOG-58
nhatdo-nfq Jun 16, 2022
afe32c5
Versioning
Jun 16, 2022
5334948
Merge pull request #282 from OpenSourceCommerce/feature/LOG-59
nhatdo-nfq Jun 16, 2022
2f1196b
Versioning
Jun 16, 2022
b3d970b
Fix issue not enable update button
datnguyen-nfq Jun 16, 2022
51358c6
Merge branch 'feature/LOG-12' into feature/LOG-39
datnguyen-nfq Jun 16, 2022
c9618a6
Fix enable update button
datnguyen-nfq Jun 16, 2022
697125f
Remove console.log
datnguyen-nfq Jun 16, 2022
68e85b6
Merge branch 'feature/LOG-12' into feature/LOG-25
datnguyen-nfq Jun 16, 2022
5c682e5
Merge pull request #272 from OpenSourceCommerce/feature/LOG-25
nhatdo-nfq Jun 16, 2022
6379c55
Versioning
Jun 16, 2022
deeda8e
Merge branch 'feature/LOG-12' into feature/LOG-39
datnguyen-nfq Jun 16, 2022
fa2b6e4
Merge branch 'feature/LOG-12' into feature/LOG-39
datnguyen-nfq Jun 16, 2022
86095d9
Merge pull request #274 from OpenSourceCommerce/feature/LOG-39
nhatdo-nfq Jun 16, 2022
a5e67b0
Versioning
Jun 16, 2022
009c702
Merge branch 'feature/LOG-12' into feature/LOG-51
datnguyen-nfq Jun 16, 2022
edcefb9
Revert uncommit
datnguyen-nfq Jun 16, 2022
829b17d
LOG-51 Empty Dashboard Page
datnguyen-nfq Jun 17, 2022
76671dd
Remove unnecessary file
datnguyen-nfq Jun 17, 2022
cd49571
LOG-61 [UI Improvement] Remove the "Is active" tick
datnguyen-nfq Jun 17, 2022
0497245
Revert unnecessary file
datnguyen-nfq Jun 17, 2022
e3d31de
Remove unnecessary file
datnguyen-nfq Jun 17, 2022
0762941
LOG-8 Exports Table
datnguyen-nfq Jun 20, 2022
28b1182
Merge pull request #283 from OpenSourceCommerce/feature/LOG-61
nhatdo-nfq Jun 20, 2022
929a343
Versioning
Jun 20, 2022
82e0082
Add spinner icon for processing status
datnguyen-nfq Jun 20, 2022
55712ed
Merge pull request #284 from OpenSourceCommerce/feature/LOG-8
nhatdo-nfq Jun 20, 2022
40c88ea
Versioning
Jun 20, 2022
cb2028c
LOG-64 Dashboard with Widget inside
datnguyen-nfq Jun 21, 2022
7c7ea49
Merge branch 'feature/LOG-12' into feature/LOG-64
datnguyen-nfq Jun 21, 2022
9ac1d39
Fix rever file
datnguyen-nfq Jun 21, 2022
3732853
Add button header modal
datnguyen-nfq Jun 22, 2022
a3e2002
Fix component not import yet
datnguyen-nfq Jun 23, 2022
ea03a7c
Merge pull request #285 from OpenSourceCommerce/feature/LOG-64
nhatdo-nfq Jun 23, 2022
2bd5e6a
Versioning
Jun 23, 2022
77ab469
index on LOG-15: 40c88ea Versioning
datnguyen-nfq Jun 23, 2022
085f45b
On LOG-15: 15
datnguyen-nfq Jun 23, 2022
0ac1525
LOG-68 Explore advance search pannel
datnguyen-nfq Jun 23, 2022
da860e6
Enable widget
datnguyen-nfq Jun 24, 2022
6849026
Comment summary pannel
datnguyen-nfq Jun 24, 2022
ab43a27
Merge pull request #286 from OpenSourceCommerce/feature/LOG-68
nhatdo-nfq Jun 24, 2022
bed0c3f
Versioning
Jun 24, 2022
0a377e7
LOG-67
datnguyen-nfq Jun 28, 2022
8450d63
Merge branch 'feature/LOG-12' into feature/LOG-67
datnguyen-nfq Jun 28, 2022
9aa4f59
Merge pull request #287 from OpenSourceCommerce/feature/LOG-67
nhatdo-nfq Jun 29, 2022
dbd7799
Versioning
Jun 29, 2022
1935193
Rever assets file
datnguyen-nfq Jun 29, 2022
cbaa0a5
Versioning
Jun 29, 2022
829b266
Wrong wording on Datatable select
datnguyen-nfq Jun 30, 2022
1c2fb93
default dashboard from cookie
Jun 30, 2022
fd24d69
Merge pull request #288 from OpenSourceCommerce/feature/LOG-71
nhatdo-nfq Jun 30, 2022
e356728
Merge remote-tracking branch 'origin/feature/LOG-70' into feature/LOG-70
datnguyen-nfq Jun 30, 2022
5e98a4e
Versioning
Jun 30, 2022
2778bfa
Save dashboard uuid to cookies when user change dashboard
datnguyen-nfq Jun 30, 2022
7e02a20
Merge pull request #289 from OpenSourceCommerce/feature/LOG-70
nhatdo-nfq Jul 1, 2022
5a03c49
Versioning
Jul 1, 2022
a036098
LOG-73 Revert filter panel in dasboard page
datnguyen-nfq Jul 4, 2022
365ad0b
LOG-65 Widget not update new data when update widget
datnguyen-nfq Jul 4, 2022
b52dab0
Versioning
Jul 4, 2022
47de276
LOG-31: Enhancement Input with type number
datnguyen-nfq Jul 4, 2022
c9a4a36
LOG-33 Enhancement hide and show password
datnguyen-nfq Jul 4, 2022
7c4e2a2
LOG-60 [Issue] Pages are double loading on click (see attached video)
datnguyen-nfq Jul 4, 2022
4ac43a9
LOG-60 [Issue] Pages are double loading on click (see attached video)
datnguyen-nfq Jul 4, 2022
9d17ddc
Merge pull request #291 from OpenSourceCommerce/feature/LOG-31
nhatdo-nfq Jul 5, 2022
6b49d58
Versioning
Jul 5, 2022
2d0d757
Merge pull request #292 from OpenSourceCommerce/feature/LOG-33
nhatdo-nfq Jul 5, 2022
9114dfb
Versioning
Jul 5, 2022
a7fcff0
Remove select tab function
datnguyen-nfq Jul 5, 2022
a25651f
State of Sidebar is not saved when switching tabs
datnguyen-nfq Jul 5, 2022
096cb8c
Merge pull request #290 from OpenSourceCommerce/feature/LOG-73
nhatdo-nfq Jul 5, 2022
0b562ef
Versioning
Jul 5, 2022
85c5408
Merge pull request #293 from OpenSourceCommerce/feature/LOG-60
nhatdo-nfq Jul 5, 2022
a66234c
Versioning
Jul 5, 2022
d53093c
Merge pull request #294 from OpenSourceCommerce/feature/LOG-74
nhatdo-nfq Jul 5, 2022
f3367a9
Versioning
Jul 5, 2022
3dcd613
LOG-72 Change behavior of adding a widget
datnguyen-nfq Jul 7, 2022
8950a2a
[UI Issue] Correction of wording "No Exports found"
datnguyen-nfq Jul 7, 2022
4b520e4
LOG-76 Favicon
datnguyen-nfq Jul 7, 2022
eebdafa
Merge pull request #296 from OpenSourceCommerce/feature/LOG-76
nhatdo-nfq Jul 8, 2022
893d6d6
Versioning
Jul 8, 2022
fe9c917
Merge pull request #297 from OpenSourceCommerce/feature/LOG-36
nhatdo-nfq Jul 8, 2022
aa1b115
Versioning
Jul 8, 2022
6fffabb
Merge pull request #295 from OpenSourceCommerce/feature/LOG-72
nhatdo-nfq Jul 8, 2022
de181f3
Versioning
Jul 8, 2022
76424e8
LOG-77 [UI improvement] Edit Widgets right on Dashboard in Modal
datnguyen-nfq Jul 8, 2022
6dd63d8
Merge branch 'feature/LOG-12' into feature/LOG-77
datnguyen-nfq Jul 8, 2022
f1b47de
fix issue loading data in content
datnguyen-nfq Jul 11, 2022
8400e8d
create new widget right on dashboard
datnguyen-nfq Jul 11, 2022
89a3776
LOG-78 Change Logo
datnguyen-nfq Jul 12, 2022
de449d1
Merge pull request #298 from OpenSourceCommerce/feature/LOG-77
nhatdo-nfq Jul 12, 2022
1194da4
Merge branch 'feature/LOG-12' into feature/LOG-78
datnguyen-nfq Jul 12, 2022
81232a3
Versioning
Jul 12, 2022
ee14eb7
LOG-35 Version Display
datnguyen-nfq Jul 12, 2022
a92e7e6
LOG-63 Loading indicator on creation process
datnguyen-nfq Jul 12, 2022
b8ef42d
Update logo
datnguyen-nfq Jul 12, 2022
48d26e5
Merge pull request #299 from OpenSourceCommerce/feature/LOG-78
nhatdo-nfq Jul 12, 2022
8224d7e
Versioning
Jul 12, 2022
8f4c5d6
Merge pull request #301 from OpenSourceCommerce/feature/LOG-63
nhatdo-nfq Jul 12, 2022
f698c6f
Versioning
Jul 12, 2022
a40ee5a
Merge branch 'feature/LOG-12' into feature/LOG-35
datnguyen-nfq Jul 12, 2022
7db524a
LOG-62 [UI Issue] Error does not explain where the Error is
datnguyen-nfq Jul 12, 2022
1a15d2f
Merge pull request #300 from OpenSourceCommerce/feature/LOG-35
nhatdo-nfq Jul 14, 2022
b890b7d
Versioning
Jul 14, 2022
f9b3d57
Merge pull request #302 from OpenSourceCommerce/feature/LOG-62
nhatdo-nfq Jul 14, 2022
f52cce3
Versioning
Jul 14, 2022
e0f9faa
allow user access setting page
Jul 20, 2022
94ca472
Merge pull request #303 from OpenSourceCommerce/hotfix/LOG-79
phucnh-nfq Jul 20, 2022
8c99894
Versioning
Jul 20, 2022
f4d1a41
Update cypress test
datnguyen-nfq Jul 20, 2022
1de901a
Merge pull request #304 from OpenSourceCommerce/hotfix/LOG-79
nhatdo-nfq Aug 3, 2022
ed3723f
Versioning
Aug 3, 2022
37ef08d
Fix issue regarding to path in favicon
datnguyen-nfq Aug 8, 2022
1c8f0ed
Merge branch 'feature/LOG-12' into feature/LOG-36-1
datnguyen-nfq Aug 8, 2022
f8c3915
Merge pull request #310 from OpenSourceCommerce/feature/LOG-36-1
nhatdo-nfq Aug 9, 2022
cf454c0
Versioning
Aug 9, 2022
cfe70f9
Save query in widget detail page
datnguyen-nfq Aug 15, 2022
28ac877
Feature/LOG-84: keep color, remove reload animation chart unless render
duyvodev Aug 23, 2022
933e4d2
revert public/assets, package-lock, gitignore
duyvodev Aug 23, 2022
825cf10
revert public assets
datnguyen-nfq Aug 23, 2022
74b2cb1
Fix widget detail should be overlay widget list modal
datnguyen-nfq Aug 24, 2022
204ea10
update
duyvodev Aug 24, 2022
1e30863
fix: remove chart reload animation unless first render
duyvodev Aug 24, 2022
24a06ea
Update test.yml
phucnh-nfq Aug 24, 2022
c9e2c32
update test.yml
duyvodev Aug 24, 2022
2c2ebce
fix: reset data and invalid when close add widget form
Aug 24, 2022
77f2623
set order desc is default value
datnguyen-nfq Aug 25, 2022
57beea4
Merge branch 'feature/LOG-81' of https://github.com/OpenSourceCommerc…
datnguyen-nfq Aug 25, 2022
898473f
update test
datnguyen-nfq Aug 25, 2022
6df1b76
Merge pull request #312 from OpenSourceCommerce/feature/LOG-84
datnguyen-nfq Aug 25, 2022
90320a8
Versioning
Aug 25, 2022
f91fb4a
Merge pull request #313 from OpenSourceCommerce/feature/LOG-85
datnguyen-nfq Aug 25, 2022
a847c5a
Versioning
Aug 25, 2022
d8c06fe
Merge branch 'feature/LOG-12' of https://github.com/OpenSourceCommerc…
datnguyen-nfq Aug 25, 2022
c21dcdc
Revert "Save query in widget detail page"
datnguyen-nfq Aug 25, 2022
43c3c9d
Merge branch 'feature/LOG-12' of https://github.com/OpenSourceCommerc…
datnguyen-nfq Aug 25, 2022
c4f54f4
Revert filter-text file
datnguyen-nfq Aug 25, 2022
a0621eb
Versioning
Aug 25, 2022
a0c66bd
Revert into LOG-85
datnguyen-nfq Aug 25, 2022
d95369d
Versioning
Aug 25, 2022
ed0712d
Forgot password screen
datnguyen-nfq Aug 25, 2022
5435a87
Merge branch 'feature/LOG-12' of https://github.com/OpenSourceCommerc…
Aug 26, 2022
68b124f
feature/LOG-82 Fix issue display icon in widget list
datnguyen-nfq Aug 26, 2022
3babf4e
fix: remove WidgetDetailModal was duplicate
Aug 26, 2022
3698260
Rename error
datnguyen-nfq Aug 26, 2022
8d89155
fix: ignore public/assets
Aug 26, 2022
0350b19
Merge pull request #314 from OpenSourceCommerce/feature/LOG-88
nhatdo-nfq Aug 26, 2022
f7801c9
Versioning
Aug 26, 2022
95e3513
revert public assets
datnguyen-nfq Aug 26, 2022
1550c61
Merge branch 'feature/LOG-12' of github.com:OpenSourceCommerce/log-ex…
duyvodev Aug 26, 2022
8a87f33
Merge branch 'feature/LOG-12' of https://github.com/OpenSourceCommerc…
datnguyen-nfq Aug 25, 2022
2526991
fix: save filter text feature
Aug 28, 2022
cc32028
feature/LOG-82 Fix issue display icon in widget list
duyvodev Aug 29, 2022
315c850
revert services.yaml
duyvodev Aug 29, 2022
4d4fbfe
revert public/assets
duyvodev Aug 29, 2022
1e33e52
revert public/assets
duyvodev Aug 29, 2022
c2447bd
Fix: completed for reset form and save filter feat
Aug 29, 2022
898605c
revert service.yaml
duyvodev Aug 29, 2022
0ca9602
LOG-89: fix stick widgets
duyvodev Aug 30, 2022
cf6f26a
Merge branch 'feature/LOG-12' of https://github.com/OpenSourceCommerc…
Aug 30, 2022
8565242
Fix: add key & id for widget modal and fix save filter
Sep 5, 2022
6910925
fix: add key for WidgetManagement
Sep 5, 2022
ebb0d3f
fix: complete the issue edit and add widget
Sep 5, 2022
6d2a690
feat: improved the save filter feature
Sep 6, 2022
cf59db2
fix: remove the error when update filter name
Sep 6, 2022
db3fd2e
fix: remove error when select other filter
Sep 7, 2022
380f5b1
Update query function
datnguyen-nfq Sep 7, 2022
35b04f7
Fix cypress test
datnguyen-nfq Sep 7, 2022
51e94f5
Fix issue cant load query in first time widget detail dont have data
datnguyen-nfq Sep 8, 2022
77d25ee
Merge pull request #311 from OpenSourceCommerce/feature/LOG-81
nhatdo-nfq Sep 8, 2022
4920845
Merge pull request #317 from OpenSourceCommerce/feature/LOG-89
datnguyen-nfq Sep 8, 2022
48a0130
Merge branch 'feature/LOG-12' into feature/LOG-82
duyvodev Sep 9, 2022
451d168
Merge pull request #315 from OpenSourceCommerce/feature/LOG-82
datnguyen-nfq Sep 12, 2022
b1676b0
Resolve conflict with master branch
datnguyen-nfq Sep 12, 2022
2cbbe40
Merge branch 'master' of https://github.com/OpenSourceCommerce/log-ex…
datnguyen-nfq Sep 12, 2022
c1189d1
Resolve conflict with master branch
datnguyen-nfq Sep 12, 2022
e0fde0e
Resolve conflict with master
datnguyen-nfq Sep 12, 2022
e4965dc
Revert .gitignore file
datnguyen-nfq Sep 12, 2022
ce9a539
Versioning
Sep 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Symfony start server
run: |
curl -sS https://get.symfony.com/cli/installer | bash
/home/runner/.symfony/bin/symfony server:start -d
/home/runner/.symfony5/bin/symfony server:start -d
- name: Cypress test
run: CYPRESS_BASE_URL=http://localhost:8000 ./node_modules/.bin/cypress run
- name: Upload test failed
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
###> symfony/webpack-encore-bundle ###
/node_modules/
/public/build/

npm-debug.log
yarn-error.log
###< symfony/webpack-encore-bundle ###
Expand Down
19 changes: 12 additions & 7 deletions assets/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@

// any CSS you import will output into a single css file (app.css in this case)
import './styles/app.scss';
import '@fortawesome/fontawesome-free/css/all.min.css';

const $ = require('jquery');
import "./vendor/theme.min.js";

window.bootstrap = require('bootstrap/dist/js/bootstrap.bundle.js');

// Need jQuery? Install it with 'yarn add jquery', then uncomment to import it.
import 'admin-lte/plugins/jquery/jquery';
import 'admin-lte/plugins/jquery-ui/jquery-ui';
// import 'admin-lte/plugins/jquery/jquery';
// import 'admin-lte/plugins/jquery-ui/jquery-ui';

$.widget.bridge('uibutton', $.ui.button);
// $.widget.bridge('uibutton', $.ui.button);

import 'admin-lte/plugins/bootstrap/js/bootstrap.bundle.min';
// import 'admin-lte/plugins/bootstrap/js/bootstrap.bundle.min';
// Import 'admin-lte/plugins/chart.js/Chart.min';
// import Sparkline from 'admin-lte/plugins/sparklines/sparkline';
// window.Sparkline = Sparkline;
Expand All @@ -25,9 +31,8 @@ import 'admin-lte/plugins/bootstrap/js/bootstrap.bundle.min';
// import 'admin-lte/plugins/daterangepicker/daterangepicker';
// import 'admin-lte/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min';
// import 'admin-lte/plugins/summernote/summernote-bs4.min';
import 'admin-lte/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min';
import 'admin-lte/dist/js/adminlte';
// import 'admin-lte/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min';
// import 'admin-lte/dist/js/adminlte';
// Import 'admin-lte/dist/js/pages/dashboard';
// import 'admin-lte/dist/js/demo';

// Console.log('Hello Webpack Encore! Edit me in assets/app.js');
Binary file added assets/images/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/android-chrome-384x384.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/images/chevron-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/empty-widget.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/favicon.ico
Binary file not shown.
Binary file added assets/images/light-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 9 additions & 49 deletions assets/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/no-dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/images/select.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/js/actions/_validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const ValidatorHelper = {
}, 'Email is invalid format');

jQuery.validator.addMethod('passwordCapitalCharacters', function (value, element) {
const strongRegex = new RegExp('^(?=.*[a-zA-Z\\d])(?=.*[!@#$%^&\\.\\,\\/\\;\\\'\\[\\]\\(\\)\\=\\+\\-\\<\\>\\?\\:\\"\\{\\}])(?=.{8,})');
const strongRegex = new RegExp('^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,}$');
return this.optional(element) || strongRegex.test(value);
}, 'Password is invalid format');
$(element).validate({
Expand Down
67 changes: 31 additions & 36 deletions assets/js/components/_advanced-search.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import React from 'react';
import PropTypes from 'prop-types';
import {FilterDate, FilterText, Button, LogViewList} from '.';
import '../../styles/component/_advanced-search.scss';
import {Live} from '../actions';
import React from "react";
import PropTypes from "prop-types";
import { FilterDate, FilterText, Button, LogViewList } from ".";
import "../../styles/component/_advanced-search.scss";
import { Live } from "../actions";

export class AdvancedSearch extends React.Component {
constructor(props) {
super(props);
this.filterDateRef = React.createRef();
}

setDate(from, to, dateValue, callback){
this.filterDateRef.current.setDate(from, to, dateValue, callback)
setDate(from, to, dateValue, callback) {
this.filterDateRef.current.setDate(from, to, dateValue, callback);
}

render() {
Expand All @@ -25,37 +25,32 @@ export class AdvancedSearch extends React.Component {
} = this.props;

return (
<div className="advanced-search">
<div className="card mb-2">
<div className="card-body pt-0 pb-1">
<LogViewList
{...otherProps}
<div className="advanced-search p-3 my-2">
<div className="d-flex justify-content-around align-self-center flex-wrap">
<LogViewList className="me-3" {...otherProps} />
<div className="d-flex flex-column flex-fill me-2">
<FilterText
label="What are you looking for ?"
placeholder="status = 200 AND url LIKE '%product%'"
queries={queries}
onSaveClicked={onSaveClicked}
onDeleteCLicked={onDeleteCLicked}
/>
<div className="row ">
<div className="col-7 col-md-6">
<FilterText
label="What are you looking for ?"
placeholder="status = 200 AND url LIKE '%product%'"
queries={queries}
onSaveClicked={onSaveClicked}
onDeleteCLicked={onDeleteCLicked}
/>
</div>
<div className="input-search col-5 col-md-4">
<FilterDate
ref={this.filterDateRef}
label="Date Range"
dateRange={dateRange}
onDateRangeChanged={onDateRangeChanged}
/>
</div>
<div className="col-12 col-md-2 btn-action-group mt-2 mt-md-4">
<Button id='btn-search' className="btn-search w-100" onClick={() => Live.refresh()}>
SEARCH
</Button>
</div>
</div>
</div>
<FilterDate
className="me-2"
ref={this.filterDateRef}
label="Date Range"
dateRange={dateRange}
onDateRangeChanged={onDateRangeChanged}
/>
<Button
id="btn-search"
className="btn-search flex-fill align-self-end"
onClick={() => Live.refresh()}
>
Search
</Button>
</div>
</div>
);
Expand Down
13 changes: 13 additions & 0 deletions assets/js/components/_alert-message.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from "react";

export const AlertMessage = ({ message, color, className='' }) => {
return (
<>
{message && (
<div className={`alert alert-${color} ${className}`} role="alert">
{message}
</div>
)}
</>
);
};
66 changes: 35 additions & 31 deletions assets/js/components/_button.js
Original file line number Diff line number Diff line change
@@ -1,38 +1,42 @@
import React, {Component} from 'react';
import {Colors} from '.';
import PropTypes from 'prop-types';
import React from "react";
import PropTypes from "prop-types";

export class Button extends Component {
render() {
let {className = '', type = 'button', color = Colors.blue, isLoading = false, disabled = false, children, cy = '', ...rest} = this.props;
export const Button = ({
className = "",
type = "button",
color,
outlineColor,
isLoading = false,
disabled = false,
children,
cy = "",
...rest
}) => {
let classes = `btn ${className}`;

if (Array.isArray(children)) {
children = children.map((child, index) => {
if (typeof child === 'string') {
child = <span key={index}>{child}</span>;
}
if (outlineColor) classes += ` btn-outline-${outlineColor}`;

return child;
});
}
if (color) classes += ` btn-${color}`;

let classes = className;
classes += ' btn';
classes += ' btn-' + color;
if (isLoading) {
disabled = true;
}
if (!outlineColor && !color) classes += " btn-primary";

return (
<button {...rest} className={classes} disabled={disabled} type={type} data-cy={cy}>
{isLoading ? (<> <span
className="spinner-border spinner-border-sm mr-2"
role="status" aria-hidden="true"></span>
Loading... </>) : children}
</button>
);
}
}
return (
<button {...rest} className={classes} disabled={disabled || isLoading} type={type} data-cy={cy}>
{isLoading ? (
<>
<span
className="spinner-border spinner-border-sm me-2"
role="status"
aria-hidden="true"
></span>
Loading...
</>
) : (
children
)}
</button>
);
};

Button.propTypes = {
className: PropTypes.string,
Expand All @@ -42,5 +46,5 @@ Button.propTypes = {
disabled: PropTypes.bool,
onClick: PropTypes.func,
isLoading: PropTypes.bool,
cy: PropTypes.string
cy: PropTypes.string,
};
41 changes: 21 additions & 20 deletions assets/js/components/_card-tools.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {Button, Icon, Colors} from '.';
import React from "react";
import PropTypes from "prop-types";
import { Button, Icon, Colors } from ".";

export class CardTool extends Component {
render() {
const {children} = this.props;

return (
<div className="btn-group">
<Button type="button" className="btn btn-sm dropdown-toggle" color={Colors.light}
data-toggle="dropdown" data-offset="-52">
<Icon name={'bars'}/>
</Button>
<div className="dropdown-menu" role="menu">
{children}
</div>
export const CardTool = ({ children }) => {
return (
<div className="btn-group">
<Button
className="dropdown-toggle dropdown-toggle-none-icon"
outlineColor={Colors.blue}
data-bs-toggle="dropdown"
data-offset="-52"
>
<Icon className="feather-sm me-2 stroke-width-3" dataFeather="upload" />
<span className="d-inline-block align-middle fw-bold">Export</span>
</Button>
<div className="dropdown-menu dropdown-menu-end" role="menu">
{children}
</div>
);
}
}
</div>
);
};

CardTool.propTypes = {
children: PropTypes.any
children: PropTypes.any,
};
Loading