Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UT-210: Rebuilding of the code structure for Cliptool. #81

Merged
merged 114 commits into from
Jul 14, 2023

Commits on Mar 7, 2023

  1. UT-210: splits Thumbnail.tsx into multiple files.

    refactor: divides down Thumbnail.tsx into files such that there is maximum one component per file.
    refactor: extracts much of the common logic used between thumbnail components to mediaService.ts.
    refactor: updates references to the Thumbnail.tsx to its new locations.
    refactor: adds explicit types on constants and functions' arguments and return.
    andr9528 committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    a371ad3 View commit details
    Browse the repository at this point in the history
  2. UT-210: splits Header.tsx into multiple files.

    refactor: divides down Header.tsx into files such that there is maximum one component per file.
    refactor: renames 'manualstartState' to 'manualStartState'.
    fix: fixes header not showing the thumbnail as it was suppose too.
    andr9528 committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    3768d71 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Merge branch 'UT-211/reimplementTabs' into UT-210/refactorStructure

    # Conflicts:
    #	src/client/components/Tab/TabContent.tsx
    andr9528 committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    bc469b5 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. Configuration menu
    Copy the full SHA
    03ba501 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d478cfd View commit details
    Browse the repository at this point in the history
  3. UT-210: continues work on splitting Settings into multiple files.

    refactor: splits last parts of Settings.tsx into other files.
    refactor: renames the constant being exported from mediaService.ts to mediaService, so Intellisense is able to aid with adding import for it.
    refactor: moves some styling applied inline to CSS.
    andr9528 committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    8979edd View commit details
    Browse the repository at this point in the history
  4. UT-210: WIP: rework structure of saved settings. Opening Settings wil…

    …l crash at the moment, and toggling settings doesn't work..
    
    refactor: renames interfaces in settingsReducer to not have 'I' in their names.
    refactor adds placeholder user confirmations when saving/discarding settings changes.
    refactor: extracts input layouts for settings to a reusable component.
    refactor: fixes typo in 'transistionTime' to 'transitionTime'.
    refactor: changes arrays of 'GenericSettings' into a single array of 'OutputSettings', each containing an attribute for the previous arrays.
    refactor: removed most code in 'correctStructure(...)' and verifyStructure(...), as they have to be redone with the new settings structure.
    andr9528 committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    17dbde7 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. Merge branch 'develop' into UT-210/refactorStructure

    # Conflicts:
    #	src/client/components/Header.tsx
    #	src/client/components/Settings.tsx
    #	src/client/components/Thumbnail.tsx
    andr9528 committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    8bd7272 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. UT-210: WIP: almost finishes moving and merging where settings are sa…

    …ved in redux
    
    refactor: adds and implements Zod, to handle validation of the settings file loaded from drive.
    refactor: updates used version of typescript.
    refactor: reimplements validation of loaded settings, by use of Zod.
    refactor: shifts many mediaActions over to settingsAction as the data they handle going to be stored in there instead.
    refactor: create few service classes with shared logic.
    refactor: updates a number of places to use the new service classes.
    refactor: created type for reduxState, and applies it in a few dozen places.
    andr9528 committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    ecd3750 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. UT-210: WIP: continues moving attributes over to settings.

    refactor: renamed 'IThumbnailFile' to 'ThumbnailFile'.
    refactor: renamed 'IMediaFile' to 'MediaFile'.
    refactor: renamed 'IOutput' to 'Output'.
    refactor: renamed 'IMedia' to 'Media'.
    refactor: moves and renames Output.tallyFile to OutputSettings.selectedFile.
    refactor: moves service classes from being client only to model level, as backend want many of the same functions.
    andr9528 committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    ec86a3d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5f07e7 View commit details
    Browse the repository at this point in the history
  3. UT-210: continues on reworking settings.

    refactor: extracts interfaces from mediaReducer to mediaModels, for consistencies sake.
    refactor: implements the settings view sufficiently to not class cliptool.
    refactor: makes SingleOutput only render, if it isn't undefined.
    andr9528 committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    e291515 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. UT-210: completes rewrite of settings to new structure.

    refactor: changes useState in SingleOutput to be one per attribute.
    refactor: adds 'deep-copy-ts' to create a deep copy of settings, to allow discarding changes, should the user not want them anyways.
    andr9528 committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    0890dd4 View commit details
    Browse the repository at this point in the history
  2. UT-210: WIP: Adjusts settings so discard button changes test dependin…

    …g on if there is changes or not.
    
    refactor: changes 'deep-copy-ts' for 'lodash' as lodash has other functions i need anyways.
    andr9528 committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    65b597d View commit details
    Browse the repository at this point in the history
  3. UT-210: fix: fixes incorrect structure of saved settings. fix: fixes …

    …header buttons not having their colour.
    andr9528 committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    982c6d0 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. UT-210: Updates signature of functions to function definitions and el…

    …iminates some duplicate code.
    
    refactor: changes functions defined as constants to function definitions.
    refactor: removes/merges duplicate code to a single implementation(s).
    refactor: adds return type to most, if not all, functions.
    andr9528 committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    216dd81 View commit details
    Browse the repository at this point in the history
  2. UT-210: WIP: makes attempts to figure out why OSC messages aren't rec…

    …eived. Applies changes for GeneralSettings that was missed.
    
    refactor: updates GeneralSettings to support the new structure for allowing discarding changes.
    refactor: adds a half dozen or so temp console.log used to try and track down why selectedFile is not set.
    refactor: removes 'I' from interface name of 'TimeTallyPayload'.
    refactor: renames 'handleOscMessage' to 'processOscMessage'.
    refactor: renames 'updateThumbFileList' to 'updateThumbnailFileList' along with associated constants.
    andr9528 committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    547aa5c View commit details
    Browse the repository at this point in the history
  3. UT-210: refactor: out-comments temp logs. Will be removed ones the is…

    …sue they are used for has been fixed.
    andr9528 committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    cbcfc32 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e69ed3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cb11042 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e5d9f3b View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. UT-210: fix: fixes not receiving messages from CCG. Fixes 2 values un…

    …der settings being swappped. Woops.
    andr9528 committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    623091c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4fa367f View commit details
    Browse the repository at this point in the history
  3. UT-210: removes the need to apply indexing when accessing redux state…

    … attributes.
    
    refactor: changes types in reduxState to be ordinary objects, instead of array of said objects.
    refactor: changes many commonly accessed attributes from reduxState to be retrieved via the service classes.
    refactor: renamed one file i missed in the mass renaming to camelCase.
    refactor: removes a few left over console.logs.
    andr9528 committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    457aa0d View commit details
    Browse the repository at this point in the history
  4. UT-210: WIP: makes tsconfig's way more strict.

    refactor: makes tsconfig's more strict, and applied a number of changes to begin fixing compile errors.
    refactor: updates version used of @tv2media/logger.
    andr9528 committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    177dfcf View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. Configuration menu
    Copy the full SHA
    ee6bcb3 View commit details
    Browse the repository at this point in the history
  2. UT-210: refactor: changes code that loads files into service classes.

    refactor: moves getting the default generic settings to settingsService.
    refactor: renames settingsFileService to settingsPersistenceService.
    refactor: moves settingsPersistenceService from model layer to server layer.
    andr9528 committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    c0b6131 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f4e892d View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2023

  1. UT-210: fixes more errors in atempt to being able to start Cliptool a…

    …gain.
    
    refactor: updates redux to use new configureStore instead of deprecated createStore.
    refactor: WIP: attempts to fix order of loading global files.
    refactor: fixes some more compile errors.
    andr9528 committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    bb89259 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2023

  1. Configuration menu
    Copy the full SHA
    6d5ed12 View commit details
    Browse the repository at this point in the history
  2. UT-210: applies changes for PR comments, and continues to try and fix…

    … circular run/load order.
    
    refactor: applies a large amount of changes in response to PR comments.
    refactor: starts on renaming files to use kebab-case.
    refactor: splits settingsSchema into new-new-settings-schema and old-old-settings-schema.
    refactor: moves CCG related settings to new object/interface, to help improve how settings page functions.
    refactor: renames event handler methods to better describe what they do.
    refactor: changes from console.log's to use logger.
    refactor: removes a very old settings template file, that hasn't been valid since the first commit to Cliptool.
    andr9528 committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    f5b36e1 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. UT-210: solves circular dependency.

    refactor: changes type on inputs to settingsService, to eliminate knowledge of redux.
    refactor: adds input to appNavigationService.getActiveTab, to eliminate knowledge of redux.
    refactor: renames 'appNav' for redux to 'appNavigation'.
    refactor: renames 'NavReducer' interface to 'AppNavigation'.
    refactor: renames 'appNavAction.ts' to 'app-navigation-action.ts'.
    refactor: renamed 'appNavReducer.ts' to 'app-navigation-reducer.ts'.
    refactor: moves some functions from mediaService to settingsService, as their underlying accessed attributes had been moved to settings.
    andr9528 committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    ebc9778 View commit details
    Browse the repository at this point in the history
  2. UT-210: WIP: starts on finguring out why the redux state is mutating.

    refactor: temporarely out comments code that spam log ALOT (100k+ lines) until current error has been fixed.
    andr9528 committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    5a9fbf6 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Configuration menu
    Copy the full SHA
    60ab564 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    463ea9a View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. UT-210: eradicated settingsInput.tsx

    refactor: split settingsInput into 4 new components.
    	- labelled-checkbox-input
    	- labelled-number-input
    	- labelled-text-input
    	- label
    refactor: creates a new button.tsx file.
    refactor: changes many uses of the html button to use the new component, thus deleting toggleButton.tsx.
    andr9528 committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    00ddfa6 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2023

  1. UT-210: renames a few components and extract swipe logic to its own c…

    …omponent
    
    refactor: extract swipe component logic to its own component, meant to be used as a wrapper for what should be swipeable.
    refactor: renames thumbnailUsingImage to image-thumbnail.
    refactor: renamed thumbnailUsingText to text-thumbnail.
    refactor: renamed thumbnail to be plural.
    refactor: moves decision of used css from thumbnail-button to the places it is used instead.
    andr9528 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    bb9b9e4 View commit details
    Browse the repository at this point in the history
  2. UT-210: does some cleanup of duplicate files and unsed imports.

    refactor: merges handleShortcuts from client and gateway level to new shortcut-service on model level.
    refactor: removes some unused imports.
    andr9528 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    2911e3a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e3e320 View commit details
    Browse the repository at this point in the history
  4. UT-210: reworks tab system to murder tabContent.

    refactor: deletes tabBar and tabContent.
    refactor: reworks tabs, such that only one iteration over tabdata is needed.
    andr9528 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    3f26b81 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b7e716e View commit details
    Browse the repository at this point in the history
  6. UT-210: refactor: renames files to use kebab-case. refactor: renames …

    …ReduxStateType to State.
    andr9528 committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    092b934 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3b30b08 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. UT-210: Starts om converting css to scss. Joins logic for figureing o…

    …ut which view is in use to single service class.
    
    refactor: moves css for footer to new location and footer.scss file.
    refactor: moves css for operation-mode-edit-visibility-footer to new location and operation-mode-edit-visibility-footer.scss file.
    refactor: extracts overlay when disconnected to new component - OfflineOverlay.
    refactor moves displaying of disconnect overlay to be part of app.tsx.
    refactor: created browserService, housing logic for figureing out which view is in use.
    refactor changes a number of places that read searchbar info dirrectly to use new browserService.
    refactor: renamed settings-buttons to settings-actions.
    andr9528 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    a48517b View commit details
    Browse the repository at this point in the history
  2. UT-210: applies changes for a number of comments by Lindved and Anders.

    refactor: creates time-service, and moves secondsToTimeCode(...) from media-service to it.
    refactor: renames 'storeUpdate' to 'state'.
    refactor: converts control-buttons' css to scss.
    refactor: renames a few attributes to better match the type of its content.
    andr9528 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    83fca71 View commit details
    Browse the repository at this point in the history
  3. UT-210: applies changes for PR comments by Anders.

    refactor: renames 'reduxState' to 'state'.
    refactor: changes most constants in socket-io-constants to be housed within one of 2 enums.
    refactor: changes references to 'socket-io-constants' to make use of new enums.
    	- currently unable to exit edit visibility, so i broke something.
    refactor: fixes scss stylings not being applied.
    refactor: renames 'control-buttons' to 'control-actions'.
    andr9528 committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    a689c39 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. UT-210: applies changes in response to a number of PR comments by And…

    …ers.
    
    refactor: renames single-output to output.
    refactor: renames general-settings to casparcg-settings-form.
    refactor: lowers amount of information send to a handful of child components to their minimally needed information.
    refactor: cuts away unnecessary code in timeCode.tsx.
    refactor: broke a few different lines into into more lines - and the invers.
    refactor: renames folderList of Media to folders, along with all related actions.
    refactor: fixes webpack missing some config to handle scss correctly.
    andr9528 committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    2f84be2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c63522 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. UT-210, UT-215: extracts remaining css to scss, fixing the red border…

    …s of text view. Disables operation modes for text view.
    andr9528 committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    c5dca7c View commit details
    Browse the repository at this point in the history
  2. UT-210: fixes a number of smaller errors.

    refactor: adds missing attribute accessor.
    refactor: fixes the wrong list thumbnails and mediafiles being sent by the backend on startup.
    style: adds missing css styling to tabs.
    style: adds missing css styling for swipeable.
    style: re-adds css that was accidently removed.
    style: aligns a handful of components more neatly with.
    refactor: changes used html component from button to label.
    andr9528 committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    5de294d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cee5bac View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. UT-210: re-added ability to close settings via 'settings' button.

    refactor: moves logic keeping track of changes to settings to changing-settings-service.
    refactor: re-adds ability to close settings via clicking the same button, used to open it.
    refactor: fixes settings button not being shown on channel view.
    andr9528 committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    91e9913 View commit details
    Browse the repository at this point in the history
  2. UT-210: extracts socket emits performed in components to service clas…

    …s, due to PR comment.
    
    refactor: creates socket-service, wherein component emit calls on socket are performed instead of directly in components.
    refactor: lowers the amount of useSelectors used in control-actions.
    refactor: renames a handful of click handlers.
    andr9528 committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    d315cb1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2f1e70f View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. UT-210: fixes playing image files displaying a time, if a video is lo…

    …aded for manual start.
    
    refactor: removes some leftover console logs.
    refactor: makes playing image files display the 'SELECTED' text, even when a video file is load with manual start.
    refactor: adds exsplicite types to a few constants.
    andr9528 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    f013b07 View commit details
    Browse the repository at this point in the history
  2. UT-210: finalizes the loaded indicator.

    refactor: extracts wrapping html code from time-code to new thumbnail-overlay.
    refactor: renames time-code to selected-thumbnail-overlay, and makes it use the new thumbnail-overlay.
    refactor: creates new loaded-Thumbnail-overlay, for displaying when a file is loaded.
    refactor: adds some safeguards to not play a *EMPTY* named file, while in manual mode.
    refactor: makes image files always play regardless of manual mode, as playing or loading an image does the same.
    andr9528 committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    cd6775f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c45d24b View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. UT-210: refactor: eliminates tabData from the redux state, as it can …

    …be calculated from other state parts when needed.
    andr9528 committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    bc0b448 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8bbba23 View commit details
    Browse the repository at this point in the history
  3. UT-210: WIP: reduces amount of times redux state is updated.

    refactor: add check to only update time state in redux state when needed on backend and frontend.
    refactor: add variables from some shared css, to reduce duplication/improve editability.
    refactor: splits processOscMessage into smaller functions.
    refactor: renames some interfaces and enums to better fit new naming schemes.
    refactor: attempts to fix flickering time on thumbnail when changing selected file.
    andr9528 committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    978e3d1 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. UT-210: renames a few attributes to better fit their content, and fix…

    …es from visual issues related to updating reduxState when changing selected file.
    
    refactor: renames 'selectedFile' to 'selectedFileName' to better indicate that as string is returned.
    refactor: renames 'loadedFile' to 'cuedFileName' to better match the content.
    refactor: changes media-service functions to take the media state in instead of the whole state.
    refactor: fixes saving of files being done one line to soon.
    refactor: extracts thumbnail overlay text to its own component, to reduce duplication.
    refactor: reduces amount of times the redux state is updated, by only updating it, when a change has happened.
    refactor: removes processing of file/path OSC message.
    refactor: adds processing of foreground/producer OSC message.
    andr9528 committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    f04a6ba View commit details
    Browse the repository at this point in the history
  2. UT-210: refactor: renames some scss classes, and attributes. reduces …

    …amount of use selectors used.
    andr9528 committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    f1dcd1c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    39090d9 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. UT-210: adds types to a number of functions and variables.

    refactor: adds return types to a number of functions.
    refactor: adds types to a few 'let's, mainly in the reducers.
    refactor: renames a handful of function to fix incorrect camelcasing.
    refactor: fixes 'discard changes' button saying the wrong thing when opening settings.
    andr9528 committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    8637cd1 View commit details
    Browse the repository at this point in the history
  2. UT-210: splits 'startTimerControlledServices' into two different func…

    …tions to better fit Single Responsibility.
    
    refactor: moves first 'setInterval' and accompanying subscribe in 'startTimerControlledServices' to new function 'startTimeEmitInterval'.
    refactor: moves second 'setInterval' in 'startTimerControlledServices' to new function 'startFileChangesPollingInterval'.
    refactor: renames 'loadCcgMedia' to  'loadCcgThumbnails'.
    refactor: reworks 'loadCcgThumbnails' to have fewer side-effects.
    refactor: renames a few variables/functions that had 'list' in their name, to use the plural form of what they have more than one of.
    andr9528 committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    4a43b0a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a44fc8e View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. Configuration menu
    Copy the full SHA
    e490351 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9874d9f View commit details
    Browse the repository at this point in the history
  3. UT-210: refactor: removes more duplicate css and fixes borders not sh…

    …own on text-thumbnail.
    andr9528 committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    c83ae54 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. UT-210: fixes some styling isues.

    refactor: aligns thumbails, with or without image, centered in the thumbnail area.
    refactor: fixes the selected/cued overlay not being placed correctly.
    refactor: renames a few CSS class names.
    refactor: removes unneeded area below thumbnail button for text-view.
    	- fixes part of UT-215.
    andr9528 committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    e89871c View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. UT-210: addresses a few PR comments.

    refactor: renames 'control-group' to 'action-group'.
    refactor: renames some css classes to better match where they are used.
    refactor: renames 'secondsToTimeCode' to 'durationToTimeCode'
    refactor: renames 'first argument of 'durationToTimeCode' to 'duration'.
    andr9528 committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    bc5d0d4 View commit details
    Browse the repository at this point in the history
  2. UT-210: addresses some more PR comments.

    refactor: renames files with 'control-group' to 'action-group'.
    refactor: reduces duplicate css by pulling it out to a new css class called 'control-action-base'.
    refactor: renames css class 'c-action-background' to 'c-action-group'
    refactor: renames css class 'control-button' to 'control-action'
    refactor: renames css class 'control-start-button' to 'control-action-start-button'
    andr9528 committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    60a078f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    75df749 View commit details
    Browse the repository at this point in the history
  4. UT-210: creates new switch component to encapsulate switch styling.

    refactor: renames className prop of 'button' to be plural.
    refactor: changes control-actions to use new switch component instead of buttons.
    refactor: changes settings-actions to use new switch component instead of a button.
    andr9528 committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    10aefbd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e22d683 View commit details
    Browse the repository at this point in the history
  6. UT-210: refactor: changes usage of jsx-service into a new component i…

    …nstead, called component-decider.
    andr9528 committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    20afcc7 View commit details
    Browse the repository at this point in the history
  7. UT-210: refactor: changes default indexing of channel in browser-serv…

    …ice to be 0-indexed. Adds missing type on constant.
    andr9528 committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    775eea4 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. Configuration menu
    Copy the full SHA
    bf1ff27 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. UT-210: refactor: fixes mixup of default values in fallback and no de…

    …fault for zod generated default CasparcgSettings.
    andr9528 committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    61e3216 View commit details
    Browse the repository at this point in the history
  2. UT-210: refactor: adds missing margin and trims ends of string interp…

    …olated css class names.
    andr9528 committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    b22c44a View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Configuration menu
    Copy the full SHA
    7ae2d08 View commit details
    Browse the repository at this point in the history
  2. UT-210: refactor: adds changes that should fix rare/sporadic reading …

    …from undefined value.
    andr9528 committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    8c6f8b7 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. UT-210: feature: adds usage of 'transitionTime' for mix duration, as …

    …originally intended according to Kasper.
    andr9528 committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    38d128a View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. UT-210: addresses a number of comment by Lindved.

    refactor: renames component-decider to body.
    refactor: deletes offline-overlay by moving the code to body.
    refactor: removes unused property of swipeable.
    refactor: adds nullish coalescing to a number of optional properties.
    refactor: changes a few rgb color definitions to white.
    refactor: renames switch to toggle.
    refactor: improves indentation in a number of places.
    refactor: deletes cued-thumbnail-overlay by moving the code to thumbnail-overlay-display.
    refactor: moves calls to timeService.durationToTimeCode(...) to be done outside of return statements.
    refactor: changes states in swipeable to be undefinable instead of nullable.
    refactor: changes naming from tick to checkbox in output.
    andr9528 committed May 22, 2023
    Configuration menu
    Copy the full SHA
    8d211c5 View commit details
    Browse the repository at this point in the history
  2. UT-210: changes in reponse to PR comments by Lindved.

    refactor: removes 'trimEnd()' on a handful of lines, as my reasoning to use it was poor.
    refactor: redoes labelled-checkbox-input, labelled-number-input, labelled-text-input to improve reuseability.
    andr9528 committed May 22, 2023
    Configuration menu
    Copy the full SHA
    1118a0d View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. Configuration menu
    Copy the full SHA
    ed8f564 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. UT-210: fix: fixes Cliptool ordering CasparCG to stop overlay playing…

    … when none is playing, when making any settings change.
    andr9528 committed May 25, 2023
    Configuration menu
    Copy the full SHA
    a8cea34 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. UT-210: fix: removes old settings example as it shows the old setting…

    …s structure, rather than the new.
    andr9528 committed May 26, 2023
    Configuration menu
    Copy the full SHA
    b36c3f2 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. Configuration menu
    Copy the full SHA
    33ca811 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. UT-210: applies a large number of changes in response to PR. See expa…

    …nded commit details.
    
    refactor: renames body.tsx to application-router.tsx, and related files/components.
    refactor: renames operation-mode-edit-visibility-footer.tsx to edit-visibility-footer.tsx, and related files/components.
    refactor: renames header.tsx to application-header.tsx, and related files/components.
    refactor: renames action-group.tsx to group.tsx, and related files/components.
    refactor: renames timer.tsx to timer-thumbnail.tsx, and related files/components.
    
    refactor: renames 'isSettingsOpen' of state.appNavigation to 'isSettingsVisible' and constants created from it.
    refactor: renames 'activeTab' of state.appNavigation to 'activeTabIndex' and constants created from it.
    refactor: renames 'NewGenericSettings' to 'newGenericSettingsSchema'.
    refactor: renames 'initConnectionEvents' to 'initConnectionEventsListeners' in client-handler-service.ts.
    refactor: renames 'initServerEvents' to 'initServerEventsListeners' in client-handler-service.ts.
    refactor: renames 'updateStateTemporarySettings' to 'updateTemporarySettings' in changing-settings-service.ts
    refactor: renames a number of props that used plural to singular.
    
    refactor: makes output.tsx and casparcg-settings-form.tsx into dump components.
    refactor: adds new attribute to changing-settings-service.ts to save if settings has changes on change, rather then to calculate on request, saving time on rendering.
    refactor: extracts function in map in settings-service.getTabInfo(...) to new function with name describing performed operation.
    refactor: makes socket attribute on socket-service.ts and client-handler-service.ts private.
    refactor: removes log statement of redux state in client-handler-service.ts.
    refactor: removes a few unused props.
    refactor: changes the location that search parameters are read from to be an input to the constructor of the browser-service.ts.
    	Still reads from the same location, just parsed in, instead of directly accessed.
    refactor: changes the way the cleanFileName is gotten in timer-thumbnail.tsx to use an OR operator instead of if-statement.
    refactor: removes a wrapper div in app.tsx that looks to be redundant.
    refactor: capitalizes some text in edit-visibility-footer.tsx instead of using 'toUpperCase()'.
    
    fix: fixes zero or negative channel numbers giving errors - now defaults to one.
    fix: fixes footer not updating correctly when changing active tab.
    andr9528 committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    d3b3d0b View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. UT-210: applies changes for a handful of PR Comments.

    refactor: renames casparcg-settings-form.tsx to casparcg-settings.tsx and the accompanying scss file.
    refactor: removes swipe-service.ts by moving code to swipeable.tsx.
    refactor: moves usage of swipeable.tsx from tab.tsx to tabs.tsx
    refactor: renames main.tsx to tab-panel.tsx.
    refactor: restructures outputs.tsx to be more readably.
    andr9528 committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    1cf582c View commit details
    Browse the repository at this point in the history
  2. UT-210: applies changes for a number of PR comments.

    refactor: renames checkbox-input.tsx to checkbox.tsx.
    refactor: renames css class 'save-button' to 'c-settings-actions-button'.
    refactor: changes type of child input for button to a string.
    refactor: changes used button in thumbnail-button.tsx to a 'div'.
    refactor: extracts thumbnail file name display paragraph to new component - file-name-display.tsx.
    andr9528 committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    7ae008b View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

  1. UT-210: applies changes for a number of PR comments. See extended det…

    …ails for list of changes.
    
    refactor: renames 'models' layer to 'shared'.
    refactor: moves action files from 'reducer' folder to new 'actions' folder.
    refactor: moves model files from 'reducer' folder to new 'models' folder.
    
    refactor: renames thumbnail-button to media-card.
    refactor: renames image-thumbnail to image-media-card.
    refactor: renames text-thumbnail to text-media-card.
    refactor: renames thumbnails to media-overview.
    refactor: renames client-handler-service to backend-observer.
    refactor: renames CcgConfigChannel to CasparcgConfigChannel.
    refactor: renames toggle to switch.
    refactor: renames thumbnail-overlay-display to card-overlay-display.
    refactor: renames thumbnail-overlay to card-overlay.
    
    refactor: merges thumbnail-picture into image-media-card.
    refactor: removes event-service by moving its usage to inline.
    refactor: splits emits from socket-service out to multiple backend api services.
    refactor: makes tab-title into a dumb component.
    andr9528 committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    eb04a4b View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. UT-210: last big chunk of changes for PR comments. See extended commi…

    …t details for changes.
    
    refactor: moves client specific logic of time-service to new client-time-service.
    refactor: moves type definition for 'HiddenFiles' to media-models.
    refactor: changes types related to HiddenFIles from 'Record<string, HiddenFileInfo>' to 'HiddenFiles'.
    refactor: splits settings-persistence-service.load() into multiple methods to improve readability/flow.
    refactor: splits hidden-files-persistence-service.load() into multiple methods to improve readability/flow.
    refactor: renames a few arguements/enums to better match their content.
    refactor: updates some enum values to use kebab-case.
    
    fix: fixes casing of one argument of the old-settings-schema.
    fix: fixes grayscale not being applied to hidden images.
    fix: fixes backend-observer never being called, and thus nothing received from backend.
    andr9528 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    668cc84 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. Configuration menu
    Copy the full SHA
    7efd77f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f27d5b9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f729200 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9429a7b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    98ce64c View commit details
    Browse the repository at this point in the history
  6. UT-210: refactor: applies changes from talk with Anders and folder th…

    …at didn't match content.
    andr9528 committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    7f5f477 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. UT-210: reworkes how settings are display eliminating changing-settin…

    …gs-service.
    
    refactor: renames tab-panel to main-page.
    refactor: renames settings to settings-page.
    refactor: moves logic in changing-settings-service to settings-actions and settings-page.
    refactor: moves the task of displaying the header and footer from the overall app, to the individual pages, which is only main-page at the moment.
    andr9528 committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    b1b3f39 View commit details
    Browse the repository at this point in the history
  2. UT-210: refactor: moves css applied from constant to inside the compo…

    …nents and changes calls for events to be performed via bindings.
    andr9528 committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    9ae0da3 View commit details
    Browse the repository at this point in the history
  3. UT-210: refactor: moves Singleton instance of all services to an stat…

    …ic attribute on each service and changes the import of the services to not use default import.
    andr9528 committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    a38a292 View commit details
    Browse the repository at this point in the history
  4. UT-210: refactor: changes targeting local css to be done via Enum val…

    …ue instead of via css class name.
    andr9528 committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    910a07b View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. UT-210: improves persisting of data and checking for settings layout …

    …type.
    
    refactor: changes to checks for new layout structure before old.
    refactor: removes defaults from new-settings-schema.
    refactor: lowers amount of OutputSettings in the fallback default.
    refactor: makes startup sequence fill in extra default OutputSettings, if file contained too few compared to configured channels.
    refactor: reduces redux dispactches by changing used action, during startup.
    refactor: updates usage of 'fs' to use promise based versions.
    refactor: moves main part of forEach to new function for readability.
    andr9528 committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    e7326e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6c3880 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

  1. UT-210: applies changes for comments by Lindved

    refactor: removes singleton usage for all but one services.
    refactor: renames backend-play-api to socket-play-service.
    refactor: renames backend-settings-api to socket-settings-service.
    refactor: renames backend-operation-api to socket-operation-service.
    refactor: moves backend-observer to new observer folder, and splits it into connection-observer, settings-observer, operation-observer and play-observer.
    andr9528 committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    b303ecd View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. Configuration menu
    Copy the full SHA
    0a5fda6 View commit details
    Browse the repository at this point in the history
  2. UT-210: applies a few more changes for comments by Lindved

    refactor: renames array-service to utility-service.
    refactor: renames fillWithDefault to expandArrayWithDefaultsIfNeeded
    refactor: adds function on utility-service to convert Pascal case to Screaming Snake case and vice-versa.
    refactor: changes the 'edit visibility' button to be a dropdown per output.
    refactor: renames a function argument to better describe its content.
    andr9528 committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    ccac2b0 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. UT-210: refactor: fixes operation mode change via clicking button on …

    …footer not being saved.
    andr9528 committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    82022e2 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. UT-210: applies changes for comments by Anders

    refactor: updates a number of css classes to better follow BEMIT
    refactor: updates a number of arguemnts to better explain their content.
    refactor: moves many end parentheses to new line.
    refactor: split header component in two. One for base, and one specific for main-page.
    refactor: deletes tab.tsx by moving what it did to main-page.tsx.
    refactor: fixes typo.
    andr9528 committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    88e63ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db51914 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. UT-210: applies more changes for comments on PR by Anders.

    refactor: extracts creation of most services to start of component/function/file.
    refactor: re-adds switch to convert enum value to css class.
    andr9528 committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    b0e99bb View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. UT-210: solves a half-dozen circular dependencies that had hit critic…

    …al mass preventing startup.
    
    refactor: converts express-handler into express-service.
    refactor: converts socket-io-server-handler into socket-io-server-handler-service.
    refactor: converts parts of caspar-cg-handler into casparcg-handler-service.
    andr9528 committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    008db18 View commit details
    Browse the repository at this point in the history