Commit Graph

233 Commits

Author SHA1 Message Date
Carlos Valente 2fa397548a Feat/navigate (#81)
* feat/navigate upgrade react router
* feat/navigate migrate to react router 6
* feat/navigate style modal
* feat/navigate create endpoints for app settings
* feat/navigate protect editor with pin
* feat/navigate apply dynamic routing draft
* feat/navigate upgrade relevant packages
* feat/navigate restructure directory and add tests
* feat/navigate test aliases validation
* feat/navigate validate aliases before sending
* feat/navigate create data endpoint
* feat/navigate config: prettier
* feat/navigate invalidate empty strings
* feat/navigate create endpoints
* feat/navigate parse on import
* feat/navigate navigate to alias
* feat/navigate user help and sample data
* feat/navigate refact aliases modal
* feat/navigate refact settings style
* feat/navigate update sample db
* feat/navigate link is relative to hostname
* feat/navigate navigate to first match
* feat/navigate update readme and version bump
* feat/navigate config: create shared module
* feat/navigate config: cheat module install
* feat/navigate fix tests
* feat/navigate run tests in pull request
* Update ontime_cy.yml
2022-01-04 22:12:59 +01:00
Carlos Valente 9fc154955a Feat/62 logger (#79)
* feat/62-logger request log data in app
* feat/62-logger refact osc integration
* feat/62-logger feedback on osc
* feat/62-logger refact broadcast on triggers
* feat/62-logger log triggers
* feat/62-logger add link to studio
* feat/62-logger replace toasts with logger context
* feat/62-logger style improvements
* feat/62-logger refactor code duplications
* feat/62-logger cleanup and version bump
2021-12-25 19:39:40 +01:00
Carlos Valente 160ccabebc Config/eslint (#78)
* config/eslint: upgrade eslint config
* config/eslint: version bump
2021-12-22 22:22:21 +01:00
Carlos Valente ac0d5832b6 event cucle (#76)
* install sass
* refact: integration settings
- OSC in its own HTTP endpoint
- OSC settings have own object in db
* refact: simplify event cycle
* refact: restructure external triggers http
* refact: restructure external triggers osc+socket
* refact: restructure data updates
* feat: osc integration class
* IO improvements
- timer uses osc integration
- create trigger handler to manage external triggers
* refact: refract state machine update
* Integration: simple HTTP Client
* Integration: http options in datamodel
* Integration: call http send on life cycle
* feat/62-logging: fix issue #71
2021-12-22 18:17:48 +01:00
Carlos Valente 2b2bafa8c6 add mock object (#75) 2021-12-19 16:36:11 +01:00
Carlos Valente c12bca05aa Chore/tests (#73)
* chore/tests: install testing libraries
* chore/tests: upgrade dependencies
* chore/tests: configure linters
* chore/tests: add basic component tests
* chore/tests: version bump
2021-12-19 14:22:02 +01:00
Carlos Valente 1e4206fcb2 Refract/updatecritical (#69) 2021-12-18 14:57:07 +01:00
Carlos Valente afdfae9073 Hotfix/4.0.3 (#66)
* hotfix 4.0.3: style tweaks
* hotfix 4.0.3: replace font
2021-12-15 20:43:21 +01:00
Carlos Valente 0736ce93c6 Hotfix/4.0.3 (#65)
* hotfix 4.0.3: style tweaks
* hotfix 4.0.3: replace font
2021-12-14 23:19:38 +01:00
Carlos Valente 52f02f153c Hotfix/4.0.2 (#64)
* hotfix 4.0.2: implement playback router
* hotfix 4.0.2: fix studio clock styles
* hotfix 4.0.2: broadcast clock always
* hotfix 4.0.2: fix overflow in timer control
2021-12-14 22:39:01 +01:00
Carlos Valente 80c2e9a8ba Feat/studio clock (#60) 2021-12-13 21:29:56 +01:00
Carlos Valente 627cce7ba6 Hotfix/4.0.0 (#48)
* validate time string
* handle time entered in seconds
* fix: id in delays and blocks
2021-11-27 20:35:06 +01:00
Carlos Valente 8c740b7111 Feat/excel (#45)
* add dependency

adding dependency to parse the excel file in the node side

* import file

ability to import file
- add extension
- safeguard file type and size

* user is able to upload json or excel

* chore: extract logic into self contained function

* associate model with version

* test id generation

* parse excel data

* prevent UI crash on bad data

* extract validation into self contained function

* chore: add more tests for bad data

* config: stop from opening browser on start

* fix comma in sample db

* handle corrupt files

* error boundary around main components

* jsdocs

* increase id length

* parse excel time string

* feat: excel parsing

* validate json db before import

* chore: test event validator

* feat: make function to clean convert strings

* chore: test parser

* chore: jsdocs

* fix: bug on upload

prevent bug where the component would prevent upload of same file twice
2021-11-24 22:07:31 +01:00
Carlos Valente f3320efc5c Fix/ios (#43)
* remove tiny keys

* fix: replace library with code

* cleanup

* add lodash throttle

add dependency to handle event throttling

* Revert "add lodash throttle"

This reverts commit abcbd3556b.
2021-11-17 22:50:54 +01:00
Carlos Valente 09a5aca25a Chore/qol (#41)
* style: prevent timer from resizing container

* style: review half and third screens

* style: prevent delay time from resizing blocks

* style: show now / next titles when container is collapsed

* docs: link to documentation in readme

* Update README.md

* Update README.md

* Update README.md

* style: new image assets

* cleanup

* style: prevent long titles from overflowing containers

* fix: send titles on change

fixed issue that prevented the next title from being broadcast on change
2021-11-16 20:54:36 +01:00
Carlos Valente 885d965db1 Fix/roll (#39)
* roll locks to first

in case there are events with overlapping time, roll will play the one that started first

* sanitize data entry

fixes issue where input field would not return seconds if not modified

* update chakra

* fix time input in chrome

fix issue in chrome where value of input does not contain seconds
2021-11-14 21:13:47 +01:00
Carlos Valente 26cb8a5bfc Feat/seconds (#38)
* change directory structure

move test file to __tests__ at the module directory

* test function

Add more tests to ensure the function remains safe

* fix coverage filter

* change directory structure

move to utilities folder

* refract formatDisplay with tst

* test millis

* test millis to seconds

* refract millis functions

* refractor timeStringToMillis

* create utility consts

* style component

* fixed bug with hidezero parameter

* fix issue with cancelling input edit

* style tweak
2021-11-13 22:39:57 +01:00
Carlos Valente 8d8bbef546 small QOL improvements (#37)
* feat: selected event if is first

* style: fix wrap

- remove wrap tag (broken in firefox)

* feat: add more text to notes

this is a quick fix and does not replace the real deal.
using a text input makes it difficult to edit, this should be revised with a textarea on note field

* upgrade electron

* Stage timer in /sm has placeholder when not running

* fix style issue where clock would move depending on whether there are events selected

* ensure ontime logo and text have a minimum readable size

* fix scrollbar styling

* clean debugging logs

* link to latest release

using gitreleases.dev service for this.
this is a temporary fix until we have a release (in opposition to pre-release) so we can use githubs latest link

* scale gracefully

* fixed error with naming of maxChar
2021-11-09 22:31:55 +01:00
Carlos Valente 98e5cddad5 Fix/roll titles (#33)
Roll is now calculated with awareness of public and backstage titles
Style improvements on providing feedback on roll mode
2021-11-07 13:13:06 +01:00
Carlos Valente f6edb88944 Fixed issues with style on small windows (#29) 2021-11-04 21:12:53 +01:00
Carlos Valente f73d8ae8f4 Merge pull request #21 from cpvalente/fix/roll
Fix/roll
2021-10-31 22:16:56 +01:00
cv 03ef3e58ed style: button disable
disable playback buttons while rolling (interface only)
2021-10-31 13:12:22 +01:00
cv f0ecb85c29 upgrade react 2021-10-29 22:32:20 +02:00
cv 8fcf33933e feat: stage route
add route for stage timer 'stage'
2021-10-29 13:47:35 +02:00
cv 3a85a483c1 fix: load titles
fixed issue where titles where not loaded in roll mode
2021-10-29 13:25:45 +02:00
cv 6648586c26 style: improve visibility of roll mode
- display message when waiting
- add tooltips
- block non necessary buttons when rolling
2021-10-29 12:56:52 +02:00
cv e1f9d322da feat: open help from browser 2021-10-28 15:17:12 +02:00
cv 4dc7198c52 config: small improvements
- added small improvements to installation
- show custom icons on install / uninstall
- handle developer tools in app
2021-10-28 14:10:50 +02:00
cv 1afdd67760 refract
remove unused
cleanup styles
simplify post code
commentz
2021-10-27 22:54:50 +02:00
cv 0a5fa12c21 feat: app settings
- user can change the service ports
!!! we cannot change the express server port yet
2021-10-27 22:52:43 +02:00
cv 6b5fb186cc feat: post info 2021-10-27 22:51:52 +02:00
cv 13487867bc feat: end message
- set end message in settings
2021-10-27 10:04:46 +02:00
cv ec714b341f mock components
- App Settings
- Event Settings
- Alias
2021-10-26 21:48:45 +02:00
cv f999f19aa9 refract: updgrade UI library
upgrade chakra tries to resolve issues with modals and sliders
2021-10-26 09:26:58 +02:00
cv a9641f0c54 refract; update fe dependencies
update react qr code
update react icons
2021-10-25 22:59:50 +02:00
cv a70cb23242 refract: update socket.io 2021-10-25 22:54:39 +02:00
cv 5a87668fac fix: stu test fixes
- QR code url was hardcoded
- fix language in add menus
- changed release symbol
- changed order of release and reload
2021-10-25 22:19:02 +02:00
cv 21c6303e87 style: interface spacing
- less padding between elements
2021-10-25 11:33:58 +02:00
cv d4cf983d5d fix: open links when using browser 2021-10-25 10:42:03 +02:00
cv 0977ee6683 refract: remove unused dependencies
- date fns
- concurrently
2021-10-24 22:55:59 +02:00
cv 4f5d13214b refract: cleanup unused 2021-10-24 22:00:51 +02:00
cv 541117b31b chore: cleanup logs 2021-10-24 20:51:39 +02:00
cv b62d376e64 style: cleanup public and backstage views
- redistribute grid sizes to fit titles
2021-10-24 13:26:47 +02:00
cv 310579143e fix: revert css
max-width property breaks views
2021-10-24 12:57:55 +02:00
cv a0f3390ad3 style: black text 2021-10-24 12:41:30 +02:00
cv abdd2606ee style: consistent button style
- modify add button to be consistent with main menu colours
2021-10-24 12:40:12 +02:00
cv d36adf08ba style: animate event collapse / expand 2021-10-24 12:39:12 +02:00
cv a638e5962c style fix: handle long titles
long titles would overflow
- list editor
- info titles
- backstage view
- public view
2021-10-24 12:38:57 +02:00
cv 6ca2eb77a1 fix: stop IPC errors when testing locally 2021-10-02 16:48:15 +02:00
cv de44ea81d3 modal manager
- Create a modal with tabs for reusability
2021-10-02 16:42:51 +02:00