Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/new-dashboard #16

Closed
wants to merge 197 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
c5aace2
feat: new app dashboard and app registration flow
shafin-deriv Mar 18, 2024
4f9d15c
chore: update file names
shafin-deriv Mar 18, 2024
e2328e6
chore: remove lazy loading for server rendering issue
shafin-deriv Mar 18, 2024
dbd310e
chore: fix previous tests
shafin-deriv Mar 18, 2024
c586cc7
fix: test case
shafin-deriv Mar 18, 2024
35274fa
test: add test for CustomRadioButton
shafin-deriv Mar 19, 2024
4c9ff94
Merge pull request #289 from binary-com/master
sandeep-deriv Mar 19, 2024
5bc5b9a
Merge pull request #292 from binary-com/master
sandeep-deriv Mar 19, 2024
b7e648c
test: swipeable bottom sheet test case
shafin-deriv Mar 21, 2024
5e0713c
chore: change radio button to checkbox
shafin-deriv Mar 21, 2024
5c15552
test: improve swipeable bottom sheet test coverage
shafin-deriv Mar 21, 2024
69d3707
test: finalize all tests
shafin-deriv Mar 22, 2024
cd30d63
Merge pull request #286 from shafin-deriv/shafin/DAPI-462/feat--api-r…
sandeep-deriv Apr 4, 2024
0390003
feat: app manager desktop
shafin-deriv Apr 15, 2024
e87d5e3
feat: complete responsive design
shafin-deriv Apr 16, 2024
741faee
fix: fix existing test cases
shafin-deriv Apr 16, 2024
07dffb8
Merge remote-tracking branch 'upstream/master' into feature/new-dashb…
sandeep-deriv Apr 17, 2024
c8153f5
test: test coverage for accordion, tooltip and tabs
shafin-deriv Apr 17, 2024
7c4c2d5
Merge branch 'feature/new-dashboard' into shafin/DAPI-464/feat--api-a…
shafin-deriv Apr 17, 2024
121f3d1
test: test coverage for copy button and reponsive table
shafin-deriv Apr 17, 2024
0da7466
fix: text overflow issue
shafin-deriv Apr 18, 2024
a8cf15c
Merge pull request #315 from shafin-deriv/shafin/DAPI-464/feat--api-a…
sandeep-deriv Apr 22, 2024
6d3ce1e
Quill-UU-Button-Heading-Text-TextField
May 3, 2024
ba00244
fixing tests and updating quill ui
May 6, 2024
c6c5cfc
Edit Delete App
May 6, 2024
ab7c2e5
delete popup
May 7, 2024
887d616
fix delete functionality
May 8, 2024
ea46619
fix delete functionality
May 8, 2024
6c6f394
Buttons Large
May 9, 2024
b4c1b3d
chore: edit application functionality
shafin-deriv May 10, 2024
fb20e6c
Merge pull request #31 from shafin-deriv/shafin/DAPI-528/chore--funct…
sandeep-deriv May 13, 2024
7a51a2d
text field removal and fixing button
May 13, 2024
ee74b50
removing quill-design
May 13, 2024
4148020
theme provider updating quill
May 13, 2024
00c26a9
Merge remote-tracking branch 'upstream/feature/new-dashboard' into Ag…
May 14, 2024
d13f31e
empty commit
May 14, 2024
bf5f523
styling issue fix
May 14, 2024
c7172bf
Merge remote-tracking branch 'upstream/feature/new-dashboard' into Ag…
May 15, 2024
f3e4571
mobile view fix
May 15, 2024
d59754b
Merge pull request #29 from agrim-deriv/Agrim/DAPI-528/EditDelete
shafin-deriv Jun 7, 2024
ee8aa11
Merge pull request #26 from agrim-deriv/Agrim/DAPI544/quill-ui-button
shafin-deriv Jun 7, 2024
352ead6
chore: implement app update page
shafin-deriv Jun 11, 2024
a73d61c
chore: update style and content
shafin-deriv Jun 11, 2024
634ed4c
chore: handle app configure from reg success modal
shafin-deriv Jun 13, 2024
f10d559
fix: test case
shafin-deriv Jun 13, 2024
aa182da
fix: checkbox alignment
shafin-deriv Jun 13, 2024
d8070e1
chore: add form disabled logic if not touched
shafin-deriv Jun 13, 2024
26917bd
chore: change content
shafin-deriv Jun 14, 2024
72612b3
fix: change content
shafin-deriv Jun 18, 2024
701eac0
Merge pull request #46 from shafin-deriv/shafin/DAPI-470/chore--app-u…
sandeep-deriv Jun 20, 2024
f6efaf6
chore: admin scope popup display
agrim-deriv Jun 21, 2024
7a33c97
fix: fixes
agrim-deriv Jun 28, 2024
6802168
feat: api token table
agrim-deriv Jul 2, 2024
ab3f9bf
fix: changes
agrim-deriv Jul 2, 2024
9ca1e6c
fix: grayed button fix
agrim-deriv Jul 2, 2024
fc1f879
chore: AccountType and responsive
agrim-deriv Jul 4, 2024
14154c6
fix: import
agrim-deriv Jul 4, 2024
47f9096
fix: bugs
agrim-deriv Jul 4, 2024
4e7c976
fix: failing test
agrim-deriv Jul 4, 2024
7384a15
fix: color warning
agrim-deriv Jul 4, 2024
dcdf99d
fix: error
agrim-deriv Jul 4, 2024
5eeba67
success warning popup
agrim-deriv Jul 4, 2024
031aca6
fix: mobile view
agrim-deriv Jul 4, 2024
501d262
revert mobile fix
agrim-deriv Jul 4, 2024
76d1fc5
chore: delete app modal
agrim-deriv Jul 4, 2024
c952f4b
fix: test
agrim-deriv Jul 4, 2024
657bbbc
fix: mobile
agrim-deriv Jul 4, 2024
25079a4
removing button styling
agrim-deriv Jul 4, 2024
0ce165e
chore: fix checbox logic
agrim-deriv Jul 5, 2024
0821ee8
fix: using usedevicetype hook
agrim-deriv Jul 5, 2024
e7700a5
using useDeviceType and reverting checbox changes and handling it thr…
agrim-deriv Jul 5, 2024
0aa1b87
fix: checkbox revert
agrim-deriv Jul 5, 2024
6c3c40f
fix: responsive real-time
agrim-deriv Jul 8, 2024
dc4a127
fix: modal
agrim-deriv Jul 8, 2024
85ca6f3
fix: using devicetype
agrim-deriv Jul 8, 2024
f8fe0c5
fix: stlying responsive
agrim-deriv Jul 8, 2024
1351bef
fix: tests
agrim-deriv Jul 8, 2024
2645fd6
fix: resolving comments and writing improved code
agrim-deriv Jul 9, 2024
7a2bd43
fix: tests
agrim-deriv Jul 9, 2024
42ba83f
common file
agrim-deriv Jul 9, 2024
73ffd90
fix: deleting token
agrim-deriv Jul 10, 2024
c572804
settings.json revert
agrim-deriv Jul 10, 2024
57437b9
fix: tests and responsive
agrim-deriv Jul 10, 2024
9c0be06
reusable class
agrim-deriv Jul 10, 2024
116eb8a
custom accordion styling revert
agrim-deriv Jul 10, 2024
7542278
Merge pull request #54 from agrim-deriv/Agrim/DAPI-471/AdminScopePopup
shafin-deriv Jul 11, 2024
0d36a78
chore: useDisableScroll hook
agrim-deriv Jul 11, 2024
2db383c
fix: fix the custom hook
agrim-deriv Jul 12, 2024
59b625a
Merge remote-tracking branch 'upstream/feature/new-dashboard' into Ag…
agrim-deriv Jul 12, 2024
86d8806
fix: pull latest feature branch
agrim-deriv Jul 12, 2024
de2f167
Merge remote-tracking branch 'upstream/feature/new-dashboard' into Ag…
agrim-deriv Jul 12, 2024
07af4b6
updating api tokens for deletion
agrim-deriv Jul 15, 2024
ef34ae6
remove unnecessary padding
agrim-deriv Jul 16, 2024
043c161
missing padding around green check icon
agrim-deriv Jul 16, 2024
849baca
revert padding chage
agrim-deriv Jul 16, 2024
8115241
using quill icons
agrim-deriv Jul 16, 2024
bed59ad
scroll admin scope
agrim-deriv Jul 16, 2024
1ad74ee
Merge pull request #61 from agrim-deriv/Agrim/DAPI-620/ColorPopup
sandeep-deriv Jul 16, 2024
defee8f
chore: removing the svg icons
agrim-deriv Jul 16, 2024
1084f07
Merge remote-tracking branch 'upstream/feature/new-dashboard' into Ag…
agrim-deriv Jul 16, 2024
511b760
Merge pull request #71 from agrim-deriv/Agrim/remove_extra_image_files
sandeep-deriv Jul 17, 2024
94f4676
fix: test fixes
agrim-deriv Jul 17, 2024
b4d1057
remove unncessary css
agrim-deriv Jul 17, 2024
34e89d0
fix: styling
agrim-deriv Jul 19, 2024
22f910e
fix: styling
agrim-deriv Jul 19, 2024
9e9e5a3
table scrolling issue
agrim-deriv Jul 19, 2024
ed1a2c0
width fix for header
agrim-deriv Jul 20, 2024
718bd73
deleting token
agrim-deriv Jul 22, 2024
afdf11d
token alignment left
agrim-deriv Jul 22, 2024
8faeca6
fix: header
agrim-deriv Jul 22, 2024
990162e
fix: responsive header
agrim-deriv Jul 22, 2024
8ea875f
fix: revert old changes
agrim-deriv Jul 22, 2024
b2be330
fix: header account
agrim-deriv Jul 22, 2024
ec10be0
chore: align with master
shafin-deriv Jul 23, 2024
a957659
chore: trigger rendering
shafin-deriv Jul 23, 2024
d01641b
chore: update node version
shafin-deriv Jul 23, 2024
57bf4c5
Merge pull request #75 from shafin-deriv/shafin/DAPI-469/chore-align-…
sandeep-deriv Jul 23, 2024
7009ef9
fix: reset commit
agrim-deriv Jul 23, 2024
59e46bb
fix: resolve conflicts
agrim-deriv Jul 24, 2024
4bb8f37
revert test
agrim-deriv Jul 24, 2024
e8ea313
remove the fixed width
agrim-deriv Jul 24, 2024
c918e01
width
agrim-deriv Jul 24, 2024
5d30c11
width
agrim-deriv Jul 24, 2024
6efed99
fixing test
agrim-deriv Jul 24, 2024
75cd98a
revert deviceType
agrim-deriv Jul 24, 2024
60883fb
Merge pull request #58 from agrim-deriv/Agrim/DAPI-499/APITokenScreen…
shafin-deriv Jul 25, 2024
16a4634
create_api_token desk + resp
agrim-deriv Jul 29, 2024
c32555d
deleting token revert
agrim-deriv Jul 29, 2024
eea9170
fix: error messages
agrim-deriv Jul 30, 2024
a59a58c
chore: account switcher
agrim-deriv Jul 31, 2024
fe98c26
fix: account switcher size and checkbox
agrim-deriv Jul 31, 2024
bbc2aeb
fix: test
agrim-deriv Aug 2, 2024
4a505d4
fix: add back api token form css
agrim-deriv Aug 2, 2024
d873336
feat: Filter/Sort implementation on mobile & desktop for application …
ahmed-deriv Aug 5, 2024
eb4d782
remove TODO comment
ahmed-deriv Aug 5, 2024
10c4a09
quill style change
agrim-deriv Aug 5, 2024
850f4f9
fix: checkbox
agrim-deriv Aug 5, 2024
eeef44b
resolve comments
agrim-deriv Aug 6, 2024
e4a300e
Fix capital and small letter sorting issue
ahmed-deriv Aug 6, 2024
ec0e27b
Merge pull request #83 from ahmed-deriv/ahmed/DAPI-637/feat--filter-s…
shafin-deriv Aug 7, 2024
5dadf15
chore: account switcher
agrim-deriv Aug 7, 2024
05cfbd0
fix: resolve conflict
agrim-deriv Aug 7, 2024
b77c04f
fix: admin popup content
agrim-deriv Aug 7, 2024
2c64066
chore: input field token name
agrim-deriv Aug 7, 2024
0cce857
fix: remove unnecessary code
agrim-deriv Aug 7, 2024
7b9f2ae
fix: error
agrim-deriv Aug 7, 2024
6a84d7c
Fix HTML SCSS layout issues and update CTA button on responsive
ahmed-deriv Aug 7, 2024
73cc7b1
chore: breadcrumbs
agrim-deriv Aug 8, 2024
281f2fe
fix: error code 3
agrim-deriv Aug 8, 2024
12ec98d
fix: resolve comments
agrim-deriv Aug 8, 2024
fdd6271
extra divs
agrim-deriv Aug 8, 2024
5e2eb57
fix: repsonsive popup
agrim-deriv Aug 9, 2024
ddb3221
Merge pull request #77 from agrim-deriv/Agrim/APICreateToken
sandeep-deriv Aug 12, 2024
02f0795
ahmed/DAPI-618/feat--update-navigation-bar
ahmed-deriv Aug 14, 2024
31a1c7c
Merge branch 'feature/new-dashboard' into ahmed/DAPI-618/feat--update…
ahmed-deriv Aug 14, 2024
a3df4a1
SignedInButton css issue fixed
ahmed-deriv Aug 14, 2024
cdabc41
Remove debugging log command
ahmed-deriv Aug 15, 2024
a047da9
ahmed/DAPI-683/feat--filter-dropdown-app-manager-desktop
ahmed-deriv Aug 16, 2024
7a38180
Code review changes
ahmed-deriv Aug 16, 2024
eadb30d
Replace useCallback with useMemo for props handling
ahmed-deriv Aug 16, 2024
d94776d
chore: fix the key error in table component
sandeep-deriv Aug 16, 2024
71c7084
Merge pull request #97 from deriv-com/sandeep/fix--table-key-issues
sandeep-deriv Aug 16, 2024
374b624
Merge branch 'feature/new-dashboard' into ahmed/DAPI-626/chore--add-r…
ahmed-deriv Aug 16, 2024
b2eb672
resolve code conflict in api token table component
ahmed-deriv Aug 16, 2024
fb97a1a
chore: resolved merge conflists - aligned with master
sandeep-deriv Aug 19, 2024
3b1ee77
chore: removed unused component and updated package lock
sandeep-deriv Aug 19, 2024
ea8f88e
Update props variable names for sub components
ahmed-deriv Aug 19, 2024
e4601c8
resolve package json conflict
ahmed-deriv Aug 19, 2024
38e42d2
Update package-lock.json
ahmed-deriv Aug 19, 2024
184fbf3
Update UserNavbarItem.module.scss
ahmed-deriv Aug 21, 2024
8d22377
chore: retrigger
ahmed-deriv Aug 21, 2024
77abecd
chore: update node version
ahmed-deriv Aug 22, 2024
1a39504
update package lock file
ahmed-deriv Aug 22, 2024
409e112
chore: resolve merge conflicts
sandeep-deriv Aug 22, 2024
5620179
Merge pull request #89 from ahmed-deriv/ahmed/DAPI-626/chore--add-res…
sandeep-deriv Aug 22, 2024
5ac0b2f
fix: resolve conflicts
agrim-deriv Aug 22, 2024
c2d72df
fix: update with master
agrim-deriv Aug 22, 2024
88a460b
chore: resolved merge conflicts
ahmed-deriv Aug 22, 2024
f65a14f
fix: register tokens
agrim-deriv Aug 22, 2024
82b0a83
ahmed/DAPI-662/fix--improve-text-alignment-popups
ahmed-deriv Aug 22, 2024
b7ebd6d
ahmed/DAPI-705/chore--add-unit-test-for-coverage-deriv-api
ahmed-deriv Aug 26, 2024
3a5920b
Merge pull request #94 from ahmed-deriv/ahmed/DAPI-618/feat--update-n…
shafin-deriv Aug 26, 2024
3b90015
Merge remote-tracking branch 'upstream/feature/new-dashboard' into ah…
ahmed-deriv Aug 26, 2024
958bcf6
Merge remote-tracking branch 'upstream/feature/new-dashboard' into ah…
ahmed-deriv Aug 26, 2024
1041ad0
fix: create token
agrim-deriv Aug 26, 2024
ded6d28
Code refactoring and add unit tests
ahmed-deriv Aug 27, 2024
00b875e
Add unit test for api token table
ahmed-deriv Aug 29, 2024
30c5256
Merge pull request #90 from agrim-deriv/Agrim/breadcrumbs
shafin-deriv Aug 30, 2024
062750c
Merge pull request #103 from ahmed-deriv/ahmed/DAPI-662/fix--improve-…
shafin-deriv Aug 30, 2024
91b2bd0
Merge remote-tracking branch 'upstream/feature/new-dashboard' into ah…
ahmed-deriv Sep 2, 2024
ade4d87
add package in json file
ahmed-deriv Sep 2, 2024
2a62dd6
Add unit test for dashboard component and hooks
ahmed-deriv Sep 2, 2024
1cee293
Merge pull request #112 from ahmed-deriv/ahmed/DAPI-705/chore--add-un…
sandeep-deriv Sep 3, 2024
69b47a3
chore: resolved merge conflicts and added missing translation AppRegi…
sandeep-deriv Sep 4, 2024
ce3068b
Merge remote-tracking branch upstream/feature/new-dashboard into ahme…
ahmed-deriv Sep 5, 2024
307d220
fix test case and crash issue
ahmed-deriv Sep 5, 2024
b780a19
Merge pull request #117 from ahmed-deriv/ahmed/DAPI-683/feat--filter-…
sandeep-deriv Sep 5, 2024
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 config/v3/confirm_email/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"verification_code": {
"description": "Email verification code (received from a `verify_email` call, which must be done first).",
"type": "string",
"pattern": "^\\w{8,128}$",
"pattern": "^\\w{6,128}$",
"sensitive": 1
},
"passthrough": {
Expand Down
3 changes: 2 additions & 1 deletion config/v3/mt5_new_account/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@
"p01_ts03",
"p01_ts04",
"p02_ts02",
"p03_ts01"
"p03_ts01",
"p03_ts02"
]
},
"state": {
Expand Down
2 changes: 1 addition & 1 deletion config/v3/new_account_virtual/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
"verification_code": {
"description": "Email verification code (received from a `verify_email` call, which must be done first).",
"type": "string",
"pattern": "^\\w{8,128}$"
"pattern": "^\\w{6,128}$"
},
"loginid": {
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
Expand Down
5 changes: 5 additions & 0 deletions config/v3/partner_settings/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
"company"
]
},
"platform_URL": {
"description": "Platform URL for Dynamic works dashboard to be redirected from Partners Hub which will be set in BackOffice.",
"type": "string",
"pattern": "^[\\w_@./:#&+-]*$"
},
"provider": {
"description": "Defines the provider platform.",
"type": "string",
Expand Down
43 changes: 39 additions & 4 deletions config/v3/proposal/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
"description": "[Only for vanilla options] The choices of predefined strike price for client to choose",
"type": "array"
},
"barrier_spot_distance": {
"description": "[Only for Turbos] The relative distance between current spot and the barrier.",
"type": "string"
},
"cancellation": {
"description": "Contains information about contract cancellation option.",
"type": "object",
Expand Down Expand Up @@ -202,8 +206,15 @@
"description": "Localized display name",
"type": "string"
},
"display_order_amount": {
"description": "Stop loss amount for display purpose.",
"type": [
"null",
"string"
]
},
"order_amount": {
"description": "Stop loss amount",
"description": "Stop loss amount. Will be deprecated soon. Please use [display_order_amount].",
"type": [
"null",
"number"
Expand Down Expand Up @@ -231,9 +242,19 @@
"description": "Localized display name",
"type": "string"
},
"display_order_amount": {
"description": "Stop out amount for display purpose.",
"type": [
"null",
"string"
]
},
"order_amount": {
"description": "Stop out amount",
"type": "number"
"description": "Stop out amount. Will be deprecated soon. Please use [display_order_amount].",
"type": [
"null",
"number"
]
},
"order_date": {
"description": "Stop out order epoch",
Expand All @@ -254,8 +275,15 @@
"description": "Localized display name",
"type": "string"
},
"display_order_amount": {
"description": "Take profit amount for display purpose.",
"type": [
"null",
"string"
]
},
"order_amount": {
"description": "Take profit amount",
"description": "Take profit amount. Will be deprecated soon. Please use [display_order_amount].",
"type": [
"null",
"number"
Expand Down Expand Up @@ -299,6 +327,13 @@
10
]
},
"payout_choices": {
"description": "[Only for Turbos] The choices of predefined payout per point for client to choose",
"type": "array",
"items": {
"type": "string"
}
},
"spot": {
"description": "Spot value (if there are no Exchange data-feed licensing restrictions for the underlying symbol).",
"type": "number",
Expand Down
32 changes: 28 additions & 4 deletions config/v3/proposal_open_contract/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,15 @@
"description": "Localized display name",
"type": "string"
},
"display_order_amount": {
"description": "Stop loss amount for display purpose.",
"type": [
"null",
"string"
]
},
"order_amount": {
"description": "Stop loss amount",
"description": "Stop loss amount. Will be deprecated soon. Please use [display_order_amount].",
"type": [
"null",
"number"
Expand Down Expand Up @@ -546,9 +553,19 @@
"description": "Localized display name",
"type": "string"
},
"display_order_amount": {
"description": "Stop out amount for display purpose.",
"type": [
"null",
"string"
]
},
"order_amount": {
"description": "Stop out amount",
"type": "number"
"description": "Stop out amount. Will be deprecated soon. Please use [display_order_amount].",
"type": [
"null",
"number"
]
},
"order_date": {
"description": "Stop out order epoch",
Expand All @@ -569,8 +586,15 @@
"description": "Localized display name",
"type": "string"
},
"display_order_amount": {
"description": "Take profit amount for display purpose.",
"type": [
"null",
"string"
]
},
"order_amount": {
"description": "Take profit amount",
"description": "Take profit amount. Will be deprecated soon. Please use [display_order_amount].",
"type": [
"null",
"number"
Expand Down
3 changes: 2 additions & 1 deletion config/v3/trading_servers/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@
"p01_ts03",
"p01_ts04",
"p02_ts02",
"p03_ts01"
"p03_ts01",
"p03_ts02"
]
},
"market_type": {
Expand Down
27 changes: 15 additions & 12 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,34 @@ keywords:
description: Get an overview of the available Deriv API code examples and languages, and how to use it to create your trading app.
---

```mdx-code-block
import Link from '@docusaurus/Link';
import RenderOfficialContents from '@site/src/components/RenderOfficialContents';
```

Our Documentation is divided in several sections:

<RenderOfficialContents>
<ul>
<li>
<a href='category/core-concepts'>Core concepts</a>
<Link href='/docs/category/core-concepts'>Core concepts</Link>
</li>
<li>
<a href='category/code-examples'>Code examples</a>
<Link href='/docs/category/code-examples'>Code examples</Link>
</li>
<li>
<a href='category/languages'>Languages</a>
<Link href='/docs/category/languages'>Languages</Link>
</li>
<li>
<a href='category/guides'>Guides</a>
<Link href='/docs/category/guides'>Guides</Link>
</li>
<li>
<a href='setting-up-a-deriv-application'>Setting up a deriv app</a>
<Link href='/docs/setting-up-a-deriv-application'>Setting up a deriv app</Link>
</li>
</ul>
<ul>
<li>
<a href='category/code-examples'>Code examples</a>
<Link href='/docs/category/code-examples'>Code examples</Link>
</li>
</ul>
</RenderOfficialContents>
Expand All @@ -51,21 +54,21 @@ Our Documentation is divided in several sections:
</RenderOfficialContents>

<RenderOfficialContents>
Have a look at the <a href='/docs/category/core-concepts'>Core concepts</a> pages and take your
Have a look at the <Link href='/docs/category/core-concepts'>Core concepts</Link> pages and take your
time to read through it. These concepts will help you get familiar with our WebSocket server api
and how to use it more efficiently. They are not related to any of our frameworks or libraries.
</RenderOfficialContents>

<RenderOfficialContents>
When you read through the <a href='/docs/category/core-concepts'>Core concepts</a> page, you can
When you read through the <Link href='/docs/category/core-concepts'>Core concepts</Link> page, you can
start choosing your implementation approach based on the language, framework or library you want
to use in your application.
</RenderOfficialContents>

<h4>Code Examples</h4>

If you want to know how you can implement our API within your code, then we suggest to have a look
at our <a href='/docs/category/code-examples'>Code examples</a>. These code examples come in
at our <Link href='/docs/category/code-examples'>Code examples</Link>. These code examples come in
`CodeSandboxes`. This allows you to easily fork the code examples and experiment with them for
personal use. For now we only have JavaScript code examples, but, we plan to add more examples
that are created with different languages, frameworks and libraries in the near future.
Expand All @@ -76,7 +79,7 @@ that are created with different languages, frameworks and libraries in the near

<RenderOfficialContents>
When using our code examples, we also suggest to have a look at our{' '}
<a href='/docs/category/languages'>Languages</a> section. Here, we describe in detail how you
<Link href='/docs/category/languages'>Languages</Link> section. Here, we describe in detail how you
can setup your personal project properly to make use of our API. This will surely come helpful
when you try to integrate some of our code examples in your own project.
</RenderOfficialContents>
Expand All @@ -88,7 +91,7 @@ that are created with different languages, frameworks and libraries in the near
<RenderOfficialContents>
If you want to know for example how you can `monetize your application` or how to create a
`secure way for users to log in` to your application, then we provide a handful of{' '}
<a href='/docs/category/guides'>Guides</a> that can assist you with that.
<Link href='/docs/category/guides'>Guides</Link> that can assist you with that.
</RenderOfficialContents>

<RenderOfficialContents>
Expand All @@ -98,5 +101,5 @@ that are created with different languages, frameworks and libraries in the near
<RenderOfficialContents>
If you want to know more about the essentials that are needed to setup your own application,
then have a look at the{' '}
<a href='/docs/setting-up-a-deriv-application'>Setting up a Deriv application</a> section.
<Link href='/docs/setting-up-a-deriv-application'>Setting up a Deriv application</Link> section.
</RenderOfficialContents>
10 changes: 7 additions & 3 deletions docs/setting-up-a-deriv-application.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ keywords:
description: A step-by-step guide on creating your Deriv API token and building your trading application with the help of our trading API. Learn more.
---

```mdx-code-block
import Link from '@docusaurus/Link';
```

#### Deriv account

If you don't have a Deriv account yet, you can easily create one by visiting our signup page or using the <a href="/api-explorer#new_account_virtual" target="_blank" rel="noopener noreferrer">new_account_virtual</a> API call. It's completely free. And if you have an account already, please log in using your account details. To avoid any accidental loss of funds during testing, we recommend using your demo account instead of a real account.
If you don't have a Deriv account yet, you can easily create one by visiting our signup page or using the <Link href="/api-explorer#new_account_virtual" target="_blank" rel="noopener noreferrer">new_account_virtual</Link> API call. It's completely free. And if you have an account already, please log in using your account details. To avoid any accidental loss of funds during testing, we recommend using your demo account instead of a real account.

To earn markup, get a Deriv real account to receive your monthly earnings. You can also create a real account using <a href="/api-explorer#new_account_real" target="_blank" rel="noopener noreferrer">new_account_real</a> or <a href="/api-explorer#new_account_maltainvest" target="_blank" rel="noopener noreferrer">new_account_maltainvest</a> API calls.
To earn markup, get a Deriv real account to receive your monthly earnings. You can also create a real account using <Link href="/api-explorer#new_account_real" target="_blank" rel="noopener noreferrer">new_account_real</Link> or <Link href="/api-explorer#new_account_maltainvest" target="_blank" rel="noopener noreferrer">new_account_maltainvest</Link> API calls.

:::caution
To create Deriv applications, you'll need an API token with the Admin scope for the account you wish to use for your application.
Expand All @@ -34,7 +38,7 @@ To create a new API token, follow these steps:
2. Provide a name for your token
3. Click **Create**

Alternatively, you can create an API token via the <a href="/api-explorer#api_token" target="_blank" rel="noopener noreferrer">api_token</a> API call.
Alternatively, you can create an API token via the <Link href="/api-explorer#api_token" target="_blank" rel="noopener noreferrer">api_token</Link> API call.

:::caution
You need a token with the `Admin` scope to create an application.
Expand Down
24 changes: 14 additions & 10 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const config = {
// If you aren't using GitHub pages, you don't need these.
organizationName: 'binary-com', // Usually your GitHub org/user name.
projectName: 'deriv-api-docs', // Usually your repo name.
trailingSlash: false,

customFields: {
trackJsToken: process.env.TRACKJS_TOKEN,
Expand All @@ -28,7 +27,7 @@ const config = {
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en', 'es', 'fr'],
locales: ['en', 'fr'],
localeConfigs: {
en: {
label: 'English',
Expand Down Expand Up @@ -104,26 +103,31 @@ const config = {
position: 'left',
label: 'Documentation',
},
{ to: 'dashboard', label: 'Dashboard', position: 'left' },
{
to: 'api-explorer',
position: 'left',
label: 'API Explorer',
label: 'API explorer',
},
{ to: 'https://tech.deriv.com/', label: 'Blog', position: 'left' },
{ to: 'https://hackerone.com/deriv?type=team', label: 'Bug bounty', position: 'left' },
{
type: 'custom-navbar-separator',
position: 'right',
to: 'https://tech.deriv.com/',
label: 'Deriv tech',
position: 'left',
className: 'external-nav-link',
},
{
type: 'custom-api-token-navbar-item',
position: 'right',
to: 'https://hackerone.com/deriv?type=team',
label: 'Bug bounty',
position: 'left',
className: 'external-nav-link',
},
{
type: 'custom-user-navbar-item',
position: 'right',
},
{
type: 'localeDropdown',
position: 'right',
},
],
},
prism: {
Expand Down
Loading