Skip to content

Commit

Permalink
Merge Dev into Master (#263)
Browse files Browse the repository at this point in the history
* fix\

* Polish

* Polish

* notifications bubble design change

* Polish

* Polish

* Polish

* Fix

* fix

* fix

* fix infinite table enlargement

* fix

* fix

* fix

* fix

* fix

* Fix SVG Sprite (#144)

* Fix SVG sprite

* Change originatorAPY with originatorNetAPY

* fix proposals layout (#148)

* fix proposals layout

* fix nav z-index

* extract fixes from antd.css

* Fix color for disabled input on dark theme (#147)

* fix create proposal page layout (#149)

* Fixes (#151)

* fix package-lock..json

* fix proposals layout

* fix proposals layout

* fix proposals layout (#154)

* fixes (#155)

* fixes

* fix

* Fix package-lock (#156)

Fix

* fix voters styles

* Issues fixing (#159)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* Issues Fix (#160)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* fix

* Fix previous PR (#161)

* Fixes (#162)

* Fixes (#163)

* Fix previous PR (#164)

* Fix Pool Chart

* Feature/notifications (#157)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* SY Pools Implementation (#165)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

Co-authored-by: Alexandr Ricov <[email protected]>

* Update index.tsx (#168)

* Polish SY Pools (#169)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* fix layout, set content width limits

* fix bloken layout proposal view page

* fix layout, set content width limits (#171)

* fix layout, set content width limits

* fix bloken layout proposal view page

* add notification types (#170)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* Polish SY Pools (#172)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* change period button style

* remove unused code

* Hotfix/sy (#173)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* Feature/notifications (#174)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* add delegate-start bonds value

* SY Pools Polish (#175)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

Co-authored-by: Alexandr Ricov <[email protected]>

* SY Pools Fixes (#176)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix

* SY Polish (#178)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix (#179)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

* Fix SY Table APR calculation

Co-authored-by: Alexandr Ricov <[email protected]>

* remove multiple back arrow icons

* add fonts classnames, standartize horiz padding

* fix tabs icon space for legacy browsers

* fallback flexbox gap

* restore removed style

* Hotfix/sy (#181)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* remove multiple back arrow icons

* add fonts classnames, standartize horiz padding

* fix tabs icon space for legacy browsers

* fallback flexbox gap

* restore removed style

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Feature/treasury (#182)

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* add tabs component

* make tabs shadow bg configurable

* add shadows param description

* notifications update (#183)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* add delegate-start bonds value

* add smart-yield-token-bought notification type

* add token symbol for smart-yield-token-bought

* Hotfix/sy (#184)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* remove multiple back arrow icons

* add fonts classnames, standartize horiz padding

* fix tabs icon space for legacy browsers

* fallback flexbox gap

* restore removed style

* add tabs component

* make tabs shadow bg configurable

* add shadows param description

* DAO Treasury (#185)

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Fixes

* Fixes

* Fixes (#186)

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Fixes

* Fixes

* Fixes

* Fixes (#187)

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes (#188)

* Merge Dev into Master (#180)

* fix\

* Polish

* Polish

* notifications bubble design change

* Polish

* Polish

* Polish

* Fix

* fix

* fix

* fix infinite table enlargement

* fix

* fix

* fix

* fix

* fix

* Fix SVG Sprite (#144)

* Fix SVG sprite

* Change originatorAPY with originatorNetAPY

* fix proposals layout (#148)

* fix proposals layout

* fix nav z-index

* extract fixes from antd.css

* Fix color for disabled input on dark theme (#147)

* fix create proposal page layout (#149)

* Fixes (#151)

* fix package-lock..json

* fix proposals layout

* fix proposals layout

* fix proposals layout (#154)

* fixes (#155)

* fixes

* fix

* Fix package-lock (#156)

Fix

* fix voters styles

* Issues fixing (#159)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* Issues Fix (#160)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* fix

* Fix previous PR (#161)

* Fixes (#162)

* Fixes (#163)

* Fix previous PR (#164)

* Fix Pool Chart

* Feature/notifications (#157)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* SY Pools Implementation (#165)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

Co-authored-by: Alexandr Ricov <[email protected]>

* Update index.tsx (#168)

* Polish SY Pools (#169)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* fix layout, set content width limits (#171)

* fix layout, set content width limits

* fix bloken layout proposal view page

* add notification types (#170)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* Polish SY Pools (#172)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* Hotfix/sy (#173)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* Feature/notifications (#174)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* add delegate-start bonds value

* SY Pools Polish (#175)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

Co-authored-by: Alexandr Ricov <[email protected]>

* SY Pools Fixes (#176)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix

* SY Polish (#178)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix (#179)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

* Fix SY Table APR calculation

Co-authored-by: Alexandr Ricov <[email protected]>

Co-authored-by: Alexandr Ricov <[email protected]>
Co-authored-by: Michail Kargakis <[email protected]>
Co-authored-by: Bogdan Gheorghe <[email protected]>

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Fixes

* Fixes

* Fixes

* Fixes

* Add SY Pool card to Yield-Farming page

* Fix SY-Pool-Card

* Fixes

* Fixes

Co-authored-by: Alexandr Ricov <[email protected]>
Co-authored-by: Michail Kargakis <[email protected]>
Co-authored-by: Bogdan Gheorghe <[email protected]>

* Fixes (#191)

* Merge Dev into Master (#180)

* fix\

* Polish

* Polish

* notifications bubble design change

* Polish

* Polish

* Polish

* Fix

* fix

* fix

* fix infinite table enlargement

* fix

* fix

* fix

* fix

* fix

* Fix SVG Sprite (#144)

* Fix SVG sprite

* Change originatorAPY with originatorNetAPY

* fix proposals layout (#148)

* fix proposals layout

* fix nav z-index

* extract fixes from antd.css

* Fix color for disabled input on dark theme (#147)

* fix create proposal page layout (#149)

* Fixes (#151)

* fix package-lock..json

* fix proposals layout

* fix proposals layout

* fix proposals layout (#154)

* fixes (#155)

* fixes

* fix

* Fix package-lock (#156)

Fix

* fix voters styles

* Issues fixing (#159)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* Issues Fix (#160)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* fix

* Fix previous PR (#161)

* Fixes (#162)

* Fixes (#163)

* Fix previous PR (#164)

* Fix Pool Chart

* Feature/notifications (#157)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* SY Pools Implementation (#165)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

Co-authored-by: Alexandr Ricov <[email protected]>

* Update index.tsx (#168)

* Polish SY Pools (#169)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* fix layout, set content width limits (#171)

* fix layout, set content width limits

* fix bloken layout proposal view page

* add notification types (#170)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* Polish SY Pools (#172)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* Hotfix/sy (#173)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* Feature/notifications (#174)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* add delegate-start bonds value

* SY Pools Polish (#175)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

Co-authored-by: Alexandr Ricov <[email protected]>

* SY Pools Fixes (#176)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix

* SY Polish (#178)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix (#179)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

* Fix SY Table APR calculation

Co-authored-by: Alexandr Ricov <[email protected]>

Co-authored-by: Alexandr Ricov <[email protected]>
Co-authored-by: Michail Kargakis <[email protected]>
Co-authored-by: Bogdan Gheorghe <[email protected]>

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Add SY Pool Card to Yield-Farming page (#189)

* Add SY Pool card to Yield-Farming page

* Fix SY-Pool-Card

* Update api.ts

* Fixes (#190)

* Add SY Pool card to Yield-Farming page

* Fix SY-Pool-Card

* Update api.ts

* Fix

Co-authored-by: Alexandr Ricov <[email protected]>
Co-authored-by: Michail Kargakis <[email protected]>
Co-authored-by: Bogdan Gheorghe <[email protected]>

* Fix

* Fix Development Merge (#192)

* Merge Dev into Master (#180)

* fix\

* Polish

* Polish

* notifications bubble design change

* Polish

* Polish

* Polish

* Fix

* fix

* fix

* fix infinite table enlargement

* fix

* fix

* fix

* fix

* fix

* Fix SVG Sprite (#144)

* Fix SVG sprite

* Change originatorAPY with originatorNetAPY

* fix proposals layout (#148)

* fix proposals layout

* fix nav z-index

* extract fixes from antd.css

* Fix color for disabled input on dark theme (#147)

* fix create proposal page layout (#149)

* Fixes (#151)

* fix package-lock..json

* fix proposals layout

* fix proposals layout

* fix proposals layout (#154)

* fixes (#155)

* fixes

* fix

* Fix package-lock (#156)

Fix

* fix voters styles

* Issues fixing (#159)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* Issues Fix (#160)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* fix

* Fix previous PR (#161)

* Fixes (#162)

* Fixes (#163)

* Fix previous PR (#164)

* Fix Pool Chart

* Feature/notifications (#157)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* SY Pools Implementation (#165)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

Co-authored-by: Alexandr Ricov <[email protected]>

* Update index.tsx (#168)

* Polish SY Pools (#169)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* fix layout, set content width limits (#171)

* fix layout, set content width limits

* fix bloken layout proposal view page

* add notification types (#170)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* Polish SY Pools (#172)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* Hotfix/sy (#173)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* Feature/notifications (#174)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* add delegate-start bonds value

* SY Pools Polish (#175)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

Co-authored-by: Alexandr Ricov <[email protected]>

* SY Pools Fixes (#176)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix

* SY Polish (#178)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix (#179)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

* Fix SY Table APR calculation

Co-authored-by: Alexandr Ricov <[email protected]>

Co-authored-by: Alexandr Ricov <[email protected]>
Co-authored-by: Michail Kargakis <[email protected]>
Co-authored-by: Bogdan Gheorghe <[email protected]>

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Add SY Pool Card to Yield-Farming page (#189)

* Add SY Pool card to Yield-Farming page

* Fix SY-Pool-Card

* Update api.ts

* Fixes (#190)

* Add SY Pool card to Yield-Farming page

* Fix SY-Pool-Card

* Update api.ts

* Fix

* Fix

Co-authored-by: Alexandr Ricov <[email protected]>
Co-authored-by: Michail Kargakis <[email protected]>
Co-authored-by: Bogdan Gheorghe <[email protected]>

* Add KnownTokensProvider (#195)

* Merge Dev into Master (#180)

* fix\

* Polish

* Polish

* notifications bubble design change

* Polish

* Polish

* Polish

* Fix

* fix

* fix

* fix infinite table enlargement

* fix

* fix

* fix

* fix

* fix

* Fix SVG Sprite (#144)

* Fix SVG sprite

* Change originatorAPY with originatorNetAPY

* fix proposals layout (#148)

* fix proposals layout

* fix nav z-index

* extract fixes from antd.css

* Fix color for disabled input on dark theme (#147)

* fix create proposal page layout (#149)

* Fixes (#151)

* fix package-lock..json

* fix proposals layout

* fix proposals layout

* fix proposals layout (#154)

* fixes (#155)

* fixes

* fix

* Fix package-lock (#156)

Fix

* fix voters styles

* Issues fixing (#159)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* Issues Fix (#160)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* fix

* Fix previous PR (#161)

* Fixes (#162)

* Fixes (#163)

* Fix previous PR (#164)

* Fix Pool Chart

* Feature/notifications (#157)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* SY Pools Implementation (#165)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

Co-authored-by: Alexandr Ricov <[email protected]>

* Update index.tsx (#168)

* Polish SY Pools (#169)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* fix layout, set content width limits (#171)

* fix layout, set content width limits

* fix bloken layout proposal view page

* add notification types (#170)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* Polish SY Pools (#172)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* Hotfix/sy (#173)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* Feature/notifications (#174)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* add delegate-start bonds value

* SY Pools Polish (#175)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

Co-authored-by: Alexandr Ricov <[email protected]>

* SY Pools Fixes (#176)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix

* SY Polish (#178)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix (#179)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

* Fix SY Table APR calculation

Co-authored-by: Alexandr Ricov <[email protected]>

Co-authored-by: Alexandr Ricov <[email protected]>
Co-authored-by: Michail Kargakis <[email protected]>
Co-authored-by: Bogdan Gheorghe <[email protected]>

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Add SY Pool Card to Yield-Farming page (#189)

* Add SY Pool card to Yield-Farming page

* Fix SY-Pool-Card

* Update api.ts

* Fixes (#190)

* Add SY Pool card to Yield-Farming page

* Fix SY-Pool-Card

* Update api.ts

* Fix

* Fix

* Add SyPools Balance to YF TVL (#193)

* Add KnownTokensProvider

Co-authored-by: Alexandr Ricov <[email protected]>
Co-authored-by: Michail Kargakis <[email protected]>
Co-authored-by: Bogdan Gheorghe <[email protected]>

* Fixes (#196)

* Merge Dev into Master (#180)

* fix\

* Polish

* Polish

* notifications bubble design change

* Polish

* Polish

* Polish

* Fix

* fix

* fix

* fix infinite table enlargement

* fix

* fix

* fix

* fix

* fix

* Fix SVG Sprite (#144)

* Fix SVG sprite

* Change originatorAPY with originatorNetAPY

* fix proposals layout (#148)

* fix proposals layout

* fix nav z-index

* extract fixes from antd.css

* Fix color for disabled input on dark theme (#147)

* fix create proposal page layout (#149)

* Fixes (#151)

* fix package-lock..json

* fix proposals layout

* fix proposals layout

* fix proposals layout (#154)

* fixes (#155)

* fixes

* fix

* Fix package-lock (#156)

Fix

* fix voters styles

* Issues fixing (#159)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* Issues Fix (#160)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* fix

* Fix previous PR (#161)

* Fixes (#162)

* Fixes (#163)

* Fix previous PR (#164)

* Fix Pool Chart

* Feature/notifications (#157)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* SY Pools Implementation (#165)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

Co-authored-by: Alexandr Ricov <[email protected]>

* Update index.tsx (#168)

* Polish SY Pools (#169)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* fix layout, set content width limits (#171)

* fix layout, set content width limits

* fix bloken layout proposal view page

* add notification types (#170)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* Polish SY Pools (#172)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* Hotfix/sy (#173)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* Feature/notifications (#174)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* add delegate-start bonds value

* SY Pools Polish (#175)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

Co-authored-by: Alexandr Ricov <[email protected]>

* SY Pools Fixes (#176)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix

* SY Polish (#178)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix (#179)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

* Fix SY Table APR calculation

Co-authored-by: Alexandr Ricov <[email protected]>

Co-authored-by: Alexandr Ricov <[email protected]>
Co-authored-by: Michail Kargakis <[email protected]>
Co-authored-by: Bogdan Gheorghe <[email protected]>

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Add SY Pool Card to Yield-Farming page (#189)

* Add SY Pool card to Yield-Farming page

* Fix SY-Pool-Card

* Update api.ts

* Fixes (#190)

* Add SY Pool card to Yield-Farming page

* Fix SY-Pool-Card

* Update api.ts

* Fix

* Fix

* Add SyPools Balance to YF TVL (#193)

* Add KnownTokensProvider

* Fixes

Co-authored-by: Alexandr Ricov <[email protected]>
Co-authored-by: Michail Kargakis <[email protected]>
Co-authored-by: Bogdan Gheorghe <[email protected]>

* Fixes (#199)

* Merge Dev into Master (#180)

* fix\

* Polish

* Polish

* notifications bubble design change

* Polish

* Polish

* Polish

* Fix

* fix

* fix

* fix infinite table enlargement

* fix

* fix

* fix

* fix

* fix

* Fix SVG Sprite (#144)

* Fix SVG sprite

* Change originatorAPY with originatorNetAPY

* fix proposals layout (#148)

* fix proposals layout

* fix nav z-index

* extract fixes from antd.css

* Fix color for disabled input on dark theme (#147)

* fix create proposal page layout (#149)

* Fixes (#151)

* fix package-lock..json

* fix proposals layout

* fix proposals layout

* fix proposals layout (#154)

* fixes (#155)

* fixes

* fix

* Fix package-lock (#156)

Fix

* fix voters styles

* Issues fixing (#159)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* Issues Fix (#160)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* fix

* Fix previous PR (#161)

* Fixes (#162)

* Fixes (#163)

* Fix previous PR (#164)

* Fix Pool Chart

* Feature/notifications (#157)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* SY Pools Implementation (#165)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

Co-authored-by: Alexandr Ricov <[email protected]>

* Update index.tsx (#168)

* Polish SY Pools (#169)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* fix layout, set content width limits (#171)

* fix layout, set content width limits

* fix bloken layout proposal view page

* add notification types (#170)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* Polish SY Pools (#172)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* Hotfix/sy (#173)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* Feature/notifications (#174)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* add delegate-start bonds value

* SY Pools Polish (#175)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

Co-authored-by: Alexandr Ricov <[email protected]>

* SY Pools Fixes (#176)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix

* SY Polish (#178)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix (#179)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

* Fix SY Table APR calculation

Co-authored-by: Alexandr Ricov <[email protected]>

Co-authored-by: Alexandr Ricov <[email protected]>
Co-authored-by: Michail Kargakis <[email protected]>
Co-authored-by: Bogdan Gheorghe <[email protected]>

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Add SY Pool Card to Yield-Farming page (#189)

* Add SY Pool card to Yield-Farming page

* Fix SY-Pool-Card

* Update api.ts

* Fixes (#190)

* Add SY Pool card to Yield-Farming page

* Fix SY-Pool-Card

* Update api.ts

* Fix

* Fix

* Add SyPools Balance to YF TVL (#193)

* Add KnownTokensProvider

* Fixes

* Update index.tsx (#197)

* Update contracts.tsx (#198)

* Fix prices

Co-authored-by: Alexandr Ricov <[email protected]>
Co-authored-by: Michail Kargakis <[email protected]>
Co-authored-by: Bogdan Gheorghe <[email protected]>

* Fix (#201)

* Add KnownTokensProvider

* Fixes

* Fix prices

* Fix

* Fix Treasury (#203)

* Lint fixes

* Fix

* Fix (#205)

* Fix Treasury Fee Transfer

* fix

* Feature/sy stats (#194)

* add dark theme wallet logos

* Fixes

* Fixes (#210)

* add dark theme wallet logos (#209)

* SY Stats fixes (#212)

* Fixes

* SY Stats fixes

* Polish (#214)

* SY Stats fixes

* Polish

* improve NavTabs component

* drop Originator APY from APY trend chart

* Infrastructure migration

* fix active tab comparison

* add withdraw page to portfolio navlink group

* Polish YF module (#221)

* Update dependencies

* Contract Polish

* Refactor contracts

* Polish YF module

* style token amount select dropdown

* Polish YF (#223)

* Update dependencies

* Contract Polish

* Refactor contracts

* Polish YF module

* Polish YF

* Polish YF (#224)

* Update dependencies

* Contract Polish

* Refactor contracts

* Polish YF module

* Polish YF

* Polish YF

* Polish YF

* extract Dropdown component

* inline back link

* YF Polish (#225)

* Update dependencies

* Contract Polish

* Refactor contracts

* Polish YF module

* Polish YF

* Polish YF

* Polish YF

* YF Polish

* Merge YF Ref (#226)

* Update dependencies

* Contract Polish

* Refactor contracts

* Polish YF module

* Polish YF

* Polish YF

* Polish YF

* YF Polish

* Fix

* Migrate to new API

* Fixes (#228)

* Update dependencies

* Contract Polish

* Refactor contracts

* Polish YF module

* Polish YF

* Polish YF

* Polish YF

* YF Polish

* Fix

* Fixes

* Fixes

* Feature/se (#219)

* add pairs, pool, deposit SE pages

* add withdraw SE page

* add portfolio SE page

* add change tranche SE page

* improve dropdown components

* extract dropdown base component

Co-authored-by: Slava Matvienco <[email protected]>

* improvements

* fix conflicts

* improvements (#230)

* improvements

* fix conflicts

* Fixes (#229)

* Update dependencies

* Contract Polish

* Refactor contracts

* Polish YF module

* Polish YF

* Polish YF

* Polish YF

* YF Polish

* Fix

* Fixes

* Fixes

* Fixes

* Fix

* Fix SY Pools

* Fix SVG icons sprite

* Fix last PR (#231)

* Update dependencies

* Contract Polish

* Refactor contracts

* Polish YF module

* Polish YF

* Polish YF

* Polish YF

* YF Polish

* Fix

* Fixes

* Fixes

* Fixes

* Fix

* Fix SY Pools

* Fix SVG icons sprite

* Fix

* Add changes from master to development (#232)

* Merge DEV into Master (#215)

* drop Originator APY from APY trend chart

Co-authored-by: Alexandr Ricov <[email protected]>

* Sync development with master (#234)

* Polish YF (#235)

* Fixes

* Polish

* Polish

Co-authored-by: Slava Matvienco <[email protected]>

* Polish YF (#236)

* Fixes

* Polish

* Polish

* Fixes

Co-authored-by: Slava Matvienco <[email protected]>

* add pagination functionality

* SY Fixes (#239)

* SY Fixes

* SY Fixes

* YF Fixes (#241)

* review changes

* add pagination functionality (#238)

* improvements

* fix conflicts

* add pagination functionality

* review changes

* Update env flows

* Update flex.scss

* * (#243)

* Add testnet environment (#245)

* display faucets

* improve token amount view

* remove unused file

* faucets module (#246)

* improvements

* fix conflicts

* add pagination functionality

* review changes

* display faucets

* improve token amount view

* remove unused file

* Env fixes (#247)

* *

* *

* *

* * (#249)

* Update testnet.yml

* remove isTestnet mock

* fix merge issues

* Update api.ts (#252)

* add Modal component

* Update api.ts (#253)

* fix buttons

* Update api.ts (#254)

* Sync Dev from Master (#255)

* Merge Dev into Master (#250)

* fix typo

* Update testnet.yml

* Update fauceteerProvider.tsx

Co-authored-by: Bogdan Gheorghe <[email protected]>

* *

* * (#256)

* Fix SY Senior Deposit (#258)

* *

* *

* add auto (OS) color scheme

* fix theme switch  bug

* * (#261)

* Merge Dev into Master (#259) (#262)

* fix\

* Polish

* Polish

* notifications bubble design change

* Polish

* Polish

* Polish

* Fix

* fix

* fix

* fix infinite table enlargement

* fix

* fix

* fix

* fix

* fix

* Fix SVG Sprite (#144)

* Fix SVG sprite

* Change originatorAPY with originatorNetAPY

* fix proposals layout (#148)

* fix proposals layout

* fix nav z-index

* extract fixes from antd.css

* Fix color for disabled input on dark theme (#147)

* fix create proposal page layout (#149)

* Fixes (#151)

* fix package-lock..json

* fix proposals layout

* fix proposals layout

* fix proposals layout (#154)

* fixes (#155)

* fixes

* fix

* Fix package-lock (#156)

Fix

* fix voters styles

* Issues fixing (#159)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* Issues Fix (#160)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* fix

* Fix previous PR (#161)

* Fixes (#162)

* Fixes (#163)

* Fix previous PR (#164)

* Fix Pool Chart

* Feature/notifications (#157)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* SY Pools Implementation (#165)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

Co-authored-by: Alexandr Ricov <[email protected]>

* Update index.tsx (#168)

* Polish SY Pools (#169)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* fix layout, set content width limits

* fix bloken layout proposal view page

* fix layout, set content width limits (#171)

* fix layout, set content width limits

* fix bloken layout proposal view page

* add notification types (#170)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* Polish SY Pools (#172)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* change period button style

* remove unused code

* Hotfix/sy (#173)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* Feature/notifications (#174)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* add delegate-start bonds value

* SY Pools Polish (#175)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

Co-authored-by: Alexandr Ricov <[email protected]>

* SY Pools Fixes (#176)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix

* SY Polish (#178)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

Co-authored-by: Alexandr Ricov <[email protected]>

* Fix (#179)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

* SY Pools Polish

* Fix

* Fix

* Fix

* Polish SY

* Fix SY Table APR calculation

Co-authored-by: Alexandr Ricov <[email protected]>

* remove multiple back arrow icons

* add fonts classnames, standartize horiz padding

* fix tabs icon space for legacy browsers

* fallback flexbox gap

* restore removed style

* Hotfix/sy (#181)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* remove multiple back arrow icons

* add fonts classnames, standartize horiz padding

* fix tabs icon space for legacy browsers

* fallback flexbox gap

* restore removed style

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Feature/treasury (#182)

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* add tabs component

* make tabs shadow bg configurable

* add shadows param description

* notifications update (#183)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* add delegate-start bonds value

* add smart-yield-token-bought notification type

* add token symbol for smart-yield-token-bought

* Hotfix/sy (#184)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* remove multiple back arrow icons

* add fonts classnames, standartize horiz padding

* fix tabs icon space for legacy browsers

* fallback flexbox gap

* restore removed style

* add tabs component

* make tabs shadow bg configurable

* add shadows param description

* DAO Treasury (#185)

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Fixes

* Fixes

* Fixes (#186)

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Fixes

* Fixes

* Fixes

* Fixes (#187)

* Polish contracts

* Polish contracts

* Add Treasury tab under Governance module

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes (#188)

* Merge Dev into Master (#180)

* fix\

* Polish

* Polish

* notifications bubble design change

* Polish

* Polish

* Polish

* Fix

* fix

* fix

* fix infinite table enlargement

* fix

* fix

* fix

* fix

* fix

* Fix SVG Sprite (#144)

* Fix SVG sprite

* Change originatorAPY with originatorNetAPY

* fix proposals layout (#148)

* fix proposals layout

* fix nav z-index

* extract fixes from antd.css

* Fix color for disabled input on dark theme (#147)

* fix create proposal page layout (#149)

* Fixes (#151)

* fix package-lock..json

* fix proposals layout

* fix proposals layout

* fix proposals layout (#154)

* fixes (#155)

* fixes

* fix

* Fix package-lock (#156)

Fix

* fix voters styles

* Issues fixing (#159)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* Issues Fix (#160)

* fixes

* fix

* fixes

* CH Tickets fix

* CH Tickets fix

* fix

* fix

* Fix previous PR (#161)

* Fixes (#162)

* Fixes (#163)

* Fix previous PR (#164)

* Fix Pool Chart

* Feature/notifications (#157)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* SY Pools Implementation (#165)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

Co-authored-by: Alexandr Ricov <[email protected]>

* Update index.tsx (#168)

* Polish SY Pools (#169)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* fix layout, set content width limits (#171)

* fix layout, set content width limits

* fix bloken layout proposal view page

* add notification types (#170)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* Polish SY Pools (#172)

* Polish cards

* add pages

* add sy reward pools contract

* add SY pools static pages

* add sy reward pools contract

* add sy reward pools contract

* add sy reward pools contract

* fix

* fix

* Fix styles

* fixes

* style lint fix

* fix

* fix

* fix

* fix

* Merge

* Polish SY Pools

* Polish SY Pools

Co-authored-by: Alexandr Ricov <[email protected]>

* Hotfix/sy (#173)

* fix layout, set content width limits

* fix bloken layout proposal view page

* change period button style

* remove unused code

* Feature/notifications (#174)

* merge theme to general provider

* add notifications static markup

* connect notiications to api

* fix null on notifications list case

* store read notification state

* fix notification read status

* extract notifications to separate provider

* set custom texts to notifications

* add missing message vars

* add notification types

* fix proposal-accepted text

* add delegate-start bonds value

* SY Pools Polish (#175)

* Polish cards

* add pages

* add sy reward po…
  • Loading branch information
7 people authored May 19, 2021
1 parent c8c7b18 commit a9f26b4
Show file tree
Hide file tree
Showing 25 changed files with 342 additions and 148 deletions.
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
<div id="root"></div>
<div id="notifications-root"></div>
<div id="tooltip-root"></div>
<div id="modal-root"></div>
</body>
</html>
8 changes: 3 additions & 5 deletions src/components/custom/icon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export type TokenIconNames =
| 'compound'
| 'static/aave'
| 'cream_finance'
| 'yearn_finance'
| 'aave_polygon'
| 'token-all';

export type NavIconNames =
Expand All @@ -42,7 +42,7 @@ export type NavIconNames =
| 'wallet-outlined'
| 'docs-outlined';

export type ThemeIconNames = 'moon' | 'sun';
export type ThemeIconNames = 'moon' | 'sun' | 'weather';

export type IconNames =
| LogoIconNames
Expand Down Expand Up @@ -123,9 +123,7 @@ export type IconNames =
| 'arrow-forward'
| 'science'
| 'building'
| 'internet'
| 'balance'
| 'finance';
| 'internet';

export type IconProps = {
name: IconNames;
Expand Down
59 changes: 59 additions & 0 deletions src/components/custom/modal/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
import { FC, ReactNode, useCallback, useEffect, useRef } from 'react';
import { createPortal } from 'react-dom';

import Icon from '../icon';

import s from './s.module.scss';

const rootNode = document.querySelector('#root');
const modalsNode = document.querySelector('#modal-root');

type Props = {
heading?: ReactNode;
closeHandler: Function;
};

export const Modal: FC<Props> = ({ children, heading, closeHandler }) => {
const closeHandlerRef = useRef(closeHandler);

const keyboardHandler = useCallback(event => {
if (closeHandlerRef.current && event.key === 'Escape') {
closeHandlerRef.current();
}
}, []);

useEffect(() => {
document.addEventListener('keydown', keyboardHandler, false);

if (rootNode) {
rootNode.setAttribute('inert', 'true');
rootNode.setAttribute('aria-hidden', 'true');
}

return () => {
document.removeEventListener('keydown', keyboardHandler, false);

if (rootNode) {
rootNode.removeAttribute('inert');
rootNode.removeAttribute('aria-hidden');
}
};
}, [keyboardHandler]);

if (!modalsNode) return null;

return createPortal(
<section className={s.dialog}>
<div className={s.inner}>
<header className={s.header}>
<div className={s.heading}>{heading}</div>
<button className={s.closeButton} onClick={() => closeHandler()}>
<Icon name="close-tiny" width={24} height={24} color="inherit" />
</button>
</header>
<div className={s.content}>{children}</div>
</div>
</section>,
modalsNode,
);
};
59 changes: 59 additions & 0 deletions src/components/custom/modal/s.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
.dialog {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 10;
}

.inner {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
max-width: 560px;
background-color: var(--theme-card-color);
border-radius: 4px;

@media (max-width: 768px) {
top: auto;
bottom: 16px;
left: 16px;
right: 16px;
transform: none;
max-width: initial;
width: auto;
}
}

.closeButton {
background-color: transparent;
border: none;
padding: 0;
display: flex;
flex-shrink: 0;
color: var(--theme-icon-color);

&:hover {
color: var(--theme-icon-hover-color);
}
}

.header {
padding: 32px;
border-bottom: 1px solid #ccc;
display: flex;
align-items: flex-start;
}

.heading {
flex-grow: 1;
display: flex;
align-items: center;
}

.content {
}
37 changes: 20 additions & 17 deletions src/components/custom/notification/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,19 @@ import formatDuration from 'date-fns/formatDuration';
import intervalToDuration from 'date-fns/intervalToDuration';
import isThisWeek from 'date-fns/isThisWeek';
import isToday from 'date-fns/isToday';
import { getEtherscanAddressUrl, getHumanValue, shortenAddr } from 'web3/utils';
import Erc20Contract from 'web3/erc20Contract';
import { formatToken, getEtherscanAddressUrl, getHumanValue, shortenAddr } from 'web3/utils';

import Icon, { IconNames } from 'components/custom/icon';
import IconNotification from 'components/custom/icon-notification';
import { Text } from 'components/custom/typography';
import { BondToken } from 'components/providers/known-tokens-provider';
import { NotificationType, useNotifications } from 'components/providers/notifications-provider';
import { useReload } from 'hooks/useReload';
import SYSmartYieldContract from 'modules/smart-yield/contracts/sySmartYieldContract';

import ExternalLink from '../externalLink';
import NotificationIcon from './icon';

import { getSessionContractByAddress, setSessionContractByAddress } from 'utils/contracts';

import s from './s.module.scss';

// @ts-ignore
Expand All @@ -33,6 +31,8 @@ const colorPairs: Record<'green' | 'red' | 'blue', [string, string]> = {
blue: ['--theme-blue-color', '--theme-blue-color-rgb'],
};

const SYContractsMap = new Map<string, Erc20Contract>();

function getProposalLink(id: number): React.ReactNode {
return <Link className="link-blue" to={`/governance/proposals/${id}`}>{`PID-${id}`}</Link>;
}
Expand Down Expand Up @@ -222,26 +222,29 @@ function getData(n: NotificationType, reload: Function): [IconNames, [string, st
</Text>,
];
case 'smart-yield-token-bought': {
const contract = getSessionContractByAddress(n.metadata.syPoolAddress);
if (!contract || !contract.symbol) {
const syPoolContract = new SYSmartYieldContract(n.metadata.syPoolAddress);
syPoolContract.loadCommon().then(() => {
if (syPoolContract.symbol) {
setSessionContractByAddress(n.metadata.syPoolAddress, {
symbol: syPoolContract.symbol,
});
reload();
}
});
let erc20Contract = SYContractsMap.get(n.metadata.syPoolAddress);

if (!erc20Contract) {
erc20Contract = new Erc20Contract([], n.metadata.syPoolAddress);
SYContractsMap.set(n.metadata.syPoolAddress, erc20Contract);
erc20Contract
.loadCommon()
.then(() => reload())
.catch(Error);
}

return [
'stake',
colorPairs.blue,
<>
<Text type="p2" weight="semibold" color="secondary" className="mb-16">
Stake your{' '}
{getStrongText(`${Intl.NumberFormat('en').format(Number(n.metadata.amount))} ${contract?.symbol ?? ''}`)} to
earn extra yield
{getStrongText(
`${formatToken(BigNumber.from(n.metadata.amount)?.unscaleBy(erc20Contract.decimals)) ?? '-'} ${
erc20Contract.symbol ?? ''
}`,
)}{' '}
to earn extra yield
</Text>
<Link
to={`/smart-yield/pool?m=${n.metadata.protocolId}&t=${n.metadata.underlyingSymbol}`}
Expand Down
1 change: 1 addition & 0 deletions src/components/custom/token-amount-new/s.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
height: 24px;
border: 0;
background-color: transparent;
color: var(--theme-primary-color);

&::-webkit-inner-spin-button {
appearance: none;
Expand Down
43 changes: 31 additions & 12 deletions src/components/providers/general-provider/index.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React from 'react';
import { createContext, useContext, useEffect, useState } from 'react';
import { useLocalStorage } from 'react-use-storage';

export type GeneralContextType = {
navOpen: boolean;
setNavOpen: React.Dispatch<React.SetStateAction<boolean>>;
theme: string;
isDarkTheme: boolean;
toggleDarkTheme: () => void;
theme: 'light' | 'dark';
selectedTheme: 'light' | 'dark' | undefined;
toggleTheme: () => void;
};

const GeneralContext = React.createContext<GeneralContextType>({} as any);
const GeneralContext = createContext<GeneralContextType>({} as any);

const mqlDark = window.matchMedia('(prefers-color-scheme: dark)');
const defaultTheme = mqlDark.matches ? 'dark' : 'light';
Expand All @@ -19,10 +19,23 @@ type Props = {
};

const GeneralContextProvider: React.FC<Props> = ({ children }) => {
const [navOpen, setNavOpen] = React.useState<boolean>(false);
const [theme, setTheme] = useLocalStorage('bb_theme', defaultTheme);
const [navOpen, setNavOpen] = useState<boolean>(false);
const [osColorScheme, setOsColorScheme] = useState<'light' | 'dark'>(defaultTheme);
const [selectedTheme, setSelectedTheme, removeSelectedTheme] = useLocalStorage<'light' | 'dark' | undefined>(
'bb_theme',
);

const theme: 'light' | 'dark' = selectedTheme || osColorScheme;

useEffect(() => {
setOsColorScheme(defaultTheme);

mqlDark.addEventListener('change', e => {
setOsColorScheme(e.matches ? 'dark' : 'light');
});
}, []);

React.useEffect(() => {
useEffect(() => {
if (theme) {
document.body.setAttribute('data-theme', theme);
} else {
Expand All @@ -36,9 +49,15 @@ const GeneralContextProvider: React.FC<Props> = ({ children }) => {
navOpen,
setNavOpen,
theme,
isDarkTheme: theme === 'dark',
toggleDarkTheme: () => {
setTheme(theme === 'dark' ? 'light' : 'dark');
selectedTheme,
toggleTheme: () => {
if (selectedTheme === 'light') {
setSelectedTheme('dark');
} else if (selectedTheme === 'dark') {
removeSelectedTheme();
} else {
setSelectedTheme('light');
}
},
}}>
{children}
Expand All @@ -49,5 +68,5 @@ const GeneralContextProvider: React.FC<Props> = ({ children }) => {
export default GeneralContextProvider;

export function useGeneral(): GeneralContextType {
return React.useContext<GeneralContextType>(GeneralContext);
return useContext<GeneralContextType>(GeneralContext);
}
47 changes: 32 additions & 15 deletions src/layout/components/layout-side-nav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ import { Link, NavLink, useLocation } from 'react-router-dom';
import cn from 'classnames';

import Tooltip from 'components/antd/tooltip';
import Icon from 'components/custom/icon';
import Icon, { IconNames } from 'components/custom/icon';
import { Text } from 'components/custom/typography';
import { useGeneral } from 'components/providers/general-provider';
import config from 'config';

import s from './s.module.scss';

const LayoutSideNav: React.FC = () => {
const { navOpen, setNavOpen, toggleDarkTheme, isDarkTheme } = useGeneral();
const { navOpen, setNavOpen } = useGeneral();
const location = useLocation();
const [expanded, setExpanded] = React.useState<boolean>(false);

React.useEffect(() => {
setNavOpen(false);
}, [location.pathname]);
}, [location.pathname, setNavOpen]);

React.useEffect(() => {
if (navOpen) {
Expand All @@ -34,10 +34,6 @@ const LayoutSideNav: React.FC = () => {
setExpanded(prevState => !prevState);
}

function handleThemeToggle() {
toggleDarkTheme();
}

const displayTooltip = !isMobile && !expanded;

return (
Expand Down Expand Up @@ -138,14 +134,7 @@ const LayoutSideNav: React.FC = () => {
</Text>
</a>
</Tooltip>
<Tooltip title={displayTooltip && (isDarkTheme ? 'Light Theme' : 'Dark Theme')} placement="right">
<button type="button" onClick={handleThemeToggle} className={s.button}>
<Icon name={isDarkTheme ? 'sun' : 'moon'} />
<Text type="p2" weight="semibold" className={s.buttonLabel}>
{isDarkTheme ? 'Light Theme' : 'Dark Theme'}
</Text>
</button>
</Tooltip>
<ToggleThemeButton displayTooltip={displayTooltip} />
<Tooltip title={displayTooltip && (expanded ? 'Hide menu' : 'Show menu')} placement="right">
<button type="button" onClick={handleExpand} className={cn(s.button, 'hidden-mobile hidden-tablet')}>
<Icon name="right-arrow-circle-outlined" style={{ transform: expanded ? 'rotate(-180deg)' : 'none' }} />
Expand All @@ -161,3 +150,31 @@ const LayoutSideNav: React.FC = () => {
};

export default LayoutSideNav;

const ToggleThemeButton = ({ displayTooltip }: { displayTooltip: boolean }) => {
const { toggleTheme, selectedTheme } = useGeneral();

let text;
let iconName: IconNames;
if (selectedTheme === 'light') {
text = 'Light Theme';
iconName = 'sun';
} else if (selectedTheme === 'dark') {
text = 'Dark Theme';
iconName = 'moon';
} else {
text = 'Auto Theme (OS)';
iconName = 'weather';
}

return (
<Tooltip title={displayTooltip && text} placement="right">
<button type="button" onClick={toggleTheme} className={s.button}>
<Icon name={iconName} />
<Text type="p2" weight="semibold" className={s.buttonLabel}>
{text}
</Text>
</button>
</Tooltip>
);
};
Loading

0 comments on commit a9f26b4

Please sign in to comment.