Commit Graph

54 Commits

Author SHA1 Message Date
Oleksandr af2c9dfe8d
Add weekly feature bar (#65) 2021-06-28 10:29:59 +02:00
Szymon Szlachtowicz 3ebceff19a
Use correct addresses (#62) 2021-06-25 14:28:03 +02:00
Szymon Szlachtowicz 80ba207d6c
Add vote types (#60) 2021-06-25 13:46:22 +02:00
Maria Rushkova 06cb8559d2
Add OngoingVoteModal (#56) 2021-06-25 10:33:01 +02:00
Maria Rushkova ce1437a81b
Add initial proposing amount (#59)
* Add initial proposing amount

* Update packages/DApp/src/components/card/VoteModal.tsx

Co-authored-by: Szymon Szlachtowicz <38212223+Szymx95@users.noreply.github.com>

Co-authored-by: Szymon Szlachtowicz <38212223+Szymx95@users.noreply.github.com>
2021-06-24 17:40:09 +02:00
Szymon Szlachtowicz f8e3bb605e
Mock contract (#45)
* Mock contract

* refactor code

* Add event to vote cast

* Add list of voters

* Add deploy
2021-06-23 23:33:25 +02:00
Oleksandr f7098114d3
Add skeleton placeholder (#54)
* Add skeleton placeholder

* Change skeleton showing logic
2021-06-23 11:21:33 +02:00
Oleksandr 6f330ab107
Add netlify redirects (#53) 2021-06-23 09:43:19 +02:00
Maria Rushkova f3f9d5579c
Add ButtonDisconnect (#52) 2021-06-23 09:42:26 +02:00
Maria Rushkova c31cdd0308
Add Feature modal (#51)
* Add Feature modal

* Move Feature modal to FeatureBtn
2021-06-23 07:36:11 +02:00
Maria Rushkova d57ba3c209
Add and improve card styles (#49)
* Align tags

* Add CardLogo wrap

* Add green dot to Account

* Change CardVote layout
2021-06-22 13:05:27 +02:00
Maria Rushkova 78cf8e1187
Add slider style (#48) 2021-06-22 09:28:59 +02:00
Maria Rushkova e0bf0efb00
UI changes (#47) 2021-06-21 13:43:59 +02:00
Maria Rushkova be56a97ca2
Add removal button to Card (#46) 2021-06-21 12:22:57 +02:00
Maria Rushkova 92449b79bd
Change topbar (#44)
* Set TopBar content width

* Add logo width
2021-06-18 11:13:50 +02:00
Maria Rushkova 3c9c0d2130
Add propose restrict (#43)
* Add disabled btn style

* Extract Warning component

* Add warning to propose modal
2021-06-18 09:05:53 +02:00
Maria Rushkova 4218d939a1
Add All to vote types filter (#42)
* Add All for vote types filter

* Change types to voteType
2021-06-17 15:34:15 +02:00
Szymon Szlachtowicz 4421d1666a
Introduce monorepo (#40)
* Introduce monorepo

* Introduce mock contract

* Add readme

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-17 13:33:35 +02:00
Maria Rushkova 532b9596b3
Add modal propose community (#36) 2021-06-17 11:39:07 +02:00
Szymon Szlachtowicz 371864a4f1
Stop scrolling on modal (#39)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-17 09:41:00 +02:00
Szymon Szlachtowicz 3cd6d60188
Add voting history (#38) 2021-06-16 14:41:09 +02:00
Szymon Szlachtowicz 983e02b386
Add type filtering (#37) 2021-06-16 12:57:26 +02:00
Szymon Szlachtowicz 17442c3afa
Fix mobile scrolling (#35) 2021-06-16 11:13:28 +02:00
Maria Rushkova 99b875761a
Change voteBox layout (#34)
* Change voteBox layout

* Change link name

* Change layout for voteWinner

* Change voteBtn width

* Delete comment
2021-06-16 11:13:04 +02:00
Szymon Szlachtowicz b61510f95f
Improve sorting (#33)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-15 22:12:59 +02:00
Szymon Szlachtowicz 9838efd21a
Introduce config provider (#32)
* Introduce config provider

* Add tets

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-15 21:39:26 +02:00
Maria Rushkova fac73afec0
Add warning to modal (#31)
* Add warning to modal

* Add nouns

* Change warning props

* Change warning conditions

* Change mock hours

* Change timeLeft condition

* Refactor code
2021-06-15 16:56:22 +02:00
Szymon Szlachtowicz 4ea861b12d
Add enviroment variable to webpack (#30)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-15 15:45:59 +02:00
Maria Rushkova c048dde8e4
Rename states (#29) 2021-06-15 14:16:11 +02:00
Maria Rushkova 3e7d4007ed
Add range style (#28)
* Add range style

* Add vote confirm modal

* Rename components & states
2021-06-15 14:02:28 +02:00
Szymon Szlachtowicz f121d46e0c
Refactor voting cards (#26)
* Refactor voting cards

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-15 11:50:13 +02:00
Maria Rushkova e271cd2c97
Add slider (#27)
* Add slider

* Add state for slider amount

* Add onChange

* Change OnChange

* Add input style

* Add style input

* Improve SNT input

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-15 11:39:55 +02:00
Maria Rushkova 57f44ea4fb
Introduce card modals (#25)
* Add card modal

* Lint:fix

* Update src/components/Card.tsx

Co-authored-by: Szymon Szlachtowicz <38212223+Szymx95@users.noreply.github.com>

* Split components

* Add card modal

* Change card layout

* Extract addCommas function

* Delete voteWinner props

* Add votesText props

* Add states for vote type

* Lint:fix

* Extract CardFeature

* Lint:fix

Co-authored-by: Szymon Szlachtowicz <38212223+Szymx95@users.noreply.github.com>
2021-06-14 12:16:25 +02:00
Szymon Szlachtowicz 63201216e9
Change apiMock to async (#24)
* Change apiMock to async

* Refactor tests and api mock

* Refactor useCommunities

* Change spinner color

* Fix loading on bigger screens

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-14 09:50:13 +02:00
Szymon Szlachtowicz 503ea92c90
Add voteFilter (#23)
* Add voteFilter

* Lint:fix

* Remove search bar

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-11 15:19:48 +02:00
Maria Rushkova 433d7ceab2
Add modal component (#22)
* Add link component

* Add modal to status btn

* Add children

* Lint:fix

* Add styles

* Add modal shadow

* Add link address

* Lint:fix

* Changed spelling
2021-06-11 15:19:29 +02:00
Szymon Szlachtowicz 1e92c3dfe0
Connect only on status app (#21)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-11 10:10:24 +02:00
Maria Rushkova 96129d1bae
Add filter list style (#19)
* Add filter list style

* Make FilterList work with pages

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-10 17:03:57 +02:00
Szymon Szlachtowicz 8f977fdd8f
Refactor directory cards (#18)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-10 15:38:40 +02:00
Szymon Szlachtowicz 694b4049c7
Display directory cards (#17)
* Add styling to search and sort

* lint:fix

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-10 13:44:01 +02:00
Maria Rushkova 57784a6a95
Add filter style (#16)
* Add filter style

* Add svg icons

* Add search style

* Add page bar

* Lint:fix
2021-06-10 08:22:15 +02:00
Szymon Szlachtowicz 2142399716
Display mock votes cards (#12)
* Display mock votes cards

* Introduce scrolling feature

* Lint:fix

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-09 12:58:44 +02:00
Szymon Szlachtowicz 03c6666d9d
Add vote rules (#14)
* Add feature card

* Change card feature styles

* Add ongoing vote style

* Add time left style

* Change timeleft & sum

* Add global line-height

* Add voting rules

* Lint:fix

* Add global line-height

* Add voting rules

* Lint:fix

* Add voting rules

Co-authored-by: Maria Rushkova <maryrushkova@gmail.com>
2021-06-09 10:55:59 +02:00
Maria Rushkova cc233b1902
Add feature card (#11)
* Add feature card

* Change card feature styles

* Add ongoing vote style

* Add time left style

* Change timeleft & sum

* Add btn disabled style

* Refactor Cards

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-09 08:21:38 +02:00
Maria Rushkova 4b7d42ced6
Add card component (#10)
* Add card component

* Add content width

* Delete font modules

* Add no-voting styles

* Lint:fix

* Make voteWinner optional
2021-06-08 09:37:56 +02:00
Szymon Szlachtowicz 794db0b2dd
Add api mock (#9)
* Add getCommunityDetails

* Introduce getCommunitiesInDirectory mock

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-07 20:57:52 +02:00
Szymon Szlachtowicz 5271ce0d4d
Change info page button behaviour (#7)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-07 08:40:23 +02:00
Maria Rushkova 2c307895d7
Add header (#5)
* Add global styles

* Add header

* Change button cursor

* Add btn states styles

* Delete DS_Store

* Add header styles

* Remove .DS_Store

* Add global colors

* Add Button component

* Change button component

* Change nav animation

* Delete import

* Add button styles

* Add Page Info
2021-06-07 08:06:35 +02:00
Szymon Szlachtowicz 3afde690af
Add CI (#6)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-04 12:30:43 +02:00
Szymon Szlachtowicz 0e24ceecee
Add router (#4)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-02 14:46:08 +02:00