Commit Graph

733 Commits

Author SHA1 Message Date
arc-alex 4e49ca3ebe useEffect on is open 2024-01-06 15:41:55 +01:00
arc-alex 19536c3ea8 Reareange everything to match the 5 steps 2024-01-06 15:38:16 +01:00
arc-alex dc8b55aa53 use maybeAxiosError 2024-01-03 01:54:56 +01:00
arc-alex cb6dee552f display errors in UI 2024-01-03 01:52:30 +01:00
arc-alex ba89673d5f clarify updateSheetState 2024-01-03 00:55:31 +01:00
arc-alex a719f5827e use the send-to-link function 2024-01-02 15:57:14 +01:00
arc-alex 7fcf8153af cleanup and rename 2024-01-02 15:49:10 +01:00
arc-alex e0b2ea8f5c sort import and fix variant 2023-12-22 14:25:22 +01:00
arc-alex be92fa43fa allow x as boolean true from sheet 2023-12-22 14:17:36 +01:00
arc-alex fda1dbdd5f add some comments 2023-12-22 13:57:21 +01:00
arc-alex 8ae1c6de42 use api directly 2023-12-19 13:33:57 +01:00
Carlos Valente fa56f48461 refactor: get data from query 2023-12-19 12:34:00 +01:00
arc-alex 364d698bbc dont save sheet settings 2023-12-18 14:23:03 +01:00
arc-alex 8fa7392698 dont save 2023-12-16 23:56:15 +01:00
arc-alex 2464ac1bd9 change some naming 2023-12-16 23:37:44 +01:00
Carlos Valente a6683fd2cd style: small UI suggestion 2023-12-15 22:25:26 +01:00
arc-alex d2c6d46585 use exist function befor pull or push 2023-12-15 13:40:53 +01:00
Carlos Valente 95d7b61529 refactor: move fetching to react query 2023-12-15 10:49:52 +01:00
arc-alex 884947374d improve get state check 2023-12-13 18:56:49 +01:00
arc-alex e52ff58d74 coerce boolean types from sheet 2023-12-13 17:37:33 +01:00
arc-alex 0024b02638 small refinment 2023-12-13 17:31:33 +01:00
arc-alex d763f3f6b9 open using external browser v2.22.0-sheet-beta.2 2023-12-12 15:46:29 +01:00
arc-alex fdee764c28 fix: deepsource recommendations 2023-12-12 15:06:16 +01:00
arc-alex a750c04bad try to forward err to the user 2023-12-12 14:37:32 +01:00
arc-alex a7a7a7d886 fix key check and ensureDirectory on startup 2023-12-12 14:25:22 +01:00
arc-alex a98bd0f4a4 ensure sheets folder 2023-12-12 11:52:04 +01:00
arc-alex c5b8a133b5 Merge commit master into google-sheets-lite 2023-12-12 11:43:10 +01:00
Carlos Valente c4d65dbe5f fix: display correct end time in backstage (#635) 2023-12-10 19:12:29 +01:00
Alex Christoffer Rasmussen 2586b0b10c feat: http integration (#575)
* addtime endpoint

* create universal Subscription

* add http integration

* catch error from HTTP integration emit

* unify osc and http validateSubscriptionEntry

* add necessary endpoint for http subscription

* make subscription part of modal generic

* add http subscription to integration modal

* remove log

* Revert "addtime endpoint"

This reverts commit 4c039220dc.

* reuse agent and test url compatibility

* simplify retun path

* add todo in UI

* test for http protocol

* import not needed yet

* lint

* fix merge

* lint

* fix httpPlaceholder

* wip: prepare endpoints

* wip: temporary fix to get form to work

* disable HTTP integration if enabledOut==false

* register/unregister http

* refactor: subscription types and form register

* refactor: validation

* cleanup

* cleanup

* try GOT

* allow https

* split url and searchParams allow for post option

* add options to post

* add retry count

* fix test

* Revert "fix test"

This reverts commit 927e88370f.

* Revert "add options to post"

This reverts commit 0523a68ef4.

* Revert "split url and searchParams allow for post option"

This reverts commit 54ab8d4ffe.

* missing retryCount in httpPlaceholder

* remove global this

* remove retry count

* remove https

---------

Co-authored-by: Carlos Valente <carlosvalente@pm.me>
2023-12-10 16:56:42 +01:00
Alex Christoffer Rasmussen abe27d54a2 refactor: use add time in client (#636) 2023-12-08 21:46:29 +01:00
Alex Christoffer Rasmussen 1343818917 Improve change api (#628)
* fix: jsdoc comments

* more human casting of string values to boolean

* add coerceColour to get named colors to work

* cue can't pass isKeyOfType event check

* dont mutate value

* alloow cue in eventDef

* lint

* css named or hex formatting

* "sideEffects": false

* test colour hex regex

* roll eventDef back to master

* parse property

* don't export cssColour names

* remove import

* only allow string types to colour

* handle transparent colour

* mix alpha with bg colour

* only allow updating events

* descriptive names

* add test for getAccessibleColour

* readability

* move isColourHex to regex-utils

* simplify and add test
2023-12-08 12:55:04 +01:00
Carlos Valente a93cd3e9b1 style: prevent menu mirroring (#632) 2023-12-07 17:57:04 +01:00
Alex Christoffer Rasmussen 813eb9ad86 Merge pull request #604 from cpvalente/roll-back
add skippedOutOfEvent to TimerService
2023-12-04 12:53:43 +01:00
Carlos Valente 34e9b1ef07 refactor: clarify responsabilities 2023-11-30 21:35:09 +01:00
arc-alex a67b89190d guard and test midnight 2023-11-28 16:04:12 +01:00
arc-alex ecd151a0a8 use expectedFinish 2023-11-28 15:27:19 +01:00
asharonbaltazar 4cbc09864c Params Input Placeholders (#627)
* add `placeholder?: string;` to `StringField` & `NumberField`

* add `placeholder` to inputs

* move values from `defaultValue` to `placeholder`
2023-11-27 18:25:46 -05:00
arc-alex b37494109a ifx: use template string not concatination v2.22.0-sheet-beta.1 2023-11-27 23:27:10 +01:00
arc-alex aaa1fb9368 fix: saveClientSecrets type object 2023-11-27 23:24:36 +01:00
arc-alex 20d5d8b129 move skip logic to timerUtils 2023-11-27 17:42:42 +01:00
Alex Christoffer Rasmussen 11db39ee73 Merge pull request #623 from cpvalente/osc-enabledOut
Osc disable/enable output
2023-11-27 16:56:54 +01:00
asharonbaltazar edb79d5819 Default Values in ParamEditor (#610)
* add `defaultvalue` to `Field` types

* add `defaultValue` to constants; turn into functions for time values

* update constant imports/calls in view components

* use `defaultValue`s in `ParamInput`

* change `Clear` to `Reset`to better reflect actions

* make `defaultValue` optional rather than `undefined`

* update forgotten constants

* add `defaultValue` to boolean input

* change `101010` to `000000`

* add `prefix` property to types

* implement `prefix` for `ParamInput`s

* change `paramField` to `prop`

* add `onEditDrawerClose` to `resetParams`

* `ViewParamsEditor` omits default values

* undo close on reset

* move `useSettings` into `ViewWrapper`

* change `settings` to include `undefined`
2023-11-26 15:57:18 -05:00
arc-alex 715fa66444 disable/enable from ui without restart 2023-11-26 20:41:33 +01:00
arc-alex 27f6d10677 actually disable/enable osc output 2023-11-26 20:41:01 +01:00
Carlos Valente f2504072ce feat: add change endpoint to ws (#618)
* feat: add change endpoint to ws
2023-11-26 19:02:16 +01:00
arc-alex cb198bc3fe comments 2023-11-26 17:29:12 +01:00
arc-alex 6880f459b6 check keys of client secrets 2023-11-26 17:11:55 +01:00
arc-alex 7b34c8f3b1 push project data 2023-11-26 16:48:34 +01:00
arc-alex c714727801 useEffect 2023-11-26 14:26:05 +01:00
arc-alex 8fc70fa162 cellRequenstFromEvent change 2023-11-26 14:23:12 +01:00