refactor json input autoscaling

Open
#355 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
angular, typescript
Domain
frontend

Research direction

Start by locating the JSON input and its custom autoscaling implementation, then compare it with Angular CDK's cdkTextareaAutosize behavior. Replace the custom resizing approach with the CDK directive and verify that the input still resizes as expected; the issue does not name a file or test.

Written by the indexing model from the issue text.

Description

internal

I just saw that angular material already provides a way to do that by using cdkTextareaAutosize
https://material.angular.dev/cdk/text-field/overview#automatically-resizing-a-lesstextareagreater.

Should be better than the current custom implementation

Dominant language
TypeScript
Stars
59
Forks
19
Avg merge
32m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CCDirectLink/crosscode-map-editor

All issues in CCDirectLink/crosscode-map-editor

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.