alex-kim-dev
Repos
38
Followers
4
Following
3

A solution for "GitHub Jobs API" challenge on frontendmentor.io

Frontend projects for practicing.

4
1

My implementations of some data structures and algorithms written while learning

Vite template for React Typescript projects

Events

fix: Always bind to container selected by user (#5880)

  • fix: Always bind to container selected by user

  • Don't bind to container when using text tool

  • adjust z-index for bound text

  • fix

  • Add spec

  • Add test

  • Allow double click on transparent container and add spec

  • fix spec

  • adjust z-index only when binding

  • update index

  • fix

  • add index check

  • Update src/scene/Scene.ts

Co-authored-by: dwelle luzar.david@gmail.com

feat: changed text copy/paste behaviour (#5786)

Co-authored-by: dwelle luzar.david@gmail.com Co-authored-by: Antonio Della Fortuna a.dellafortuna00@gmail.com

feat: Don't add midpoint until dragged beyond a threshold (#5927)

  • Don't add midpoint until dragged beyond a threshold

  • remove unnecessary code

  • fix tests

  • fix

  • add spec

  • remove isMidpoint

  • cleanup

  • fix threshold for zoom

  • split into shouldAddMidpoint and addMidpoint

  • wrap in flushSync for synchronous updates

  • remove threshold for line editor and add spec

  • [unrelated] fix stack overflow state update

  • fix tests

  • don't drag arrow when dragging to add mid point

  • add specs

Co-authored-by: dwelle luzar.david@gmail.com

refactor: remove unnecessary code (#5933)

fix: scale font correctly when using shift (#5935)

  • fix: scale font correctly when using shift

  • fix

  • Empty-Commit

  • Add spec

  • fix

fix: Dedupe boundElement ids when container duplicated with alt+drag (#5938)

  • Dedupe boundElement ids when container duplicated with alt+drag and add spec

  • set to null by default

fix: bindings do not survive history serialization (#5942)

fix: don't allow whitespaces for bound text (#5939)

  • fix: don't allow whitespaces for bound text

  • fix

  • remove

  • remove empty else

  • fix

  • fix

  • fix

feat: Support labels for arrow 🔥 (#5723)

  • feat: support arrow with text

  • render arrow -> clear rect-> render text

  • move bound text when linear elements move

  • fix centering cursor when linear element rotated

  • fix y coord when new line added and container has 3 points

  • update text position when 2nd point moved

  • support adding label on top of 2nd point when 3 points are present

  • change linear element editor shortcut to cmd+enter and fix tests

  • scale bound text points when resizing via bounding box

  • ohh yeah rotation works :)

  • fix coords when updating text properties

  • calculate new position after rotation always from original position

  • rotate the bound text by same angle as parent

  • don't rotate text and make sure dimensions and coords are always calculated from original point

  • hardcoding the text width for now

  • Move the linear element when bound text hit

  • Rotation working yaay

  • consider text element angle when editing

  • refactor

  • update x2 coords if needed when text updated

  • simplify

  • consider bound text to be part of bounding box when hit

  • show bounding box correctly when multiple element selected

  • fix typo

  • support rotating multiple elements

  • support multiple element resizing

  • shift bound text to mid point when odd points

  • Always render linear element handles inside editor after element rendered so point is visible for bound text

  • Delete bound text when point attached to it deleted

  • move bound to mid segement mid point when points are even

  • shift bound text when points nearby deleted and handle segment deletion

  • Resize working :)

  • more resize fixes

  • don't update cache-its breaking delete points, look for better soln

  • update mid point cache for bound elements when updated

  • introduce wrapping when resizing

  • wrap when resize for 2 pointer linear elements

  • support adding text for linear elements with more than 3 points

  • export to svg working :)

  • clip from nearest enclosing element with non transparent color if present when exporting and fill with correct color in canvas

  • fix snap

  • use visible elements

  • Make export to svg work with Mask :)

  • remove id

  • mask canvas linear element area where label is added

  • decide the position of bound text during render

  • fix coords when editing

  • fix multiple resize

  • update cache when bound text version changes

  • fix masking when rotated

  • render text in correct position in preview

  • remove unnecessary code

  • fix masking when rotating linear element

  • fix masking with zoom

  • fix mask in preview for export

  • fix offsets in export view

  • fix coords on svg export

  • fix mask when element rotated in svg

  • enable double-click to enter text

  • fix hint

  • Position cursor correctly and text dimensiosn when height of element is negative

  • don't allow 2 pointer linear element with bound text width to go beyond min width

  • code cleanup

  • fix freedraw

  • Add padding

  • don't show vertical align action for linear element containers

  • Add specs for getBoundTextElementPosition

  • more specs

  • move some utils to linearElementEditor.ts

  • remove only :p

  • check absoulte coods in test

  • Add test to hide vertical align for linear eleemnt with bound text

  • improve export preview

  • support labels only for arrows

  • spec

  • fix large texts

  • fix tests

  • fix zooming

  • enter line editor with cmd+double click

  • Allow points to move beyond min width/height for 2 pointer arrow with bound text

  • fix hint for line editing

  • attempt to fix arrow getting deselected

  • fix hint and shortcut

  • Add padding of 5px when creating bound text and add spec

  • Wrap bound text when arrow binding containers moved

  • Add spec

  • remove

  • set boundTextElementVersion to null if not present

  • dont use cache when version mismatch

  • Add a padding of 5px vertically when creating text

  • Add box sizing content box

  • Set bound elements when text element created to fix the padding

  • fix zooming in editor

  • fix zoom in export

  • remove globalCompositeOperation and use clearRect instead of fillRect

fix: repair element bindings on restore (#5956)

  • fix: repair element bindings on restore

  • fix dropping non-text bound elements

  • be more conservative

build: move release scripts to use release branch (#5958)

fix: renderFooter styling (#5962)

fix: ExcalidrawArrowElement rather than ExcalidrawArrowEleement (#5955)

fix: Galego and Kurdî missing in languages plus two locale typos (#5954)

fix: remove blank space (#5950)

fix: remove editor onpaste handler (#5971)

feat: better default radius sizes for rectangles (#5553)

Co-authored-by: Ryan diweihao@bytedance.com Co-authored-by: dwelle luzar.david@gmail.com

chore: add display name to context providers (#5974)

  • chore: add display name to context providers

  • fix typo

fix: apply the right type of roundness when pasting styles (#5979)

  • fix: only paste roundness when target and source elements are of the same type

  • apply roundness when pasting across different types

  • simplify

Co-authored-by: dwelle luzar.david@gmail.com

feat: allow readonly actions to be used in viewMode (#5982)

Created at 1 week ago
issue comment
Is this closed source?

This has been mentioned several times on Discord - v2 will be open-sourced in the Q1 this year

Created at 2 weeks ago
alex-kim-dev delete branch dependabot/npm_and_yarn/json5-1.0.2
Created at 2 weeks ago

chore(deps): bump json5 from 1.0.1 to 1.0.2

Bumps json5 from 1.0.1 to 1.0.2.


updated-dependencies:

  • dependency-name: json5 dependency-type: indirect ...

Signed-off-by: dependabot[bot] support@github.com

Created at 2 weeks ago
chore(deps): bump json5 from 1.0.1 to 1.0.2

Bumps json5 from 1.0.1 to 1.0.2.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Created at 2 weeks ago

chore: update all npm dependencies (2023-01-07) (#12)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

Created at 2 weeks ago
alex-kim-dev delete branch depfu/batch_all/npm/2023-01-07
Created at 2 weeks ago
pull request closed
Update all npm dependencies (2023-01-07)

This is your monthly update of all npm dependencies. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ @vitejs/plugin-react (2.2.0 → 3.0.1, major) · Repo · Changelog · Release · Diff

✳️ vite (3.2.5 → 4.0.4, major) · Repo · Changelog · Release · Diff

✳️ @commitlint/cli (17.3.0 → 17.4.0, minor) · Repo · Changelog

✳️ @commitlint/config-conventional (17.3.0 → 17.4.0, minor) · Repo · Changelog

✳️ @typescript-eslint/eslint-plugin (5.46.0 → 5.48.0, minor) · Repo · Changelog · Release · Diff

✳️ @typescript-eslint/parser (5.46.0 → 5.48.0, minor) · Repo · Changelog · Release · Diff

✳️ eslint (8.29.0 → 8.31.0, minor) · Repo · Changelog · Release · Diff

✳️ eslint-config-prettier (8.5.0 → 8.6.0, minor) · Repo · Changelog · Diff

✳️ eslint-plugin-jest (27.1.6 → 27.2.0, minor) · Repo · Changelog · Release · Diff

✳️ vite-plugin-svgr (2.2.2 → 2.4.0, minor) · Repo · Release · Diff

✳️ @types/jest (29.2.4 → 29.2.5, patch) · Repo

✳️ @types/node (18.11.12 → 18.11.18, patch) · Repo

✳️ @types/react-dom (18.0.9 → 18.0.10, patch) · Repo

✳️ husky (8.0.2 → 8.0.3, patch) · Repo · Changelog · Release · Diff

✳️ prettier (2.8.0 → 2.8.1, patch) · Repo · Changelog · Release · Diff

✳️ stylelint (14.16.0 → 14.16.1, patch) · Repo · Changelog · Release · Diff

✳️ typescript (4.9.3 → 4.9.4, patch) · Repo · Release · Diff

✳️ vite-tsconfig-paths (4.0.1 → 4.0.3, patch) · Repo · Diff


Depfu Status

Depfu will only send you the next scheduled PR once you merge or close this one.

Created at 2 weeks ago

chore: update all npm dependencies (2023-01-07) (#29)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

Created at 3 weeks ago
Update all npm dependencies (2023-01-07)

This is your monthly update of all npm dependencies. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ @commitlint/cli (17.3.0 → 17.4.0, minor) · Repo · Changelog

✳️ @commitlint/config-conventional (17.3.0 → 17.4.0, minor) · Repo · Changelog

✳️ @typescript-eslint/eslint-plugin (5.46.0 → 5.48.0, minor) · Repo · Changelog · Release · Diff

✳️ @typescript-eslint/parser (5.46.0 → 5.48.0, minor) · Repo · Changelog · Release · Diff

✳️ eslint (8.29.0 → 8.31.0, minor) · Repo · Changelog · Release · Diff

✳️ eslint-config-prettier (8.5.0 → 8.6.0, minor) · Repo · Changelog · Diff

✳️ eslint-plugin-jest (27.1.6 → 27.2.0, minor) · Repo · Changelog · Release · Diff

✳️ sass (1.56.1 → 1.57.1, minor) · Repo · Changelog · Release · Diff

✳️ @babel/core (7.20.5 → 7.20.12, patch) · Repo · Changelog · Release · Diff

✳️ @types/jest (29.2.4 → 29.2.5, patch) · Repo

✳️ @types/node (18.11.11 → 18.11.18, patch) · Repo

✳️ @types/react-dom (18.0.9 → 18.0.10, patch) · Repo

✳️ babel-loader (9.1.0 → 9.1.2, patch) · Repo · Changelog · Release · Diff

✳️ css-loader (6.7.2 → 6.7.3, patch) · Repo · Changelog · Release · Diff

✳️ husky (8.0.2 → 8.0.3, patch) · Repo · Changelog · Release · Diff

✳️ prettier (2.8.0 → 2.8.1, patch) · Repo · Changelog · Release · Diff

✳️ stylelint (14.16.0 → 14.16.1, patch) · Repo · Changelog · Release · Diff

✳️ typescript (4.9.3 → 4.9.4, patch) · Repo · Release · Diff


Depfu Status

Depfu will only send you the next scheduled PR once you merge or close this one.

Created at 3 weeks ago
delete branch
alex-kim-dev delete branch depfu/batch_all/npm/2023-01-07
Created at 3 weeks ago

chore: update all npm dependencies (2023-01-07)

Created at 3 weeks ago
pull request closed
Update all npm dependencies (2023-01-07)

This is your monthly update of all npm dependencies. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ eslint (8.29.0 → 8.31.0, minor) · Repo · Changelog · Release · Diff

✳️ eslint-config-prettier (8.5.0 → 8.6.0, minor) · Repo · Changelog · Diff

✳️ @babel/core (7.20.5 → 7.20.12, patch) · Repo · Changelog · Release · Diff

✳️ css-loader (6.7.2 → 6.7.3, patch) · Repo · Changelog · Release · Diff

✳️ prettier (2.8.0 → 2.8.1, patch) · Repo · Changelog · Release · Diff


Depfu Status

Depfu will only send you the next scheduled PR once you merge or close this one.

Created at 3 weeks ago
issue comment
Return to SelectTool after tool usage?

double click the menu to lock it

Cool! Is there a way to do it using keyboard?

Created at 3 weeks ago
issue comment
Return to SelectTool after tool usage?

I personally like Excalidraw's approach with the option to select the desired behavior:

Screenshot from 2023-01-05 16-58-54

Created at 3 weeks ago

Temporary fix lang card not working

Created at 3 weeks ago

build: reduce vercel's maxDuration to 10 for a hobby plan

Created at 3 weeks ago

docs: linked "hide" URL param values to its description (#1766)

fix: temporarily increase the cache hours (#1771)

Update bug_report.md (#1773)

Update bug_report.md (#1775)

Fixes some small syntax errors.

docs: add discussion button to readme (#1776)

This commit adds a link to the discussion page to make sure people ask questions there instead of opening issues.

fix; japanese translation fix (#1783)

The Japanese translation was too long to so text was overlap the numbers. This commit fixes that.

feat: added accessibility label and title in svg (#1787)

docs: add wakatime public profile note (#1794)

Add a small note to make users aware that the wakatime card currently only works with public profiles.

docs: correct word on readme pt-br (#1840)

docs: update readme.md (#1836)

fix: prevent npm dependency error (#1849)

This commit fixes an npm dependency error that caused the test action to fail.

Revert "fix: prevent npm dependency error (#1849)" (#1850)

This reverts commit 8d95796890d4afa51a91f95b00c30a5606778241.

Fixed a small grammatical mistake / typo (#1874)

does not passes -> does not pass

Fixed misspelling (#1885)

docs: incorrect cache documentation (#1889)

docs: note for temporary cache inc (#1890)

build: pin node version to >=13 (#1900) (#1901)

This commit pins the node version to >=13 since node 12 is now end of life (see https://vercel.com/changelog/node-js-12-is-being-deprecated).

refactor: improve issues template

Move FAQ notice to the top of the issues template to increase the change of users reading it.

refactor: fix bug in issues template

refactor: improve issues template

Move part of the FAQ notice to the bottom so that it doesn't clutter the issues window.

Created at 1 month ago
issue comment
[feature] Add more geometric shapes

@Kidlike the next version has more shapes already https://beta.tldraw.com/

Created at 1 month ago
issue comment
[Feature] Double-click to add text to shape

This workflow could be sped up with a few shortcuts:

  • tools shortcuts, e.g. V for select, R for rectangle
  • enter on a selected shape to add text
  • esc to exit typing and select the shape again
  • ctrl + D to duplicate a selected shape
Created at 1 month ago
issue comment
[bug] tldraw beta: Reorder-Menu with wrong label: "Bring to Front" => "Send Forward"

There's a separate repo for the beta bugs. I've been mentioning the same issue in tldraw/tldraw-beta#21

Created at 1 month ago
opened issue
[bug] Duplicate "Bring to Front" label

Screenshot from 2022-12-12 13-59-45

Created at 1 month ago
opened issue
[bug] Resizing a shape with text moves the whole shape

It happens when resizing from top to bottom or from left to right:

Screencast from 2022-12-12 12-13-44.webm

Expected the same behavior as for the other two directions:

Screencast from 2022-12-12 12-15-43.webm

Created at 1 month ago
opened issue
[bug] Switching a shape type to penta/hexagon changes its dimensions

Screencast from 2022-12-12 11-11-47.webm

Switching between other types of shapes doesn't change the dimensions.

Created at 1 month ago

chore: update all npm dependencies (2022-12-10)

Created at 1 month ago
delete branch
alex-kim-dev delete branch depfu/batch_all/npm/2022-12-10
Created at 1 month ago
pull request closed
Update all npm dependencies (2022-12-11)

This is your monthly update of all npm dependencies. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ @pmmmwh/react-refresh-webpack-plugin (0.5.9 → 0.5.10, minor) · Repo · Changelog · Release · Diff

✳️ eslint (8.27.0 → 8.29.0, minor) · Repo · Changelog · Release · Diff

✳️ prettier (2.7.1 → 2.8.0, minor) · Repo · Changelog · Release · Diff

✳️ @babel/core (7.20.2 → 7.20.5, patch) · Repo · Changelog · Release · Diff

✳️ @reduxjs/toolkit (1.9.0 → 1.9.1, patch) · Repo · Release · Diff

✳️ css-loader (6.7.1 → 6.7.2, patch) · Repo · Changelog · Release · Diff

✳️ eslint-plugin-react (7.31.10 → 7.31.11, patch) · Repo · Changelog · Release · Diff


Depfu Status

Depfu will only send you the next scheduled PR once you merge or close this one.

Created at 1 month ago

chore: update all npm dependencies (2022-12-10) (#11)

  • chore: update all npm dependencies (2022-12-10)
  • chore: fix node types issue

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com> Co-authored-by: Alex Kim 45559664+alex-kim-dev@users.noreply.github.com

Created at 1 month ago
alex-kim-dev delete branch depfu/batch_all/npm/2022-12-10
Created at 1 month ago