Skip to content

Conversation

@absidue
Copy link
Member

@absidue absidue commented Jun 2, 2024

Add missing IPC channel constants

Pull Request Type

  • Cleanup

Description

For some IPC calls we were specifying the name in-place, this pull request creates constants for those cases. Having all of the IPC channel names listed in one place, gives us a better overview, gives us auto-complete and reduces the chance of something breaking because of a typo. Also makes it easier to avoid duplicate or conflicting names.

Testing

As this pull request doesn't touch any functionality, please check this pull request for typos instead.

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: 0.20.0

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jun 2, 2024
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) June 2, 2024 21:29
@absidue absidue force-pushed the ipc-channel-constants branch from f680a6b to 4e8fbf6 Compare June 2, 2024 21:38
@PikachuEXE
Copy link
Collaborator

I am unable to test Show / Hide Video Statistics
Others works fine

Copy link
Collaborator

@PikachuEXE PikachuEXE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Show / Hide Video Statistics works when visible: true
Not related to this PR

@FreeTubeBot FreeTubeBot merged commit d65f06a into FreeTubeApp:development Jun 3, 2024
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Jun 3, 2024
@absidue absidue deleted the ipc-channel-constants branch June 3, 2024 07:54
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Jun 5, 2024
* development:
  Translated using Weblate (Italian)
  Translated using Weblate (Chinese (Traditional))
  Translated using Weblate (Chinese (Simplified))
  Translated using Weblate (French)
  Translated using Weblate (Spanish)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (Spanish)
  Make adding duplicate disabled by default (FreeTubeApp#5044)
  Switch settings sections and form elements to created lifecycle hook (FreeTubeApp#5224)
  Translated using Weblate (French)
  Translated using Weblate (Estonian)
  Bump sass from 1.77.2 to 1.77.4 (FreeTubeApp#5222)
  Bump lefthook from 1.6.13 to 1.6.15 (FreeTubeApp#5223)
  Bump the eslint group with 2 updates (FreeTubeApp#5218)
  Bump electron from 30.0.8 to 30.0.9 (FreeTubeApp#5221)
  Bump swiper from 11.1.3 to 11.1.4 (FreeTubeApp#5220)
  Bump stylelint from 16.6.0 to 16.6.1 in the stylelint group (FreeTubeApp#5219)
  Add missing IPC channel constants (FreeTubeApp#5216)
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Jun 5, 2024
* feature/subscription-cache:
  ! Rename subscriptions to subscription cache & fix outdated mutation reference
  Translated using Weblate (Italian)
  Translated using Weblate (Chinese (Traditional))
  Translated using Weblate (Chinese (Simplified))
  Translated using Weblate (French)
  Translated using Weblate (Spanish)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (Spanish)
  Make adding duplicate disabled by default (FreeTubeApp#5044)
  Switch settings sections and form elements to created lifecycle hook (FreeTubeApp#5224)
  Translated using Weblate (French)
  Translated using Weblate (Estonian)
  Bump sass from 1.77.2 to 1.77.4 (FreeTubeApp#5222)
  Bump lefthook from 1.6.13 to 1.6.15 (FreeTubeApp#5223)
  Bump the eslint group with 2 updates (FreeTubeApp#5218)
  Bump electron from 30.0.8 to 30.0.9 (FreeTubeApp#5221)
  Bump swiper from 11.1.3 to 11.1.4 (FreeTubeApp#5220)
  Bump stylelint from 16.6.0 to 16.6.1 in the stylelint group (FreeTubeApp#5219)
  Add missing IPC channel constants (FreeTubeApp#5216)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants