Commit Graph

130 Commits

Author SHA1 Message Date
703a6a0326 skeleton 2023-11-11 11:08:48 +01:00
f5b09e2123 Rankin JSON update (#31)
Reviewed-on: http://192.168.8.55:3000/HQLAx/CordaCheckers/pulls/31
2023-11-10 20:58:32 +01:00
7a2d7f435f small clenup 2023-11-10 13:28:18 +01:00
7acad9b0f3 namedStorage instead of useStorage 2023-11-10 13:25:24 +01:00
6427844da3 usePrevious hook 2023-11-10 13:17:38 +01:00
cd62d90de8 Polling hook useRef
do not useState for internal values. which are not relevnat to rendering
This will only trigger unnecessary rerenders
2023-11-10 13:10:30 +01:00
453a45d980 NewGame: show selected players in GameBoard (#28)
Reviewed-on: http://192.168.8.55:3000/HQLAx/CordaCheckers/pulls/28
2023-11-10 12:39:49 +01:00
76eb556d09 NewGame to use dispatchGames
- remove DispatchGames and GamesAPI Context
  transfer it as props instead
- DropdownList component
- delete obsoleete files
2023-11-10 09:34:46 +01:00
3171a97827 ammend 2023-11-09 18:20:19 +01:00
b632aa7dc3 GameSelector
- single component for GameProposals, ActiveGames and Archive

- clickabple and scrollable
2023-11-09 18:19:31 +01:00
6b8b75ba7f component params grouping 2023-11-09 15:59:38 +01:00
ac50d92c1a GamesContext: initial implementation 2023-11-09 13:59:14 +01:00
3f47654cf2 react: state -> reducer -> context
- Leaderboard: useState
- User: useReducer
- Games: useContext [...in progress]
- usePolling giveup on internal cache
  in favour of onResponce() callback
2023-11-09 12:29:47 +01:00
7314b8c328 move Header into App 2023-11-08 19:30:06 +01:00
aa2a250085 Games container sceleton
- use Route for conditional rendering
- useGamesAPI
- Checkers component
2023-11-08 18:22:05 +01:00
b58c71c876 useXxxReducer 2023-11-08 09:23:20 +01:00
9ec2059c4a pollingFlux 2023-11-07 12:58:09 +01:00
d92a3df32b userFlux 2023-11-07 11:57:52 +01:00
df60508d45 Loading component 2023-11-06 09:29:13 +01:00
472f5de928 leaderboard api polling 2023-11-03 22:25:56 +01:00
ba7f9ce7d1 useLocalStorage for persistant values from Reducer 2023-11-03 13:46:52 +01:00
b237722e82 Header + OnlineToggle 2023-11-03 08:53:27 +01:00
c999302cda unresponcive while fetching (#20)
Reviewed-on: http://192.168.8.55:3000/HQLAx/CordaCheckers/pulls/20
2023-11-01 10:39:39 +01:00
306ecea262 Merge branch 'create-button-woble-prfix' 2023-10-31 20:55:52 +01:00
352919581e add wobler 2023-10-31 20:33:36 +01:00
66acd217e3 implementstion (#18)
Reviewed-on: http://192.168.8.55:3000/HQLAx/CordaCheckers/pulls/18
2023-10-31 20:11:16 +01:00
c007aec06e if fetching ? classname + woble 2023-10-31 18:45:09 +01:00
3eafcf302f minor cleanup 2023-10-31 17:29:01 +01:00
f25fd51572 messages/message2opponent (#12)
Reviewed-on: http://192.168.8.55:3000/HQLAx/CordaCheckers/pulls/12
2023-10-31 13:22:01 +01:00
262fa0636d initial implementation 2023-10-31 13:17:41 +01:00
1cf762254c mock implementstion 2023-10-31 10:16:35 +01:00
93867c7d79 mock implementaion 2023-10-31 09:59:14 +01:00
3d9dbd2683 GameCreate request
- use HTTP POST request
- diable CSRF on server
2023-10-29 21:45:48 +01:00
7d4aaf10df front: action: CreateGameProposal: use Definitions 2023-10-29 19:04:23 +01:00
04c4550e21 front: NewGame: Create action button enable/disable 2023-10-28 15:16:26 +02:00
2777718cda front: NewGame: radiobutton
player name can be used either for black or white side
2023-10-28 13:01:54 +02:00
142129a376 front: AppCtx: better update function 2023-10-28 12:26:37 +02:00
85cab1e1ae front: NewGame: CSS first level childs only 2023-10-28 11:15:17 +02:00
eb4a255a90 front: GameBoard to reflect selected player fron NewGame 2023-10-28 10:44:18 +02:00
567160caa1 front: NewGame component 2023-10-27 19:36:00 +02:00
984acda704 front: compilation warning 2023-10-27 14:02:01 +02:00
b6994554b3 front: GameHeader as one line of elemnts 2023-10-27 13:41:56 +02:00
74c396bea7 front: GameComponent refactoring 2023-10-27 12:51:32 +02:00
fbd813b945 front: name GameHeader into GameView 2023-10-27 12:37:28 +02:00
21dd37521b front: GameHeader: add New gameView
- GameActions for each GameView
- activate GameAction per relevan GameView
2023-10-27 12:34:58 +02:00
1ea6d22286 front: player css fix 2023-10-27 11:33:15 +02:00
10d78d440f front: GameSelector: store selected game in AppCtx 2023-10-27 11:32:55 +02:00
15920a666d front: selectable player names for GameBoard
- bugfix keys for ProposalSelector
- css fix for Selectable title
2023-10-26 20:34:10 +02:00
a658827cb3 front: PlayerComponent
- color
- name

TBD:
- setName
- nameList
2023-10-26 13:46:09 +02:00
4421ca5445 front: GameBoard component 2023-10-26 12:47:16 +02:00
6c46188d38 front: isCurrentUser() 2023-10-26 12:26:00 +02:00
8a0401ec59 front: unify path indication css 2023-10-26 09:30:37 +02:00
7c2a3329a7 front: GameAction and GameBoard 2023-10-26 09:28:16 +02:00
a2de2331cf front: Game section sceleton 2023-10-25 18:18:56 +02:00
0c24d8c3ac front: minore updates 2023-10-25 17:00:33 +02:00
b261b45014 front: better CSS selectors 2023-10-25 12:12:11 +02:00
9f4bb9454e front: use ReactRouting to manage Component's contetnt 2023-10-25 10:28:56 +02:00
6c46e8fb98 front: about page 2023-10-25 09:16:15 +02:00
8056c38ad5 front: basic ui mockup
- more components
- more navigation

[bugfix] proxy routing
2023-10-24 20:35:27 +02:00
375af0798e front: center Header actions 2023-10-24 09:37:02 +02:00
4c185d42d5 front: css fix for safari 2023-10-20 17:54:36 +02:00
8d5cca6cfa front: DarkReader friendly CSS 2023-10-20 10:55:16 +02:00
35802ea6ad front: wave indication for data fetching 2023-10-20 00:40:05 +02:00
f9f5c29438 front: CordaChecker online tgl 2023-10-19 18:56:46 +02:00
a16b886645 front: CordaCheckers online tgl 2023-10-19 16:09:19 +02:00
c884494618 React: make Poll into a hook 2023-10-19 15:20:18 +02:00
5821a02ba1 React: GlobalState updates
Remove DataCtx dependacy on AppCtx
2023-10-19 14:39:43 +02:00
efd7127575 react: GlobalState: data, appCtx + polling feature
- Polling
 - time beased URI polling
 - can be diabled

- GlobaState
 - utilizes Flux pattern
 - data:
    for storing data for UI to work with
 - appData:
    for string global UI state

- major refactoring
2023-10-18 17:20:37 +02:00
fa29d2a631 ammend 2023-10-14 20:24:26 +02:00
fdf227bf19 front: gp: better listItems
- show opponent stone and my stone in actial colors
2023-10-14 20:12:31 +02:00
b34335cefc front: show action button only for onHover elemnt 2023-10-14 11:59:05 +02:00
8cac7533dd front: js readability 2023-10-14 10:43:44 +02:00
c8480c3937 gameproposal: move game.message color to css 2023-10-14 10:06:13 +02:00
72daeddb9d front: gamestate polling + gameproposal tab
- gamestate controller
- css for gameproposal tab
2023-10-14 10:01:20 +02:00
6c885bfa68 front: centr align for Leaderboard 2023-10-11 14:11:31 +02:00
03b983aafd front: basic routing
- create some components
- update a bit of npm packages
2023-10-11 13:16:27 +02:00
992a1f3a23 front: leaderboard 2023-10-11 10:36:29 +02:00
b0e2f0e25b ReactJS: user managment 2023-08-21 18:05:19 +02:00
db3cf0ee29 ReactJS: add loading state
- use 8081 port for talking to SpringBoot (as 8080 occupied by Corda)
2023-08-19 19:59:55 +02:00
3a4cba0c63 front and back skeleton 2023-08-13 15:31:47 +02:00