-
Notifications
You must be signed in to change notification settings - Fork 176
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
refactor: various improvements #1296
Merged
vraravam
merged 2 commits into
ferdium:develop
from
mcmxcdev:refactor/various-improvements
Jul 30, 2023
Merged
refactor: various improvements #1296
vraravam
merged 2 commits into
ferdium:develop
from
mcmxcdev:refactor/various-improvements
Jul 30, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mcmxcdev
commented
Jul 30, 2023
mcmxcdev
commented
Jul 30, 2023
mcmxcdev
commented
Jul 30, 2023
mcmxcdev
commented
Jul 30, 2023
mcmxcdev
commented
Jul 30, 2023
mcmxcdev
commented
Jul 30, 2023
mcmxcdev
commented
Jul 30, 2023
mcmxcdev
commented
Jul 30, 2023
vraravam
reviewed
Jul 30, 2023
vraravam
approved these changes
Jul 30, 2023
- enable no-use-before-define eslint rule - shuffle code to conform to no-use-before-define eslint rule - remove btoa dependency which is deprecated and replace with Buffer.from(string).toString('base64') - convert some any types into useful ones - add type annotations where possible - remove unused @types/expect.js - install @types/semver and ts-node which were missing - repair and rewrite add-crowdin-contributors script - remove export keyword from variables which are never consumed in another file - remove unity indicator hack where linked issue was closed - remove module declaration for kebab-case which is unused - add missing state interface for certain components - remove default exports for files which already have a named export - export IRecipePreview so it can be used throughout codebase - remove unused removeCacheForCallWith method from CachedRequest.ts - cleanup unused colors and styles inside legacy theme
- fix invalid DOM nesting with div inside p in EditSettingsForm - fix progressbarAccentColor color picker not updating input when using slider - install missing @types/react-color dependency
vraravam
force-pushed
the
refactor/various-improvements
branch
from
July 30, 2023 03:06
6eab850
to
bdf30d2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pre-flight Checklist
Please ensure you've completed all of the following.
Description of Change
no-use-before-define
eslint ruleno-use-before-define
eslint rulebtoa
dependency which is deprecated and replace withBuffer.from(string).toString('base64')
any
types into useful ones@types/expect.js
@types/semver
and ts-node which were missingadd-crowdin-contributors
scriptexport
keyword from variables which are never consumed in another filekebab-case
which is unusedIRecipePreview
so it can be used throughout codebaseremoveCacheForCallWith
method fromCachedRequest.ts
ColorPickerInput
div
insidep
inEditSettingsForm
progressbarAccentColor
color picker not updating input when using slider@types/react-color
dependencyMotivation and Context
My initial intention was to get rid of as many
any
as possible, but then I stumpled upon many more code to improve!Sorry for the chaotic scope of this one but it's an important one :)
Screenshots
Checklist
pnpm prepare-code
)pnpm test
passesRelease Notes